Partilhar via


VoiceReceiver Class

Definition

A voice receiver.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.VoiceReceiverTypeConverter))]
public class VoiceReceiver : Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupReceiver, Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IVoiceReceiver
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.VoiceReceiverTypeConverter))>]
type VoiceReceiver = class
    interface IActionGroupReceiver
    interface IVoiceReceiver
    interface IJsonSerializable
Public Class VoiceReceiver
Implements IActionGroupReceiver, IVoiceReceiver
Inheritance
VoiceReceiver
Attributes
Implements

Constructors

VoiceReceiver()

Creates an new VoiceReceiver instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VoiceReceiver.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VoiceReceiver.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IVoiceReceiver.

FromJsonString(String)

Creates a new instance of VoiceReceiver, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VoiceReceiver into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to