ArmMonitorModelFactory.MonitorSmsReceiver Method
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 static Azure.ResourceManager.Monitor.Models.MonitorSmsReceiver MonitorSmsReceiver(string name = default, string countryCode = default, string phoneNumber = default, Azure.ResourceManager.Monitor.Models.MonitorReceiverStatus? status = default);
static member MonitorSmsReceiver : string * string * string * Nullable<Azure.ResourceManager.Monitor.Models.MonitorReceiverStatus> -> Azure.ResourceManager.Monitor.Models.MonitorSmsReceiver
Public Shared Function MonitorSmsReceiver (Optional name As String = Nothing, Optional countryCode As String = Nothing, Optional phoneNumber As String = Nothing, Optional status As Nullable(Of MonitorReceiverStatus) = Nothing) As MonitorSmsReceiver
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<MonitorReceiverStatus>
The status of the receiver.
Returns
A new MonitorSmsReceiver instance for mocking.