Udostępnij za pośrednictwem


ThrottlingPolicy Constructors

Definition

Overloads

ThrottlingPolicy()

Initializes a new instance of the ThrottlingPolicy class.

ThrottlingPolicy(String, Int64, String)

Initializes a new instance of the ThrottlingPolicy class.

ThrottlingPolicy()

Initializes a new instance of the ThrottlingPolicy class.

public ThrottlingPolicy ();
Public Sub New ()

Applies to

ThrottlingPolicy(String, Int64, String)

Initializes a new instance of the ThrottlingPolicy class.

public ThrottlingPolicy (string name, long rateLimitThreshold, string metricId);
new Microsoft.Azure.Management.EventHub.Models.ThrottlingPolicy : string * int64 * string -> Microsoft.Azure.Management.EventHub.Models.ThrottlingPolicy
Public Sub New (name As String, rateLimitThreshold As Long, metricId As String)

Parameters

name
String

The Name of this policy

rateLimitThreshold
Int64

The Threshold limit above which the application group will be throttled.Rate limit is always per second.

metricId
String

Metric Id on which the throttle limit should be set, MetricId can be discovered by hovering over Metric in the Metrics section of Event Hub Namespace inside Azure Portal. Possible values include: 'IncomingBytes', 'OutgoingBytes', 'IncomingMessages', 'OutgoingMessages'

Applies to