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 Domains in Oracle Cloud Infrastructure Identity service. * * List all domains that are homed or have a replica region in current region. * - If any internal error occurs, return 500 INTERNAL SERVER ERROR. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDomains = oci.identity.getDomains({ * compartmentId: compartmentId, * displayName: domainDisplayName, * homeRegionUrl: domainHomeRegionUrl, * isHiddenOnLogin: domainIsHiddenOnLogin === "true", * licenseType: domainLicenseType, * name: domainName, * state: domainState, * type: domainType, * url: domainUrl, * }); * ``` */ export declare function getDomains(args: GetDomainsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDomains. */ export interface GetDomainsArgs { /** * The OCID of the compartment (remember that the tenancy is simply the root compartment). */ compartmentId: string; /** * The mutable display name of the domain */ displayName?: string; filters?: inputs.Identity.GetDomainsFilter[]; /** * The region specific domain URL */ homeRegionUrl?: string; /** * Indicate if the domain is visible at login screen or not */ isHiddenOnLogin?: boolean; /** * The domain license type */ licenseType?: string; /** * A filter to only return resources that match the given name exactly. */ name?: string; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; /** * The domain type */ type?: string; /** * The region agnostic domain URL */ url?: string; } /** * A collection of values returned by getDomains. */ export interface GetDomainsResult { /** * The OCID of the compartment containing the domain. */ readonly compartmentId: string; /** * The mutable display name of the domain */ readonly displayName?: string; /** * The list of domains. */ readonly domains: outputs.Identity.GetDomainsDomain[]; readonly filters?: outputs.Identity.GetDomainsFilter[]; /** * Region specific domain URL. */ readonly homeRegionUrl?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Indicates whether domain is hidden on login screen or not. */ readonly isHiddenOnLogin?: boolean; /** * The License type of Domain */ readonly licenseType?: string; readonly name?: string; /** * The current state. */ readonly state?: string; /** * The type of the domain. */ readonly type?: string; /** * Region agnostic domain URL. */ readonly url?: string; } /** * This data source provides the list of Domains in Oracle Cloud Infrastructure Identity service. * * List all domains that are homed or have a replica region in current region. * - If any internal error occurs, return 500 INTERNAL SERVER ERROR. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDomains = oci.identity.getDomains({ * compartmentId: compartmentId, * displayName: domainDisplayName, * homeRegionUrl: domainHomeRegionUrl, * isHiddenOnLogin: domainIsHiddenOnLogin === "true", * licenseType: domainLicenseType, * name: domainName, * state: domainState, * type: domainType, * url: domainUrl, * }); * ``` */ export declare function getDomainsOutput(args: GetDomainsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDomains. */ export interface GetDomainsOutputArgs { /** * The OCID of the compartment (remember that the tenancy is simply the root compartment). */ compartmentId: pulumi.Input; /** * The mutable display name of the domain */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The region specific domain URL */ homeRegionUrl?: pulumi.Input; /** * Indicate if the domain is visible at login screen or not */ isHiddenOnLogin?: pulumi.Input; /** * The domain license type */ licenseType?: pulumi.Input; /** * A filter to only return resources that match the given name exactly. */ name?: pulumi.Input; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; /** * The domain type */ type?: pulumi.Input; /** * The region agnostic domain URL */ url?: pulumi.Input; } //# sourceMappingURL=getDomains.d.ts.map