Aracılığıyla paylaş


ContainerAppHttpRequestInfo Class

Definition

HTTPGet specifies the http request to perform.

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

Constructors

ContainerAppHttpRequestInfo(Int32)

Initializes a new instance of ContainerAppHttpRequestInfo.

Properties

Host

Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.

HttpHeaders

Custom headers to set in the request. HTTP allows repeated headers.

Path

Path to access on the HTTP server.

Port

Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

Scheme

Scheme to use for connecting to the host. Defaults to HTTP.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppHttpRequestInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppHttpRequestInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppHttpRequestInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppHttpRequestInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppHttpRequestInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to