你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagedClusterWindowsProfile 类

定义

容器服务群集中 Windows VM 的配置文件。

public class ManagedClusterWindowsProfile
type ManagedClusterWindowsProfile = class
Public Class ManagedClusterWindowsProfile
继承
ManagedClusterWindowsProfile

构造函数

ManagedClusterWindowsProfile()

初始化 ManagedClusterWindowsProfile 类的新实例。

ManagedClusterWindowsProfile(String, String, LicenseType)

初始化 ManagedClusterWindowsProfile 类的新实例。

属性

AdminPassword

获取或设置指定管理员帐户的密码。 <br><br> 最小长度: 8 个字符 <br><br> 最大长度: 123 个字符 <br><br> 复杂性要求: 需要满足 &以下 4 个条件中的 3 个 lt;br>具有低字符 <br>包含大写字符 <br>具有数字 <br>具有特殊字符 (正则表达式匹配 [\W_]) <br><br> 不允许的值: “abc@123”、“P@$$w 0rd”、“P@ssw0rd”、“P@ssword123”、“Pa$$word”、“pass@word1”、“Password!”、“Password1”、“Password22”、“iloveyou!”

AdminUsername

获取或设置指定管理员帐户的名称。 <br><br> 限制: 不能以“.” &结尾lt;br><br> 不允许的值: “administrator”、“admin”、“user”、“user1”、“test”、“user2”、“test1”、“user3”、“admin1”、“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> 最小长度: 1 个字符 <br><br> 最大长度: 20 个字符

LicenseType

获取或设置要用于 Windows VM 的 licenseType。 Windows_Server用于为 Windows VM 启用 Azure 混合用户权益。 可能的值包括:“None”、“Windows_Server”

方法

Validate()

验证 对象。

适用于