Class WindowsGmsaProfile

java.lang.Object
com.azure.resourcemanager.containerservice.models.WindowsGmsaProfile

public final class WindowsGmsaProfile extends Object
Windows gMSA Profile in the managed cluster.
  • Constructor Details

    • WindowsGmsaProfile

      public WindowsGmsaProfile()
      Creates an instance of WindowsGmsaProfile class.
  • Method Details

    • enabled

      public Boolean enabled()
      Get the enabled property: Whether to enable Windows gMSA. Specifies whether to enable Windows gMSA in the managed cluster.
      Returns:
      the enabled value.
    • withEnabled

      public WindowsGmsaProfile withEnabled(Boolean enabled)
      Set the enabled property: Whether to enable Windows gMSA. Specifies whether to enable Windows gMSA in the managed cluster.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the WindowsGmsaProfile object itself.
    • dnsServer

      public String dnsServer()
      Get the dnsServer property: Specifies the DNS server for Windows gMSA. <br><br> Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
      Returns:
      the dnsServer value.
    • withDnsServer

      public WindowsGmsaProfile withDnsServer(String dnsServer)
      Set the dnsServer property: Specifies the DNS server for Windows gMSA. <br><br> Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
      Parameters:
      dnsServer - the dnsServer value to set.
      Returns:
      the WindowsGmsaProfile object itself.
    • rootDomainName

      public String rootDomainName()
      Get the rootDomainName property: Specifies the root domain name for Windows gMSA. <br><br> Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
      Returns:
      the rootDomainName value.
    • withRootDomainName

      public WindowsGmsaProfile withRootDomainName(String rootDomainName)
      Set the rootDomainName property: Specifies the root domain name for Windows gMSA. <br><br> Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
      Parameters:
      rootDomainName - the rootDomainName value to set.
      Returns:
      the WindowsGmsaProfile object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.