SmsReceiver Constructors

Definition

Overloads

SmsReceiver()

Initializes a new instance of the SmsReceiver class.

SmsReceiver(String, String, String, Nullable<ReceiverStatus>)

Initializes a new instance of the SmsReceiver class.

SmsReceiver()

Initializes a new instance of the SmsReceiver class.

public SmsReceiver ();
Public Sub New ()

Applies to

SmsReceiver(String, String, String, Nullable<ReceiverStatus>)

Initializes a new instance of the SmsReceiver class.

public SmsReceiver (string name, string countryCode, string phoneNumber, Microsoft.Azure.Management.Monitor.Models.ReceiverStatus? status = default);
new Microsoft.Azure.Management.Monitor.Models.SmsReceiver : string * string * string * Nullable<Microsoft.Azure.Management.Monitor.Models.ReceiverStatus> -> Microsoft.Azure.Management.Monitor.Models.SmsReceiver
Public Sub New (name As String, countryCode As String, phoneNumber As String, Optional status As Nullable(Of ReceiverStatus) = Nothing)

Parameters

name
String

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

countryCode
String

The country code of the SMS receiver.

phoneNumber
String

The phone number of the SMS receiver.

status
Nullable<ReceiverStatus>

The status of the receiver. Possible values include: 'NotSpecified', 'Enabled', 'Disabled'

Applies to