Modifier

Partager via


New-AzNginxPrivateIPAddressObject

Create an in-memory object for NginxPrivateIPAddress.

Syntax

New-AzNginxPrivateIPAddressObject
   [-PrivateIPAddress <String>]
   [-PrivateIPAllocationMethod <NginxPrivateIPAllocationMethod>]
   [-SubnetId <String>]
   [<CommonParameters>]

Description

Create an in-memory object for NginxPrivateIPAddress.

Examples

Example 1: Create an in-memory object for 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

Create an in-memory object for NginxPrivateIPAddress.

Parameters

-PrivateIPAddress

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PrivateIPAllocationMethod

Type:NginxPrivateIPAllocationMethod
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SubnetId

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

NginxPrivateIPAddress