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, 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; /** * Bill to customer Account id. */ readonly billToCustAccountId: pulumi.Output; /** * Address details model. */ readonly billingAddresses: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * Currency code */ readonly currencyCode: pulumi.Output; /** * (Updatable) User email */ readonly email: pulumi.Output; /** * GSI Subscription external code. */ readonly gsiOrgCode: pulumi.Output; /** * Corporate conversion allowed status */ readonly isCorporateConversionAllowed: pulumi.Output; /** * Payment intension. */ readonly isIntentToPay: pulumi.Output; /** * Language short code (en, de, hu, etc) */ readonly languageCode: pulumi.Output; /** * GSI organization external identifier. */ readonly organizationId: pulumi.Output; /** * (Updatable) The home region's public name of the logged in user. */ readonly ospHomeRegion: pulumi.Output; /** * Payment gateway details. */ readonly paymentGateways: pulumi.Output; /** * Payment option list of a subscription. */ readonly paymentOptions: pulumi.Output; /** * Subscription plan type. */ readonly planType: pulumi.Output; /** * Ship to customer account role. */ readonly shipToCustAcctRoleId: pulumi.Output; /** * Ship to customer account site address id. */ readonly shipToCustAcctSiteId: pulumi.Output; /** * (Updatable) Subscription details object which extends the SubscriptionSummary */ readonly subscription: pulumi.Output; /** * 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; /** * Subscription plan number. */ readonly subscriptionPlanNumber: pulumi.Output; /** * Tax details. */ readonly taxInfos: pulumi.Output; /** * Date of upgrade/conversion when account type changed from PERSONAL to CORPORATE */ readonly timePersonalToCorporateConv: pulumi.Output; /** * Date of upgrade/conversion when planType changed from FREE_TIER to PAYG */ readonly timePlanUpgrade: pulumi.Output; /** * Start date of the subscription. */ readonly timeStart: pulumi.Output; /** * Status of the upgrade. */ readonly upgradeState: pulumi.Output; /** * 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; /** * 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; /** * Bill to customer Account id. */ billToCustAccountId?: pulumi.Input; /** * Address details model. */ billingAddresses?: pulumi.Input[] | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * Currency code */ currencyCode?: pulumi.Input; /** * (Updatable) User email */ email?: pulumi.Input; /** * GSI Subscription external code. */ gsiOrgCode?: pulumi.Input; /** * Corporate conversion allowed status */ isCorporateConversionAllowed?: pulumi.Input; /** * Payment intension. */ isIntentToPay?: pulumi.Input; /** * Language short code (en, de, hu, etc) */ languageCode?: pulumi.Input; /** * GSI organization external identifier. */ organizationId?: pulumi.Input; /** * (Updatable) The home region's public name of the logged in user. */ ospHomeRegion?: pulumi.Input; /** * Payment gateway details. */ paymentGateways?: pulumi.Input[] | undefined>; /** * Payment option list of a subscription. */ paymentOptions?: pulumi.Input[] | undefined>; /** * Subscription plan type. */ planType?: pulumi.Input; /** * Ship to customer account role. */ shipToCustAcctRoleId?: pulumi.Input; /** * Ship to customer account site address id. */ shipToCustAcctSiteId?: pulumi.Input; /** * (Updatable) Subscription details object which extends the SubscriptionSummary */ subscription?: pulumi.Input; /** * 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; /** * Subscription plan number. */ subscriptionPlanNumber?: pulumi.Input; /** * Tax details. */ taxInfos?: pulumi.Input[] | undefined>; /** * Date of upgrade/conversion when account type changed from PERSONAL to CORPORATE */ timePersonalToCorporateConv?: pulumi.Input; /** * Date of upgrade/conversion when planType changed from FREE_TIER to PAYG */ timePlanUpgrade?: pulumi.Input; /** * Start date of the subscription. */ timeStart?: pulumi.Input; /** * Status of the upgrade. */ upgradeState?: pulumi.Input; /** * 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; } /** * 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; /** * (Updatable) User email */ email: pulumi.Input; /** * (Updatable) The home region's public name of the logged in user. */ ospHomeRegion: pulumi.Input; /** * (Updatable) Subscription details object which extends the SubscriptionSummary */ subscription: pulumi.Input; /** * 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; } //# sourceMappingURL=subscription.d.ts.map