Condividi tramite


RestResponse.SuccessStatusCodes Property

Definition

Gets or sets 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.

[Newtonsoft.Json.JsonProperty(PropertyName="successStatusCodes")]
public System.Collections.Generic.IList<string> SuccessStatusCodes { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="successStatusCodes")>]
member this.SuccessStatusCodes : System.Collections.Generic.IList<string> with get, set
Public Property SuccessStatusCodes As IList(Of String)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to