EventHubsThrottlingPolicy Class

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.

Properties of the throttling policy.

C#
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>
Inheritance
EventHubsThrottlingPolicy
Implements

Constructors

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

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

Product Versies
Azure SDK for .NET Latest, Preview