共用方式為


MonitorSmsReceiver Class

Definition

An SMS receiver.

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

Constructors

MonitorSmsReceiver(String, String, String)

Initializes a new instance of MonitorSmsReceiver.

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.

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