Compartir a través de


ArmMonitorModelFactory.MonitorSmsReceiver Método

Definición

Inicializa una nueva instancia de 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

Parámetros

name
String

Nombre del receptor de SMS. Los nombres deben ser únicos en todos los receptores de un grupo de acciones.

countryCode
String

Código de país del receptor sms.

phoneNumber
String

Número de teléfono del receptor sms.

status
Nullable<MonitorReceiverStatus>

Estado del receptor.

Devoluciones

MonitorSmsReceiver Nueva instancia para simular.

Se aplica a