Get-AzFrontDoor
Obter o balanceador de carga do Front Door
Sintaxe
Get-AzFrontDoor
[-ResourceGroupName <String>]
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
O cmdletGet Get-AzFrontDoor
Exemplos
Exemplo 1: Obter todos os FrontDoors na assinatura atual.
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
Obtenha todos os FrontDoors na assinatura atual.
Exemplo 2: Obter todos os FrontDoors no grupo de recursos "rg1" na assinatura atual.
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
Obtenha todos os FrontDoors no grupo de recursos "rg1" na assinatura atual.
Exemplo 3: obtenha os FrontDoors no grupo de recursos "rg1" com o nome "frontDoor1" na assinatura atual.
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
Obtenha os FrontDoors no grupo de recursos "rg1" com o nome "frontDoor1" na assinatura atual.
Parâmetros
-DefaultProfile
As credenciais, a conta, o locatário e a assinatura usados para comunicação com o Azure.
Tipo: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Cargo: | Named |
Valor padrão: | None |
Obrigatório: | False |
Aceitar a entrada de pipeline: | False |
Aceitar caracteres curinga: | False |
-Name
Nome do Front Door.
Tipo: | String |
Cargo: | Named |
Valor padrão: | None |
Obrigatório: | False |
Aceitar a entrada de pipeline: | False |
Aceitar caracteres curinga: | False |
-ResourceGroupName
O nome do grupo de recursos.
Tipo: | String |
Cargo: | Named |
Valor padrão: | None |
Obrigatório: | False |
Aceitar a entrada de pipeline: | False |
Aceitar caracteres curinga: | False |
Entradas
None
Saídas
Links Relacionados
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure PowerShell