New-AzCdnResponseBasedOriginErrorDetectionParametersObject
Creare un oggetto in memoria per ResponseBasedOriginErrorDetectionParameters.
Sintassi
New-AzCdnResponseBasedOriginErrorDetectionParametersObject
[-HttpErrorRange <IHttpErrorRangeParameters[]>]
[-ResponseBasedDetectedErrorType <ResponseBasedDetectedErrorTypes>]
[-ResponseBasedFailoverThresholdPercentage <Int32>]
[<CommonParameters>]
Descrizione
Creare un oggetto in memoria per ResponseBasedOriginErrorDetectionParameters.
Esempio
Esempio 1: Creare un oggetto in memoria per ResponseBasedOriginErrorDetectionParameters
New-AzCdnResponseBasedOriginErrorDetectionParametersObject -ResponseBasedDetectedErrorType testDetctedError -ResponseBasedFailoverThresholdPercentage 6
ResponseBasedDetectedErrorType ResponseBasedFailoverThresholdPercentage
------------------------------ ----------------------------------------
testDetctedError 6
Creare un oggetto in memoria per ResponseBasedOriginErrorDetectionParameters
Parametri
-HttpErrorRange
Elenco di intervalli di codici di stato Http considerati come errori del server per l'origine e contrassegnati come non integri. Per costruire, vedere la sezione NOTES per le proprietà HTTPERRORRANGE e creare una tabella hash.
Tipo: | IHttpErrorRangeParameters[] |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-ResponseBasedDetectedErrorType
Tipo di errori di risposta per le richieste utente reali per cui l'origine verrà considerata non integra.
Tipo: | ResponseBasedDetectedErrorTypes |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-ResponseBasedFailoverThresholdPercentage
Percentuale di richieste non riuscite nell'esempio in cui deve essere attivato il failover.
Tipo: | Int32 |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |