Interface AutoscaleSetting.DefinitionStages.DefineAutoscaleSettingResourceNotifications
- All Known Subinterfaces:
AutoscaleSetting.Definition,AutoscaleSetting.DefinitionStages.WithCreate
- Enclosing interface:
- AutoscaleSetting.DefinitionStages
public static interface AutoscaleSetting.DefinitionStages.DefineAutoscaleSettingResourceNotifications
The stage of the definition which specifies autoscale notifications.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies that an email should be send to subscription administrator.Specifies that an email should be send to subscription co-administrator.withCustomEmailsNotification(String... customEmailAddresses) Specifies that an email should be send to custom email addresses.withWebhookNotification(String serviceUri) Set the service address to receive the notification.
-
Method Details
-
withAdminEmailNotification
AutoscaleSetting.DefinitionStages.WithCreate withAdminEmailNotification()Specifies that an email should be send to subscription administrator.- Returns:
- the next stage of the definition.
-
withCoAdminEmailNotification
AutoscaleSetting.DefinitionStages.WithCreate withCoAdminEmailNotification()Specifies that an email should be send to subscription co-administrator.- Returns:
- the next stage of the definition.
-
withCustomEmailsNotification
AutoscaleSetting.DefinitionStages.WithCreate withCustomEmailsNotification(String... customEmailAddresses) Specifies that an email should be send to custom email addresses.- Parameters:
customEmailAddresses- list of the emails that should receive the notification.- Returns:
- the next stage of the definition.
-
withWebhookNotification
Set the service address to receive the notification.- Parameters:
serviceUri- the serviceUri value to set.- Returns:
- the next stage of the definition.
-