你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AutoscaleSettingResourcePatch 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.
The autoscale setting object for patch operations.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.AutoscaleSettingResourcePatchTypeConverter))]
public class AutoscaleSettingResourcePatch : Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IAutoscaleSettingResourcePatch
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.AutoscaleSettingResourcePatchTypeConverter))>]
type AutoscaleSettingResourcePatch = class
interface IAutoscaleSettingResourcePatch
interface IJsonSerializable
Public Class AutoscaleSettingResourcePatch
Implements IAutoscaleSettingResourcePatch
- Inheritance
-
AutoscaleSettingResourcePatch
- Attributes
- Implements
Constructors
AutoscaleSettingResourcePatch() |
Creates an new AutoscaleSettingResourcePatch 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. |
Tag |
Resource tags |
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 AutoscaleSettingResourcePatch. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of AutoscaleSettingResourcePatch. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IAutoscaleSettingResourcePatch. |
FromJsonString(String) |
Creates a new instance of AutoscaleSettingResourcePatch, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of AutoscaleSettingResourcePatch into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |