你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmCognitiveServicesModelFactory.ServiceAccountThrottlingRule 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
参数
- key
- String
- matchPatterns
- IEnumerable<ServiceAccountThrottlingMatchPattern>
返回
用于模拟的新 ServiceAccountThrottlingRule 实例。