ArmCognitiveServicesModelFactory.ServiceAccountUsage 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 ServiceAccountUsage.
public static Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsage ServiceAccountUsage (Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsageUnitType? unit = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsageMetricName name = default, string quotaPeriod = default, double? limit = default, double? currentValue = default, string nextResetTime = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountQuotaUsageStatus? status = default);
static member ServiceAccountUsage : Nullable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsageUnitType> * Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsageMetricName * string * Nullable<double> * Nullable<double> * string * Nullable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountQuotaUsageStatus> -> Azure.ResourceManager.CognitiveServices.Models.ServiceAccountUsage
Public Shared Function ServiceAccountUsage (Optional unit As Nullable(Of ServiceAccountUsageUnitType) = Nothing, Optional name As ServiceAccountUsageMetricName = Nothing, Optional quotaPeriod As String = Nothing, Optional limit As Nullable(Of Double) = Nothing, Optional currentValue As Nullable(Of Double) = Nothing, Optional nextResetTime As String = Nothing, Optional status As Nullable(Of ServiceAccountQuotaUsageStatus) = Nothing) As ServiceAccountUsage
Parameters
The unit of the metric.
The name information for the metric.
- quotaPeriod
- String
The quota period used to summarize the usage values.
- nextResetTime
- String
Next reset time for current quota.
Cognitive Services account quota usage status.
Returns
A new ServiceAccountUsage 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