Get-AzResourceManagementPrivateLink
Gets Azure Resource Management Private Link(s)
Syntax
Default (Default)
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 resource 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 resource management private links at the resource group scope.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
| Type: | IAzureContextContainer |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Name
The name of the private link.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | PrivateLinkName |
Parameter sets
(All)
| Position: | 1 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-ResourceGroupName
The name of the resource group.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.