Class WindowsGmsaProfile
java.lang.Object
com.azure.resourcemanager.containerservice.models.WindowsGmsaProfile
Windows gMSA Profile in the managed cluster.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the dnsServer property: Specifies the DNS server for Windows gMSA.enabled()Get the enabled property: Whether to enable Windows gMSA.Get the rootDomainName property: Specifies the root domain name for Windows gMSA.voidvalidate()Validates the instance.withDnsServer(String dnsServer) Set the dnsServer property: Specifies the DNS server for Windows gMSA.withEnabled(Boolean enabled) Set the enabled property: Whether to enable Windows gMSA.withRootDomainName(String rootDomainName) Set the rootDomainName property: Specifies the root domain name for Windows gMSA.
-
Constructor Details
-
WindowsGmsaProfile
public WindowsGmsaProfile()Creates an instance of WindowsGmsaProfile class.
-
-
Method Details
-
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
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
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
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
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
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.
-