import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets information about a domain. */ export declare function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetDomainArgs { domainId: string; project?: string; } export interface GetDomainResult { /** * Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used. */ readonly admin: string; /** * Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled. */ readonly auditLogsEnabled: boolean; /** * Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail. */ readonly authorizedNetworks: string[]; /** * The time the instance was created. */ readonly createTime: string; /** * The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network. */ readonly fqdn: string; /** * Optional. Resource labels that can contain user-provided metadata. */ readonly labels: { [key: string]: string; }; /** * Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block. */ readonly locations: string[]; /** * The unique name of the domain using the form: `projects/{project_id}/locations/global/domains/{domain_name}`. */ readonly name: string; /** * The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks]. */ readonly reservedIpRange: string; /** * The current state of this domain. */ readonly state: string; /** * Additional information about the current status of this domain, if available. */ readonly statusMessage: string; /** * The current trusts associated with the domain. */ readonly trusts: outputs.managedidentities.v1.TrustResponse[]; /** * The last update time. */ readonly updateTime: string; } /** * Gets information about a domain. */ export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetDomainOutputArgs { domainId: pulumi.Input; project?: pulumi.Input; }