Condividi tramite


MonitorVoiceReceiver Class

Definition

A voice receiver.

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

Constructors

MonitorVoiceReceiver(String, String, String)

Initializes a new instance of MonitorVoiceReceiver.

Properties

CountryCode

The country code of the voice receiver.

Name

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

PhoneNumber

The phone number of the voice receiver.

Explicit Interface Implementations

IJsonModel<MonitorVoiceReceiver>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonitorVoiceReceiver>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorVoiceReceiver>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorVoiceReceiver>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitorVoiceReceiver>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to