Share via


ArmCognitiveServicesModelFactory.ServiceAccountThrottlingRule Method

Definition

Initializes a new instance of ServiceAccountThrottlingRule.

public static Azure.ResourceManager.CognitiveServices.Models.ServiceAccountThrottlingRule ServiceAccountThrottlingRule (string key = default, float? renewalPeriod = default, float? count = default, float? minCount = default, bool? isDynamicThrottlingEnabled = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountThrottlingMatchPattern> matchPatterns = default);
static member ServiceAccountThrottlingRule : string * Nullable<single> * Nullable<single> * Nullable<single> * Nullable<bool> * seq<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountThrottlingMatchPattern> -> Azure.ResourceManager.CognitiveServices.Models.ServiceAccountThrottlingRule
Public Shared Function ServiceAccountThrottlingRule (Optional key As String = Nothing, Optional renewalPeriod As Nullable(Of Single) = Nothing, Optional count As Nullable(Of Single) = Nothing, Optional minCount As Nullable(Of Single) = Nothing, Optional isDynamicThrottlingEnabled As Nullable(Of Boolean) = Nothing, Optional matchPatterns As IEnumerable(Of ServiceAccountThrottlingMatchPattern) = Nothing) As ServiceAccountThrottlingRule

Parameters

key
String
renewalPeriod
Nullable<Single>
count
Nullable<Single>
minCount
Nullable<Single>
isDynamicThrottlingEnabled
Nullable<Boolean>

Returns

A new ServiceAccountThrottlingRule instance for mocking.

Applies to