ArmCosmosDBModelFactory.CosmosDBBaseUsage 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 CosmosDBBaseUsage.
public static Azure.ResourceManager.CosmosDB.Models.CosmosDBBaseUsage CosmosDBBaseUsage (Azure.ResourceManager.CosmosDB.Models.CosmosDBMetricUnitType? unit = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBMetricName name = default, string quotaPeriod = default, long? limit = default, long? currentValue = default);
static member CosmosDBBaseUsage : Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBMetricUnitType> * Azure.ResourceManager.CosmosDB.Models.CosmosDBMetricName * string * Nullable<int64> * Nullable<int64> -> Azure.ResourceManager.CosmosDB.Models.CosmosDBBaseUsage
Public Shared Function CosmosDBBaseUsage (Optional unit As Nullable(Of CosmosDBMetricUnitType) = Nothing, Optional name As CosmosDBMetricName = Nothing, Optional quotaPeriod As String = Nothing, Optional limit As Nullable(Of Long) = Nothing, Optional currentValue As Nullable(Of Long) = Nothing) As CosmosDBBaseUsage
Parameters
The unit of the metric.
- name
- CosmosDBMetricName
The name information for the metric.
- quotaPeriod
- String
The quota period used to summarize the usage values.
Returns
A new CosmosDBBaseUsage instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET