ContainerAppRevisionTrafficWeight Class

Definition

Traffic weight assigned to a revision.

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

Constructors

ContainerAppRevisionTrafficWeight()

Initializes a new instance of ContainerAppRevisionTrafficWeight.

Properties

IsLatestRevision

Indicates that the traffic weight belongs to a latest stable revision.

Label

Associates a traffic label with a revision.

RevisionName

Name of a revision.

Weight

Traffic weight assigned to a revision.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppRevisionTrafficWeight>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppRevisionTrafficWeight>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppRevisionTrafficWeight>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppRevisionTrafficWeight>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppRevisionTrafficWeight>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to