New-AzNginxPrivateIPAddressObject
建立 NginxPrivateIPAddress 的記憶體內部物件。
語法
New-AzNginxPrivateIPAddressObject
[-PrivateIPAddress <String>]
[-PrivateIPAllocationMethod <NginxPrivateIPAllocationMethod>]
[-SubnetId <String>]
[<CommonParameters>]
Description
建立 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 |