Aracılığıyla paylaş


ArmAppServiceModelFactory.MetricSpecification Method

Definition

Initializes a new instance of MetricSpecification.

public static Azure.ResourceManager.AppService.Models.MetricSpecification MetricSpecification (string name = default, string displayName = default, string displayDescription = default, string unit = default, string aggregationType = default, bool? isInstanceLevelAggregationSupported = default, bool? isRegionalMdmAccountEnabled = default, string sourceMdmAccount = default, string sourceMdmNamespace = default, string metricFilterPattern = default, bool? fillGapWithZero = default, bool? isInternal = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.MetricDimension> dimensions = default, string category = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.MetricAvailability> availabilities = default, System.Collections.Generic.IEnumerable<string> supportedTimeGrainTypes = default, System.Collections.Generic.IEnumerable<string> supportedAggregationTypes = default);
static member MetricSpecification : string * string * string * string * string * Nullable<bool> * Nullable<bool> * string * string * string * Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.AppService.Models.MetricDimension> * string * seq<Azure.ResourceManager.AppService.Models.MetricAvailability> * seq<string> * seq<string> -> Azure.ResourceManager.AppService.Models.MetricSpecification
Public Shared Function MetricSpecification (Optional name As String = Nothing, Optional displayName As String = Nothing, Optional displayDescription As String = Nothing, Optional unit As String = Nothing, Optional aggregationType As String = Nothing, Optional isInstanceLevelAggregationSupported As Nullable(Of Boolean) = Nothing, Optional isRegionalMdmAccountEnabled As Nullable(Of Boolean) = Nothing, Optional sourceMdmAccount As String = Nothing, Optional sourceMdmNamespace As String = Nothing, Optional metricFilterPattern As String = Nothing, Optional fillGapWithZero As Nullable(Of Boolean) = Nothing, Optional isInternal As Nullable(Of Boolean) = Nothing, Optional dimensions As IEnumerable(Of MetricDimension) = Nothing, Optional category As String = Nothing, Optional availabilities As IEnumerable(Of MetricAvailability) = Nothing, Optional supportedTimeGrainTypes As IEnumerable(Of String) = Nothing, Optional supportedAggregationTypes As IEnumerable(Of String) = Nothing) As MetricSpecification

Parameters

name
String
displayName
String
displayDescription
String
unit
String
aggregationType
String
isInstanceLevelAggregationSupported
Nullable<Boolean>
isRegionalMdmAccountEnabled
Nullable<Boolean>
sourceMdmAccount
String
sourceMdmNamespace
String
metricFilterPattern
String
fillGapWithZero
Nullable<Boolean>
isInternal
Nullable<Boolean>
category
String
supportedTimeGrainTypes
IEnumerable<String>
supportedAggregationTypes
IEnumerable<String>

Returns

A new MetricSpecification instance for mocking.

Applies to