Show / Hide Table of Contents

    Class WebhookReceiver

    A webhook receiver.

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

    Constructors

    WebhookReceiver()

    Initializes a new instance of the WebhookReceiver class.

    Declaration
    public WebhookReceiver ();

    WebhookReceiver(String, String, Boolean, Nullable<Boolean>, String, String, String)

    Initializes a new instance of the WebhookReceiver class.

    Declaration
    public WebhookReceiver (string name, string serviceUri, bool useCommonAlertSchema, Nullable<bool> useAadAuth = null, string objectId = null, string identifierUri = null, string tenantId = null);
    Parameters
    String name

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

    String serviceUri

    The URI where webhooks should be sent.

    Boolean useCommonAlertSchema

    Indicates whether to use common alert schema.

    Nullable<Boolean> useAadAuth

    Indicates whether or not use AAD authentication.

    String objectId

    Indicates the webhook app object Id for aad auth.

    String identifierUri

    Indicates the identifier uri for aad auth.

    String tenantId

    Indicates the tenant id for aad auth.

    Properties

    IdentifierUri

    Gets or sets indicates the identifier uri for aad auth.

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

    Name

    Gets or sets the name of the webhook 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

    ObjectId

    Gets or sets indicates the webhook app object Id for aad auth.

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

    ServiceUri

    Gets or sets the URI where webhooks should be sent.

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

    TenantId

    Gets or sets indicates the tenant id for aad auth.

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

    UseAadAuth

    Gets or sets indicates whether or not use AAD authentication.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="useAadAuth")]
    public Nullable<bool> UseAadAuth { get; set; }
    Property Value
    Nullable<Boolean>

    UseCommonAlertSchema

    Gets or sets indicates whether to use common alert schema.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="useCommonAlertSchema")]
    public bool UseCommonAlertSchema { get; set; }
    Property Value
    Boolean

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net