ComputeInstanceGroupRolloutPolicy¶
-
class
oci.devops.models.
ComputeInstanceGroupRolloutPolicy
(**kwargs)¶ Bases:
object
Specifies the rollout policy for compute instance group stages.
Attributes
POLICY_TYPE_COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_COUNT
A constant which can be used with the policy_type property of a ComputeInstanceGroupRolloutPolicy. POLICY_TYPE_COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_PERCENTAGE
A constant which can be used with the policy_type property of a ComputeInstanceGroupRolloutPolicy. batch_delay_in_seconds
Gets the batch_delay_in_seconds of this ComputeInstanceGroupRolloutPolicy. policy_type
[Required] Gets the policy_type of this ComputeInstanceGroupRolloutPolicy. Methods
__init__
(**kwargs)Initializes a new ComputeInstanceGroupRolloutPolicy 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. -
POLICY_TYPE_COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_COUNT
= 'COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_COUNT'¶ A constant which can be used with the policy_type property of a ComputeInstanceGroupRolloutPolicy. This constant has a value of “COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_COUNT”
-
POLICY_TYPE_COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_PERCENTAGE
= 'COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_PERCENTAGE'¶ A constant which can be used with the policy_type property of a ComputeInstanceGroupRolloutPolicy. This constant has a value of “COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_PERCENTAGE”
-
__init__
(**kwargs)¶ Initializes a new ComputeInstanceGroupRolloutPolicy 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: - policy_type (str) – The value to assign to the policy_type property of this ComputeInstanceGroupRolloutPolicy. Allowed values for this property are: “COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_COUNT”, “COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_PERCENTAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- batch_delay_in_seconds (int) – The value to assign to the batch_delay_in_seconds property of this ComputeInstanceGroupRolloutPolicy.
-
batch_delay_in_seconds
¶ Gets the batch_delay_in_seconds of this ComputeInstanceGroupRolloutPolicy. The duration of delay between batch rollout. The default delay is 1 minute.
Returns: The batch_delay_in_seconds of this ComputeInstanceGroupRolloutPolicy. Return type: int
-
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.
-
policy_type
¶ [Required] Gets the policy_type of this ComputeInstanceGroupRolloutPolicy. The type of policy used for rolling out a deployment stage.
Allowed values for this property are: “COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_COUNT”, “COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_PERCENTAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The policy_type of this ComputeInstanceGroupRolloutPolicy. Return type: str
-