Editar

Partilhar via


Remove-AzApplicationGatewayProbeConfig

Removes a health probe from an existing application gateway.

Syntax

Remove-AzApplicationGatewayProbeConfig
      -Name <String>
      -ApplicationGateway <PSApplicationGateway>
      [-DefaultProfile <IAzureContextContainer>]
      [<CommonParameters>]

Description

The Remove-AzApplicationGatewayProbeConfig cmdlet removes a heath probe from an existing application gateway.

Examples

Example 1: Remove a health probe from an existing application gateway

$Gateway = Remove-AzApplicationGatewayProbeConfig -ApplicationGateway Gateway -Name "Probe04"

This command removes the health probe named Probe04 from the application gateway named Gateway.

Parameters

-ApplicationGateway

Specifies the application gateway to which this cmdlet removes a probe.

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

-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

-Name

Specifies the name of the probe for which this cmdlet removes.

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

Inputs

PSApplicationGateway

Outputs

PSApplicationGateway