ArmSqlModelFactory.QueryMetricInterval 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 QueryMetricInterval.
public static Azure.ResourceManager.Sql.Models.QueryMetricInterval QueryMetricInterval (string intervalStartTime = default, Azure.ResourceManager.Sql.Models.QueryTimeGrainType? intervalType = default, long? executionCount = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.QueryMetricProperties> metrics = default);
static member QueryMetricInterval : string * Nullable<Azure.ResourceManager.Sql.Models.QueryTimeGrainType> * Nullable<int64> * seq<Azure.ResourceManager.Sql.Models.QueryMetricProperties> -> Azure.ResourceManager.Sql.Models.QueryMetricInterval
Public Shared Function QueryMetricInterval (Optional intervalStartTime As String = Nothing, Optional intervalType As Nullable(Of QueryTimeGrainType) = Nothing, Optional executionCount As Nullable(Of Long) = Nothing, Optional metrics As IEnumerable(Of QueryMetricProperties) = Nothing) As QueryMetricInterval
Parameters
- intervalStartTime
- String
The start time for the metric interval (ISO-8601 format).
- intervalType
- Nullable<QueryTimeGrainType>
Interval type (length).
- metrics
- IEnumerable<QueryMetricProperties>
List of metric objects for this interval.
Returns
A new QueryMetricInterval 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