AutoscaleSetting Interface

Implements

public interface AutoscaleSetting
extends GroupableResource<MonitorManager,AutoscaleSettingResourceInner>, Refreshable<AutoscaleSetting>, Updatable<Update>

An immutable client-side representation of an Azure autoscale setting.

Method Summary

Modifier and Type Method and Description
abstract boolean adminEmailNotificationEnabled()

Get a value indicating whether to send email to subscription administrator.

abstract boolean autoscaleEnabled()

Get the enabled flag.

abstract boolean coAdminEmailNotificationEnabled()

Get a value indicating whether to send email to subscription co-administrators.

abstract List<String> customEmailsNotification()

Get the custom e-mails list.

abstract Map<String,AutoscaleProfile> profiles()

Gets the autoscale profiles in the current autoscale setting.

abstract String targetResourceId()

Get the resource identifier of the resource that the autoscale setting should be added to.

abstract String webhookNotification()

Get the service address to receive the notification.

Method Details

adminEmailNotificationEnabled

public abstract boolean adminEmailNotificationEnabled()

Get a value indicating whether to send email to subscription administrator.

Returns:

the sendToSubscriptionAdministrator value.

autoscaleEnabled

public abstract boolean autoscaleEnabled()

Get the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'.

Returns:

the enabled value.

coAdminEmailNotificationEnabled

public abstract boolean coAdminEmailNotificationEnabled()

Get a value indicating whether to send email to subscription co-administrators.

Returns:

the sendToSubscriptionCoAdministrators value

customEmailsNotification

public abstract List customEmailsNotification()

Get the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored.

Returns:

the customEmails value.

profiles

public abstract Map profiles()

Gets the autoscale profiles in the current autoscale setting.

Returns:

autoscale profiles in the current autoscale setting, indexed by name

targetResourceId

public abstract String targetResourceId()

Get the resource identifier of the resource that the autoscale setting should be added to.

Returns:

the targetResourceUri value.

webhookNotification

public abstract String webhookNotification()

Get the service address to receive the notification.

Returns:

the serviceUri value.

Applies to