Share via


ResourceMetricDefinition Constructors

Definition

Overloads

ResourceMetricDefinition()

Initializes a new instance of the ResourceMetricDefinition class.

ResourceMetricDefinition(String, String, String, String, String, String, IList<ResourceMetricAvailability>, String, IDictionary<String,String>)

Initializes a new instance of the ResourceMetricDefinition class.

ResourceMetricDefinition()

Initializes a new instance of the ResourceMetricDefinition class.

public ResourceMetricDefinition ();
Public Sub New ()

Applies to

ResourceMetricDefinition(String, String, String, String, String, String, IList<ResourceMetricAvailability>, String, IDictionary<String,String>)

Initializes a new instance of the ResourceMetricDefinition class.

public ResourceMetricDefinition (string id = default, string name = default, string type = default, string kind = default, string unit = default, string primaryAggregationType = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.ResourceMetricAvailability> metricAvailabilities = default, string resourceUri = default, System.Collections.Generic.IDictionary<string,string> properties = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.ResourceMetricDefinition : string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.ResourceMetricAvailability> * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.AppService.Fluent.Models.ResourceMetricDefinition
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional unit As String = Nothing, Optional primaryAggregationType As String = Nothing, Optional metricAvailabilities As IList(Of ResourceMetricAvailability) = Nothing, Optional resourceUri As String = Nothing, Optional properties As IDictionary(Of String, String) = Nothing)

Parameters

id
String
name
String
type
String
kind
String

Kind of resource.

unit
String

Unit of the metric.

primaryAggregationType
String

Primary aggregation type.

metricAvailabilities
IList<ResourceMetricAvailability>

List of time grains supported for the metric together with retention period.

resourceUri
String

Resource URI.

properties
IDictionary<String,String>

Resource metric definition properties.

Applies to