Show / Hide Table of Contents

Class CreateAutoScalingConfigurationDetails

Creation details for an autoscaling configuration.

Inheritance
object
CreateAutoScalingConfigurationDetails
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 CreateAutoScalingConfigurationDetails

Properties

CompartmentId

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

The OCID of the compartment containing the autoscaling configuration.

Remarks

Required

CoolDownInSeconds

Declaration
[JsonProperty(PropertyName = "coolDownInSeconds")]
public int? CoolDownInSeconds { get; set; }
Property Value
Type Description
int?

For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period starts when the instance pool reaches the running state.
For schedule-based autoscaling policies, this value is not used.

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}

IsEnabled

Declaration
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type Description
bool?

Whether the autoscaling configuration is enabled.

Policies

Declaration
[Required(ErrorMessage = "Policies is required.")]
[JsonProperty(PropertyName = "policies")]
public List<CreateAutoScalingPolicyDetails> Policies { get; set; }
Property Value
Type Description
List<CreateAutoScalingPolicyDetails>
Remarks

Required

Resource

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

Required

In this article
Back to top