import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Self service. * * Lists the subscriptions which have been created in the specified compartment. * You can filter results by specifying query parameters. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscriptions = oci.oci.getSelfSubscriptions({ * compartmentId: compartmentId, * displayName: subscriptionDisplayName, * id: subscriptionId, * lifecycleDetails: subscriptionLifecycleDetails, * }); * ``` */ export declare function getSelfSubscriptions(args?: GetSelfSubscriptionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSelfSubscriptions. */ export interface GetSelfSubscriptionsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: string; /** * A filter to return only resources that match the given name. */ displayName?: string; filters?: inputs.oci.GetSelfSubscriptionsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Subscription. */ id?: string; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ lifecycleDetails?: string; } /** * A collection of values returned by getSelfSubscriptions. */ export interface GetSelfSubscriptionsResult { /** * The unique identifier for the compartment where the subscription was purchased. */ readonly compartmentId?: string; /** * The subscription name. Must be unique within the compartment. This value can be updated. */ readonly displayName?: string; readonly filters?: outputs.oci.GetSelfSubscriptionsFilter[]; /** * 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 list of subscription_collection. */ readonly subscriptionCollections: outputs.oci.GetSelfSubscriptionsSubscriptionCollection[]; } /** * This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Self service. * * Lists the subscriptions which have been created in the specified compartment. * You can filter results by specifying query parameters. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscriptions = oci.oci.getSelfSubscriptions({ * compartmentId: compartmentId, * displayName: subscriptionDisplayName, * id: subscriptionId, * lifecycleDetails: subscriptionLifecycleDetails, * }); * ``` */ export declare function getSelfSubscriptionsOutput(args?: GetSelfSubscriptionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSelfSubscriptions. */ export interface GetSelfSubscriptionsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the given name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Subscription. */ id?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ lifecycleDetails?: pulumi.Input; } //# sourceMappingURL=getSelfSubscriptions.d.ts.map