Sdílet prostřednictvím


AutoscaleSettingPatch Class

Definition

The autoscale setting object for patch operations.

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

Constructors

AutoscaleSettingPatch()

Initializes a new instance of AutoscaleSettingPatch.

Properties

AutoscaleSettingName

the name of the autoscale setting.

IsEnabled

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

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.

Tags

Resource tags.

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.

Explicit Interface Implementations

IJsonModel<AutoscaleSettingPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutoscaleSettingPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutoscaleSettingPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutoscaleSettingPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutoscaleSettingPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to