Class AutoScalePolicyDetails
Details of an autoscale policy.
You can create following types of autoscaling policies:
- MetricBasedVerticalScalingPolicy: Vertical autoscaling action is triggered when a performance metric exceeds a threshold
- MetricBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered when a performance metric exceeds a threshold
- ScheduleBasedVerticalScalingPolicy: Vertical autoscaling action is triggered at the specific times that you schedule.
- ScheduleBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered at the specific times that you schedule.
Inheritance
AutoScalePolicyDetails
Inherited Members
Namespace: Oci.BdsService.Models
Assembly: OCI.DotNetSDK.Bds.dll
Syntax
[JsonConverter(typeof(AutoScalePolicyDetailsModelConverter))]
public class AutoScalePolicyDetails
Properties
ActionType
Declaration
[Required(ErrorMessage = "ActionType is required.")]
[JsonProperty(PropertyName = "actionType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AutoScalePolicyDetails.ActionTypeEnum? ActionType { get; set; }
Property Value
Type | Description |
---|---|
AutoScalePolicyDetails.ActionTypeEnum? | The type of autoscaling action to take. |
Remarks
Required
TriggerType
Declaration
[Required(ErrorMessage = "TriggerType is required.")]
[JsonProperty(PropertyName = "triggerType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AutoScalePolicyDetails.TriggerTypeEnum? TriggerType { get; set; }
Property Value
Type | Description |
---|---|
AutoScalePolicyDetails.TriggerTypeEnum? | The type of autoscaling trigger. |
Remarks
Required