Class Action
The action to take when autoscaling is triggered.
Inherited Members
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