Get-AzFrontDoor
Hämta Front Door-lastbalanserare
Syntax
Get-AzFrontDoor
[-ResourceGroupName <String>]
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzFrontDoor-cmdletGet hämtar alla befintliga frontdörrar (endast klassisk nivå) i den aktuella prenumerationen som matchar den angivna informationen.
Exempel
Exempel 1: Hämta alla FrontDoors i den aktuella prenumerationen.
Get-AzFrontDoor
FriendlyName : frontdoor1
FrontDoorId : {guid}
RoutingRules : {routingrule1}
BackendPools : {backendpool1}
HealthProbeSettings : {healthProbeSetting1}
LoadBalancingSettings : {loadbalancingsetting1}
FrontendEndpoints : {frontendendpoint1}
EnabledState : Enabled
ResourceState : Enabled
ProvisioningState : Succeeded
Cname :
Tags : {tag1, tag2}
Id : /subscriptions/{guid}/resourcegroups/{guid1}/providers/M
icrosoft.Network/frontdoors/frontdoor1
Name : frontdoor1
Type : Microsoft.Network/frontdoor1
FriendlyName : frontdoor1
FrontDoorId : {guid}
RoutingRules : {routingrule1}
BackendPools : {backendpool1}
HealthProbeSettings : {healthProbeSetting1}
LoadBalancingSettings : {loadbalancingsetting1}
FrontendEndpoints : {frontendendpoint1}
EnabledState : Enabled
ResourceState : Enabled
ProvisioningState : Succeeded
Cname :
Tags : {tag1, tag2}
Id : /subscriptions/{guid}/resourcegroups/{guid2}/providers/M
icrosoft.Network/frontdoors/frontdoor1
Name : frontdoor1
Type : Microsoft.Network/frontdoor1
Hämta alla FrontDoors i den aktuella prenumerationen.
Exempel 2: Hämta alla FrontDoors i resursgruppen "rg1" i den aktuella prenumerationen.
Get-AzFrontDoor -ResourceGroupName "rg1"
FriendlyName : frontdoor1
FrontDoorId : {guid}
RoutingRules : {routingrule1}
BackendPools : {backendpool1}
HealthProbeSettings : {healthProbeSetting1}
LoadBalancingSettings : {loadbalancingsetting1}
FrontendEndpoints : {frontendendpoint1}
EnabledState : Enabled
ResourceState : Enabled
ProvisioningState : Succeeded
Cname :
Tags : {tag1, tag2}
Id : /subscriptions/{guid}/resourcegroups/rg1/providers/M
icrosoft.Network/frontdoors/frontdoor1
Name : frontdoor1
Type : Microsoft.Network/frontdoor1
FriendlyName : frontdoor2
FrontDoorId : {guid}
RoutingRules : {routingrule1}
BackendPools : {backendpool1}
HealthProbeSettings : {healthProbeSetting1}
LoadBalancingSettings : {loadbalancingsetting1}
FrontendEndpoints : {frontendendpoint1}
EnabledState : Enabled
ResourceState : Enabled
ProvisioningState : Succeeded
Cname :
Tags : {tag1, tag2}
Id : /subscriptions/{guid}/resourcegroups/rg1/providers/M
icrosoft.Network/frontdoors/frontdoor1
Name : frontdoor1
Type : Microsoft.Network/frontdoor1
Hämta alla FrontDoors i resursgruppen "rg1" i den aktuella prenumerationen.
Exempel 3: Hämta FrontDoors i resursgruppen "rg1" med namnet "frontDoor1" i den aktuella prenumerationen.
Get-AzFrontDoor -ResourceGroupName "rg1" -Name "frontDoor1"
FriendlyName : frontdoor1
FrontDoorId : {guid}
RoutingRules : {routingrule1}
BackendPools : {backendpool1}
HealthProbeSettings : {healthProbeSetting1}
LoadBalancingSettings : {loadbalancingsetting1}
FrontendEndpoints : {frontendendpoint1}
EnabledState : Enabled
ResourceState : Enabled
ProvisioningState : Succeeded
Cname :
Tags : {tag1, tag2}
Id : /subscriptions/{guid}/resourcegroups/rg1/providers/M
icrosoft.Network/frontdoors/frontdoor1
Name : frontdoor1
Type : Microsoft.Network/frontdoor1
Hämta FrontDoors i resursgruppen "rg1" med namnet "frontDoor1" i den aktuella prenumerationen.
Parametrar
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.
Typ: | IAzureContextContainer |
Alias: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-Name
Front Door-namn.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-ResourceGroupName
Resursgruppens namn.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
Indata
None