ArmCognitiveServicesModelFactory.ServiceAccountThrottlingRule Method
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.
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
- matchPatterns
- IEnumerable<ServiceAccountThrottlingMatchPattern>
Returns
A new ServiceAccountThrottlingRule instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET