Partager via


AutoscaleSettingResource Class

Definition

The autoscale setting resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.AutoscaleSettingResourceTypeConverter))]
public class AutoscaleSettingResource : Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IAutoscaleSettingResource, Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.AutoscaleSettingResourceTypeConverter))>]
type AutoscaleSettingResource = class
    interface IAutoscaleSettingResource
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class AutoscaleSettingResource
Implements IAutoscaleSettingResource, IValidates
Inheritance
AutoscaleSettingResource
Attributes
Implements

Constructors

AutoscaleSettingResource()

Creates an new AutoscaleSettingResource instance.

Properties

Enabled

the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'.

Id

Azure resource Id

Location

Resource location

Name

Azure resource name

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.

PropertiesName

the name of the autoscale setting.

SystemData

The system metadata related to the response.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.

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.

Type

Azure resource type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AutoscaleSettingResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AutoscaleSettingResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IAutoscaleSettingResource.

FromJsonString(String)

Creates a new instance of AutoscaleSettingResource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AutoscaleSettingResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to