Interface ActionGroup.UpdateStages.WithActionUpdateDefinition
- Enclosing interface:
- ActionGroup.UpdateStages
public static interface ActionGroup.UpdateStages.WithActionUpdateDefinition
Receivers action update stage allowing to set each receiver's configuration.
-
Method Summary
Modifier and TypeMethodDescriptionparent()Returns to the Action Group update flow.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.Removes Azure Automation Runbook receiver from current receiver's group.Removes Azure Function receiver from current receiver's group.Removes email receiver from current receiver's group.Removes ITSM receiver from current receiver's group.Removes Azure Logic App receiver from current receiver's group.Removes Azure mobile App Push notification receiver from current receiver's group.Removes SMS receiver from current receiver's group.Removes Voice receiver from current receiver's group.Removes Webhook receiver from current receiver's group.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
-
withoutEmail
ActionGroup.UpdateStages.WithActionUpdateDefinition withoutEmail()Removes email receiver from current receiver's group.- Returns:
- the next stage of the receiver group update
-
withoutSms
ActionGroup.UpdateStages.WithActionUpdateDefinition withoutSms()Removes SMS receiver from current receiver's group.- Returns:
- the next stage of the receiver group update
-
withoutWebhook
ActionGroup.UpdateStages.WithActionUpdateDefinition withoutWebhook()Removes Webhook receiver from current receiver's group.- Returns:
- the next stage of the receiver group update
-
withoutItsm
ActionGroup.UpdateStages.WithActionUpdateDefinition withoutItsm()Removes ITSM receiver from current receiver's group.- Returns:
- the next stage of the receiver group update
-
withoutPushNotification
ActionGroup.UpdateStages.WithActionUpdateDefinition withoutPushNotification()Removes Azure mobile App Push notification receiver from current receiver's group.- Returns:
- the next stage of the receiver group update
-
withoutAutomationRunbook
ActionGroup.UpdateStages.WithActionUpdateDefinition withoutAutomationRunbook()Removes Azure Automation Runbook receiver from current receiver's group.- Returns:
- the next stage of the receiver group update
-
withoutVoice
ActionGroup.UpdateStages.WithActionUpdateDefinition withoutVoice()Removes Voice receiver from current receiver's group.- Returns:
- the next stage of the receiver group update
-
withoutLogicApp
ActionGroup.UpdateStages.WithActionUpdateDefinition withoutLogicApp()Removes Azure Logic App receiver from current receiver's group.- Returns:
- the next stage of the receiver group update
-
withoutAzureFunction
ActionGroup.UpdateStages.WithActionUpdateDefinition withoutAzureFunction()Removes Azure Function receiver from current receiver's group.- Returns:
- the next stage of the receiver group update
-
withEmail
Sets the email receiver.- Parameters:
emailAddress- the email Address value to set- Returns:
- the next stage of the update
-
withSms
Sets the SMS receiver.- Parameters:
countryCode- the countryCode value to setphoneNumber- the phoneNumber value to set- Returns:
- the next stage of the update
-
withWebhook
Sets the Webhook receiver.- Parameters:
serviceUri- the serviceUri value to set- Returns:
- the next stage of the update
-
withItsm
ActionGroup.UpdateStages.WithActionUpdateDefinition 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 update
-
withPushNotification
Sets the Azure Mobile App Push Notification receiver.- Parameters:
emailAddress- the emailAddress value to set- Returns:
- the next stage of the update
-
withAutomationRunbook
ActionGroup.UpdateStages.WithActionUpdateDefinition 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 update
-
withVoice
ActionGroup.UpdateStages.WithActionUpdateDefinition 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 update
-
withLogicApp
ActionGroup.UpdateStages.WithActionUpdateDefinition 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 update
-
withAzureFunction
ActionGroup.UpdateStages.WithActionUpdateDefinition 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 update
-
parent
ActionGroup.Update parent()Returns to the Action Group update flow.- Returns:
- the next stage of the update
-