AutoscaleSetting Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A setting that contains all of the configuration for the automatic scaling of a resource.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.AutoscaleSettingTypeConverter))]
public class AutoscaleSetting : Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IAutoscaleSetting
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.AutoscaleSettingTypeConverter))>]
type AutoscaleSetting = class
interface IAutoscaleSetting
interface IJsonSerializable
Public Class AutoscaleSetting
Implements IAutoscaleSetting
- Inheritance
-
AutoscaleSetting
- Attributes
- Implements
Constructors
AutoscaleSetting() |
Creates an new AutoscaleSetting instance. |
Properties
Enabled |
the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'. |
Name |
the name of the autoscale setting. |
Notification |
the collection of notifications. |
PredictiveAutoscalePolicyScaleLookAheadTime |
the amount of time to specify by which instances are launched in advance. It must be between 1 minute and 60 minutes in ISO 8601 format. |
PredictiveAutoscalePolicyScaleMode |
the predictive autoscale mode |
Profile |
the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. |
TargetResourceLocation |
the location of the resource that the autoscale setting should be added to. |
TargetResourceUri |
the resource identifier of the resource that the autoscale setting should be added to. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of AutoscaleSetting. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of AutoscaleSetting. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IAutoscaleSetting. |
FromJsonString(String) |
Creates a new instance of AutoscaleSetting, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of AutoscaleSetting into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |