Share via


HealthModelSignalDefinitionProperties Class

Definition

SignalDefinition properties Please note HealthModelSignalDefinitionProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ResourceMetricSignalDefinitionProperties, LogAnalyticsQuerySignalDefinitionProperties and PrometheusMetricsSignalDefinitionProperties.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.CloudHealth.Models.UnknownHealthModelSignalDefinitionProperties))]
public abstract class HealthModelSignalDefinitionProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CloudHealth.Models.HealthModelSignalDefinitionProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CloudHealth.Models.HealthModelSignalDefinitionProperties>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.CloudHealth.Models.UnknownHealthModelSignalDefinitionProperties))>]
type HealthModelSignalDefinitionProperties = class
    interface IJsonModel<HealthModelSignalDefinitionProperties>
    interface IPersistableModel<HealthModelSignalDefinitionProperties>
Public MustInherit Class HealthModelSignalDefinitionProperties
Implements IJsonModel(Of HealthModelSignalDefinitionProperties), IPersistableModel(Of HealthModelSignalDefinitionProperties)
Inheritance
HealthModelSignalDefinitionProperties
Derived
Attributes
Implements

Constructors

HealthModelSignalDefinitionProperties(EntitySignalEvaluationRule)

Initializes a new instance of HealthModelSignalDefinitionProperties.

Properties

DataUnit

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

DeletedOn

Date when the signal definition was (soft-)deleted.

DisplayName

Display name.

EvaluationRules

Evaluation rules for the signal definition.

Labels

Optional set of labels (key-value pairs).

ProvisioningState

The status of the last operation.

RefreshInterval

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<HealthModelSignalDefinitionProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<HealthModelSignalDefinitionProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HealthModelSignalDefinitionProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HealthModelSignalDefinitionProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<HealthModelSignalDefinitionProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to