Class WindowsProfileResponse

java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.WindowsProfileResponse
Direct Known Subclasses:
WindowsProfile

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

    • WindowsProfileResponse

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

    • adminUsername

      public String adminUsername()
      Get 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.
      Returns:
      the adminUsername value.
    • withAdminUsername

      public WindowsProfileResponse 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.
      Parameters:
      adminUsername - the adminUsername value to set.
      Returns:
      the WindowsProfileResponse object itself.
    • enableCsiProxy

      public Boolean enableCsiProxy()
      Get the enableCsiProxy property: EnableCSIProxy - Whether to enable CSI proxy.
      Returns:
      the enableCsiProxy value.
    • withEnableCsiProxy

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

      public LicenseType licenseType()
      Get 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'.
      Returns:
      the licenseType value.
    • withLicenseType

      public WindowsProfileResponse 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'.
      Parameters:
      licenseType - the licenseType value to set.
      Returns:
      the WindowsProfileResponse object itself.
    • validate

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