DomainTrust

class DomainTrust : KotlinCustomResource

Adds a trust between Active Directory domains To get more information about DomainTrust, see:

Example Usage

Active Directory Domain Trust Basic

resources:
ad-domain-trust:
type: gcp:activedirectory:DomainTrust
properties:
domain: test-managed-ad.com
targetDomainName: example-gcp.com
targetDnsIpAddresses:
- 10.1.0.100
trustDirection: OUTBOUND
trustType: FOREST
trustHandshakeSecret: Testing1!
deletionProtection: false

Import

DomainTrust can be imported using any of these accepted formats:

  • projects/{{project}}/locations/global/domains/{{domain}}/{{target_domain_name}}

  • {{project}}/{{domain}}/{{target_domain_name}}

  • {{domain}}/{{target_domain_name}} When using the pulumi import command, DomainTrust can be imported using one of the formats above. For example:

$ pulumi import gcp:activedirectory/domainTrust:DomainTrust default projects/{{project}}/locations/global/domains/{{domain}}/{{target_domain_name}}
$ pulumi import gcp:activedirectory/domainTrust:DomainTrust default {{project}}/{{domain}}/{{target_domain_name}}
$ pulumi import gcp:activedirectory/domainTrust:DomainTrust default {{domain}}/{{target_domain_name}}

Properties

Link copied to clipboard
val domain: Output<String>

The fully qualified domain name. e.g. mydomain.myorganization.com, with the restrictions of https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether the trusted side has forest/domain wide access or selective access to an approved set of resources.

Link copied to clipboard

The target DNS server IP addresses which can resolve the remote domain involved in the trust.

Link copied to clipboard

The fully qualified target domain name which will be in trust with the current domain.

Link copied to clipboard
val trustDirection: Output<String>

The trust direction, which decides if the current domain is trusted, trusting, or both. Possible values are: INBOUND, OUTBOUND, BIDIRECTIONAL.

Link copied to clipboard

The trust secret used for the handshake with the target domain. This will not be stored. Note: This property is sensitive and will not be displayed in the plan.

Link copied to clipboard
val trustType: Output<String>

The type of trust represented by the trust resource. Possible values are: FOREST, EXTERNAL.

Link copied to clipboard
val urn: Output<String>