New-AzPrivateLinkServiceIpConfig

Create a private link service ip configuration.

Syntax

New-AzPrivateLinkServiceIpConfig
   -Name <String>
   [-PrivateIpAddressVersion <String>]
   [-PrivateIpAddress <String>]
   [-PublicIpAddress <PSPublicIpAddress>]
   [-Subnet <PSSubnet>]
   [-Primary]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The New-AzPrivateLinkServiceIpConfig cmdlet creates a private link service ip configuration. This configuration is used for source NAT-ing the incoming traffic from private endpoint.

Examples

Example 1

New-AzPrivateLinkServiceIpConfig -Name $IpConfigurationName -PrivateIpAddress "10.0.0.5" -Primary

This example create a private link service ip configuration in memory.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

The name of the IpConfiguration

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

Indicate current ip configuration is primary or not.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PrivateIpAddress

The private ip address of the ipConfiguration if static allocation is specified.

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

The ip version of the ip configuration

Type:String
Accepted values:IPv4, IPv6
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Subnet

Subnet

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

Inputs

None

Outputs

Microsoft.Azure.Commands.Network.Models.PSPrivateLinkServiceIpConfiguration