New-AzEventGridPrivateEndpointConnectionObject

建立 PrivateEndpointConnection 的記憶體內物件。

語法

Default (預設值)

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[]

預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-PrivateEndpointId

私人端點的ARM標識碼。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-PrivateLinkServiceConnectionStateActionsRequired

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

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-PrivateLinkServiceConnectionStateDescription

連接狀態的描述。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-PrivateLinkServiceConnectionStateStatus

線上的狀態。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-ProvisioningState

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

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

CommonParameters

此 Cmdlet 支援常見參數: -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。

輸出

PrivateEndpointConnection