public class AutoscaleSettingResourcePatch extends Object
Constructor and Description |
---|
AutoscaleSettingResourcePatch() |
Modifier and Type | Method and Description |
---|---|
Boolean |
enabled()
Get the enabled flag.
|
String |
name()
Get the name of the autoscale setting.
|
List<AutoscaleNotification> |
notifications()
Get the collection of notifications.
|
List<com.microsoft.azure.management.monitor.implementation.AutoscaleProfileInner> |
profiles()
Get the collection of automatic scaling profiles that specify different scaling parameters for different time periods.
|
Map<String,String> |
tags()
Get resource tags.
|
String |
targetResourceUri()
Get the resource identifier of the resource that the autoscale setting should be added to.
|
AutoscaleSettingResourcePatch |
withEnabled(Boolean enabled)
Set the enabled flag.
|
AutoscaleSettingResourcePatch |
withName(String name)
Set the name of the autoscale setting.
|
AutoscaleSettingResourcePatch |
withNotifications(List<AutoscaleNotification> notifications)
Set the collection of notifications.
|
AutoscaleSettingResourcePatch |
withProfiles(List<com.microsoft.azure.management.monitor.implementation.AutoscaleProfileInner> profiles)
Set the collection of automatic scaling profiles that specify different scaling parameters for different time periods.
|
AutoscaleSettingResourcePatch |
withTags(Map<String,String> tags)
Set resource tags.
|
AutoscaleSettingResourcePatch |
withTargetResourceUri(String targetResourceUri)
Set the resource identifier of the resource that the autoscale setting should be added to.
|
public AutoscaleSettingResourcePatch withTags(Map<String,String> tags)
tags
- the tags value to setpublic List<com.microsoft.azure.management.monitor.implementation.AutoscaleProfileInner> profiles()
public AutoscaleSettingResourcePatch withProfiles(List<com.microsoft.azure.management.monitor.implementation.AutoscaleProfileInner> profiles)
profiles
- the profiles value to setpublic List<AutoscaleNotification> notifications()
public AutoscaleSettingResourcePatch withNotifications(List<AutoscaleNotification> notifications)
notifications
- the notifications value to setpublic Boolean enabled()
public AutoscaleSettingResourcePatch withEnabled(Boolean enabled)
enabled
- the enabled value to setpublic String name()
public AutoscaleSettingResourcePatch withName(String name)
name
- the name value to setpublic String targetResourceUri()
public AutoscaleSettingResourcePatch withTargetResourceUri(String targetResourceUri)
targetResourceUri
- the targetResourceUri value to setCopyright © 2019. All rights reserved.