ArmSqlModelFactory.QueryMetricProperties 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 QueryMetricProperties.
public static Azure.ResourceManager.Sql.Models.QueryMetricProperties QueryMetricProperties (string name = default, string displayName = default, Azure.ResourceManager.Sql.Models.QueryMetricUnitType? unit = default, double? value = default, double? min = default, double? max = default, double? avg = default, double? sum = default, double? stdev = default);
static member QueryMetricProperties : string * string * Nullable<Azure.ResourceManager.Sql.Models.QueryMetricUnitType> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> -> Azure.ResourceManager.Sql.Models.QueryMetricProperties
Public Shared Function QueryMetricProperties (Optional name As String = Nothing, Optional displayName As String = Nothing, Optional unit As Nullable(Of QueryMetricUnitType) = Nothing, Optional value As Nullable(Of Double) = Nothing, Optional min As Nullable(Of Double) = Nothing, Optional max As Nullable(Of Double) = Nothing, Optional avg As Nullable(Of Double) = Nothing, Optional sum As Nullable(Of Double) = Nothing, Optional stdev As Nullable(Of Double) = Nothing) As QueryMetricProperties
Parameters
- name
- String
The name information for the metric.
- displayName
- String
The UI appropriate name for the metric.
- unit
- Nullable<QueryMetricUnitType>
The unit of the metric.
Returns
A new QueryMetricProperties 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