ArmAppServiceModelFactory.MetricSpecification 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 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
- sourceMdmAccount
- String
- sourceMdmNamespace
- String
- metricFilterPattern
- String
- dimensions
- IEnumerable<MetricDimension>
- category
- String
- availabilities
- IEnumerable<MetricAvailability>
- supportedTimeGrainTypes
- IEnumerable<String>
- supportedAggregationTypes
- IEnumerable<String>
Returns
A new MetricSpecification 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