RestResponse interface
The properties that make up the expected REST response
Properties
regex | The regular expressions to match the response content with. |
success |
The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK. |
Property Details
regex
The regular expressions to match the response content with.
regex?: RestResponseRegex
Property Value
successStatusCodes
The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.
successStatusCodes?: string[]
Property Value
string[]
Azure SDK for JavaScript
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro