Share via


TargetUtilizationScaleSettings Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.TargetUtilizationScaleSettingsTypeConverter))]
public class TargetUtilizationScaleSettings : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ITargetUtilizationScaleSettings, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.TargetUtilizationScaleSettingsTypeConverter))>]
type TargetUtilizationScaleSettings = class
    interface ITargetUtilizationScaleSettings
    interface IJsonSerializable
    interface IOnlineScaleSettings
    interface IValidates
Public Class TargetUtilizationScaleSettings
Implements ITargetUtilizationScaleSettings, IValidates
Inheritance
TargetUtilizationScaleSettings
Attributes
Implements

Constructors

TargetUtilizationScaleSettings()

Creates an new TargetUtilizationScaleSettings instance.

Properties

MaxInstance

The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances.

MinInstance

The minimum number of instances to always be present.

PollingInterval

The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds.

ScaleType

[Required] Type of deployment scaling algorithm

TargetUtilizationPercentage

Target CPU usage for the autoscaler.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TargetUtilizationScaleSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TargetUtilizationScaleSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ITargetUtilizationScaleSettings.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TargetUtilizationScaleSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to