共用方式為


New-AzEventGridPrivateEndpointConnectionObject

建立 PrivateEndpointConnection 的記憶體內部物件。

語法

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

Description

建立 PrivateEndpointConnection 的記憶體內部物件。

範例

範例 1:建立 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                                             :

建立 PrivateEndpointConnection 的記憶體內部物件。

參數

-GroupId

Private Link 服務資源的 GroupId。

類型:String[]
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-PrivateEndpointId

私人端點的ARM標識碼。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-PrivateLinkServiceConnectionStateActionsRequired

需要動作(如果有的話)。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-PrivateLinkServiceConnectionStateDescription

連接狀態的描述。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-PrivateLinkServiceConnectionStateStatus

線上的狀態。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ProvisioningState

私人端點聯機的布建狀態。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸出

PrivateEndpointConnection