import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Osp Gateway service. * * Get the subscription plan. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscription = oci.ospgateway.getSubscription({ * compartmentId: compartmentId, * ospHomeRegion: subscriptionOspHomeRegion, * subscriptionId: testSubscriptionOciOspGatewaySubscription.id, * }); * ``` */ export declare function getSubscription(args: GetSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSubscription. */ export interface GetSubscriptionArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * The home region's public name of the logged in user. */ ospHomeRegion: string; /** * Subscription id(OCID). */ subscriptionId: string; } /** * A collection of values returned by getSubscription. */ export interface GetSubscriptionResult { /** * Account type. */ readonly accountType: string; /** * Bill to customer Account id. */ readonly billToCustAccountId: string; /** * Address details model. */ readonly billingAddresses: outputs.OspGateway.GetSubscriptionBillingAddress[]; readonly compartmentId: string; /** * Currency code */ readonly currencyCode: string; readonly email: string; /** * GSI Subscription external code. */ readonly gsiOrgCode: string; /** * Subscription id identifier (OCID). */ readonly id: string; /** * Corporate conversion allowed status */ readonly isCorporateConversionAllowed: boolean; /** * Payment intension. */ readonly isIntentToPay: boolean; /** * Language short code (en, de, hu, etc) */ readonly languageCode: string; /** * GSI organization external identifier. */ readonly organizationId: string; readonly ospHomeRegion: string; /** * Payment gateway details. */ readonly paymentGateways: outputs.OspGateway.GetSubscriptionPaymentGateway[]; /** * Payment option list of a subscription. */ readonly paymentOptions: outputs.OspGateway.GetSubscriptionPaymentOption[]; /** * Subscription plan type. */ readonly planType: string; /** * Ship to customer account role. */ readonly shipToCustAcctRoleId: string; /** * Ship to customer account site address id. */ readonly shipToCustAcctSiteId: string; readonly subscriptionId: string; /** * Subscription plan number. */ readonly subscriptionPlanNumber: string; readonly subscriptions: outputs.OspGateway.GetSubscriptionSubscription[]; /** * Tax details. */ readonly taxInfos: outputs.OspGateway.GetSubscriptionTaxInfo[]; /** * Date of upgrade/conversion when account type changed from PERSONAL to CORPORATE */ readonly timePersonalToCorporateConv: string; /** * Date of upgrade/conversion when planType changed from FREE_TIER to PAYG */ readonly timePlanUpgrade: string; /** * Start date of the subscription. */ readonly timeStart: string; /** * Status of the upgrade. */ readonly upgradeState: 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: string; } /** * This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Osp Gateway service. * * Get the subscription plan. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscription = oci.ospgateway.getSubscription({ * compartmentId: compartmentId, * ospHomeRegion: subscriptionOspHomeRegion, * subscriptionId: testSubscriptionOciOspGatewaySubscription.id, * }); * ``` */ export declare function getSubscriptionOutput(args: GetSubscriptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSubscription. */ export interface GetSubscriptionOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * The home region's public name of the logged in user. */ ospHomeRegion: pulumi.Input; /** * Subscription id(OCID). */ subscriptionId: pulumi.Input; } //# sourceMappingURL=getSubscription.d.ts.map