import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Creates a Microsoft AD domain. * Auto-naming is currently not supported for this resource. */ export declare class Domain extends pulumi.CustomResource { /** * Get an existing Domain resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Domain; /** * Returns true if the given object is an instance of Domain. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Domain; /** * Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used. */ readonly admin: pulumi.Output; /** * Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled. */ readonly auditLogsEnabled: pulumi.Output; /** * 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: pulumi.Output; /** * The time the instance was created. */ readonly createTime: pulumi.Output; /** * Required. A domain name, e.g. mydomain.myorg.com, with the following restrictions: * Must contain only lowercase letters, numbers, periods and hyphens. * Must start with a letter. * Must contain between 2-64 characters. * Must end with a number or a letter. * Must not start with period. * First segment length (mydomain form example above) shouldn't exceed 15 chars. * The last segment cannot be fully numeric. * Must be unique within the customer project. */ readonly domainName: pulumi.Output; /** * 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: pulumi.Output; /** * Optional. Resource labels that can contain user-provided metadata. */ readonly labels: pulumi.Output<{ [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: pulumi.Output; /** * The unique name of the domain using the form: `projects/{project_id}/locations/global/domains/{domain_name}`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * 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: pulumi.Output; /** * The current state of this domain. */ readonly state: pulumi.Output; /** * Additional information about the current status of this domain, if available. */ readonly statusMessage: pulumi.Output; /** * The current trusts associated with the domain. */ readonly trusts: pulumi.Output; /** * The last update time. */ readonly updateTime: pulumi.Output; /** * Create a Domain resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DomainArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Domain resource. */ export interface DomainArgs { /** * Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used. */ admin?: pulumi.Input; /** * Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled. */ auditLogsEnabled?: pulumi.Input; /** * 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. */ authorizedNetworks?: pulumi.Input[]>; /** * Required. A domain name, e.g. mydomain.myorg.com, with the following restrictions: * Must contain only lowercase letters, numbers, periods and hyphens. * Must start with a letter. * Must contain between 2-64 characters. * Must end with a number or a letter. * Must not start with period. * First segment length (mydomain form example above) shouldn't exceed 15 chars. * The last segment cannot be fully numeric. * Must be unique within the customer project. */ domainName: pulumi.Input; /** * Optional. Resource labels that can contain user-provided metadata. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * 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. */ locations: pulumi.Input[]>; project?: pulumi.Input; /** * 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]. */ reservedIpRange: pulumi.Input; }