Get-AzPrivateLinkService
Hiermee haalt u de Private Link-service op
Syntaxis
Get-AzPrivateLinkService
[-Name <String>]
[-ResourceGroupName <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzPrivateLinkService
-Name <String>
-ResourceGroupName <String>
-ExpandResource <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
De Get-AzPrivateLinkService cmdlet haalt een of meer private link-services op.
Voorbeelden
Voorbeeld 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"
}
]
Met deze commandlet wordt een private link-service in de resourcegroep ophaalt.
Parameters
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Type: | IAzureContextContainer |
Aliassen: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-ExpandResource
De resourcereferentie die moet worden uitgebreid.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
-Name
De resourcenaam.
Type: | String |
Aliassen: | ResourceName |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | True |
-ResourceGroupName
De naam van de resourcegroep.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | True |
Invoerwaarden
Uitvoerwaarden
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure PowerShell