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 Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. * * Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAssignedSubscriptions = oci.tenantmanagercontrolplane.getAssignedSubscriptions({ * compartmentId: compartmentId, * entityVersion: assignedSubscriptionEntityVersion, * subscriptionId: testSubscription.id, * }); * ``` */ export declare function getAssignedSubscriptions(args: GetAssignedSubscriptionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAssignedSubscriptions. */ export interface GetAssignedSubscriptionsArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; /** * The version of the subscription entity. */ entityVersion?: string; filters?: inputs.Tenantmanagercontrolplane.GetAssignedSubscriptionsFilter[]; /** * The ID of the subscription to which the tenancy is associated. */ subscriptionId?: string; } /** * A collection of values returned by getAssignedSubscriptions. */ export interface GetAssignedSubscriptionsResult { /** * The list of assigned_subscription_collection. */ readonly assignedSubscriptionCollections: outputs.Tenantmanagercontrolplane.GetAssignedSubscriptionsAssignedSubscriptionCollection[]; /** * 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.GetAssignedSubscriptionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly subscriptionId?: string; } /** * This data source provides the list of Assigned Subscriptions in Oracle Cloud Infrastructure Tenantmanagercontrolplane service. * * Lists subscriptions that are consumed by the compartment. Only the root compartment is allowed. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAssignedSubscriptions = oci.tenantmanagercontrolplane.getAssignedSubscriptions({ * compartmentId: compartmentId, * entityVersion: assignedSubscriptionEntityVersion, * subscriptionId: testSubscription.id, * }); * ``` */ export declare function getAssignedSubscriptionsOutput(args: GetAssignedSubscriptionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAssignedSubscriptions. */ export interface GetAssignedSubscriptionsOutputArgs { /** * 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=getAssignedSubscriptions.d.ts.map