共用方式為


IWithRoutingWeight.WithRoutingWeight(Int32) Method

Definition

Specifies the weight for the endpoint that will be used when the weight-based routing method TrafficRoutingMethod.WEIGHTED is enabled on the profile.

public Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Update.IUpdate WithRoutingWeight (int weight);
abstract member WithRoutingWeight : int -> Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Update.IUpdate
Public Function WithRoutingWeight (weight As Integer) As IUpdate

Parameters

weight
Int32

The endpoint weight.

Returns

Applies to