Approve-AzPrivateEndpointConnection

Approves a private endpoint connection.

Syntax

Approve-AzPrivateEndpointConnection
       -ResourceId <String>
       [-Description <String>]
       [-DefaultProfile <IAzureContextContainer>]
       [<CommonParameters>]
Approve-AzPrivateEndpointConnection
       -Name <String>
       -ServiceName <String>
       -ResourceGroupName <String>
       [-PrivateLinkResourceType <string>][-Description <String>]
       [-DefaultProfile <IAzureContextContainer>]
       [<CommonParameters>]

Description

The Approve-AzPrivateEndpointConnection cmdlet approves a private endpoint connection.

Examples

Example 1

Approve-AzPrivateEndpointConnection -Name TestPrivateEndpointConnection -ResourceGroupName TestResourceGroup -ServiceName TestPrivateLinkService

This example approves a private endpoint connection.

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
-Description

The reason of action.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Name

The resource name.

Type:String
Aliases:ResourceName
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PrivateLinkResourceType

The private link resource type.

Type:String
Position:Named
Default value:'Microsoft.Network/privateLinkServices'
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

The resource group name.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceId

The Azure resource manager id of the private endpoint connection.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ServiceName

The private link service name.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

String

Outputs

Microsoft.Azure.Commands.Network.Models.PSPrivateLinkService