Share via


SmsReceiver Class

Definition

An SMS receiver.

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

Constructors

SmsReceiver()

Creates an new SmsReceiver instance.

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SmsReceiver.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SmsReceiver.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SmsReceiver into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to