import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Identity service. * * Get the specified domain's information. * * - If the domain doesn't exists, returns 404 NOT FOUND. * - If any internal error occurs, returns 500 INTERNAL SERVER ERROR. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDomain = oci.identity.getDomain({ * domainId: testDomainOciIdentityDomain.id, * }); * ``` */ export declare function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDomain. */ export interface GetDomainArgs { /** * The OCID of the domain */ domainId: string; } /** * A collection of values returned by getDomain. */ export interface GetDomainResult { readonly adminEmail: string; readonly adminFirstName: string; readonly adminLastName: string; readonly adminUserName: string; /** * The OCID of the compartment containing the domain. */ readonly compartmentId: string; /** * 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 domain descripition */ readonly description: string; /** * The mutable display name of the domain */ readonly displayName: string; readonly domainId: 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 home region for the domain. See [Regions and Availability Domains](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm) for the full list of supported region names. Example: `us-phoenix-1` */ readonly homeRegion: string; /** * Region specific domain URL. */ readonly homeRegionUrl: string; /** * The OCID of the domain */ readonly id: string; /** * Indicates whether domain is hidden on login screen or not. */ readonly isHiddenOnLogin: boolean; readonly isNotificationBypassed: boolean; readonly isPrimaryEmailRequired: boolean; /** * The License type of Domain */ readonly licenseType: string; /** * Any additional details about the current state of the Domain. */ readonly lifecycleDetails: string; /** * The regions domain is replication to. */ readonly replicaRegions: outputs.Identity.GetDomainReplicaRegion[]; /** * The current state. */ readonly state: string; /** * Date and time the domain was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: string; /** * The type of the domain. */ readonly type: string; /** * Region agnostic domain URL. */ readonly url: string; } /** * This data source provides details about a specific Domain resource in Oracle Cloud Infrastructure Identity service. * * Get the specified domain's information. * * - If the domain doesn't exists, returns 404 NOT FOUND. * - If any internal error occurs, returns 500 INTERNAL SERVER ERROR. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDomain = oci.identity.getDomain({ * domainId: testDomainOciIdentityDomain.id, * }); * ``` */ export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDomain. */ export interface GetDomainOutputArgs { /** * The OCID of the domain */ domainId: pulumi.Input; } //# sourceMappingURL=getDomain.d.ts.map