AutoscaleSetting.UpdateStages.UpdateAutoscaleSettings Interface

public static interface AutoscaleSetting.UpdateStages.UpdateAutoscaleSettings

The stage of the update which updates current autoscale setting.

Method Summary

Modifier and Type Method and Description
abstract Update withAdminEmailNotification()

Specifies that an email should be send to subscription administrator.

abstract Update withAutoscaleDisabled()

Sets current autoscale setting to the disabled state.

abstract Update withAutoscaleEnabled()

Sets current autoscale setting to the enabled state.

abstract Update withCoAdminEmailNotification()

Specifies that an email should be send to subscription co-administrator.

abstract Update withCustomEmailsNotification(String[] customEmailAddresses)

Specifies that an email should be send to custom email addresses.

abstract Update withWebhookNotification(String serviceUri)

Set the service address to receive the notification.

abstract Update withoutAdminEmailNotification()

Removes email notification to subscription administrator.

abstract Update withoutCoAdminEmailNotification()

Removes email notification to subscription co-administrator.

abstract Update withoutCustomEmailsNotification()

Removes email notification to custom email addresses.

abstract Update withoutWebhookNotification()

Removes service from autoscale notification.

Method Details

withAdminEmailNotification

public abstract AutoscaleSetting.Update withAdminEmailNotification()

Specifies that an email should be send to subscription administrator.

Returns:

the next stage of autoscale setting update.

withAutoscaleDisabled

public abstract AutoscaleSetting.Update withAutoscaleDisabled()

Sets current autoscale setting to the disabled state.

Returns:

the next stage of autoscale setting update.

withAutoscaleEnabled

public abstract AutoscaleSetting.Update withAutoscaleEnabled()

Sets current autoscale setting to the enabled state.

Returns:

the next stage of autoscale setting update.

withCoAdminEmailNotification

public abstract AutoscaleSetting.Update withCoAdminEmailNotification()

Specifies that an email should be send to subscription co-administrator.

Returns:

the next stage of autoscale setting update.

withCustomEmailsNotification

public abstract AutoscaleSetting.Update 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 autoscale setting update.

withWebhookNotification

public abstract AutoscaleSetting.Update withWebhookNotification(String serviceUri)

Set the service address to receive the notification.

Parameters:

serviceUri - the serviceUri value to set.

Returns:

the next stage of autoscale setting update.

withoutAdminEmailNotification

public abstract AutoscaleSetting.Update withoutAdminEmailNotification()

Removes email notification to subscription administrator.

Returns:

the next stage of autoscale setting update.

withoutCoAdminEmailNotification

public abstract AutoscaleSetting.Update withoutCoAdminEmailNotification()

Removes email notification to subscription co-administrator.

Returns:

the next stage of autoscale setting update.

withoutCustomEmailsNotification

public abstract AutoscaleSetting.Update withoutCustomEmailsNotification()

Removes email notification to custom email addresses.

Returns:

the next stage of autoscale setting update.

withoutWebhookNotification

public abstract AutoscaleSetting.Update withoutWebhookNotification()

Removes service from autoscale notification.

Returns:

the next stage of autoscale setting update.

Applies to