MonitorSmsReceiver(String, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET