All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.domainservices.ServiceTrustArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azure.domainservices;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ServiceTrustArgs extends com.pulumi.resources.ResourceArgs {

    public static final ServiceTrustArgs Empty = new ServiceTrustArgs();

    /**
     * The ID of the Active Directory Domain Service. Changing this forces a new Active Directory Domain Service Trust to be created.
     * 
     */
    @Import(name="domainServiceId", required=true)
    private Output domainServiceId;

    /**
     * @return The ID of the Active Directory Domain Service. Changing this forces a new Active Directory Domain Service Trust to be created.
     * 
     */
    public Output domainServiceId() {
        return this.domainServiceId;
    }

    /**
     * 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.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return 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.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The password of the inbound trust set in the on-premise Active Directory Domain Service.
     * 
     */
    @Import(name="password", required=true)
    private Output password;

    /**
     * @return The password of the inbound trust set in the on-premise Active Directory Domain Service.
     * 
     */
    public Output password() {
        return this.password;
    }

    /**
     * Specifies a list of DNS IPs that are used to resolve the on-premise Active Directory Domain Service.
     * 
     */
    @Import(name="trustedDomainDnsIps", required=true)
    private Output> trustedDomainDnsIps;

    /**
     * @return Specifies a list of DNS IPs that are used to resolve the on-premise Active Directory Domain Service.
     * 
     */
    public Output> trustedDomainDnsIps() {
        return this.trustedDomainDnsIps;
    }

    /**
     * The FQDN of the on-premise Active Directory Domain Service.
     * 
     */
    @Import(name="trustedDomainFqdn", required=true)
    private Output trustedDomainFqdn;

    /**
     * @return The FQDN of the on-premise Active Directory Domain Service.
     * 
     */
    public Output trustedDomainFqdn() {
        return this.trustedDomainFqdn;
    }

    private ServiceTrustArgs() {}

    private ServiceTrustArgs(ServiceTrustArgs $) {
        this.domainServiceId = $.domainServiceId;
        this.name = $.name;
        this.password = $.password;
        this.trustedDomainDnsIps = $.trustedDomainDnsIps;
        this.trustedDomainFqdn = $.trustedDomainFqdn;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ServiceTrustArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ServiceTrustArgs $;

        public Builder() {
            $ = new ServiceTrustArgs();
        }

        public Builder(ServiceTrustArgs defaults) {
            $ = new ServiceTrustArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param domainServiceId The ID of the Active Directory Domain Service. Changing this forces a new Active Directory Domain Service Trust to be created.
         * 
         * @return builder
         * 
         */
        public Builder domainServiceId(Output domainServiceId) {
            $.domainServiceId = domainServiceId;
            return this;
        }

        /**
         * @param domainServiceId The ID of the Active Directory Domain Service. Changing this forces a new Active Directory Domain Service Trust to be created.
         * 
         * @return builder
         * 
         */
        public Builder domainServiceId(String domainServiceId) {
            return domainServiceId(Output.of(domainServiceId));
        }

        /**
         * @param name 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.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name 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.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param password The password of the inbound trust set in the on-premise Active Directory Domain Service.
         * 
         * @return builder
         * 
         */
        public Builder password(Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password The password of the inbound trust set in the on-premise Active Directory Domain Service.
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param trustedDomainDnsIps Specifies a list of DNS IPs that are used to resolve the on-premise Active Directory Domain Service.
         * 
         * @return builder
         * 
         */
        public Builder trustedDomainDnsIps(Output> trustedDomainDnsIps) {
            $.trustedDomainDnsIps = trustedDomainDnsIps;
            return this;
        }

        /**
         * @param trustedDomainDnsIps Specifies a list of DNS IPs that are used to resolve the on-premise Active Directory Domain Service.
         * 
         * @return builder
         * 
         */
        public Builder trustedDomainDnsIps(List trustedDomainDnsIps) {
            return trustedDomainDnsIps(Output.of(trustedDomainDnsIps));
        }

        /**
         * @param trustedDomainDnsIps Specifies a list of DNS IPs that are used to resolve the on-premise Active Directory Domain Service.
         * 
         * @return builder
         * 
         */
        public Builder trustedDomainDnsIps(String... trustedDomainDnsIps) {
            return trustedDomainDnsIps(List.of(trustedDomainDnsIps));
        }

        /**
         * @param trustedDomainFqdn The FQDN of the on-premise Active Directory Domain Service.
         * 
         * @return builder
         * 
         */
        public Builder trustedDomainFqdn(Output trustedDomainFqdn) {
            $.trustedDomainFqdn = trustedDomainFqdn;
            return this;
        }

        /**
         * @param trustedDomainFqdn The FQDN of the on-premise Active Directory Domain Service.
         * 
         * @return builder
         * 
         */
        public Builder trustedDomainFqdn(String trustedDomainFqdn) {
            return trustedDomainFqdn(Output.of(trustedDomainFqdn));
        }

        public ServiceTrustArgs build() {
            if ($.domainServiceId == null) {
                throw new MissingRequiredPropertyException("ServiceTrustArgs", "domainServiceId");
            }
            if ($.password == null) {
                throw new MissingRequiredPropertyException("ServiceTrustArgs", "password");
            }
            if ($.trustedDomainDnsIps == null) {
                throw new MissingRequiredPropertyException("ServiceTrustArgs", "trustedDomainDnsIps");
            }
            if ($.trustedDomainFqdn == null) {
                throw new MissingRequiredPropertyException("ServiceTrustArgs", "trustedDomainFqdn");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy