Compartilhar via


EventHubsThrottlingPolicy Class

Definition

Properties of the throttling policy.

public class EventHubsThrottlingPolicy : Azure.ResourceManager.EventHubs.Models.EventHubsApplicationGroupPolicy, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.EventHubs.Models.EventHubsThrottlingPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.EventHubs.Models.EventHubsThrottlingPolicy>
type EventHubsThrottlingPolicy = class
    inherit EventHubsApplicationGroupPolicy
    interface IJsonModel<EventHubsThrottlingPolicy>
    interface IPersistableModel<EventHubsThrottlingPolicy>
Public Class EventHubsThrottlingPolicy
Inherits EventHubsApplicationGroupPolicy
Implements IJsonModel(Of EventHubsThrottlingPolicy), IPersistableModel(Of EventHubsThrottlingPolicy)
Inheritance
EventHubsThrottlingPolicy
Implements

Constructors

EventHubsThrottlingPolicy(String, Int64, EventHubsMetricId)

Initializes a new instance of EventHubsThrottlingPolicy.

Properties

MetricId

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.

Name

The Name of this policy.

(Inherited from EventHubsApplicationGroupPolicy)
RateLimitThreshold

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from EventHubsApplicationGroupPolicy)

Explicit Interface Implementations

IJsonModel<EventHubsApplicationGroupPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from EventHubsApplicationGroupPolicy)
IJsonModel<EventHubsApplicationGroupPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from EventHubsApplicationGroupPolicy)
IJsonModel<EventHubsThrottlingPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<EventHubsThrottlingPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EventHubsApplicationGroupPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from EventHubsApplicationGroupPolicy)
IPersistableModel<EventHubsApplicationGroupPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from EventHubsApplicationGroupPolicy)
IPersistableModel<EventHubsApplicationGroupPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from EventHubsApplicationGroupPolicy)
IPersistableModel<EventHubsThrottlingPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventHubsThrottlingPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<EventHubsThrottlingPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to