Udostępnij za pośrednictwem


ApplicationGatewayProbeHealthResponseMatch Class

Definition

Application gateway probe health response match.

public class ApplicationGatewayProbeHealthResponseMatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.ApplicationGatewayProbeHealthResponseMatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.ApplicationGatewayProbeHealthResponseMatch>
public class ApplicationGatewayProbeHealthResponseMatch
type ApplicationGatewayProbeHealthResponseMatch = class
    interface IJsonModel<ApplicationGatewayProbeHealthResponseMatch>
    interface IPersistableModel<ApplicationGatewayProbeHealthResponseMatch>
type ApplicationGatewayProbeHealthResponseMatch = class
Public Class ApplicationGatewayProbeHealthResponseMatch
Implements IJsonModel(Of ApplicationGatewayProbeHealthResponseMatch), IPersistableModel(Of ApplicationGatewayProbeHealthResponseMatch)
Public Class ApplicationGatewayProbeHealthResponseMatch
Inheritance
ApplicationGatewayProbeHealthResponseMatch
Implements

Constructors

ApplicationGatewayProbeHealthResponseMatch()

Initializes a new instance of ApplicationGatewayProbeHealthResponseMatch.

Properties

Body

Body that must be contained in the health response. Default value is empty.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

StatusCodes

Allowed ranges of healthy status codes. Default range of healthy status codes is 200-399.

Explicit Interface Implementations

IJsonModel<ApplicationGatewayProbeHealthResponseMatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ApplicationGatewayProbeHealthResponseMatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ApplicationGatewayProbeHealthResponseMatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApplicationGatewayProbeHealthResponseMatch>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ApplicationGatewayProbeHealthResponseMatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to