ManagedComputeClusterAutoScalingPolicyDetails¶
- class oci.data_science.models.ManagedComputeClusterAutoScalingPolicyDetails(**kwargs)¶
Bases:
objectDetails for an autoscaling policy to enable on the managed compute cluster type compute target . Each autoscaling configuration can have one autoscaling policy.
Attributes:
A constant which can be used with the auto_scaling_policy_type property of a ManagedComputeClusterAutoScalingPolicyDetails.
[Required] Gets the auto_scaling_policy_type of this ManagedComputeClusterAutoScalingPolicyDetails.
Methods:
__init__(**kwargs)Initializes a new ManagedComputeClusterAutoScalingPolicyDetails object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- AUTO_SCALING_POLICY_TYPE_THRESHOLD = 'THRESHOLD'¶
A constant which can be used with the auto_scaling_policy_type property of a ManagedComputeClusterAutoScalingPolicyDetails. This constant has a value of “THRESHOLD”
- __init__(**kwargs)¶
Initializes a new ManagedComputeClusterAutoScalingPolicyDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
auto_scaling_policy_type (str) – The value to assign to the auto_scaling_policy_type property of this ManagedComputeClusterAutoScalingPolicyDetails. Allowed values for this property are: “THRESHOLD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property auto_scaling_policy_type¶
[Required] Gets the auto_scaling_policy_type of this ManagedComputeClusterAutoScalingPolicyDetails. The type of autoscaling policy.
Allowed values for this property are: “THRESHOLD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The auto_scaling_policy_type of this ManagedComputeClusterAutoScalingPolicyDetails.
- Return type
str
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.