Get-AzWvdPrivateEndpointConnection
取得私人端點連線。
語法
Get-AzWvdPrivateEndpointConnection
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
-WorkspaceName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWvdPrivateEndpointConnection
-Name <String>
-WorkspaceInputObject <IDesktopVirtualizationIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWvdPrivateEndpointConnection
-Name <String>
-HostPoolInputObject <IDesktopVirtualizationIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWvdPrivateEndpointConnection
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
-HostPoolName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWvdPrivateEndpointConnection
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
-WorkspaceName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWvdPrivateEndpointConnection
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
-HostPoolName <String>
[-InitialSkip <Int32>]
[-IsDescending]
[-PageSize <Int32>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWvdPrivateEndpointConnection
-InputObject <IDesktopVirtualizationIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWvdPrivateEndpointConnection
-InputObject <IDesktopVirtualizationIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
取得私人端點連線。
範例
範例 1:依工作區取得 PrivateEndpointConnection
Get-AzWvdPrivateEndpointConnection -ResourceGroupName ResourceGroupName -workspaceName WorkspaceName -privateEndpointConnectionName privateName
Name PrivateEndpointId PrivateLinkServiceConnectionStateActionsRequired PrivateLinkServiceConnectionStateDescription PrivateLinkServiceConnectionStateStatus ProvisioningState
---- ----------------- ------------------------------------------------ -------------------------------------------- --------------------------------------- -----------------
privateName1 /subscriptions/00000000-0000-0000-000000000000/resourceGroups/ResourceGroupName/providers/microsoft.network/privateendpoints/WorkspaceName None Auto-approved Approved Succeeded
從工作區取得私人端點連線。
範例 1:依工作區列出 PrivateEndpointConnections
Get-AzWvdPrivateEndpointConnection -ResourceGroupName ResourceGroupName -workspaceName WorkspaceName
Name PrivateEndpointId PrivateLinkServiceConnectionStateActionsRequired PrivateLinkServiceConnectionStateDescription PrivateLinkServiceConnectionStateStatus ProvisioningState
---- ----------------- ------------------------------------------------ -------------------------------------------- --------------------------------------- -----------------
privateName1 /subscriptions/00000000-0000-0000-000000000000/resourceGroups/ResourceGroupName/providers/microsoft.network/privateendpoints/WorkspaceName None Auto-approved Approved Succeeded
privateName2 /subscriptions/00000000-0000-0000-000000000000/resourceGroups/ResourceGroupName/providers/microsoft.network/privateendpoints/WorkspaceName None Auto-approved Approved Succeeded
列出工作區中的私人端點連線。
範例 3:依 HostPool 取得 PrivateEndpointConnection
Get-AzWvdPrivateEndpointConnection -ResourceGroupName ResourceGroupName -HostPoolName hpName -privateEndpointConnectionName privateName
Name PrivateEndpointId PrivateLinkServiceConnectionStateActionsRequired PrivateLinkServiceConnectionStateDescription PrivateLinkServiceConnectionStateStatus ProvisioningState
---- ----------------- ------------------------------------------------ -------------------------------------------- --------------------------------------- -----------------
privateName1 /subscriptions/00000000-0000-0000-000000000000/resourceGroups/ResourceGroupName/providers/microsoft.network/privateendpoints/hpName None Auto-approved Approved Succeeded
從 HostPool 取得私人端點連線。
範例 1:列出 HostPool 的 PrivateEndpointConnections
Get-AzWvdPrivateEndpointConnection -ResourceGroupName ResourceGroupName -HostPoolName hpName
Name PrivateEndpointId PrivateLinkServiceConnectionStateActionsRequired PrivateLinkServiceConnectionStateDescription PrivateLinkServiceConnectionStateStatus ProvisioningState
---- ----------------- ------------------------------------------------ -------------------------------------------- --------------------------------------- -----------------
privateName1 /subscriptions/00000000-0000-0000-000000000000/resourceGroups/ResourceGroupName/providers/microsoft.network/privateendpoints/hpName None Auto-approved Approved Succeeded
privateName2 /subscriptions/00000000-0000-0000-000000000000/resourceGroups/ResourceGroupName/providers/microsoft.network/privateendpoints/hpName None Auto-approved Approved Succeeded
列出 Hostpool 的私人端點連線。
參數
-DefaultProfile
DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。
類型: | PSObject |
別名: | AzureRMContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-HostPoolInputObject
Identity 參數
類型: | IDesktopVirtualizationIdentity |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-HostPoolName
指定資源群組內的主機集區名稱
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-InitialSkip
要略過的專案初始數目。
類型: | Int32 |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-InputObject
Identity 參數
類型: | IDesktopVirtualizationIdentity |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-IsDescending
指出集合是否遞減。
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
與 Azure 資源相關聯的私人端點連線名稱。
類型: | String |
別名: | PrivateEndpointConnectionName |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-PageSize
每頁的項目數。
類型: | Int32 |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
資源群組的名稱。 名稱不區分大小寫。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-SubscriptionId
目標訂用帳戶的標識碼。 此值必須是 UUID。
類型: | String[] |
Position: | Named |
預設值: | (Get-AzContext).Subscription.Id |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-WorkspaceInputObject
Identity 參數
類型: | IDesktopVirtualizationIdentity |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-WorkspaceName
工作區的名稱
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
輸入
IDesktopVirtualizationIdentity