< Back

New-AzureRmApplicationGatewayProbeHealthResponseMatch

Tue Jan 29, 2019 9:55 pm

NAME New-AzureRmApplicationGatewayProbeHealthResponseMatch



SYNOPSIS

Creates a health probe response match used by Health Probe for an application gateway.





SYNTAX

New-AzureRmApplicationGatewayProbeHealthResponseMatch [-Body <String>] [-DefaultProfile <IAzureContextContainer>] [-StatusCode

<System.Collections.Generic.List`1[System.String]>] [<CommonParameters>]





DESCRIPTION

The Add-AzureRmApplicationGatewayProbeHealthResponseMatch cmdlet creates a health probe response match used by Health Probe for an application

gateway.





PARAMETERS

-Body <String>

Body that must be contained in the health response. Default value is empty



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-StatusCode <System.Collections.Generic.List`1[System.String]>

Allowed ranges of healthy status codes.Default range of healthy status codes is 200 - 399



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayProbeHealthResponseMatch







NOTES









Example 1



PS C:\\>$responsematch = New-AzureRmApplicationGatewayProbeHealthResponseMatch -Body "helloworld" -StatusCode "200-399","503"



This command creates a health response match which can be passed to ProbeConfig as a parameter.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ponsematch