你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
New-AzNginxPrivateIPAddressObject
为 NginxPrivateIPAddress 创建内存中对象。
语法
New-AzNginxPrivateIPAddressObject
[-PrivateIPAddress <String>]
[-PrivateIPAllocationMethod <NginxPrivateIPAllocationMethod>]
[-SubnetId <String>]
[<CommonParameters>]
说明
为 NginxPrivateIPAddress 创建内存中对象。
示例
示例 1:为 NginxPrivateIPAddress 创建内存中对象
New-AzNginxPrivateIPAddressObject -PrivateIPAddress 10.0.0.0 -PrivateIPAllocationMethod Static -SubnetId /subscriptions/xxxxxxxxxx-xxxx-xxxxx-xxxxxxxxxxxx/resourceGroups/nginx-test-rg/providers/Microsoft.Network/virtualNetworks/nginx-test-vnet/subnets/default
PrivateIPAddress PrivateIPAllocationMethod SubnetId
---------------- ------------------------- --------
10.0.0.0 Static /subscriptions/xxxxxxxxxx-xxxx-xxxxx-xxxxxxxxxxxx/resourceGroups/nginx-test-rg/providers/Microsoft.Network/virtualNetworks/nginx-test-vnet/subnets/default
为 NginxPrivateIPAddress 创建内存中对象。
参数
-PrivateIPAddress
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-PrivateIPAllocationMethod
类型: | NginxPrivateIPAllocationMethod |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-SubnetId
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |