Bearbeiten

Freigeben über


New-AzEventHubThrottlingPolicyConfig

Constructs an IThrottlingPolicy object that can be fed as input to New-AzEventHubApplicationGroup or Set-AzEventHubApplicationGroup

Syntax

New-AzEventHubThrottlingPolicyConfig
   -Name <String>
   -RateLimitThreshold <Int64>
   -MetricId <String>
   [<CommonParameters>]

Description

Constructs an IThrottlingPolicy object that can be fed as input to New-AzEventHubApplicationGroup or Set-AzEventHubApplicationGroup

Examples

Example 1: Constructs an IThrottlingPolicy object

New-AzEventHubThrottlingPolicyConfig -Name t1 -RateLimitThreshold 10000 -MetricId IncomingBytes

MetricId      Name RateLimitThreshold Type
--------      ---- ------------------ ----
IncomingBytes t1                10000 ThrottlingPolicy

Please refer examples for Set-AzEventHubApplicationGroup to know more.

Parameters

-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

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Name of Throttling Policy Config

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-RateLimitThreshold

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

Type:Int64
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IThrottlingPolicy