Udostępnij za pośrednictwem


ThrottlingPolicy Class

Definition

Properties of the throttling policy

public class ThrottlingPolicy : Microsoft.Azure.Management.EventHub.Models.ApplicationGroupPolicy
type ThrottlingPolicy = class
    inherit ApplicationGroupPolicy
Public Class ThrottlingPolicy
Inherits ApplicationGroupPolicy
Inheritance
ThrottlingPolicy

Constructors

ThrottlingPolicy()

Initializes a new instance of the ThrottlingPolicy class.

ThrottlingPolicy(String, Int64, String)

Initializes a new instance of the ThrottlingPolicy class.

Properties

MetricId

Gets or sets 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'

Name

Gets or sets the Name of this policy

(Inherited from ApplicationGroupPolicy)
RateLimitThreshold

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

Methods

Validate()

Validate the object.

Applies to