Share via


ContainerAppHttpHeaderInfo Class

Definition

HTTPHeader describes a custom header to be used in HTTP probes.

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

Constructors

ContainerAppHttpHeaderInfo(String, String)

Initializes a new instance of ContainerAppHttpHeaderInfo.

Properties

Name

The header field name.

Value

The header field value.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppHttpHeaderInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppHttpHeaderInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppHttpHeaderInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppHttpHeaderInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppHttpHeaderInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to