Get-AzResourceManagementPrivateLink
Gets Azure Resource Management Private Link(s)
Syntax
Get-AzResourceManagementPrivateLink
[[-ResourceGroupName] <String>]
[[-Name] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzResourceManagementPrivateLink cmdlet gets a specific resource management private link.
Examples
Example 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 : {}
Get the resource management private link with the private endpoint connections associated with it.
Example 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 : {}
Gets all of the resoure management private links at the subscription scope.
Example 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 : {}
Gets all of the resoure management private links at the resource group scope.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
The name of the private link.
Type: | String |
Aliases: | PrivateLinkName |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
PSResourceManagementPrivateLink
Related Links
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell