다음을 통해 공유


MonitorSmsReceiver(String, String, String) Constructor

Definition

Initializes a new instance of MonitorSmsReceiver.

public MonitorSmsReceiver (string name, string countryCode, string phoneNumber);
new Azure.ResourceManager.Monitor.Models.MonitorSmsReceiver : string * string * string -> Azure.ResourceManager.Monitor.Models.MonitorSmsReceiver
Public Sub New (name As String, countryCode As String, phoneNumber As String)

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.

Exceptions

name, countryCode or phoneNumber is null.

Applies to