import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Subscription resource in Oracle Cloud Infrastructure Osp Gateway service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/osp_gateway
 *
 * Update plan of the subscription.
 *
 * ## Import
 *
 * Subscriptions can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:OspGateway/subscription:Subscription test_subscription "subscriptions/{subscriptionId}/compartmentId/{compartmentId}/ospHomeRegion/{ospHomeRegion}"
 * ```
 */
export declare class Subscription extends pulumi.CustomResource {
    /**
     * Get an existing Subscription resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubscriptionState, opts?: pulumi.CustomResourceOptions): Subscription;
    /**
     * Returns true if the given object is an instance of Subscription.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is Subscription;
    /**
     * Account type.
     */
    readonly accountType: pulumi.Output<string>;
    /**
     * Bill to customer Account id.
     */
    readonly billToCustAccountId: pulumi.Output<string>;
    /**
     * Address details model.
     */
    readonly billingAddresses: pulumi.Output<outputs.OspGateway.SubscriptionBillingAddress[]>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * Currency code
     */
    readonly currencyCode: pulumi.Output<string>;
    /**
     * (Updatable) User email
     */
    readonly email: pulumi.Output<string>;
    /**
     * GSI Subscription external code.
     */
    readonly gsiOrgCode: pulumi.Output<string>;
    /**
     * Corporate conversion allowed status
     */
    readonly isCorporateConversionAllowed: pulumi.Output<boolean>;
    /**
     * Payment intension.
     */
    readonly isIntentToPay: pulumi.Output<boolean>;
    /**
     * Language short code (en, de, hu, etc)
     */
    readonly languageCode: pulumi.Output<string>;
    /**
     * GSI organization external identifier.
     */
    readonly organizationId: pulumi.Output<string>;
    /**
     * (Updatable) The home region's public name of the logged in user.
     */
    readonly ospHomeRegion: pulumi.Output<string>;
    /**
     * Payment gateway details.
     */
    readonly paymentGateways: pulumi.Output<outputs.OspGateway.SubscriptionPaymentGateway[]>;
    /**
     * Payment option list of a subscription.
     */
    readonly paymentOptions: pulumi.Output<outputs.OspGateway.SubscriptionPaymentOption[]>;
    /**
     * Subscription plan type.
     */
    readonly planType: pulumi.Output<string>;
    /**
     * Ship to customer account role.
     */
    readonly shipToCustAcctRoleId: pulumi.Output<string>;
    /**
     * Ship to customer account site address id.
     */
    readonly shipToCustAcctSiteId: pulumi.Output<string>;
    /**
     * (Updatable) Subscription details object which extends the SubscriptionSummary
     */
    readonly subscription: pulumi.Output<outputs.OspGateway.SubscriptionSubscription>;
    /**
     * Subscription id(OCID).
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly subscriptionId: pulumi.Output<string>;
    /**
     * Subscription plan number.
     */
    readonly subscriptionPlanNumber: pulumi.Output<string>;
    /**
     * Tax details.
     */
    readonly taxInfos: pulumi.Output<outputs.OspGateway.SubscriptionTaxInfo[]>;
    /**
     * Date of upgrade/conversion when account type changed from PERSONAL to CORPORATE
     */
    readonly timePersonalToCorporateConv: pulumi.Output<string>;
    /**
     * Date of upgrade/conversion when planType changed from FREE_TIER to PAYG
     */
    readonly timePlanUpgrade: pulumi.Output<string>;
    /**
     * Start date of the subscription.
     */
    readonly timeStart: pulumi.Output<string>;
    /**
     * Status of the upgrade.
     */
    readonly upgradeState: pulumi.Output<string>;
    /**
     * This field is used to describe the Upgrade State in case of error (E.g. Upgrade failure caused by interfacing Tax details- TaxError)
     */
    readonly upgradeStateDetails: pulumi.Output<string>;
    /**
     * Create a Subscription resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: SubscriptionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Subscription resources.
 */
export interface SubscriptionState {
    /**
     * Account type.
     */
    accountType?: pulumi.Input<string | undefined>;
    /**
     * Bill to customer Account id.
     */
    billToCustAccountId?: pulumi.Input<string | undefined>;
    /**
     * Address details model.
     */
    billingAddresses?: pulumi.Input<pulumi.Input<inputs.OspGateway.SubscriptionBillingAddress>[] | undefined>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * Currency code
     */
    currencyCode?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) User email
     */
    email?: pulumi.Input<string | undefined>;
    /**
     * GSI Subscription external code.
     */
    gsiOrgCode?: pulumi.Input<string | undefined>;
    /**
     * Corporate conversion allowed status
     */
    isCorporateConversionAllowed?: pulumi.Input<boolean | undefined>;
    /**
     * Payment intension.
     */
    isIntentToPay?: pulumi.Input<boolean | undefined>;
    /**
     * Language short code (en, de, hu, etc)
     */
    languageCode?: pulumi.Input<string | undefined>;
    /**
     * GSI organization external identifier.
     */
    organizationId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The home region's public name of the logged in user.
     */
    ospHomeRegion?: pulumi.Input<string | undefined>;
    /**
     * Payment gateway details.
     */
    paymentGateways?: pulumi.Input<pulumi.Input<inputs.OspGateway.SubscriptionPaymentGateway>[] | undefined>;
    /**
     * Payment option list of a subscription.
     */
    paymentOptions?: pulumi.Input<pulumi.Input<inputs.OspGateway.SubscriptionPaymentOption>[] | undefined>;
    /**
     * Subscription plan type.
     */
    planType?: pulumi.Input<string | undefined>;
    /**
     * Ship to customer account role.
     */
    shipToCustAcctRoleId?: pulumi.Input<string | undefined>;
    /**
     * Ship to customer account site address id.
     */
    shipToCustAcctSiteId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Subscription details object which extends the SubscriptionSummary
     */
    subscription?: pulumi.Input<inputs.OspGateway.SubscriptionSubscription | undefined>;
    /**
     * Subscription id(OCID).
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    subscriptionId?: pulumi.Input<string | undefined>;
    /**
     * Subscription plan number.
     */
    subscriptionPlanNumber?: pulumi.Input<string | undefined>;
    /**
     * Tax details.
     */
    taxInfos?: pulumi.Input<pulumi.Input<inputs.OspGateway.SubscriptionTaxInfo>[] | undefined>;
    /**
     * Date of upgrade/conversion when account type changed from PERSONAL to CORPORATE
     */
    timePersonalToCorporateConv?: pulumi.Input<string | undefined>;
    /**
     * Date of upgrade/conversion when planType changed from FREE_TIER to PAYG
     */
    timePlanUpgrade?: pulumi.Input<string | undefined>;
    /**
     * Start date of the subscription.
     */
    timeStart?: pulumi.Input<string | undefined>;
    /**
     * Status of the upgrade.
     */
    upgradeState?: pulumi.Input<string | undefined>;
    /**
     * This field is used to describe the Upgrade State in case of error (E.g. Upgrade failure caused by interfacing Tax details- TaxError)
     */
    upgradeStateDetails?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a Subscription resource.
 */
export interface SubscriptionArgs {
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) User email
     */
    email: pulumi.Input<string>;
    /**
     * (Updatable) The home region's public name of the logged in user.
     */
    ospHomeRegion: pulumi.Input<string>;
    /**
     * (Updatable) Subscription details object which extends the SubscriptionSummary
     */
    subscription: pulumi.Input<inputs.OspGateway.SubscriptionSubscription>;
    /**
     * Subscription id(OCID).
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    subscriptionId: pulumi.Input<string>;
}
//# sourceMappingURL=subscription.d.ts.map