EventHubsThrottlingPolicy(String, Int64, EventHubsMetricId) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of EventHubsThrottlingPolicy.
public EventHubsThrottlingPolicy (string name, long rateLimitThreshold, Azure.ResourceManager.EventHubs.Models.EventHubsMetricId metricId);
new Azure.ResourceManager.EventHubs.Models.EventHubsThrottlingPolicy : string * int64 * Azure.ResourceManager.EventHubs.Models.EventHubsMetricId -> Azure.ResourceManager.EventHubs.Models.EventHubsThrottlingPolicy
Public Sub New (name As String, rateLimitThreshold As Long, metricId As EventHubsMetricId)
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
- EventHubsMetricId
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.
Exceptions
name
is null.
Applies to
Azure SDK for .NET