Sdílet prostřednictvím


TrafficWeight Constructors

Definition

Overloads

TrafficWeight()

Initializes a new instance of the TrafficWeight class.

TrafficWeight(String, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the TrafficWeight class.

TrafficWeight()

Initializes a new instance of the TrafficWeight class.

public TrafficWeight ();
Public Sub New ()

Applies to

TrafficWeight(String, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the TrafficWeight class.

public TrafficWeight (string revisionName = default, int? weight = default, bool? latestRevision = default);
new Microsoft.Azure.Management.WebSites.Models.TrafficWeight : string * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Management.WebSites.Models.TrafficWeight
Public Sub New (Optional revisionName As String = Nothing, Optional weight As Nullable(Of Integer) = Nothing, Optional latestRevision As Nullable(Of Boolean) = Nothing)

Parameters

revisionName
String

Name of a revision

weight
Nullable<Int32>

Traffic weight assigned to a revision

latestRevision
Nullable<Boolean>

Indicates that the traffic weight belongs to a latest stable revision

Applies to