New-AzCdnResponseBasedOriginErrorDetectionParametersObject
Create an in-memory object for ResponseBasedOriginErrorDetectionParameters.
Syntax
Default (Default)
New-AzCdnResponseBasedOriginErrorDetectionParametersObject
[-HttpErrorRange <IHttpErrorRangeParameters[]>]
[-ResponseBasedDetectedErrorType <String>]
[-ResponseBasedFailoverThresholdPercentage <Int32>]
[<CommonParameters>]
Description
Create an in-memory object for ResponseBasedOriginErrorDetectionParameters.
Examples
Example 1: Create an in-memory object for ResponseBasedOriginErrorDetectionParameters
New-AzCdnResponseBasedOriginErrorDetectionParametersObject -ResponseBasedDetectedErrorType testDetctedError -ResponseBasedFailoverThresholdPercentage 6
ResponseBasedDetectedErrorType ResponseBasedFailoverThresholdPercentage
------------------------------ ----------------------------------------
testDetctedError 6
Create an in-memory object for ResponseBasedOriginErrorDetectionParameters
Parameters
-HttpErrorRange
The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
Parameter properties
Type: | |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ResponseBasedDetectedErrorType
Type of response errors for real user requests for which origin will be deemed unhealthy.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ResponseBasedFailoverThresholdPercentage
The percentage of failed requests in the sample where failover should trigger.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.