WindowsGmsaProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. WindowsGmsaProfile
- com.
Implements
public final class WindowsGmsaProfile
implements JsonSerializable<WindowsGmsaProfile>
Windows gMSA Profile in the managed cluster.
Constructor Summary
Constructor | Description |
---|---|
WindowsGmsaProfile() |
Creates an instance of Windows |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
dnsServer()
Get the dns |
Boolean |
enabled()
Get the enabled property: Specifies whether to enable Windows gMSA in the managed cluster. |
static
Windows |
fromJson(JsonReader jsonReader)
Reads an instance of Windows |
String |
rootDomainName()
Get the root |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Windows |
withDnsServer(String dnsServer)
Set the dns |
Windows |
withEnabled(Boolean enabled)
Set the enabled property: Specifies whether to enable Windows gMSA in the managed cluster. |
Windows |
withRootDomainName(String rootDomainName)
Set the root |
Methods inherited from java.lang.Object
Constructor Details
WindowsGmsaProfile
public WindowsGmsaProfile()
Creates an instance of WindowsGmsaProfile class.
Method Details
dnsServer
public String dnsServer()
Get the dnsServer property: Specifies the DNS server for Windows gMSA.
Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
Returns:
enabled
public Boolean enabled()
Get the enabled property: Specifies whether to enable Windows gMSA in the managed cluster.
Returns:
fromJson
public static WindowsGmsaProfile fromJson(JsonReader jsonReader)
Reads an instance of WindowsGmsaProfile from the JsonReader.
Parameters:
Returns:
Throws:
rootDomainName
public String rootDomainName()
Get the rootDomainName property: Specifies the root domain name for Windows gMSA.
Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDnsServer
public WindowsGmsaProfile withDnsServer(String dnsServer)
Set the dnsServer property: Specifies the DNS server for Windows gMSA.
Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
Parameters:
Returns:
withEnabled
public WindowsGmsaProfile withEnabled(Boolean enabled)
Set the enabled property: Specifies whether to enable Windows gMSA in the managed cluster.
Parameters:
Returns:
withRootDomainName
public WindowsGmsaProfile withRootDomainName(String rootDomainName)
Set the rootDomainName property: Specifies the root domain name for Windows gMSA.
Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
Parameters:
Returns:
Applies to
Azure SDK for Java