PartitionUsage Constructors
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.
Overloads
PartitionUsage() |
Initializes a new instance of the PartitionUsage class. |
PartitionUsage(UnitType, MetricName, String, Nullable<Int64>, Nullable<Int64>, String, String) |
Initializes a new instance of the PartitionUsage class. |
PartitionUsage()
Initializes a new instance of the PartitionUsage class.
public PartitionUsage ();
Public Sub New ()
Applies to
PartitionUsage(UnitType, MetricName, String, Nullable<Int64>, Nullable<Int64>, String, String)
Initializes a new instance of the PartitionUsage class.
public PartitionUsage (Microsoft.Azure.Management.CosmosDB.Fluent.Models.UnitType unit = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.MetricName name = default, string quotaPeriod = default, long? limit = default, long? currentValue = default, string partitionId = default, string partitionKeyRangeId = default);
new Microsoft.Azure.Management.CosmosDB.Fluent.Models.PartitionUsage : Microsoft.Azure.Management.CosmosDB.Fluent.Models.UnitType * Microsoft.Azure.Management.CosmosDB.Fluent.Models.MetricName * string * Nullable<int64> * Nullable<int64> * string * string -> Microsoft.Azure.Management.CosmosDB.Fluent.Models.PartitionUsage
Public Sub New (Optional unit As UnitType = Nothing, Optional name As MetricName = Nothing, Optional quotaPeriod As String = Nothing, Optional limit As Nullable(Of Long) = Nothing, Optional currentValue As Nullable(Of Long) = Nothing, Optional partitionId As String = Nothing, Optional partitionKeyRangeId As String = Nothing)
Parameters
- unit
- UnitType
The unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'
- name
- MetricName
The name information for the metric.
- quotaPeriod
- String
The quota period used to summarize the usage values.
- partitionId
- String
The partition id (GUID identifier) of the usages.
- partitionKeyRangeId
- String
The partition key range id (integer identifier) of the usages.
Applies to
Azure SDK for .NET