你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RestResponse interface

The properties that make up the expected REST response

Properties

regex

The regular expressions to match the response content with.

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.

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[]