Class WindowsProfileResponse
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.WindowsProfileResponse
- Direct Known Subclasses:
WindowsProfile
Profile for Windows VMs in the container service cluster.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WindowsProfileResponse class. -
Method Summary
Modifier and TypeMethodDescriptionGet the adminUsername property: AdminUsername - Specifies the name of the administrator account.Get the enableCsiProxy property: EnableCSIProxy - Whether to enable CSI proxy.Get the licenseType property: LicenseType - The licenseType to use for Windows VMs.void
validate()
Validates the instance.withAdminUsername
(String adminUsername) Set the adminUsername property: AdminUsername - Specifies the name of the administrator account.withEnableCsiProxy
(Boolean enableCsiProxy) Set the enableCsiProxy property: EnableCSIProxy - Whether to enable CSI proxy.withLicenseType
(LicenseType licenseType) Set the licenseType property: LicenseType - The licenseType to use for Windows VMs.
-
Constructor Details
-
WindowsProfileResponse
public WindowsProfileResponse()Creates an instance of WindowsProfileResponse class.
-
-
Method Details
-
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
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
Get the enableCsiProxy property: EnableCSIProxy - Whether to enable CSI proxy.- Returns:
- the enableCsiProxy value.
-
withEnableCsiProxy
Set the enableCsiProxy property: EnableCSIProxy - Whether to enable CSI proxy.- Parameters:
enableCsiProxy
- the enableCsiProxy value to set.- Returns:
- the WindowsProfileResponse object itself.
-
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
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.
-