Show / Hide Table of Contents

Class Action

The action to take when autoscaling is triggered.

Inheritance
object
Action
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AutoscalingService.Models
Assembly: OCI.DotNetSDK.Autoscaling.dll
Syntax
public class Action

Properties

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Action.TypeEnum? Type { get; set; }
Property Value
Type Description
Action.TypeEnum?

The type of action to take.

Remarks

Required

Value

Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public int? Value { get; set; }
Property Value
Type Description
int?

To scale out (increase the number of instances), provide a positive value. To scale in (decrease the number of instances), provide a negative value.

Remarks

Required

In this article
Back to top