Condividi tramite


TrafficWeight Class

Definition

Traffic weight assigned to a revision

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.TrafficWeightTypeConverter))]
public class TrafficWeight : Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrafficWeight
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.TrafficWeightTypeConverter))>]
type TrafficWeight = class
    interface ITrafficWeight
    interface IJsonSerializable
Public Class TrafficWeight
Implements ITrafficWeight
Inheritance
TrafficWeight
Attributes
Implements

Constructors

TrafficWeight()

Creates an new TrafficWeight instance.

Properties

Label

Associates a traffic label with a revision

LatestRevision

Indicates that the traffic weight belongs to a latest stable revision

RevisionName

Name of a revision

Weight

Traffic weight assigned to a revision

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TrafficWeight.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TrafficWeight.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrafficWeight.

FromJsonString(String)

Creates a new instance of TrafficWeight, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of TrafficWeight into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to