Sdílet prostřednictvím


ClusterAutoscaleProfile Class

Definition

This is the Autoscale profile for the cluster. This will allow customer to create cluster enabled with Autoscale.

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

Constructors

ClusterAutoscaleProfile(Boolean)

Initializes a new instance of ClusterAutoscaleProfile.

Properties

AutoscaleType

User to specify which type of Autoscale to be implemented - Scheduled Based or Load Based.

GracefulDecommissionTimeout

This property is for graceful decommission timeout; It has a default setting of 3600 seconds before forced shutdown takes place. This is the maximal time to wait for running containers and applications to complete before transition a DECOMMISSIONING node into DECOMMISSIONED. The default value is 3600 seconds. Negative value (like -1) is handled as infinite timeout.

IsEnabled

This indicates whether auto scale is enabled on HDInsight on AKS cluster.

LoadBasedConfig

Profiles of load based Autoscale.

ScheduleBasedConfig

Profiles of schedule based Autoscale.

Explicit Interface Implementations

IJsonModel<ClusterAutoscaleProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ClusterAutoscaleProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClusterAutoscaleProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClusterAutoscaleProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ClusterAutoscaleProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to