共用方式為


MonitorVoiceReceiver(String, String, String) Constructor

Definition

Initializes a new instance of MonitorVoiceReceiver.

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

Parameters

name
String

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

countryCode
String

The country code of the voice receiver.

phoneNumber
String

The phone number of the voice receiver.

Exceptions

name, countryCode or phoneNumber is null.

Applies to