import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Tenancy resource in Oracle Cloud Infrastructure Identity service. * * Get the specified tenancy's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTenancy = oci.identity.getTenancy({ * tenancyId: tenancyOcid, * }); * ``` */ export declare function getTenancy(args: GetTenancyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTenancy. */ export interface GetTenancyArgs { /** * The OCID of the tenancy. */ tenancyId: string; } /** * A collection of values returned by getTenancy. */ export interface GetTenancyResult { /** * 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 description of the tenancy. */ readonly description: 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 region key for the tenancy's home region. For the full list of supported regions, see [Regions and Availability Domains](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm). Example: `PHX` */ readonly homeRegionKey: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the tenancy. */ readonly name: string; readonly tenancyId: string; /** * Url which refers to the UPI IDCS compatibility layer endpoint configured for this Tenant's home region. */ readonly upiIdcsCompatibilityLayerEndpoint: string; } /** * This data source provides details about a specific Tenancy resource in Oracle Cloud Infrastructure Identity service. * * Get the specified tenancy's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTenancy = oci.identity.getTenancy({ * tenancyId: tenancyOcid, * }); * ``` */ export declare function getTenancyOutput(args: GetTenancyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTenancy. */ export interface GetTenancyOutputArgs { /** * The OCID of the tenancy. */ tenancyId: pulumi.Input; } //# sourceMappingURL=getTenancy.d.ts.map