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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET