Share via


DatabaseWatcherAlertRuleProperties Class

Definition

The generic properties of the alert rule proxy resource.

public class DatabaseWatcherAlertRuleProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DatabaseWatcher.Models.DatabaseWatcherAlertRuleProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DatabaseWatcher.Models.DatabaseWatcherAlertRuleProperties>
type DatabaseWatcherAlertRuleProperties = class
    interface IJsonModel<DatabaseWatcherAlertRuleProperties>
    interface IPersistableModel<DatabaseWatcherAlertRuleProperties>
Public Class DatabaseWatcherAlertRuleProperties
Implements IJsonModel(Of DatabaseWatcherAlertRuleProperties), IPersistableModel(Of DatabaseWatcherAlertRuleProperties)
Inheritance
DatabaseWatcherAlertRuleProperties
Implements

Constructors

DatabaseWatcherAlertRuleProperties(ResourceIdentifier, AlertRuleCreationProperty, DateTimeOffset, String, String)

Initializes a new instance of DatabaseWatcherAlertRuleProperties.

Properties

AlertRuleResourceId

The resource ID of the alert rule resource.

AlertRuleTemplateId

The template ID associated with alert rule resource.

AlertRuleTemplateVersion

The alert rule template version.

CreatedOn

The creation time of the alert rule resource.

CreatedWithProperties

The properties with which the alert rule resource was created.

ProvisioningState

The provisioning state of the alert rule resource.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DatabaseWatcherAlertRuleProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DatabaseWatcherAlertRuleProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DatabaseWatcherAlertRuleProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DatabaseWatcherAlertRuleProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DatabaseWatcherAlertRuleProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to