ActionGroup Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. fluent. models. ActionGroup
- com.
Implements
public final class ActionGroup
implements JsonSerializable<ActionGroup>
An Azure action group.
Constructor Summary
Constructor | Description |
---|---|
ActionGroup() |
Creates an instance of Action |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Arm |
armRoleReceivers()
Get the arm |
List<Automation |
automationRunbookReceivers()
Get the automation |
List<Azure |
azureAppPushReceivers()
Get the azure |
List<Azure |
azureFunctionReceivers()
Get the azure |
List<Email |
emailReceivers()
Get the email |
boolean |
enabled()
Get the enabled property: Indicates whether this action group is enabled. |
List<Event |
eventHubReceivers()
Get the event |
static
Action |
fromJson(JsonReader jsonReader)
Reads an instance of Action |
String |
groupShortName()
Get the group |
List<Itsm |
itsmReceivers()
Get the itsm |
List<Logic |
logicAppReceivers()
Get the logic |
List<Sms |
smsReceivers()
Get the sms |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
List<Voice |
voiceReceivers()
Get the voice |
List<Webhook |
webhookReceivers()
Get the webhook |
Action |
withArmRoleReceivers(List<ArmRoleReceiver> armRoleReceivers)
Set the arm |
Action |
withAutomationRunbookReceivers(List<AutomationRunbookReceiver> automationRunbookReceivers)
Set the automation |
Action |
withAzureAppPushReceivers(List<AzureAppPushReceiver> azureAppPushReceivers)
Set the azure |
Action |
withAzureFunctionReceivers(List<AzureFunctionReceiver> azureFunctionReceivers)
Set the azure |
Action |
withEmailReceivers(List<EmailReceiver> emailReceivers)
Set the email |
Action |
withEnabled(boolean enabled)
Set the enabled property: Indicates whether this action group is enabled. |
Action |
withEventHubReceivers(List<EventHubReceiver> eventHubReceivers)
Set the event |
Action |
withGroupShortName(String groupShortName)
Set the group |
Action |
withItsmReceivers(List<ItsmReceiver> itsmReceivers)
Set the itsm |
Action |
withLogicAppReceivers(List<LogicAppReceiver> logicAppReceivers)
Set the logic |
Action |
withSmsReceivers(List<SmsReceiver> smsReceivers)
Set the sms |
Action |
withVoiceReceivers(List<VoiceReceiver> voiceReceivers)
Set the voice |
Action |
withWebhookReceivers(List<WebhookReceiver> webhookReceivers)
Set the webhook |
Methods inherited from java.lang.Object
Constructor Details
ActionGroup
public ActionGroup()
Creates an instance of ActionGroup class.
Method Details
armRoleReceivers
public List
Get the armRoleReceivers property: 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.
Returns:
automationRunbookReceivers
public List
Get the automationRunbookReceivers property: The list of AutomationRunbook receivers that are part of this action group.
Returns:
azureAppPushReceivers
public List
Get the azureAppPushReceivers property: The list of AzureAppPush receivers that are part of this action group.
Returns:
azureFunctionReceivers
public List
Get the azureFunctionReceivers property: The list of azure function receivers that are part of this action group.
Returns:
emailReceivers
public List
Get the emailReceivers property: The list of email receivers that are part of this action group.
Returns:
enabled
public boolean enabled()
Get the enabled property: Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
Returns:
eventHubReceivers
public List
Get the eventHubReceivers property: The list of event hub receivers that are part of this action group.
Returns:
fromJson
public static ActionGroup fromJson(JsonReader jsonReader)
Reads an instance of ActionGroup from the JsonReader.
Parameters:
Returns:
Throws:
groupShortName
public String groupShortName()
Get the groupShortName property: The short name of the action group. This will be used in SMS messages.
Returns:
itsmReceivers
public List
Get the itsmReceivers property: The list of ITSM receivers that are part of this action group.
Returns:
logicAppReceivers
public List
Get the logicAppReceivers property: The list of logic app receivers that are part of this action group.
Returns:
smsReceivers
public List
Get the smsReceivers property: The list of SMS receivers that are part of this action group.
Returns:
toJson
validate
public void validate()
Validates the instance.
voiceReceivers
public List
Get the voiceReceivers property: The list of voice receivers that are part of this action group.
Returns:
webhookReceivers
public List
Get the webhookReceivers property: The list of webhook receivers that are part of this action group.
Returns:
withArmRoleReceivers
public ActionGroup withArmRoleReceivers(List
Set the armRoleReceivers property: 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.
Parameters:
Returns:
withAutomationRunbookReceivers
public ActionGroup withAutomationRunbookReceivers(List
Set the automationRunbookReceivers property: The list of AutomationRunbook receivers that are part of this action group.
Parameters:
Returns:
withAzureAppPushReceivers
public ActionGroup withAzureAppPushReceivers(List
Set the azureAppPushReceivers property: The list of AzureAppPush receivers that are part of this action group.
Parameters:
Returns:
withAzureFunctionReceivers
public ActionGroup withAzureFunctionReceivers(List
Set the azureFunctionReceivers property: The list of azure function receivers that are part of this action group.
Parameters:
Returns:
withEmailReceivers
public ActionGroup withEmailReceivers(List
Set the emailReceivers property: The list of email receivers that are part of this action group.
Parameters:
Returns:
withEnabled
public ActionGroup withEnabled(boolean enabled)
Set the enabled property: Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
Parameters:
Returns:
withEventHubReceivers
public ActionGroup withEventHubReceivers(List
Set the eventHubReceivers property: The list of event hub receivers that are part of this action group.
Parameters:
Returns:
withGroupShortName
public ActionGroup withGroupShortName(String groupShortName)
Set the groupShortName property: The short name of the action group. This will be used in SMS messages.
Parameters:
Returns:
withItsmReceivers
public ActionGroup withItsmReceivers(List
Set the itsmReceivers property: The list of ITSM receivers that are part of this action group.
Parameters:
Returns:
withLogicAppReceivers
public ActionGroup withLogicAppReceivers(List
Set the logicAppReceivers property: The list of logic app receivers that are part of this action group.
Parameters:
Returns:
withSmsReceivers
public ActionGroup withSmsReceivers(List
Set the smsReceivers property: The list of SMS receivers that are part of this action group.
Parameters:
Returns:
withVoiceReceivers
public ActionGroup withVoiceReceivers(List
Set the voiceReceivers property: The list of voice receivers that are part of this action group.
Parameters:
Returns:
withWebhookReceivers
public ActionGroup withWebhookReceivers(List
Set the webhookReceivers property: The list of webhook receivers that are part of this action group.
Parameters:
Returns:
Applies to
Azure SDK for Java