Condividi tramite


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

Resource Id.

name
String

Resource Name.

kind
String

Kind of resource.

type
String

Resource type.

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