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 Tenantmanagercontrolplane service. * * List the subscriptions that a compartment owns. Only the root compartment is allowed. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscriptions = oci.tenantmanagercontrolplane.getSubscriptions({ * compartmentId: compartmentId, * entityVersion: subscriptionEntityVersion, * subscriptionId: testSubscription.id, * }); * ``` */ export declare function getSubscriptions(args?: GetSubscriptionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSubscriptions. */ export interface GetSubscriptionsArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: string; /** * The version of the subscription entity. */ entityVersion?: string; filters?: inputs.Tenantmanagercontrolplane.GetSubscriptionsFilter[]; /** * The ID of the subscription to which the tenancy is associated. */ subscriptionId?: string; } /** * A collection of values returned by getSubscriptions. */ export interface GetSubscriptionsResult { /** * 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; /** * The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). */ readonly entityVersion?: string; readonly filters?: outputs.Tenantmanagercontrolplane.GetSubscriptionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of subscription_collection. */ readonly subscriptionCollections: outputs.Tenantmanagercontrolplane.GetSubscriptionsSubscriptionCollection[]; readonly subscriptionId?: string; } /** * This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. * * List the subscriptions that a compartment owns. Only the root compartment is allowed. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscriptions = oci.tenantmanagercontrolplane.getSubscriptions({ * compartmentId: compartmentId, * entityVersion: subscriptionEntityVersion, * subscriptionId: testSubscription.id, * }); * ``` */ export declare function getSubscriptionsOutput(args?: GetSubscriptionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSubscriptions. */ export interface GetSubscriptionsOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * The version of the subscription entity. */ entityVersion?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The ID of the subscription to which the tenancy is associated. */ subscriptionId?: pulumi.Input; } //# sourceMappingURL=getSubscriptions.d.ts.map