Upravit

Sdílet prostřednictvím


New-AzPrivateEndpointIpConfiguration

Creates an IpConfiguration object for private endpoint.

Syntax

New-AzPrivateEndpointIpConfiguration
   -Name <String>
   [-GroupId <String>]
   [-MemberName <String>]
   -PrivateIpAddress <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The New-AzPrivateEndpointIpConfiguration cmdlet creates an IpConfiguration object for private endpoint.

Examples

Example 1

New-AzPrivateEndpointIpConfiguration -Name "IpConfigurationForPrivateEndpoint" -PrivateIPAddress "10.0.0.10"

This example creates an IpConfiguration object used for private endpoint.

Parameters

-DefaultProfile

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

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-GroupId

The ID of a group that the private endpoint connects to.

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

-MemberName

The member name of a group that the private endpoint connects to.

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

-Name

The name of the private endpoint IP configuration.

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

-PrivateIpAddress

The private ip address of the private endpoint's subnet.

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

Inputs

None

Outputs

PSPrivateEndpointIPConfiguration