ServiceTrust

class ServiceTrust : KotlinCustomResource

Manages a Active Directory Domain Service Trust.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.domainservices.DomainservicesFunctions;
import com.pulumi.azure.domainservices.inputs.GetServiceArgs;
import com.pulumi.azure.domainservices.ServiceTrust;
import com.pulumi.azure.domainservices.ServiceTrustArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var exampleService = DomainservicesFunctions.getService(GetServiceArgs.builder()
.name("example-ds")
.resourceGroupName("example-rg")
.build());
var exampleServiceTrust = new ServiceTrust("exampleServiceTrust", ServiceTrustArgs.builder()
.domainServiceId(exampleService.applyValue(getServiceResult -> getServiceResult.id()))
.trustedDomainFqdn("example.com")
.trustedDomainDnsIps(
"10.1.0.3",
"10.1.0.4")
.password("Password123")
.build());
}
}

Import

Active Directory Domain Service Trusts can be imported using the resource id, e.g.

$ pulumi import azure:domainservices/serviceTrust:ServiceTrust example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.AAD/domainServices/DomainService1/trusts/trust1

Properties

Link copied to clipboard
val domainServiceId: Output<String>

The ID of the Active Directory Domain Service. Changing this forces a new Active Directory Domain Service Trust to be created.

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

The name which should be used for this Active Directory Domain Service Trust. Changing this forces a new Active Directory Domain Service Trust to be created.

Link copied to clipboard
val password: Output<String>

The password of the inbound trust set in the on-premise Active Directory Domain Service.

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

Specifies a list of DNS IPs that are used to resolve the on-premise Active Directory Domain Service.

Link copied to clipboard

The FQDN of the on-premise Active Directory Domain Service.

Link copied to clipboard
val urn: Output<String>