Modifier

Partager via


New-AzEventGridPrivateEndpointConnectionObject

Create an in-memory object for PrivateEndpointConnection.

Syntax

New-AzEventGridPrivateEndpointConnectionObject
   [-GroupId <String[]>]
   [-PrivateEndpointId <String>]
   [-PrivateLinkServiceConnectionStateActionsRequired <String>]
   [-PrivateLinkServiceConnectionStateDescription <String>]
   [-PrivateLinkServiceConnectionStateStatus <String>]
   [-ProvisioningState <String>]
   [<CommonParameters>]

Description

Create an in-memory object for PrivateEndpointConnection.

Examples

Example 1: Create an in-memory object for PrivateEndpointConnection.

New-AzEventGridPrivateEndpointConnectionObject -GroupId "TestId" -PrivateEndpointId "TestPrivateEndpointId" -PrivateLinkServiceConnectionStateActionsRequired "TestActionsRequired" -PrivateLinkServiceConnectionStateDescription "TestDescription" -PrivateLinkServiceConnectionStateStatus Approved -ProvisioningState Succeeded | Format-List

GroupId                                          : {TestId}
Id                                               :
Name                                             :
PrivateEndpointId                                : TestPrivateEndpointId
PrivateLinkServiceConnectionStateActionsRequired : TestActionsRequired
PrivateLinkServiceConnectionStateDescription     : TestDescription
PrivateLinkServiceConnectionStateStatus          : Approved
ProvisioningState                                : Succeeded
ResourceGroupName                                :
Type                                             :

Create an in-memory object for PrivateEndpointConnection.

Parameters

-GroupId

GroupIds from the private link service resource.

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

-PrivateEndpointId

The ARM identifier for Private Endpoint.

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

-PrivateLinkServiceConnectionStateActionsRequired

Actions required (if any).

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

-PrivateLinkServiceConnectionStateDescription

Description of the connection state.

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

-PrivateLinkServiceConnectionStateStatus

Status of the connection.

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

-ProvisioningState

Provisioning state of the Private Endpoint Connection.

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

Outputs

PrivateEndpointConnection