public class AutoscaleSettingResourceInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
AutoscaleSettingResourceInner() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get the enabled property: the enabled flag.
|
String |
namePropertiesName()
Get the namePropertiesName property: the name of the autoscale setting.
|
List<AutoscaleNotification> |
notifications()
Get the notifications property: the collection of notifications.
|
List<AutoscaleProfileInner> |
profiles()
Get the profiles property: the collection of automatic scaling profiles that specify different scaling parameters
for different time periods.
|
String |
targetResourceUri()
Get the targetResourceUri property: the resource identifier of the resource that the autoscale setting should be
added to.
|
void |
validate()
Validates the instance.
|
AutoscaleSettingResourceInner |
withEnabled(Boolean enabled)
Set the enabled property: the enabled flag.
|
AutoscaleSettingResourceInner |
withNamePropertiesName(String namePropertiesName)
Set the namePropertiesName property: the name of the autoscale setting.
|
AutoscaleSettingResourceInner |
withNotifications(List<AutoscaleNotification> notifications)
Set the notifications property: the collection of notifications.
|
AutoscaleSettingResourceInner |
withProfiles(List<AutoscaleProfileInner> profiles)
Set the profiles property: the collection of automatic scaling profiles that specify different scaling parameters
for different time periods.
|
AutoscaleSettingResourceInner |
withTargetResourceUri(String targetResourceUri)
Set the targetResourceUri property: the resource identifier of the resource that the autoscale setting should be
added to.
|
public List<AutoscaleProfileInner> profiles()
public AutoscaleSettingResourceInner withProfiles(List<AutoscaleProfileInner> profiles)
profiles - the profiles value to set.public List<AutoscaleNotification> notifications()
public AutoscaleSettingResourceInner withNotifications(List<AutoscaleNotification> notifications)
notifications - the notifications value to set.public Boolean enabled()
public AutoscaleSettingResourceInner withEnabled(Boolean enabled)
enabled - the enabled value to set.public String namePropertiesName()
public AutoscaleSettingResourceInner withNamePropertiesName(String namePropertiesName)
namePropertiesName - the namePropertiesName value to set.public String targetResourceUri()
public AutoscaleSettingResourceInner withTargetResourceUri(String targetResourceUri)
targetResourceUri - the targetResourceUri value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.