Interface AutoscaleSetting
-
- All Superinterfaces:
GroupableResource<MonitorManager,AutoscaleSettingResourceInner>,HasId,HasInnerModel<AutoscaleSettingResourceInner>,HasManager<MonitorManager>,HasName,HasResourceGroup,Indexable,Refreshable<AutoscaleSetting>,Resource,Updatable<AutoscaleSetting.Update>
public interface AutoscaleSetting extends GroupableResource<MonitorManager,AutoscaleSettingResourceInner>, Refreshable<AutoscaleSetting>, Updatable<AutoscaleSetting.Update>
An immutable client-side representation of an Azure autoscale setting.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceAutoscaleSetting.DefinitionThe entirety of an autoscale setting definition.static interfaceAutoscaleSetting.DefinitionStagesGrouping of autoscale setting definition stages.static interfaceAutoscaleSetting.UpdateGrouping of autoscale setting update stages.static interfaceAutoscaleSetting.UpdateStagesGrouping of autoscale setting update stages.-
Nested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T extends Object>, Resource.DefinitionWithTags<T extends Object>, Resource.UpdateWithTags<T extends Object>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanadminEmailNotificationEnabled()Get a value indicating whether to send email to subscription administrator.booleanautoscaleEnabled()Get the enabled flag.booleancoAdminEmailNotificationEnabled()Get a value indicating whether to send email to subscription co-administrators.List<String>customEmailsNotification()Get the custom e-mails list.Map<String,AutoscaleProfile>profiles()Gets the autoscale profiles in the current autoscale setting.StringtargetResourceId()Get the resource identifier of the resource that the autoscale setting should be added to.StringwebhookNotification()Get the service address to receive the notification.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
-
-
-
Method Detail
-
targetResourceId
String targetResourceId()
Get the resource identifier of the resource that the autoscale setting should be added to.- Returns:
- the targetResourceUri value.
-
profiles
Map<String,AutoscaleProfile> profiles()
Gets the autoscale profiles in the current autoscale setting.- Returns:
- autoscale profiles in the current autoscale setting, indexed by name
-
autoscaleEnabled
boolean autoscaleEnabled()
Get the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'.- Returns:
- the enabled value.
-
adminEmailNotificationEnabled
boolean adminEmailNotificationEnabled()
Get a value indicating whether to send email to subscription administrator.- Returns:
- the sendToSubscriptionAdministrator value.
-
coAdminEmailNotificationEnabled
boolean coAdminEmailNotificationEnabled()
Get a value indicating whether to send email to subscription co-administrators.- Returns:
- the sendToSubscriptionCoAdministrators value
-
customEmailsNotification
List<String> 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.
-
webhookNotification
String webhookNotification()
Get the service address to receive the notification.- Returns:
- the serviceUri value.
-
-