import * as pulumi from "@pulumi/pulumi"; /** * Manages a Active Directory Domain Service Trust. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.domainservices.getService({ * name: "example-ds", * resourceGroupName: "example-rg", * }); * const exampleServiceTrust = new azure.domainservices.ServiceTrust("example", { * name: "example-trust", * domainServiceId: example.then(example => example.id), * trustedDomainFqdn: "example.com", * trustedDomainDnsIps: [ * "10.1.0.3", * "10.1.0.4", * ], * password: "Password123", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.AAD` - 2021-05-01 * * ## Import * * Active Directory Domain Service Trusts can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:domainservices/serviceTrust:ServiceTrust example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.AAD/domainServices/DomainService1/trusts/trust1 * ``` */ export declare class ServiceTrust extends pulumi.CustomResource { /** * Get an existing ServiceTrust 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ServiceTrustState, opts?: pulumi.CustomResourceOptions): ServiceTrust; /** * Returns true if the given object is an instance of ServiceTrust. 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 ServiceTrust; /** * The ID of the Active Directory Domain Service. Changing this forces a new Active Directory Domain Service Trust to be created. */ readonly domainServiceId: pulumi.Output; /** * 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. */ readonly name: pulumi.Output; /** * The password of the inbound trust set in the on-premise Active Directory Domain Service. */ readonly password: pulumi.Output; /** * Specifies a list of DNS IPs that are used to resolve the on-premise Active Directory Domain Service. */ readonly trustedDomainDnsIps: pulumi.Output; /** * The FQDN of the on-premise Active Directory Domain Service. */ readonly trustedDomainFqdn: pulumi.Output; /** * Create a ServiceTrust 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: ServiceTrustArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ServiceTrust resources. */ export interface ServiceTrustState { /** * The ID of the Active Directory Domain Service. Changing this forces a new Active Directory Domain Service Trust to be created. */ domainServiceId?: pulumi.Input; /** * 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. */ name?: pulumi.Input; /** * The password of the inbound trust set in the on-premise Active Directory Domain Service. */ password?: pulumi.Input; /** * Specifies a list of DNS IPs that are used to resolve the on-premise Active Directory Domain Service. */ trustedDomainDnsIps?: pulumi.Input[]>; /** * The FQDN of the on-premise Active Directory Domain Service. */ trustedDomainFqdn?: pulumi.Input; } /** * The set of arguments for constructing a ServiceTrust resource. */ export interface ServiceTrustArgs { /** * The ID of the Active Directory Domain Service. Changing this forces a new Active Directory Domain Service Trust to be created. */ domainServiceId: pulumi.Input; /** * 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. */ name?: pulumi.Input; /** * The password of the inbound trust set in the on-premise Active Directory Domain Service. */ password: pulumi.Input; /** * Specifies a list of DNS IPs that are used to resolve the on-premise Active Directory Domain Service. */ trustedDomainDnsIps: pulumi.Input[]>; /** * The FQDN of the on-premise Active Directory Domain Service. */ trustedDomainFqdn: pulumi.Input; }