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 Fault Domains in Oracle Cloud Infrastructure Identity service. * * Lists the Fault 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). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFaultDomains = oci.identity.getFaultDomains({ * availabilityDomain: faultDomainAvailabilityDomain, * compartmentId: compartmentId, * }); * ``` */ export declare function getFaultDomains(args: GetFaultDomainsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFaultDomains. */ export interface GetFaultDomainsArgs { /** * The name of the availibilityDomain. */ availabilityDomain: string; /** * The OCID of the compartment (remember that the tenancy is simply the root compartment). */ compartmentId: string; filters?: inputs.Identity.GetFaultDomainsFilter[]; } /** * A collection of values returned by getFaultDomains. */ export interface GetFaultDomainsResult { /** * The name of the availabilityDomain where the Fault Domain belongs. */ readonly availabilityDomain: string; /** * The OCID of the compartment. Currently only tenancy (root) compartment can be provided. */ readonly compartmentId: string; /** * The list of fault_domains. */ readonly faultDomains: outputs.Identity.GetFaultDomainsFaultDomain[]; readonly filters?: outputs.Identity.GetFaultDomainsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; } /** * This data source provides the list of Fault Domains in Oracle Cloud Infrastructure Identity service. * * Lists the Fault 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). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFaultDomains = oci.identity.getFaultDomains({ * availabilityDomain: faultDomainAvailabilityDomain, * compartmentId: compartmentId, * }); * ``` */ export declare function getFaultDomainsOutput(args: GetFaultDomainsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFaultDomains. */ export interface GetFaultDomainsOutputArgs { /** * The name of the availibilityDomain. */ availabilityDomain: pulumi.Input; /** * The OCID of the compartment (remember that the tenancy is simply the root compartment). */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getFaultDomains.d.ts.map