ArmCognitiveServicesModelFactory.CognitiveServicesManagedComputeUsage 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.CognitiveServices.Models.CognitiveServicesManagedComputeUsage CognitiveServicesManagedComputeUsage(string id = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsageMetricName name = default, string type = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsageUnitType? unit = default, double? limit = default, double? currentValue = default, string offerScope = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesManagedComputeDeploymentInfo> deployments = default);
static member CognitiveServicesManagedComputeUsage : string * Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsageMetricName * string * Nullable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsageUnitType> * Nullable<double> * Nullable<double> * string * seq<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesManagedComputeDeploymentInfo> -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesManagedComputeUsage
Public Shared Function CognitiveServicesManagedComputeUsage (Optional id As String = Nothing, Optional name As ServiceAccountUsageMetricName = Nothing, Optional type As String = Nothing, Optional unit As Nullable(Of ServiceAccountUsageUnitType) = Nothing, Optional limit As Nullable(Of Double) = Nothing, Optional currentValue As Nullable(Of Double) = Nothing, Optional offerScope As String = Nothing, Optional deployments As IEnumerable(Of CognitiveServicesManagedComputeDeploymentInfo) = Nothing) As CognitiveServicesManagedComputeUsage
Parameters
- id
- String
Fully qualified resource ID for the managed compute usage.
The name information for the metric.
- type
- String
The resource type.
The unit of the metric.
- offerScope
- String
Offer scope (e.g., 'Global', 'Datazone-US').
- deployments
- IEnumerable<CognitiveServicesManagedComputeDeploymentInfo>
Deployments consuming this managed compute quota.
Returns
A new CognitiveServicesManagedComputeUsage instance for mocking.