你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GuestOsnicCustomization interface
来宾 OS nic 自定义
属性
allocation | IP 地址分配方法 |
dns |
要使用的 DNS 服务器列表 |
gateway | 分配给 nic 的网关地址 |
ip |
nic 的静态 IP 地址 |
mask | nic 的网络掩码 |
primary |
适用于 Windows 的主 WINS 服务器 |
secondary |
适用于 Windows 的辅助 WINS 服务器 |
属性详细信息
allocation
IP 地址分配方法
allocation?: string
属性值
string
dnsServers
要使用的 DNS 服务器列表
dnsServers?: string[]
属性值
string[]
gateway
分配给 nic 的网关地址
gateway?: string[]
属性值
string[]
ipAddress
nic 的静态 IP 地址
ipAddress?: string
属性值
string
mask
nic 的网络掩码
mask?: string
属性值
string
primaryWinsServer
适用于 Windows 的主 WINS 服务器
primaryWinsServer?: string
属性值
string
secondaryWinsServer
适用于 Windows 的辅助 WINS 服务器
secondaryWinsServer?: string
属性值
string