Share via


ResourceMetricDefinition Class

Definition

Metadata for the metrics.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ResourceMetricDefinition : Microsoft.Azure.Management.AppService.Fluent.Models.ProxyOnlyResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ResourceMetricDefinition = class
    inherit ProxyOnlyResourceInner
Public Class ResourceMetricDefinition
Inherits ProxyOnlyResourceInner
Inheritance
Attributes

Constructors

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.

Properties

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
Kind

Gets or sets kind of resource.

(Inherited from ProxyOnlyResourceInner)
Location

Resource location

(Inherited from Resource)
MetricAvailabilities

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

Name

Resource name

(Inherited from ProxyResource)
PrimaryAggregationType

Gets primary aggregation type.

Properties

Gets resource metric definition properties.

ResourceUri

Gets resource URI.

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)
Unit

Gets unit of the metric.

Methods

Validate()

Validate the object. Throws ValidationException if validation fails.

(Inherited from Resource)

Applies to