Get-AzPrivateLinkService
Gets private link service
Syntax
Get-AzPrivateLinkService
[-Name <String>]
[-ResourceGroupName <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzPrivateLinkService
-Name <String>
-ResourceGroupName <String>
-ExpandResource <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzPrivateLinkService cmdlet gets one or more private link services.
Examples
Example 1
Get-AzPrivateLinkService -Name MyPLS -ResourceGroupName TestResourceGroup
Name : MyPLS
ResourceGroupName : TestResourceGroup
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestResourceGroup/prov
iders/Microsoft.Network/privateLinkServices/MyPLS
Location : eastus2euap
Type : Microsoft.Network/privateLinkServices
Etag : W/"00000000-0000-0000-0000-000000000000"
Tag : {}
ProvisioningState : Succeeded
Visibility :
AutoApproval :
Alias :
LoadBalancerFrontendIpConfigurations : []
IpConfigurations : [
{
"PrivateIPAddress": "10.0.2.5",
"PrivateIPAllocationMethod": "Static",
"ProvisioningState": "Failed",
"PrivateIPAddressVersion": "IPv4",
"Name": "IP-Config",
"Subnet": {
"Delegations": [],
"Id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/
TestResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/backendSubne
t",
"ServiceAssociationLinks": []
}
}
]
PrivateEndpointConnections : []
NetworkInterfaces : [
{
"TapConfigurations": [],
"HostedWorkloads": [],
"Id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestResourceGroup/providers/Microsoft.Network/networkInterfaces/mytestinterface"
}
]
This commandlet gets a private link service in the resource group.
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 |
-ExpandResource
The resource reference to be expanded.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
The resource name.
Type: | String |
Aliases: | ResourceName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | True |
-ResourceGroupName
The resource group name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | True |
Inputs
Outputs
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell