import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. * * Get the assigned subscription details by assigned subscription ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAssignedSubscription = oci.tenantmanagercontrolplane.getAssignedSubscription({ * assignedSubscriptionId: testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.id, * }); * ``` */ export declare function getAssignedSubscription(args: GetAssignedSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAssignedSubscription. */ export interface GetAssignedSubscriptionArgs { /** * OCID of the assigned Oracle Cloud Subscription. */ assignedSubscriptionId: string; } /** * A collection of values returned by getAssignedSubscription. */ export interface GetAssignedSubscriptionResult { readonly assignedSubscriptionId: string; /** * Subscription ID. */ readonly classicSubscriptionId: string; /** * The currency code for the customer associated with the subscription. */ readonly cloudAmountCurrency: string; /** * The Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the owning compartment. Always a tenancy OCID. */ readonly compartmentId: string; /** * Customer service identifier for the customer associated with the subscription. */ readonly csiNumber: string; /** * Currency code. For example USD, MXN. */ readonly currencyCode: string; /** * The country code for the customer associated with the subscription. */ readonly customerCountryCode: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * Date and time when the SKU ended. */ readonly endDate: string; /** * The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). */ readonly entityVersion: string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Specifies whether or not the subscription is legacy. */ readonly isClassicSubscription: boolean; /** * Specifies whether or not the subscription is a government subscription. */ readonly isGovernmentSubscription: boolean; /** * Service or component which is used to provision and manage the subscription. */ readonly managedBy: string; /** * List of subscription order OCIDs that contributed to this subscription. */ readonly orderIds: string[]; /** * Specifies any program that is associated with the subscription. */ readonly programType: string; /** * List of promotions related to the subscription. */ readonly promotions: outputs.Tenantmanagercontrolplane.GetAssignedSubscriptionPromotion[]; /** * Purchase entitlement ID associated with the subscription. */ readonly purchaseEntitlementId: string; /** * Region for the subscription. */ readonly regionAssignment: string; /** * The type of subscription, such as 'UCM', 'SAAS', 'ERP', 'CRM'. */ readonly serviceName: string; /** * List of SKUs linked to the subscription. */ readonly skuses: outputs.Tenantmanagercontrolplane.GetAssignedSubscriptionSkus[]; /** * Subscription start time. */ readonly startDate: string; /** * Lifecycle state of the subscription. */ readonly state: string; /** * Unique Oracle Cloud Subscriptions identifier that is immutable on creation. */ readonly subscriptionNumber: string; /** * Tier for the subscription, whether a free promotion subscription or a paid subscription. */ readonly subscriptionTier: string; /** * The date and time of creation, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. */ readonly timeCreated: string; /** * The date and time of update, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Assigned Subscription resource in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. * * Get the assigned subscription details by assigned subscription ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAssignedSubscription = oci.tenantmanagercontrolplane.getAssignedSubscription({ * assignedSubscriptionId: testAssignedSubscriptionOciTenantmanagercontrolplaneAssignedSubscription.id, * }); * ``` */ export declare function getAssignedSubscriptionOutput(args: GetAssignedSubscriptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAssignedSubscription. */ export interface GetAssignedSubscriptionOutputArgs { /** * OCID of the assigned Oracle Cloud Subscription. */ assignedSubscriptionId: pulumi.Input; } //# sourceMappingURL=getAssignedSubscription.d.ts.map