AutoScalingConfiguration¶
-
class
oci.bds.models.
AutoScalingConfiguration
(**kwargs)¶ Bases:
object
The information about the autoscale configuration.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a AutoScalingConfiguration. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a AutoScalingConfiguration. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a AutoScalingConfiguration. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a AutoScalingConfiguration. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a AutoScalingConfiguration. LIFECYCLE_STATE_INACTIVE
A constant which can be used with the lifecycle_state property of a AutoScalingConfiguration. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a AutoScalingConfiguration. display_name
[Required] Gets the display_name of this AutoScalingConfiguration. id
[Required] Gets the id of this AutoScalingConfiguration. lifecycle_state
[Required] Gets the lifecycle_state of this AutoScalingConfiguration. node_type
[Required] Gets the node_type of this AutoScalingConfiguration. policy
[Required] Gets the policy of this AutoScalingConfiguration. policy_details
Gets the policy_details of this AutoScalingConfiguration. time_created
[Required] Gets the time_created of this AutoScalingConfiguration. time_updated
[Required] Gets the time_updated of this AutoScalingConfiguration. Methods
__init__
(**kwargs)Initializes a new AutoScalingConfiguration object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a AutoScalingConfiguration. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a AutoScalingConfiguration. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a AutoScalingConfiguration. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a AutoScalingConfiguration. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a AutoScalingConfiguration. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_INACTIVE
= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a AutoScalingConfiguration. This constant has a value of “INACTIVE”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a AutoScalingConfiguration. This constant has a value of “UPDATING”
-
__init__
(**kwargs)¶ Initializes a new AutoScalingConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this AutoScalingConfiguration.
- display_name (str) – The value to assign to the display_name property of this AutoScalingConfiguration.
- node_type (str) – The value to assign to the node_type property of this AutoScalingConfiguration.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this AutoScalingConfiguration. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this AutoScalingConfiguration.
- time_updated (datetime) – The value to assign to the time_updated property of this AutoScalingConfiguration.
- policy (oci.bds.models.AutoScalePolicy) – The value to assign to the policy property of this AutoScalingConfiguration.
- policy_details (oci.bds.models.AutoScalePolicyDetails) – The value to assign to the policy_details property of this AutoScalingConfiguration.
-
display_name
¶ [Required] Gets the display_name of this AutoScalingConfiguration. A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
Returns: The display_name of this AutoScalingConfiguration. Return type: str
-
id
¶ [Required] Gets the id of this AutoScalingConfiguration. The unique identifier for the autoscale configuration.
Returns: The id of this AutoScalingConfiguration. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this AutoScalingConfiguration. The state of the autoscale configuration.
Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this AutoScalingConfiguration. Return type: str
-
node_type
¶ [Required] Gets the node_type of this AutoScalingConfiguration. A node type that is managed by an autoscale configuration. The only supported types are WORKER and COMPUTE_ONLY_WORKER.
Returns: The node_type of this AutoScalingConfiguration. Return type: str
-
policy
¶ [Required] Gets the policy of this AutoScalingConfiguration.
Returns: The policy of this AutoScalingConfiguration. Return type: oci.bds.models.AutoScalePolicy
-
policy_details
¶ Gets the policy_details of this AutoScalingConfiguration.
Returns: The policy_details of this AutoScalingConfiguration. Return type: oci.bds.models.AutoScalePolicyDetails
-
time_created
¶ [Required] Gets the time_created of this AutoScalingConfiguration. The time the cluster was created, shown as an RFC 3339 formatted datetime string.
Returns: The time_created of this AutoScalingConfiguration. Return type: datetime
-
time_updated
¶ [Required] Gets the time_updated of this AutoScalingConfiguration. The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
Returns: The time_updated of this AutoScalingConfiguration. Return type: datetime
-