Compartilhar via


OnlineEndpointTraffic Class

Definition

Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.OnlineEndpointTrafficTypeConverter))]
public class OnlineEndpointTraffic : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IOnlineEndpointTraffic, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IAssociativeArray<int>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.OnlineEndpointTrafficTypeConverter))>]
type OnlineEndpointTraffic = class
    interface IOnlineEndpointTraffic
    interface IJsonSerializable
    interface IAssociativeArray<int>
Public Class OnlineEndpointTraffic
Implements IAssociativeArray(Of Integer), IOnlineEndpointTraffic
Inheritance
OnlineEndpointTraffic
Attributes
Implements

Constructors

OnlineEndpointTraffic()

Creates an new OnlineEndpointTraffic instance.

Fields

__additionalProperties

Properties

Item[String]

Methods

Add(String, Int32)
Clear()
ContainsKey(String)
CopyFrom(IDictionary)
CopyFrom(PSObject)
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OnlineEndpointTraffic.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OnlineEndpointTraffic.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IOnlineEndpointTraffic.

FromJsonString(String)

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

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of OnlineEndpointTraffic into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
TryGetValue(String, Int32)

Operators

Implicit(OnlineEndpointTraffic to Dictionary<String,Int32>)

Explicit Interface Implementations

IAssociativeArray<Int32>.AdditionalProperties
IAssociativeArray<Int32>.Count
IAssociativeArray<Int32>.Keys
IAssociativeArray<Int32>.Values

Applies to