import * as pulumi from "@pulumi/pulumi"; /** * This data source provides the details of a single Availability Domain in Oracle Cloud Infrastructure Identity service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCompartment = oci.identity.getAvailabilityDomain({ * compartmentId: tenancyOcid, * id: id, * adNumber: Number(adNumber), * }); * ``` */ export declare function getAvailabilityDomain(args: GetAvailabilityDomainArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAvailabilityDomain. */ export interface GetAvailabilityDomainArgs { /** * The number of the Availability Domain. Required if `id` is not specified. This number corresponds to the integer in the Availability Domain `name`. */ adNumber?: number; /** * The OCID of the tenancy. */ compartmentId: string; /** * The OCID of the Availability Domain. Required if `adNumber` is not specified. */ id?: string; } /** * A collection of values returned by getAvailabilityDomain. */ export interface GetAvailabilityDomainResult { /** * The number of the Availability Domain. For example, the `adNumber` for YXol:US-ASHBURN-AD-1 would be "1" */ readonly adNumber: number; /** * The OCID of the tenancy. */ readonly compartmentId: string; /** * The OCID of the Availability Domain. */ readonly id: string; /** * The name of the Availability Domain. */ readonly name: string; } /** * This data source provides the details of a single Availability Domain in Oracle Cloud Infrastructure Identity service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCompartment = oci.identity.getAvailabilityDomain({ * compartmentId: tenancyOcid, * id: id, * adNumber: Number(adNumber), * }); * ``` */ export declare function getAvailabilityDomainOutput(args: GetAvailabilityDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAvailabilityDomain. */ export interface GetAvailabilityDomainOutputArgs { /** * The number of the Availability Domain. Required if `id` is not specified. This number corresponds to the integer in the Availability Domain `name`. */ adNumber?: pulumi.Input; /** * The OCID of the tenancy. */ compartmentId: pulumi.Input; /** * The OCID of the Availability Domain. Required if `adNumber` is not specified. */ id?: pulumi.Input; } //# sourceMappingURL=getAvailabilityDomain.d.ts.map