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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure PowerShell