共用方式為


ThrottlingPolicy Class

Definition

Properties of the throttling policy

[Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.ThrottlingPolicyTypeConverter))]
public class ThrottlingPolicy : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IThrottlingPolicy, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.ThrottlingPolicyTypeConverter))>]
type ThrottlingPolicy = class
    interface IThrottlingPolicy
    interface IJsonSerializable
    interface IApplicationGroupPolicy
    interface IValidates
Public Class ThrottlingPolicy
Implements IThrottlingPolicy, IValidates
Inheritance
ThrottlingPolicy
Attributes
Implements

Constructors

ThrottlingPolicy()

Creates an new ThrottlingPolicy instance.

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

RateLimitThreshold

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

Type

Application Group Policy types

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ThrottlingPolicy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ThrottlingPolicy.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IThrottlingPolicy.

FromJsonString(String)

Creates a new instance of ThrottlingPolicy, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ThrottlingPolicy into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to