次の方法で共有


MonitoredSubscription Class

Definition

The list of subscriptions and it's monitoring status by current Elastic monitor.

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

Constructors

MonitoredSubscription()

Initializes a new instance of MonitoredSubscription.

Properties

Error

The reason of not monitoring the subscription.

Status

The state of monitoring.

SubscriptionId

The subscriptionId to be monitored.

TagRules

Definition of the properties for a TagRules resource.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MonitoredSubscription>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonitoredSubscription>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitoredSubscription>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitoredSubscription>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitoredSubscription>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to