ContainerAppHttpRouteTarget Class

Definition

Targets - Container App Names, Revision Names, Labels.

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

Constructors

Name Description
ContainerAppHttpRouteTarget(String)

Initializes a new instance of ContainerAppHttpRouteTarget.

Properties

Name Description
ContainerApp

Container App Name to route requests to.

Label

Label/Revision to route requests to.

Revision

Revision to route requests to.

Weight

Weighted routing.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ContainerAppHttpRouteTarget>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppHttpRouteTarget>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppHttpRouteTarget>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppHttpRouteTarget>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppHttpRouteTarget>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to