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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell