Class AutomationRunbookReceiver
The Azure Automation Runbook notification receiver.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
public class AutomationRunbookReceiver
Constructors
AutomationRunbookReceiver()
Initializes a new instance of the AutomationRunbookReceiver class.
Declaration
public AutomationRunbookReceiver ();
AutomationRunbookReceiver(String, String, String, Boolean, Boolean, String, String)
Initializes a new instance of the AutomationRunbookReceiver class.
Declaration
public AutomationRunbookReceiver (string automationAccountId, string runbookName, string webhookResourceId, bool isGlobalRunbook, bool useCommonAlertSchema, string name = null, string serviceUri = null);
Parameters
|
String
automationAccountId
The Azure automation account Id which holds this runbook and authenticate to Azure resource. |
|
String
runbookName
The name for this runbook. |
|
String
webhookResourceId
The resource id for webhook linked to this runbook. |
|
Boolean
isGlobalRunbook
Indicates whether this instance is global runbook. |
|
Boolean
useCommonAlertSchema
Indicates whether to use common alert schema. |
|
String
name
Indicates name of the webhook. |
|
String
serviceUri
The URI where webhooks should be sent. |
Properties
AutomationAccountId
Gets or sets the Azure automation account Id which holds this runbook and authenticate to Azure resource.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="automationAccountId")]
public string AutomationAccountId { get; set; }
Property Value
|
String
|
IsGlobalRunbook
Gets or sets indicates whether this instance is global runbook.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="isGlobalRunbook")]
public bool IsGlobalRunbook { get; set; }
Property Value
|
Boolean
|
Name
Gets or sets indicates name of the webhook.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="name")]
public string Name { get; set; }
Property Value
|
String
|
RunbookName
Gets or sets the name for this runbook.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="runbookName")]
public string RunbookName { 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
|
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
|
WebhookResourceId
Gets or sets the resource id for webhook linked to this runbook.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="webhookResourceId")]
public string WebhookResourceId { get; set; }
Property Value
|
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |