AutoScalingPolicyDetails¶
-
class
oci.data_science.models.
AutoScalingPolicyDetails
(**kwargs)¶ Bases:
object
Details for an autoscaling policy to enable on the model deployment. Each autoscaling configuration can have one autoscaling policy. In a threshold-based autoscaling policy, an autoscaling action is triggered when a performance metric meets or exceeds a threshold.
Attributes
AUTO_SCALING_POLICY_TYPE_THRESHOLD
A constant which can be used with the auto_scaling_policy_type property of a AutoScalingPolicyDetails. auto_scaling_policy_type
[Required] Gets the auto_scaling_policy_type of this AutoScalingPolicyDetails. Methods
__init__
(**kwargs)Initializes a new AutoScalingPolicyDetails 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 AutoScalingPolicyDetails. This constant has a value of “THRESHOLD”
-
__init__
(**kwargs)¶ Initializes a new AutoScalingPolicyDetails 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 AutoScalingPolicyDetails. Allowed values for this property are: “THRESHOLD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
auto_scaling_policy_type
¶ [Required] Gets the auto_scaling_policy_type of this AutoScalingPolicyDetails. 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 AutoScalingPolicyDetails. 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.
-