Class AutoScalePolicy
This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the AutoScalePolicyDetails
model to manage autoscale policy details for ODH clusters.
Inherited Members
Namespace: Oci.BdsService.Models
Assembly: OCI.DotNetSDK.Bds.dll
Syntax
public class AutoScalePolicy
Properties
PolicyType
Declaration
[Required(ErrorMessage = "PolicyType is required.")]
[JsonProperty(PropertyName = "policyType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AutoScalePolicy.PolicyTypeEnum? PolicyType { get; set; }
Property Value
Type | Description |
---|---|
AutoScalePolicy.PolicyTypeEnum? | Types of autoscale policies. Options are SCHEDULE-BASED or THRESHOLD-BASED. (Only THRESHOLD-BASED is supported in this release.) |
Remarks
Required
Rules
Declaration
[Required(ErrorMessage = "Rules is required.")]
[JsonProperty(PropertyName = "rules")]
public List<AutoScalePolicyRule> Rules { get; set; }
Property Value
Type | Description |
---|---|
List<AutoScalePolicyRule> | The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied. |
Remarks
Required