Interface ActionGroup.ActionDefinition<ParentT>
- Type Parameters:
ParentT
- the next stage of the definition.
- All Known Subinterfaces:
ActionGroup.Definition
- Enclosing interface:
- ActionGroup
public static interface ActionGroup.ActionDefinition<ParentT>
Receivers action definition allowing to set each receiver's configuration.
-
Method Summary
Modifier and TypeMethodDescriptionattach()
Attaches the defined receivers to the Action Group configuration.withAutomationRunbook
(String automationAccountId, String runbookName, String webhookResourceId, boolean isGlobalRunbook) Sets the Azure Automation Runbook notification receiver.withAzureFunction
(String functionAppResourceId, String functionName, String httpTriggerUrl) Sets the Azure Functions receiver.Sets the email receiver.Sets the ITSM receiver.withLogicApp
(String logicAppResourceId, String callbackUrl) Sets the Logic App receiver.withPushNotification
(String emailAddress) Sets the Azure Mobile App Push Notification receiver.Sets the SMS receiver.Sets the Voice notification receiver.withWebhook
(String serviceUri) Sets the Webhook receiver.
-
Method Details
-
withEmail
Sets the email receiver.- Parameters:
emailAddress
- the email Address value to set- Returns:
- the next stage of the definition
-
withSms
Sets the SMS receiver.- Parameters:
countryCode
- the countryCode value to setphoneNumber
- the phoneNumber value to set- Returns:
- the next stage of the definition
-
withWebhook
Sets the Webhook receiver.- Parameters:
serviceUri
- the serviceUri value to set- Returns:
- the next stage of the definition
-
withItsm
ActionGroup.ActionDefinition<ParentT> withItsm(String workspaceId, String connectionId, String ticketConfiguration, String region) Sets the ITSM receiver.- Parameters:
workspaceId
- the workspaceId value to setconnectionId
- the connectionId value to setticketConfiguration
- the ticketConfiguration value to setregion
- the region value to set- Returns:
- the next stage of the definition
-
withPushNotification
Sets the Azure Mobile App Push Notification receiver.- Parameters:
emailAddress
- the emailAddress value to set- Returns:
- the next stage of the definition
-
withAutomationRunbook
ActionGroup.ActionDefinition<ParentT> withAutomationRunbook(String automationAccountId, String runbookName, String webhookResourceId, boolean isGlobalRunbook) Sets the Azure Automation Runbook notification receiver.- Parameters:
automationAccountId
- the automationAccountId value to setrunbookName
- the runbookName value to setwebhookResourceId
- the webhookResourceId value to setisGlobalRunbook
- the isGlobalRunbook value to set- Returns:
- the next stage of the definition
-
withVoice
Sets the Voice notification receiver.- Parameters:
countryCode
- the countryCode value to setphoneNumber
- the phoneNumber value to set- Returns:
- the next stage of the definition
-
withLogicApp
Sets the Logic App receiver.- Parameters:
logicAppResourceId
- the logicAppResourceId value to setcallbackUrl
- the callbackUrl value to set- Returns:
- the next stage of the definition
-
withAzureFunction
ActionGroup.ActionDefinition<ParentT> withAzureFunction(String functionAppResourceId, String functionName, String httpTriggerUrl) Sets the Azure Functions receiver.- Parameters:
functionAppResourceId
- the functionAppResourceId value to setfunctionName
- the functionName value to sethttpTriggerUrl
- the httpTriggerUrl value to set- Returns:
- the next stage of the definition
-
attach
ParentT attach()Attaches the defined receivers to the Action Group configuration.- Returns:
- the next stage of the definition
-