Interface ActionGroup.ActionDefinition<ParentT>
-
- Type Parameters:
ParentT- the next stage of the definition.
- All Known Subinterfaces:
ActionGroup.Definition<T>
- Enclosing interface:
- ActionGroup
public static interface ActionGroup.ActionDefinition<ParentT>Receivers action definition allowing to set each receiver's configuration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParentTattach()Attaches the defined receivers to the Action Group configuration.ActionGroup.ActionDefinition<ParentT>withAutomationRunbook(String automationAccountId, String runbookName, String webhookResourceId, boolean isGlobalRunbook)Sets the Azure Automation Runbook notification receiver.ActionGroup.ActionDefinition<ParentT>withAzureFunction(String functionAppResourceId, String functionName, String httpTriggerUrl)Sets the Azure Functions receiver.ActionGroup.ActionDefinition<ParentT>withEmail(String emailAddress)Sets the email receiver.ActionGroup.ActionDefinition<ParentT>withItsm(String workspaceId, String connectionId, String ticketConfiguration, String region)Sets the ITSM receiver.ActionGroup.ActionDefinition<ParentT>withLogicApp(String logicAppResourceId, String callbackUrl)Sets the Logic App receiver.ActionGroup.ActionDefinition<ParentT>withPushNotification(String emailAddress)Sets the Azure Mobile App Push Notification receiver.ActionGroup.ActionDefinition<ParentT>withSms(String countryCode, String phoneNumber)Sets the SMS receiver.ActionGroup.ActionDefinition<ParentT>withVoice(String countryCode, String phoneNumber)Sets the Voice notification receiver.ActionGroup.ActionDefinition<ParentT>withWebhook(String serviceUri)Sets the Webhook receiver.
-
-
-
Method Detail
-
withEmail
ActionGroup.ActionDefinition<ParentT> withEmail(String emailAddress)
Sets the email receiver.- Parameters:
emailAddress- the email Address value to set- Returns:
- the next stage of the definition
-
withSms
ActionGroup.ActionDefinition<ParentT> withSms(String countryCode, String phoneNumber)
Sets the SMS receiver.- Parameters:
countryCode- the countryCode value to setphoneNumber- the phoneNumber value to set- Returns:
- the next stage of the definition
-
withWebhook
ActionGroup.ActionDefinition<ParentT> withWebhook(String serviceUri)
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
ActionGroup.ActionDefinition<ParentT> withPushNotification(String emailAddress)
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
ActionGroup.ActionDefinition<ParentT> withVoice(String countryCode, String phoneNumber)
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
ActionGroup.ActionDefinition<ParentT> withLogicApp(String logicAppResourceId, String callbackUrl)
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
-
-