ArmProviderHubModelFactory.ThrottlingRule 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.
public static Azure.ResourceManager.ProviderHub.Models.ThrottlingRule ThrottlingRule(string action = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ProviderHub.Models.ThrottlingMetric> metrics = default, System.Collections.Generic.IEnumerable<string> requiredFeatures = default, System.Collections.Generic.IEnumerable<string> applicationId = default);
static member ThrottlingRule : string * seq<Azure.ResourceManager.ProviderHub.Models.ThrottlingMetric> * seq<string> * seq<string> -> Azure.ResourceManager.ProviderHub.Models.ThrottlingRule
Public Shared Function ThrottlingRule (Optional action As String = Nothing, Optional metrics As IEnumerable(Of ThrottlingMetric) = Nothing, Optional requiredFeatures As IEnumerable(Of String) = Nothing, Optional applicationId As IEnumerable(Of String) = Nothing) As ThrottlingRule
Parameters
- action
- String
The action.
- metrics
- IEnumerable<ThrottlingMetric>
The metrics.
- requiredFeatures
- IEnumerable<String>
The required features.
- applicationId
- IEnumerable<String>
The application id.
Returns
A new ThrottlingRule instance for mocking.