Class ActionGroupResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.monitor.models.AzureResource
-
- com.azure.resourcemanager.monitor.fluent.models.ActionGroupResourceInner
-
public class ActionGroupResourceInner extends AzureResource
An action group resource.
-
-
Constructor Summary
Constructors Constructor Description ActionGroupResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ArmRoleReceiver>armRoleReceivers()Get the armRoleReceivers property: The list of ARM role receivers that are part of this action group.List<AutomationRunbookReceiver>automationRunbookReceivers()Get the automationRunbookReceivers property: The list of AutomationRunbook receivers that are part of this action group.List<AzureAppPushReceiver>azureAppPushReceivers()Get the azureAppPushReceivers property: The list of AzureAppPush receivers that are part of this action group.List<AzureFunctionReceiver>azureFunctionReceivers()Get the azureFunctionReceivers property: The list of azure function receivers that are part of this action group.List<EmailReceiver>emailReceivers()Get the emailReceivers property: The list of email receivers that are part of this action group.Booleanenabled()Get the enabled property: Indicates whether this action group is enabled.StringgroupShortName()Get the groupShortName property: The short name of the action group.List<ItsmReceiver>itsmReceivers()Get the itsmReceivers property: The list of ITSM receivers that are part of this action group.List<LogicAppReceiver>logicAppReceivers()Get the logicAppReceivers property: The list of logic app receivers that are part of this action group.List<SmsReceiver>smsReceivers()Get the smsReceivers property: The list of SMS receivers that are part of this action group.voidvalidate()Validates the instance.List<VoiceReceiver>voiceReceivers()Get the voiceReceivers property: The list of voice receivers that are part of this action group.List<WebhookReceiver>webhookReceivers()Get the webhookReceivers property: The list of webhook receivers that are part of this action group.ActionGroupResourceInnerwithArmRoleReceivers(List<ArmRoleReceiver> armRoleReceivers)Set the armRoleReceivers property: The list of ARM role receivers that are part of this action group.ActionGroupResourceInnerwithAutomationRunbookReceivers(List<AutomationRunbookReceiver> automationRunbookReceivers)Set the automationRunbookReceivers property: The list of AutomationRunbook receivers that are part of this action group.ActionGroupResourceInnerwithAzureAppPushReceivers(List<AzureAppPushReceiver> azureAppPushReceivers)Set the azureAppPushReceivers property: The list of AzureAppPush receivers that are part of this action group.ActionGroupResourceInnerwithAzureFunctionReceivers(List<AzureFunctionReceiver> azureFunctionReceivers)Set the azureFunctionReceivers property: The list of azure function receivers that are part of this action group.ActionGroupResourceInnerwithEmailReceivers(List<EmailReceiver> emailReceivers)Set the emailReceivers property: The list of email receivers that are part of this action group.ActionGroupResourceInnerwithEnabled(Boolean enabled)Set the enabled property: Indicates whether this action group is enabled.ActionGroupResourceInnerwithGroupShortName(String groupShortName)Set the groupShortName property: The short name of the action group.ActionGroupResourceInnerwithItsmReceivers(List<ItsmReceiver> itsmReceivers)Set the itsmReceivers property: The list of ITSM receivers that are part of this action group.ActionGroupResourceInnerwithLocation(String location)ActionGroupResourceInnerwithLogicAppReceivers(List<LogicAppReceiver> logicAppReceivers)Set the logicAppReceivers property: The list of logic app receivers that are part of this action group.ActionGroupResourceInnerwithSmsReceivers(List<SmsReceiver> smsReceivers)Set the smsReceivers property: The list of SMS receivers that are part of this action group.ActionGroupResourceInnerwithTags(Map<String,String> tags)ActionGroupResourceInnerwithVoiceReceivers(List<VoiceReceiver> voiceReceivers)Set the voiceReceivers property: The list of voice receivers that are part of this action group.ActionGroupResourceInnerwithWebhookReceivers(List<WebhookReceiver> webhookReceivers)Set the webhookReceivers property: The list of webhook receivers that are part of this action group.-
Methods inherited from class com.azure.resourcemanager.monitor.models.AzureResource
identity, kind
-
-
-
-
Method Detail
-
groupShortName
public String groupShortName()
Get the groupShortName property: The short name of the action group. This will be used in SMS messages.- Returns:
- the groupShortName value.
-
withGroupShortName
public ActionGroupResourceInner withGroupShortName(String groupShortName)
Set the groupShortName property: The short name of the action group. This will be used in SMS messages.- Parameters:
groupShortName- the groupShortName value to set.- Returns:
- the ActionGroupResourceInner object itself.
-
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:
- the enabled value.
-
withEnabled
public ActionGroupResourceInner 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:
enabled- the enabled value to set.- Returns:
- the ActionGroupResourceInner object itself.
-
emailReceivers
public List<EmailReceiver> emailReceivers()
Get the emailReceivers property: The list of email receivers that are part of this action group.- Returns:
- the emailReceivers value.
-
withEmailReceivers
public ActionGroupResourceInner withEmailReceivers(List<EmailReceiver> emailReceivers)
Set the emailReceivers property: The list of email receivers that are part of this action group.- Parameters:
emailReceivers- the emailReceivers value to set.- Returns:
- the ActionGroupResourceInner object itself.
-
smsReceivers
public List<SmsReceiver> smsReceivers()
Get the smsReceivers property: The list of SMS receivers that are part of this action group.- Returns:
- the smsReceivers value.
-
withSmsReceivers
public ActionGroupResourceInner withSmsReceivers(List<SmsReceiver> smsReceivers)
Set the smsReceivers property: The list of SMS receivers that are part of this action group.- Parameters:
smsReceivers- the smsReceivers value to set.- Returns:
- the ActionGroupResourceInner object itself.
-
webhookReceivers
public List<WebhookReceiver> webhookReceivers()
Get the webhookReceivers property: The list of webhook receivers that are part of this action group.- Returns:
- the webhookReceivers value.
-
withWebhookReceivers
public ActionGroupResourceInner withWebhookReceivers(List<WebhookReceiver> webhookReceivers)
Set the webhookReceivers property: The list of webhook receivers that are part of this action group.- Parameters:
webhookReceivers- the webhookReceivers value to set.- Returns:
- the ActionGroupResourceInner object itself.
-
itsmReceivers
public List<ItsmReceiver> itsmReceivers()
Get the itsmReceivers property: The list of ITSM receivers that are part of this action group.- Returns:
- the itsmReceivers value.
-
withItsmReceivers
public ActionGroupResourceInner withItsmReceivers(List<ItsmReceiver> itsmReceivers)
Set the itsmReceivers property: The list of ITSM receivers that are part of this action group.- Parameters:
itsmReceivers- the itsmReceivers value to set.- Returns:
- the ActionGroupResourceInner object itself.
-
azureAppPushReceivers
public List<AzureAppPushReceiver> azureAppPushReceivers()
Get the azureAppPushReceivers property: The list of AzureAppPush receivers that are part of this action group.- Returns:
- the azureAppPushReceivers value.
-
withAzureAppPushReceivers
public ActionGroupResourceInner withAzureAppPushReceivers(List<AzureAppPushReceiver> azureAppPushReceivers)
Set the azureAppPushReceivers property: The list of AzureAppPush receivers that are part of this action group.- Parameters:
azureAppPushReceivers- the azureAppPushReceivers value to set.- Returns:
- the ActionGroupResourceInner object itself.
-
automationRunbookReceivers
public List<AutomationRunbookReceiver> automationRunbookReceivers()
Get the automationRunbookReceivers property: The list of AutomationRunbook receivers that are part of this action group.- Returns:
- the automationRunbookReceivers value.
-
withAutomationRunbookReceivers
public ActionGroupResourceInner withAutomationRunbookReceivers(List<AutomationRunbookReceiver> automationRunbookReceivers)
Set the automationRunbookReceivers property: The list of AutomationRunbook receivers that are part of this action group.- Parameters:
automationRunbookReceivers- the automationRunbookReceivers value to set.- Returns:
- the ActionGroupResourceInner object itself.
-
voiceReceivers
public List<VoiceReceiver> voiceReceivers()
Get the voiceReceivers property: The list of voice receivers that are part of this action group.- Returns:
- the voiceReceivers value.
-
withVoiceReceivers
public ActionGroupResourceInner withVoiceReceivers(List<VoiceReceiver> voiceReceivers)
Set the voiceReceivers property: The list of voice receivers that are part of this action group.- Parameters:
voiceReceivers- the voiceReceivers value to set.- Returns:
- the ActionGroupResourceInner object itself.
-
logicAppReceivers
public List<LogicAppReceiver> logicAppReceivers()
Get the logicAppReceivers property: The list of logic app receivers that are part of this action group.- Returns:
- the logicAppReceivers value.
-
withLogicAppReceivers
public ActionGroupResourceInner withLogicAppReceivers(List<LogicAppReceiver> logicAppReceivers)
Set the logicAppReceivers property: The list of logic app receivers that are part of this action group.- Parameters:
logicAppReceivers- the logicAppReceivers value to set.- Returns:
- the ActionGroupResourceInner object itself.
-
azureFunctionReceivers
public List<AzureFunctionReceiver> azureFunctionReceivers()
Get the azureFunctionReceivers property: The list of azure function receivers that are part of this action group.- Returns:
- the azureFunctionReceivers value.
-
withAzureFunctionReceivers
public ActionGroupResourceInner withAzureFunctionReceivers(List<AzureFunctionReceiver> azureFunctionReceivers)
Set the azureFunctionReceivers property: The list of azure function receivers that are part of this action group.- Parameters:
azureFunctionReceivers- the azureFunctionReceivers value to set.- Returns:
- the ActionGroupResourceInner object itself.
-
armRoleReceivers
public List<ArmRoleReceiver> armRoleReceivers()
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:
- the armRoleReceivers value.
-
withArmRoleReceivers
public ActionGroupResourceInner withArmRoleReceivers(List<ArmRoleReceiver> armRoleReceivers)
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:
armRoleReceivers- the armRoleReceivers value to set.- Returns:
- the ActionGroupResourceInner object itself.
-
withLocation
public ActionGroupResourceInner withLocation(String location)
- Overrides:
withLocationin classAzureResource
-
withTags
public ActionGroupResourceInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classAzureResource
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classAzureResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-