Get-AzResourceManagementPrivateLink

取得 Azure 資源管理 Private Link(s)

Syntax

Get-AzResourceManagementPrivateLink
   [[-ResourceGroupName] <String>]
   [[-Name] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Get-AzResourceManagementPrivateLink Cmdlet 會取得特定的資源管理私人連結。

範例

範例 1

Get-AzResourceManagementPrivateLink -ResourceGroupName PrivateLinkTestRG -Name NewPL

Id                         : /subscriptions/aeb49941-36c3-4e7c-9ffd-16ba89d33ec4/resourceGroups/PrivateLinkTestRG/provi
                             ders/Microsoft.Authorization/resourceManagementPrivateLinks/NewPL
Type                       : Microsoft.Authorization/resourceManagementPrivateLinks
Name                       : NewPL
Location                   : centralus
PrivateEndpointConnections : {}

使用與其相關聯的私人端點連線,取得資源管理私人連結。

範例 2

Get-AzResourceManagementPrivateLink

Id                         : /subscriptions/aeb49941-36c3-4e7c-9ffd-16ba89d33ec4/resourceGroups/PrivateLinkTestRG/provi
                             ders/Microsoft.Authorization/resourceManagementPrivateLinks/NewPL
Type                       : Microsoft.Authorization/resourceManagementPrivateLinks
Name                       : NewPL
Location                   : centralus
PrivateEndpointConnections : {}

Id                         : /subscriptions/aeb49941-36c3-4e7c-9ffd-16ba89d33ec4/resourceGroups/PrivateLinkTestRG/provi
                             ders/Microsoft.Authorization/resourceManagementPrivateLinks/NewPL2
Type                       : Microsoft.Authorization/resourceManagementPrivateLinks
Name                       : NewPL2
Location                   : centralus
PrivateEndpointConnections : {}

取得訂用帳戶範圍的所有重新調整管理私人連結。

範例 3

Get-AzResourceManagementPrivateLink -ResourceGroupName PrivateLinkTestRG

Id                         : /subscriptions/aeb49941-36c3-4e7c-9ffd-16ba89d33ec4/resourceGroups/PrivateLinkTestRG/provi
                             ders/Microsoft.Authorization/resourceManagementPrivateLinks/NewPL
Type                       : Microsoft.Authorization/resourceManagementPrivateLinks
Name                       : NewPL
Location                   : centralus
PrivateEndpointConnections : {}

Id                         : /subscriptions/aeb49941-36c3-4e7c-9ffd-16ba89d33ec4/resourceGroups/PrivateLinkTestRG/provi
                             ders/Microsoft.Authorization/resourceManagementPrivateLinks/NewPL2
Type                       : Microsoft.Authorization/resourceManagementPrivateLinks
Name                       : NewPL2
Location                   : centralus
PrivateEndpointConnections : {}

取得資源群組範圍的所有重新調整管理私人連結。

參數

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

私人連結的名稱。

Type:String
Aliases:PrivateLinkName
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

資源群組的名稱。

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

輸入

None

輸出

PSResourceManagementPrivateLink