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 Availability Domains in Oracle Cloud Infrastructure Identity service. * * Lists the availability domains in your tenancy. Specify the OCID of either the tenancy or another * of your compartments as the value for the compartment ID (remember that the tenancy is simply the root compartment). * See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five). * Note that the order of the results returned can change if availability domains are added or removed; therefore, do not * create a dependency on the list order. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAvailabilityDomains = oci.identity.getAvailabilityDomains({ * compartmentId: tenancyOcid, * }); * ``` */ export declare function getAvailabilityDomains(args: GetAvailabilityDomainsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAvailabilityDomains. */ export interface GetAvailabilityDomainsArgs { /** * The OCID of the compartment (remember that the tenancy is simply the root compartment). */ compartmentId: string; filters?: inputs.Identity.GetAvailabilityDomainsFilter[]; } /** * A collection of values returned by getAvailabilityDomains. */ export interface GetAvailabilityDomainsResult { /** * The list of availability_domains. */ readonly availabilityDomains: outputs.Identity.GetAvailabilityDomainsAvailabilityDomain[]; /** * The OCID of the tenancy. */ readonly compartmentId: string; readonly filters?: outputs.Identity.GetAvailabilityDomainsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; } /** * This data source provides the list of Availability Domains in Oracle Cloud Infrastructure Identity service. * * Lists the availability domains in your tenancy. Specify the OCID of either the tenancy or another * of your compartments as the value for the compartment ID (remember that the tenancy is simply the root compartment). * See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five). * Note that the order of the results returned can change if availability domains are added or removed; therefore, do not * create a dependency on the list order. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAvailabilityDomains = oci.identity.getAvailabilityDomains({ * compartmentId: tenancyOcid, * }); * ``` */ export declare function getAvailabilityDomainsOutput(args: GetAvailabilityDomainsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAvailabilityDomains. */ export interface GetAvailabilityDomainsOutputArgs { /** * The OCID of the compartment (remember that the tenancy is simply the root compartment). */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getAvailabilityDomains.d.ts.map