java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.WindowsProfileResponse
com.azure.resourcemanager.hybridcontainerservice.models.WindowsProfile

public final class WindowsProfile extends WindowsProfileResponse
WindowsProfile - Profile for Windows VMs in the container service cluster.
  • Constructor Details

    • WindowsProfile

      public WindowsProfile()
      Creates an instance of WindowsProfile 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 WindowsProfile 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 WindowsProfile object itself.
    • withAdminUsername

      public WindowsProfile withAdminUsername(String adminUsername)
      Set the adminUsername property: AdminUsername - 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.
      Overrides:
      withAdminUsername in class WindowsProfileResponse
      Parameters:
      adminUsername - the adminUsername value to set.
      Returns:
      the WindowsProfileResponse object itself.
    • withEnableCsiProxy

      public WindowsProfile withEnableCsiProxy(Boolean enableCsiProxy)
      Set the enableCsiProxy property: EnableCSIProxy - Whether to enable CSI proxy.
      Overrides:
      withEnableCsiProxy in class WindowsProfileResponse
      Parameters:
      enableCsiProxy - the enableCsiProxy value to set.
      Returns:
      the WindowsProfileResponse object itself.
    • withLicenseType

      public WindowsProfile withLicenseType(LicenseType licenseType)
      Set the licenseType property: LicenseType - The licenseType to use for Windows VMs. Windows_Server is used to enable Azure Hybrid User Benefits for Windows VMs. Possible values include: 'None', 'Windows_Server'.
      Overrides:
      withLicenseType in class WindowsProfileResponse
      Parameters:
      licenseType - the licenseType value to set.
      Returns:
      the WindowsProfileResponse object itself.
    • validate

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