Set-AzFrontDoor

Atualizar um balanceador de carga do Front Door

Syntax

Set-AzFrontDoor
   -ResourceGroupName <String>
   -Name <String>
   [-RoutingRule <PSRoutingRule[]>]
   [-BackendPool <PSBackendPool[]>]
   [-FrontendEndpoint <PSFrontendEndpoint[]>]
   [-LoadBalancingSetting <PSLoadBalancingSetting[]>]
   [-HealthProbeSetting <PSHealthProbeSetting[]>]
   [-Tag <Hashtable>]
   [-EnabledState <PSEnabledState>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzFrontDoor
   -ResourceGroupName <String>
   -Name <String>
   [-RoutingRule <PSRoutingRule[]>]
   [-BackendPool <PSBackendPool[]>]
   [-FrontendEndpoint <PSFrontendEndpoint[]>]
   [-LoadBalancingSetting <PSLoadBalancingSetting[]>]
   [-HealthProbeSetting <PSHealthProbeSetting[]>]
   [-Tag <Hashtable>]
   [-EnabledState <PSEnabledState>]
   [-DisableCertificateNameCheck]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzFrontDoor
   -ResourceGroupName <String>
   -Name <String>
   [-RoutingRule <PSRoutingRule[]>]
   [-BackendPool <PSBackendPool[]>]
   [-FrontendEndpoint <PSFrontendEndpoint[]>]
   [-LoadBalancingSetting <PSLoadBalancingSetting[]>]
   [-HealthProbeSetting <PSHealthProbeSetting[]>]
   [-Tag <Hashtable>]
   [-EnabledState <PSEnabledState>]
   -BackendPoolsSetting <PSBackendPoolsSetting>
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzFrontDoor
   -InputObject <PSFrontDoor>
   [-RoutingRule <PSRoutingRule[]>]
   [-BackendPool <PSBackendPool[]>]
   [-FrontendEndpoint <PSFrontendEndpoint[]>]
   [-LoadBalancingSetting <PSLoadBalancingSetting[]>]
   [-HealthProbeSetting <PSHealthProbeSetting[]>]
   [-Tag <Hashtable>]
   [-EnabledState <PSEnabledState>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzFrontDoor
   -InputObject <PSFrontDoor>
   [-RoutingRule <PSRoutingRule[]>]
   [-BackendPool <PSBackendPool[]>]
   [-FrontendEndpoint <PSFrontendEndpoint[]>]
   [-LoadBalancingSetting <PSLoadBalancingSetting[]>]
   [-HealthProbeSetting <PSHealthProbeSetting[]>]
   [-Tag <Hashtable>]
   [-EnabledState <PSEnabledState>]
   [-DisableCertificateNameCheck]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzFrontDoor
   -InputObject <PSFrontDoor>
   [-RoutingRule <PSRoutingRule[]>]
   [-BackendPool <PSBackendPool[]>]
   [-FrontendEndpoint <PSFrontendEndpoint[]>]
   [-LoadBalancingSetting <PSLoadBalancingSetting[]>]
   [-HealthProbeSetting <PSHealthProbeSetting[]>]
   [-Tag <Hashtable>]
   [-EnabledState <PSEnabledState>]
   -BackendPoolsSetting <PSBackendPoolsSetting>
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzFrontDoor
   -ResourceId <String>
   [-RoutingRule <PSRoutingRule[]>]
   [-BackendPool <PSBackendPool[]>]
   [-FrontendEndpoint <PSFrontendEndpoint[]>]
   [-LoadBalancingSetting <PSLoadBalancingSetting[]>]
   [-HealthProbeSetting <PSHealthProbeSetting[]>]
   [-Tag <Hashtable>]
   [-EnabledState <PSEnabledState>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzFrontDoor
   -ResourceId <String>
   [-RoutingRule <PSRoutingRule[]>]
   [-BackendPool <PSBackendPool[]>]
   [-FrontendEndpoint <PSFrontendEndpoint[]>]
   [-LoadBalancingSetting <PSLoadBalancingSetting[]>]
   [-HealthProbeSetting <PSHealthProbeSetting[]>]
   [-Tag <Hashtable>]
   [-EnabledState <PSEnabledState>]
   [-DisableCertificateNameCheck]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzFrontDoor
   -ResourceId <String>
   [-RoutingRule <PSRoutingRule[]>]
   [-BackendPool <PSBackendPool[]>]
   [-FrontendEndpoint <PSFrontendEndpoint[]>]
   [-LoadBalancingSetting <PSLoadBalancingSetting[]>]
   [-HealthProbeSetting <PSHealthProbeSetting[]>]
   [-Tag <Hashtable>]
   [-EnabledState <PSEnabledState>]
   -BackendPoolsSetting <PSBackendPoolsSetting>
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

O cmdlet Set-AzFrontDoor atualiza um balanceador de carga do Front Door. Se os parâmetros de entrada não forem fornecidos, os antigos parâmetros do Front Door existente serão usados.

Exemplos

Exemplo 1: Atualizar um Front Door existente com FrontDoorName e ResourceGroupName.

Set-AzFrontDoor -Name "frontDoor1" -ResourceGroupName "resourceGroup1" -RoutingRule $routingrule1 -BackendPool $backendpool1 -FrontendEndpoint $frontendEndpoint1 -LoadBalancingSetting $loadBalancingSetting1 -HealthProbeSetting $healthProbeSetting1 -BackendPoolsSetting $backendPoolsSetting1

FriendlyName                : frontdoor1
RoutingRules                : {routingrule1}
BackendPools                : {backendpool1}
BackendPoolsSetting         : {backendPoolsSetting1}
EnforceCertificateNameCheck : {backendPoolsSetting1.EnforceCertificateNameCheck}
HealthProbeSettings         : {healthProbeSetting1}
LoadBalancingSettings       : {loadbalancingsetting1}
FrontendEndpoints           : {frontendendpoint1}
EnabledState                : Enabled
ResourceState               : Enabled
ProvisioningState           : Succeeded
Cname                       :
Tags                        : {tag1, tag2}
Id                          : /subscriptions/{guid}/resourcegroups/{guid}/providers/Microsoft.Network/frontdoors/frontdoor1
Name                        : frontdoor1
Type                        : Microsoft.Network/frontdoors

atualize um FrontDoor existente.

Exemplo 2: Atualizar um Front Door existente com o objeto PSFrontDoor.

Set-AzFrontDoor -InputObject $frontDoor1 -RoutingRule $routingrule1 -BackendPool $backendpool1 -FrontendEndpoint $frontendEndpoint1 -LoadBalancingSetting $loadBalancingSetting1 -HealthProbeSetting $healthProbeSetting1 -BackendPoolsSetting $backendPoolsSetting1

FriendlyName                : frontdoor1
RoutingRules                : {routingrule1}
BackendPools                : {backendpool1}
BackendPoolsSetting         : {backendPoolsSetting1}
EnforceCertificateNameCheck : {backendPoolsSetting1.EnforceCertificateNameCheck}
HealthProbeSettings         : {healthProbeSetting1}
LoadBalancingSettings       : {loadbalancingsetting1}
FrontendEndpoints           : {frontendendpoint1}
EnabledState                : Enabled
ResourceState               : Enabled
ProvisioningState           : Succeeded
Cname                       :
Tags                        : {tag1, tag2}
Id                          : /subscriptions/{guid}/resourcegroups/{guid}/providers/Microsoft.Network/frontdoors/frontdoor1
Name                        : frontdoor1
Type                        : Microsoft.Network/frontdoor1

atualize um FrontDoor existente.

Exemplo 3: Atualizar um Front Door existente com o ResourceId

Set-AzFrontDoor -ResourceId $resourceId -RoutingRule $routingrule1 -BackendPool $backendpool1 -FrontendEndpoint $frontendEndpoint1 -LoadBalancingSetting $loadBalancingSetting1 -HealthProbeSetting $healthProbeSetting1 -BackendPoolsSetting $backendPoolsSetting1

FriendlyName                : frontdoor1
RoutingRules                : {routingrule1}
BackendPools                : {backendpool1}
BackendPoolsSetting         : {backendPoolsSetting1}
EnforceCertificateNameCheck : {backendPoolsSetting1.EnforceCertificateNameCheck}
HealthProbeSettings         : {healthProbeSetting1}
LoadBalancingSettings       : {loadbalancingsetting1}
FrontendEndpoints           : {frontendendpoint1}
EnabledState                : Enabled
ResourceState               : Enabled
ProvisioningState           : Succeeded
Cname                       :
Tags                        : {tag1, tag2}
Id                          : /subscriptions/{guid}/resourcegroups/{guid}/providers/Microsoft.Network/frontdoors/frontdoor1
Name                        : frontdoor1
Type                        : Microsoft.Network/frontdoor1

atualize um FrontDoor existente.

Exemplo 4: atualizar a propriedade BackendPoolSetting EnforceCertificateNameCheck de um Front Door existente com o parâmetro de opção -DisableCertificateNameCheck

O Front Door a ser atualizado pode ser identificado usando FrontoorName e ResourceGroupName, objeto PSFrontDoor ou ResourceId. (Veja os exemplos acima de 3, por exemplo) O exemplo abaixo usa o objeto PSFrontDoor.

Set-AzFrontDoor -InputObject $frontDoor1 -RoutingRule $routingrule1 -BackendPool $backendpool1 -FrontendEndpoint $frontendEndpoint1 -LoadBalancingSetting $loadBalancingSetting1 -HealthProbeSetting $healthProbeSetting1 -DisableCertificateNameCheck

FriendlyName                : frontdoor1
RoutingRules                : {routingrule1}
BackendPools                : {backendpool1}
BackendPoolsSetting         : {PSBackendPoolsSetting object with EnforceCertificateNameCheck is set to Disabled}
EnforceCertificateNameCheck : Disabled
HealthProbeSettings         : {healthProbeSetting1}
LoadBalancingSettings       : {loadbalancingsetting1}
FrontendEndpoints           : {frontendendpoint1}
EnabledState                : Enabled
ResourceState               : Enabled
ProvisioningState           : Succeeded
Cname                       :
Tags                        : {tag1, tag2}
Id                          : /subscriptions/{guid}/resourcegroups/{guid}/providers/Microsoft.Network/frontdoors/frontdoor1
Name                        : frontdoor1
Type                        : Microsoft.Network/frontdoor1

atualize um FrontDoor existente.

Parâmetros

-BackendPool

Backendpools disponíveis para a regra de roteamento.

Type:PSBackendPool[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-BackendPoolsSetting

Configurações para todos os back-endPools.

Type:PSBackendPoolsSetting
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Solicita sua confirmação antes de executar o cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

As credenciais, a conta, o locatário e a assinatura usados para a comunicação com o Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-DisableCertificateNameCheck

Se deseja desabilitar a verificação de nome de certificado em solicitações HTTPS para todos os pools de back-end. Nenhum efeito em solicitações não HTTPS.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-EnabledState

Status operacional do balanceador de carga do Front Door.

Type:PSEnabledState
Accepted values:Enabled, Disabled
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-FrontendEndpoint

Pontos de extremidade front-end disponíveis para a regra de roteamento.

Type:PSFrontendEndpoint[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-HealthProbeSetting

Configurações de investigação de integridade associadas a esta instância do Front Door.

Type:PSHealthProbeSetting[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

O objeto do Front Door a ser atualizado.

Type:PSFrontDoor
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False

-LoadBalancingSetting

Configurações de balanceamento de carga associadas a esta instância do Front Door.

Type:PSLoadBalancingSetting[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Name

O nome do Front Door a ser atualizado.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

O grupo de recursos ao qual o Front Door pertence.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-ResourceId

A ID do recurso do Front Door a ser atualizada

Type:String
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False

-RoutingRule

Regras de roteamento associadas a este FrontDoor

Type:PSRoutingRule[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Tag

As marcas associadas com o FrontDoor.

Type:Hashtable
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Mostra o que aconteceria se o cmdlet fosse executado. O cmdlet não é executado.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Entradas

PSFrontDoor

String

Saídas

PSFrontDoor