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 Self service. * * Gets information about a Subscription. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscription = oci.oci.getSelfSubscription({ * subscriptionId: testSubscriptionOciSelfSubscription.id, * }); * ``` */ export declare function getSelfSubscription(args: GetSelfSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSelfSubscription. */ export interface GetSelfSubscriptionArgs { /** * The unique identifier for the subscription. */ subscriptionId: string; } /** * A collection of values returned by getSelfSubscription. */ export interface GetSelfSubscriptionResult { /** * Additional details that are specific for this subscription such as activation details. */ readonly additionalDetails: outputs.oci.GetSelfSubscriptionAdditionalDetail[]; /** * The unique identifier for the compartment where the subscription was purchased. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The subscription name. Must be unique within the compartment. This value can be updated. */ readonly displayName: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The unique identifier for the subscription within a specific compartment. */ readonly id: string; /** * A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state. */ readonly lifecycleDetails: string; /** * The unique OCID of the product, effectively functioning as the listing ID. */ readonly productId: string; /** * The realm from where customer is buying the subscription. */ readonly realm: string; /** * The region from where customer is buying the subscription. */ readonly region: string; /** * The OCID that identifies the seller within the platform. */ readonly sellerId: string; /** * The type of seller in SELF Service. */ readonly sourceType: string; /** * The current lifecycle state of the Subscription. */ readonly state: string; /** * The details of a subscription */ readonly subscriptionDetails: outputs.oci.GetSelfSubscriptionSubscriptionDetail[]; readonly subscriptionId: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The unique identifier for the tenant where the subscription was purchased. */ readonly tenantId: string; /** * The date and time the Subscription was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: string; /** * The date and time the Subscription was ended, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeEnded: string; /** * The date and time the Subscription was started, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeStarted: string; /** * The date and time the Subscription was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeUpdated: string; } /** * This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Self service. * * Gets information about a Subscription. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscription = oci.oci.getSelfSubscription({ * subscriptionId: testSubscriptionOciSelfSubscription.id, * }); * ``` */ export declare function getSelfSubscriptionOutput(args: GetSelfSubscriptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSelfSubscription. */ export interface GetSelfSubscriptionOutputArgs { /** * The unique identifier for the subscription. */ subscriptionId: pulumi.Input; } //# sourceMappingURL=getSelfSubscription.d.ts.map