ArmContainerServiceModelFactory.ManagedClusterWindowsProfile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.ContainerService.Models.ManagedClusterWindowsProfile ManagedClusterWindowsProfile(string adminUsername = default, string adminPassword = default, Azure.ResourceManager.ContainerService.Models.WindowsVmLicenseType? licenseType = default, bool? isCsiProxyEnabled = default, Azure.ResourceManager.ContainerService.Models.WindowsGmsaProfile gmsaProfile = default);
static member ManagedClusterWindowsProfile : string * string * Nullable<Azure.ResourceManager.ContainerService.Models.WindowsVmLicenseType> * Nullable<bool> * Azure.ResourceManager.ContainerService.Models.WindowsGmsaProfile -> Azure.ResourceManager.ContainerService.Models.ManagedClusterWindowsProfile
Public Shared Function ManagedClusterWindowsProfile (Optional adminUsername As String = Nothing, Optional adminPassword As String = Nothing, Optional licenseType As Nullable(Of WindowsVmLicenseType) = Nothing, Optional isCsiProxyEnabled As Nullable(Of Boolean) = Nothing, Optional gmsaProfile As WindowsGmsaProfile = Nothing) As ManagedClusterWindowsProfile
Parameters
- adminUsername
- String
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.
- adminPassword
- String
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!".
- licenseType
- Nullable<WindowsVmLicenseType>
The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- gmsaProfile
- WindowsGmsaProfile
The Windows gMSA Profile in the Managed Cluster.
Returns
A new ManagedClusterWindowsProfile instance for mocking.