Class ActionGroupResource
An action group resource.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class ActionGroupResource : Microsoft.Azure.Management.Monitor.Models.Resource
Constructors
ActionGroupResource()
Initializes a new instance of the ActionGroupResource class.
Declaration
public ActionGroupResource ();
ActionGroupResource(String, String, Boolean, String, String, String, IDictionary<String,String>, IList<EmailReceiver>, IList<SmsReceiver>, IList<WebhookReceiver>, IList<ItsmReceiver>, IList<AzureAppPushReceiver>, IList<AutomationRunbookReceiver>, IList<VoiceReceiver>, IList<LogicAppReceiver>, IList<AzureFunctionReceiver>, IList<ArmRoleReceiver>)
Initializes a new instance of the ActionGroupResource class.
Declaration
public ActionGroupResource (string location, string groupShortName, bool enabled, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.EmailReceiver> emailReceivers = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.SmsReceiver> smsReceivers = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.WebhookReceiver> webhookReceivers = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.ItsmReceiver> itsmReceivers = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AzureAppPushReceiver> azureAppPushReceivers = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AutomationRunbookReceiver> automationRunbookReceivers = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.VoiceReceiver> voiceReceivers = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.LogicAppReceiver> logicAppReceivers = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AzureFunctionReceiver> azureFunctionReceivers = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.ArmRoleReceiver> armRoleReceivers = null);
Parameters
|
String
location
Resource location |
|
String
groupShortName
The short name of the action group. This will be used in SMS messages. |
|
Boolean
enabled
Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. |
|
String
id
Azure resource Id |
|
String
name
Azure resource name |
|
String
type
Azure resource type |
|
IDictionary<String,String>
tags
Resource tags |
|
IList<EmailReceiver>
emailReceivers
The list of email receivers that are part of this action group. |
|
IList<SmsReceiver>
smsReceivers
The list of SMS receivers that are part of this action group. |
|
IList<WebhookReceiver>
webhookReceivers
The list of webhook receivers that are part of this action group. |
|
IList<ItsmReceiver>
itsmReceivers
The list of ITSM receivers that are part of this action group. |
|
IList<AzureAppPushReceiver>
azureAppPushReceivers
The list of AzureAppPush receivers that are part of this action group. |
|
IList<AutomationRunbookReceiver>
automationRunbookReceivers
The list of AutomationRunbook receivers that are part of this action group. |
|
IList<VoiceReceiver>
voiceReceivers
The list of voice receivers that are part of this action group. |
|
IList<LogicAppReceiver>
logicAppReceivers
The list of logic app receivers that are part of this action group. |
|
IList<AzureFunctionReceiver>
azureFunctionReceivers
The list of azure function receivers that are part of this action group. |
|
IList<ArmRoleReceiver>
armRoleReceivers
The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported. |
Properties
ArmRoleReceivers
Gets or sets the list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.armRoleReceivers")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.ArmRoleReceiver> ArmRoleReceivers { get; set; }
Property Value
|
IList<ArmRoleReceiver>
|
AutomationRunbookReceivers
Gets or sets the list of AutomationRunbook receivers that are part of this action group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.automationRunbookReceivers")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AutomationRunbookReceiver> AutomationRunbookReceivers { get; set; }
Property Value
|
IList<AutomationRunbookReceiver>
|
AzureAppPushReceivers
Gets or sets the list of AzureAppPush receivers that are part of this action group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.azureAppPushReceivers")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AzureAppPushReceiver> AzureAppPushReceivers { get; set; }
Property Value
|
IList<AzureAppPushReceiver>
|
AzureFunctionReceivers
Gets or sets the list of azure function receivers that are part of this action group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.azureFunctionReceivers")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AzureFunctionReceiver> AzureFunctionReceivers { get; set; }
Property Value
|
IList<AzureFunctionReceiver>
|
EmailReceivers
Gets or sets the list of email receivers that are part of this action group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.emailReceivers")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.EmailReceiver> EmailReceivers { get; set; }
Property Value
|
IList<EmailReceiver>
|
Enabled
Gets or sets indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.enabled")]
public bool Enabled { get; set; }
Property Value
|
Boolean
|
GroupShortName
Gets or sets the short name of the action group. This will be used in SMS messages.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.groupShortName")]
public string GroupShortName { get; set; }
Property Value
|
String
|
ItsmReceivers
Gets or sets the list of ITSM receivers that are part of this action group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.itsmReceivers")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.ItsmReceiver> ItsmReceivers { get; set; }
Property Value
|
IList<ItsmReceiver>
|
LogicAppReceivers
Gets or sets the list of logic app receivers that are part of this action group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.logicAppReceivers")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.LogicAppReceiver> LogicAppReceivers { get; set; }
Property Value
|
IList<LogicAppReceiver>
|
SmsReceivers
Gets or sets the list of SMS receivers that are part of this action group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.smsReceivers")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.SmsReceiver> SmsReceivers { get; set; }
Property Value
|
IList<SmsReceiver>
|
VoiceReceivers
Gets or sets the list of voice receivers that are part of this action group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.voiceReceivers")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.VoiceReceiver> VoiceReceivers { get; set; }
Property Value
|
IList<VoiceReceiver>
|
WebhookReceivers
Gets or sets the list of webhook receivers that are part of this action group.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.webhookReceivers")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.WebhookReceiver> WebhookReceivers { get; set; }
Property Value
|
IList<WebhookReceiver>
|
Methods
Validate()
Validate the object.
Declaration
public override void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |