import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Creates a Microsoft AD Domain in a given project. Operation * 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. 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) to which the instance is connected. Network can be added using UpdateDomain later. Domain is only available on network part of authorized_networks. Caller needs to make sure that CIDR subnets do not overlap between networks, else domain creation will fail. */ readonly authorizedNetworks: pulumi.Output; /** * The time the instance was created. Synthetic field is populated automatically by CCFE. go/ccfe-synthetic-field-user-guide */ readonly createTime: pulumi.Output; /** * The fully qualified domain name. e.g. mydomain.myorganization.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. * Must be unique within the project. * First segment length (mydomain form example above) shouldn't exceed 15 chars. * The last segment cannot be fully numeric. */ readonly domainName: pulumi.Output; /** * 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 that is set up on an internal network. */ readonly fqdn: pulumi.Output; /** * Optional. Resource labels to represent 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; /** * Optional. Name of customer-visible admin used to perform Active Directory operations. If not specified `setupadmin` would be used. */ readonly managedIdentitiesAdminName: pulumi.Output; /** * Unique name of the domain in this scope including projects and location 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; /** * Last update time. Synthetic field is populated automatically by CCFE. */ 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. 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) to which the instance is connected. Network can be added using UpdateDomain later. Domain is only available on network part of authorized_networks. Caller needs to make sure that CIDR subnets do not overlap between networks, else domain creation will fail. */ authorizedNetworks?: pulumi.Input[]>; /** * The fully qualified domain name. e.g. mydomain.myorganization.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. * Must be unique within the project. * First segment length (mydomain form example above) shouldn't exceed 15 chars. * The last segment cannot be fully numeric. */ domainName?: pulumi.Input; /** * Optional. Resource labels to represent 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[]>; /** * Optional. Name of customer-visible admin used to perform Active Directory operations. If not specified `setupadmin` would be used. */ managedIdentitiesAdminName?: 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; }