MonitorSmsReceiver Class

Definition

An SMS receiver.

C#
public class MonitorSmsReceiver : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.MonitorSmsReceiver>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.MonitorSmsReceiver>
Inheritance
MonitorSmsReceiver
Implements

Constructors

Properties

CountryCode

The country code of the SMS receiver.

Name

The name of the SMS receiver. Names must be unique across all receivers within an action group.

PhoneNumber

The phone number of the SMS receiver.

Status

The status of the receiver.

Methods

Explicit Interface Implementations

IJsonModel<MonitorSmsReceiver>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonitorSmsReceiver>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorSmsReceiver>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorSmsReceiver>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitorSmsReceiver>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to

Produk Versi
Azure SDK for .NET Latest, Preview