Language

AzureResourceSignal Class

Definition

An Azure Resource Metric signal instance assigned to an entity.

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

Constructors

Name Description
AzureResourceSignal()

Creates an new AzureResourceSignal instance.

Properties

Name Description
AggregationType

Type of aggregation to apply to the metric

DataUnit

Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))

DimensionFilter

Optional: Dimension filter to apply to the dimension.

DisplayName

Display name

EvaluationRule

Evaluation rules for the signal definition

MetricName

Name of the metric

MetricNamespace

Metric namespace

Name

Unique name of the signal within the entity.

RefreshInterval

Interval in which the signal is being evaluated. Defaults to PT1M (1 minute).

SignalDefinitionName

Optional reference to a signal definition that provides default values.

SignalKind

Kind of the signal instance

StatusAdditionalContext

Additional context as provided by the submitter

StatusError

Error message if the signal status cannot be retrieved

StatusHealthState

Health state of this signal

StatusReportedAt

Timestamp when the value was reported

StatusValue

Reported value of the signal

TimeGrain

Time range of signal. ISO duration format like PT10M.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AzureResourceSignal.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureResourceSignal.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureResourceSignal into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to