Interface AutoscaleSetting.UpdateStages.UpdateAutoscaleSettings
- All Known Subinterfaces:
AutoscaleSetting.Update
- Enclosing interface:
AutoscaleSetting.UpdateStages
public static interface AutoscaleSetting.UpdateStages.UpdateAutoscaleSettings
The stage of the update which updates current autoscale setting.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies that an email should be send to subscription administrator.Sets current autoscale setting to the disabled state.Sets current autoscale setting to the enabled state.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.Removes email notification to subscription administrator.Removes email notification to subscription co-administrator.Removes email notification to custom email addresses.Removes service from autoscale notification.withWebhookNotification(String serviceUri) Set the service address to receive the notification.
-
Method Details
-
withAutoscaleEnabled
AutoscaleSetting.Update withAutoscaleEnabled()Sets current autoscale setting to the enabled state.- Returns:
- the next stage of autoscale setting update.
-
withAutoscaleDisabled
AutoscaleSetting.Update withAutoscaleDisabled()Sets current autoscale setting to the disabled state.- Returns:
- the next stage of autoscale setting update.
-
withAdminEmailNotification
AutoscaleSetting.Update withAdminEmailNotification()Specifies that an email should be send to subscription administrator.- Returns:
- the next stage of autoscale setting update.
-
withCoAdminEmailNotification
AutoscaleSetting.Update withCoAdminEmailNotification()Specifies that an email should be send to subscription co-administrator.- Returns:
- the next stage of autoscale setting update.
-
withCustomEmailsNotification
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 autoscale setting update.
-
withWebhookNotification
Set the service address to receive the notification.- Parameters:
serviceUri- the serviceUri value to set.- Returns:
- the next stage of autoscale setting update.
-
withoutAdminEmailNotification
AutoscaleSetting.Update withoutAdminEmailNotification()Removes email notification to subscription administrator.- Returns:
- the next stage of autoscale setting update.
-
withoutCoAdminEmailNotification
AutoscaleSetting.Update withoutCoAdminEmailNotification()Removes email notification to subscription co-administrator.- Returns:
- the next stage of autoscale setting update.
-
withoutCustomEmailsNotification
AutoscaleSetting.Update withoutCustomEmailsNotification()Removes email notification to custom email addresses.- Returns:
- the next stage of autoscale setting update.
-
withoutWebhookNotification
AutoscaleSetting.Update withoutWebhookNotification()Removes service from autoscale notification.- Returns:
- the next stage of autoscale setting update.
-