Class ManagedClusterWindowsProfile
java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterWindowsProfile
Profile for Windows VMs in the managed cluster.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the adminPassword property: Specifies the password of the administrator account.Get the adminUsername property: Specifies the name of the administrator account.Get the enableCsiProxy property: Whether to enable CSI proxy.Get the gmsaProfile property: The Windows gMSA Profile in the Managed Cluster.Get the licenseType property: The license type to use for Windows VMs.voidvalidate()Validates the instance.withAdminPassword(String adminPassword) Set the adminPassword property: Specifies the password of the administrator account.withAdminUsername(String adminUsername) Set the adminUsername property: Specifies the name of the administrator account.withEnableCsiProxy(Boolean enableCsiProxy) Set the enableCsiProxy property: Whether to enable CSI proxy.withGmsaProfile(WindowsGmsaProfile gmsaProfile) Set the gmsaProfile property: The Windows gMSA Profile in the Managed Cluster.withLicenseType(LicenseType licenseType) Set the licenseType property: The license type to use for Windows VMs.
-
Constructor Details
-
ManagedClusterWindowsProfile
public ManagedClusterWindowsProfile()
-
-
Method Details
-
adminUsername
Get the adminUsername property: Specifies the name of the administrator account. <br><br> **Restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length:** 1 character <br><br> **Max-length:** 20 characters.- Returns:
- the adminUsername value.
-
withAdminUsername
Set the adminUsername property: Specifies the name of the administrator account. <br><br> **Restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length:** 1 character <br><br> **Max-length:** 20 characters.- Parameters:
adminUsername- the adminUsername value to set.- Returns:
- the ManagedClusterWindowsProfile object itself.
-
adminPassword
Get the adminPassword property: Specifies the password of the administrator account. <br><br> **Minimum-length:** 8 characters <br><br> **Max-length:** 123 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!".- Returns:
- the adminPassword value.
-
withAdminPassword
Set the adminPassword property: Specifies the password of the administrator account. <br><br> **Minimum-length:** 8 characters <br><br> **Max-length:** 123 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!".- Parameters:
adminPassword- the adminPassword value to set.- Returns:
- the ManagedClusterWindowsProfile object itself.
-
licenseType
Get the licenseType property: The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details.- Returns:
- the licenseType value.
-
withLicenseType
Set the licenseType property: The license type to use for Windows VMs. See [Azure Hybrid User Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details.- Parameters:
licenseType- the licenseType value to set.- Returns:
- the ManagedClusterWindowsProfile object itself.
-
enableCsiProxy
Get the enableCsiProxy property: Whether to enable CSI proxy.For more details on CSI proxy, see the [CSI proxy GitHub repo](https://github.com/kubernetes-csi/csi-proxy).
- Returns:
- the enableCsiProxy value.
-
withEnableCsiProxy
Set the enableCsiProxy property: Whether to enable CSI proxy.For more details on CSI proxy, see the [CSI proxy GitHub repo](https://github.com/kubernetes-csi/csi-proxy).
- Parameters:
enableCsiProxy- the enableCsiProxy value to set.- Returns:
- the ManagedClusterWindowsProfile object itself.
-
gmsaProfile
Get the gmsaProfile property: The Windows gMSA Profile in the Managed Cluster.- Returns:
- the gmsaProfile value.
-
withGmsaProfile
Set the gmsaProfile property: The Windows gMSA Profile in the Managed Cluster.- Parameters:
gmsaProfile- the gmsaProfile value to set.- Returns:
- the ManagedClusterWindowsProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-