Share via


AutoscaleSettingData Class

Definition

A class representing the AutoscaleSetting data model. The autoscale setting resource.

public class AutoscaleSettingData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.AutoscaleSettingData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.AutoscaleSettingData>
type AutoscaleSettingData = class
    inherit TrackedResourceData
    interface IJsonModel<AutoscaleSettingData>
    interface IPersistableModel<AutoscaleSettingData>
Public Class AutoscaleSettingData
Inherits TrackedResourceData
Implements IJsonModel(Of AutoscaleSettingData), IPersistableModel(Of AutoscaleSettingData)
Inheritance
AutoscaleSettingData
Implements

Constructors

AutoscaleSettingData(AzureLocation, IEnumerable<AutoscaleProfile>)

Initializes a new instance of AutoscaleSettingData.

Properties

AutoscaleSettingName

the name of the autoscale setting.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsEnabled

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

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Notifications

the collection of notifications.

PredictiveAutoscalePolicy

the predictive autoscale policy mode.

Profiles

the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
TargetResourceId

the resource identifier of the resource that the autoscale setting should be added to.

TargetResourceLocation

the location of the resource that the autoscale setting should be added to.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<AutoscaleSettingData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AutoscaleSettingData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutoscaleSettingData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutoscaleSettingData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AutoscaleSettingData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to