Partager via


WindowsGmsaProfile Class

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

Implements

public final class WindowsGmsaProfile
implements JsonSerializable<WindowsGmsaProfile>

Windows gMSA Profile in the managed cluster.

Constructor Summary

Constructor Description
WindowsGmsaProfile()

Creates an instance of WindowsGmsaProfile class.

Method Summary

Modifier and Type Method and Description
String dnsServer()

Get the dnsServer property: Specifies the DNS server for Windows gMSA.

Boolean enabled()

Get the enabled property: Specifies whether to enable Windows gMSA in the managed cluster.

static WindowsGmsaProfile fromJson(JsonReader jsonReader)

Reads an instance of WindowsGmsaProfile from the JsonReader.

String rootDomainName()

Get the rootDomainName property: Specifies the root domain name for Windows gMSA.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

WindowsGmsaProfile withDnsServer(String dnsServer)

Set the dnsServer property: Specifies the DNS server for Windows gMSA.

WindowsGmsaProfile withEnabled(Boolean enabled)

Set the enabled property: Specifies whether to enable Windows gMSA in the managed cluster.

WindowsGmsaProfile withRootDomainName(String rootDomainName)

Set the rootDomainName property: Specifies the root domain name for Windows gMSA.

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:

the dnsServer value.

enabled

public Boolean enabled()

Get the enabled property: Specifies whether to enable Windows gMSA in the managed cluster.

Returns:

the enabled value.

fromJson

public static WindowsGmsaProfile fromJson(JsonReader jsonReader)

Reads an instance of WindowsGmsaProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WindowsGmsaProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the WindowsGmsaProfile.

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:

the rootDomainName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

dnsServer - the dnsServer value to set.

Returns:

the WindowsGmsaProfile object itself.

withEnabled

public WindowsGmsaProfile withEnabled(Boolean enabled)

Set the enabled property: Specifies whether to enable Windows gMSA in the managed cluster.

Parameters:

enabled - the enabled value to set.

Returns:

the WindowsGmsaProfile object itself.

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:

rootDomainName - the rootDomainName value to set.

Returns:

the WindowsGmsaProfile object itself.

Applies to