PartitionMetric 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
PartitionMetric() |
Initializes a new instance of the PartitionMetric class. |
PartitionMetric(Nullable<DateTime>, Nullable<DateTime>, String, UnitType, MetricName, IList<MetricValue>, String, String) |
Initializes a new instance of the PartitionMetric class. |
PartitionMetric()
Initializes a new instance of the PartitionMetric class.
public PartitionMetric ();
Public Sub New ()
Applies to
PartitionMetric(Nullable<DateTime>, Nullable<DateTime>, String, UnitType, MetricName, IList<MetricValue>, String, String)
Initializes a new instance of the PartitionMetric class.
public PartitionMetric (DateTime? startTime = default, DateTime? endTime = default, string timeGrain = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.UnitType unit = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.MetricName name = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.MetricValue> metricValues = default, string partitionId = default, string partitionKeyRangeId = default);
new Microsoft.Azure.Management.CosmosDB.Fluent.Models.PartitionMetric : Nullable<DateTime> * Nullable<DateTime> * string * Microsoft.Azure.Management.CosmosDB.Fluent.Models.UnitType * Microsoft.Azure.Management.CosmosDB.Fluent.Models.MetricName * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.MetricValue> * string * string -> Microsoft.Azure.Management.CosmosDB.Fluent.Models.PartitionMetric
Public Sub New (Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional timeGrain As String = Nothing, Optional unit As UnitType = Nothing, Optional name As MetricName = Nothing, Optional metricValues As IList(Of MetricValue) = Nothing, Optional partitionId As String = Nothing, Optional partitionKeyRangeId As String = Nothing)
Parameters
- timeGrain
- String
The time grain to be used to summarize the metric values.
- 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.
- metricValues
- IList<MetricValue>
The metric values for the specified time window and timestep.
- partitionId
- String
The partition id (GUID identifier) of the metric values.
- partitionKeyRangeId
- String
The partition key range id (integer identifier) of the metric values.