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

GuestOSCustomization interface

来宾 OS 自定义属性

属性

dnsServers

要使用的 DNS 服务器列表

hostName

虚拟机主机名

password

登录密码

policyId

自定义策略的 ID

username

用于登录的用户名

属性详细信息

dnsServers

要使用的 DNS 服务器列表

dnsServers?: string[]

属性值

string[]

hostName

虚拟机主机名

hostName?: string

属性值

string

password

登录密码

password?: string

属性值

string

policyId

自定义策略的 ID

policyId?: string

属性值

string

username

用于登录的用户名

username?: string

属性值

string