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 Summary
Constructors Constructor Description WindowsGmsaProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdnsServer()Get the dnsServer property: Specifies the DNS server for Windows gMSA.Booleanenabled()Get the enabled property: Whether to enable Windows gMSA.StringrootDomainName()Get the rootDomainName property: Specifies the root domain name for Windows gMSA.voidvalidate()Validates the instance.WindowsGmsaProfilewithDnsServer(String dnsServer)Set the dnsServer property: Specifies the DNS server for Windows gMSA.WindowsGmsaProfilewithEnabled(Boolean enabled)Set the enabled property: Whether to enable Windows gMSA.WindowsGmsaProfilewithRootDomainName(String rootDomainName)Set the rootDomainName property: Specifies the root domain name for Windows gMSA.
-
-
-
Method Detail
-
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.
-
-