Language

AzureResourceMetricRecommendationConfiguration Class

Definition

Azure Resource Metric recommendation configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.AzureResourceMetricRecommendationConfigurationTypeConverter))]
public class AzureResourceMetricRecommendationConfiguration : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IAzureResourceMetricRecommendationConfiguration, Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.AzureResourceMetricRecommendationConfigurationTypeConverter))>]
type AzureResourceMetricRecommendationConfiguration = class
    interface IAzureResourceMetricRecommendationConfiguration
    interface IJsonSerializable
    interface ISignalRecommendationConfiguration
    interface IValidates
Public Class AzureResourceMetricRecommendationConfiguration
Implements IAzureResourceMetricRecommendationConfiguration, IValidates
Inheritance
AzureResourceMetricRecommendationConfiguration
Attributes
Implements

Constructors

Name Description
AzureResourceMetricRecommendationConfiguration()

Creates an new AzureResourceMetricRecommendationConfiguration instance.

Properties

Name Description
AggregationType

Type of aggregation to apply to the metric.

DimensionFilter

Optional dimension filter to apply to the metric.

MetricName

Name of the metric.

MetricNamespace

Metric namespace.

SignalKind

Kind of the recommended signal.

TimeGrain

Time range of the metric in ISO 8601 duration format (e.g. 'PT5M').

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AzureResourceMetricRecommendationConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureResourceMetricRecommendationConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IAzureResourceMetricRecommendationConfiguration.

FromJsonString(String)

Creates a new instance of AzureResourceMetricRecommendationConfiguration, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureResourceMetricRecommendationConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to