Class WindowsProfilePassword

java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.WindowsProfilePassword

public class WindowsProfilePassword extends Object
Password for the Windows Profile to be used by the Windows VMs in the cluster.
  • Constructor Details

    • WindowsProfilePassword

      public WindowsProfilePassword()
      Creates an instance of WindowsProfilePassword class.
  • Method Details

    • adminPassword

      public String adminPassword()
      Get the adminPassword property: AdminPassword - 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

      public WindowsProfilePassword withAdminPassword(String adminPassword)
      Set the adminPassword property: AdminPassword - 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 WindowsProfilePassword object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.