ThrottlingPolicy Class
Properties of the throttling policy.
Constructor
ThrottlingPolicy(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
name
|
The Name of this policy. Required. |
|
rate_limit_threshold
|
The Threshold limit above which the application group will be throttled.Rate limit is always per second. Required. |
|
metric_id
|
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. Required. Known values are: "IncomingBytes", "OutgoingBytes", "IncomingMessages", and "OutgoingMessages". |
|
type
|
str or
<xref:azure.mgmt.eventhub.models.THROTTLING_POLICY>
Application Group Policy types. Required. THROTTLING_POLICY. |
Attributes
metric_id
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. Required. Known values are: "IncomingBytes", "OutgoingBytes", "IncomingMessages", and "OutgoingMessages".
metric_id: str | _models.MetricId
rate_limit_threshold
The Threshold limit above which the application group will be throttled.Rate limit is always per second. Required.
rate_limit_threshold: int
type
Application Group Policy types. Required. THROTTLING_POLICY.
type: THROTTLING_POLICY: 'ThrottlingPolicy'>]