Show / Hide Table of Contents

    Class VoiceReceiver

    A voice receiver.

    Inheritance
    Object
    VoiceReceiver
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Monitor.dll
    Syntax
    public class VoiceReceiver

    Constructors

    VoiceReceiver()

    Initializes a new instance of the VoiceReceiver class.

    Declaration
    public VoiceReceiver ();

    VoiceReceiver(String, String, String)

    Initializes a new instance of the VoiceReceiver class.

    Declaration
    public VoiceReceiver (string name, string countryCode, string phoneNumber);
    Parameters
    String name

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

    String countryCode

    The country code of the voice receiver.

    String phoneNumber

    The phone number of the voice receiver.

    Properties

    CountryCode

    Gets or sets the country code of the voice receiver.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="countryCode")]
    public string CountryCode { get; set; }
    Property Value
    String

    Name

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="name")]
    public string Name { get; set; }
    Property Value
    String

    PhoneNumber

    Gets or sets the phone number of the voice receiver.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="phoneNumber")]
    public string PhoneNumber { get; set; }
    Property Value
    String

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net