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

com.pulumi.azure.containerservice.inputs.KubernetesClusterWindowsProfileGmsaArgs 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.15.0
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.containerservice.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final KubernetesClusterWindowsProfileGmsaArgs Empty = new KubernetesClusterWindowsProfileGmsaArgs();

    /**
     * Specifies the DNS server for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
     * 
     */
    @Import(name="dnsServer", required=true)
    private Output dnsServer;

    /**
     * @return Specifies the DNS server for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
     * 
     */
    public Output dnsServer() {
        return this.dnsServer;
    }

    /**
     * Specifies the root domain name for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
     * 
     * > **Note:** The properties `dns_server` and `root_domain` must both either be set or unset, i.e. empty.
     * 
     */
    @Import(name="rootDomain", required=true)
    private Output rootDomain;

    /**
     * @return Specifies the root domain name for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
     * 
     * > **Note:** The properties `dns_server` and `root_domain` must both either be set or unset, i.e. empty.
     * 
     */
    public Output rootDomain() {
        return this.rootDomain;
    }

    private KubernetesClusterWindowsProfileGmsaArgs() {}

    private KubernetesClusterWindowsProfileGmsaArgs(KubernetesClusterWindowsProfileGmsaArgs $) {
        this.dnsServer = $.dnsServer;
        this.rootDomain = $.rootDomain;
    }

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

    public static final class Builder {
        private KubernetesClusterWindowsProfileGmsaArgs $;

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

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

        /**
         * @param dnsServer Specifies the DNS server for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
         * 
         * @return builder
         * 
         */
        public Builder dnsServer(Output dnsServer) {
            $.dnsServer = dnsServer;
            return this;
        }

        /**
         * @param dnsServer Specifies the DNS server for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
         * 
         * @return builder
         * 
         */
        public Builder dnsServer(String dnsServer) {
            return dnsServer(Output.of(dnsServer));
        }

        /**
         * @param rootDomain Specifies the root domain name for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
         * 
         * > **Note:** The properties `dns_server` and `root_domain` must both either be set or unset, i.e. empty.
         * 
         * @return builder
         * 
         */
        public Builder rootDomain(Output rootDomain) {
            $.rootDomain = rootDomain;
            return this;
        }

        /**
         * @param rootDomain Specifies the root domain name for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
         * 
         * > **Note:** The properties `dns_server` and `root_domain` must both either be set or unset, i.e. empty.
         * 
         * @return builder
         * 
         */
        public Builder rootDomain(String rootDomain) {
            return rootDomain(Output.of(rootDomain));
        }

        public KubernetesClusterWindowsProfileGmsaArgs build() {
            if ($.dnsServer == null) {
                throw new MissingRequiredPropertyException("KubernetesClusterWindowsProfileGmsaArgs", "dnsServer");
            }
            if ($.rootDomain == null) {
                throw new MissingRequiredPropertyException("KubernetesClusterWindowsProfileGmsaArgs", "rootDomain");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy