Class AzureFunctionReceiver
An azure function receiver.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
public class AzureFunctionReceiver
Constructors
AzureFunctionReceiver()
Initializes a new instance of the AzureFunctionReceiver class.
Declaration
public AzureFunctionReceiver ();
AzureFunctionReceiver(String, String, String, String, Boolean)
Initializes a new instance of the AzureFunctionReceiver class.
Declaration
public AzureFunctionReceiver (string name, string functionAppResourceId, string functionName, string httpTriggerUrl, bool useCommonAlertSchema);
Parameters
|
String
name
The name of the azure function receiver. Names must be unique across all receivers within an action group. |
|
String
functionAppResourceId
The azure resource id of the function app. |
|
String
functionName
The function name in the function app. |
|
String
httpTriggerUrl
The http trigger url where http request sent to. |
|
Boolean
useCommonAlertSchema
Indicates whether to use common alert schema. |
Properties
FunctionAppResourceId
Gets or sets the azure resource id of the function app.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="functionAppResourceId")]
public string FunctionAppResourceId { get; set; }
Property Value
|
String
|
FunctionName
Gets or sets the function name in the function app.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="functionName")]
public string FunctionName { get; set; }
Property Value
|
String
|
HttpTriggerUrl
Gets or sets the http trigger url where http request sent to.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="httpTriggerUrl")]
public string HttpTriggerUrl { get; set; }
Property Value
|
String
|
Name
Gets or sets the name of the azure function 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
|
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 |