LoadBalancerTrafficShiftRolloutPolicy

class oci.devops.models.LoadBalancerTrafficShiftRolloutPolicy(**kwargs)

Bases: object

Description of rollout policy for load balancer traffic shift stage.

Methods:

__init__(**kwargs)

Initializes a new LoadBalancerTrafficShiftRolloutPolicy object with values from keyword arguments.

Attributes:

batch_count

[Required] Gets the batch_count of this LoadBalancerTrafficShiftRolloutPolicy.

batch_delay_in_seconds

Gets the batch_delay_in_seconds of this LoadBalancerTrafficShiftRolloutPolicy.

ramp_limit_percent

Gets the ramp_limit_percent of this LoadBalancerTrafficShiftRolloutPolicy.

__init__(**kwargs)

Initializes a new LoadBalancerTrafficShiftRolloutPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • batch_count (int) – The value to assign to the batch_count property of this LoadBalancerTrafficShiftRolloutPolicy.

  • batch_delay_in_seconds (int) – The value to assign to the batch_delay_in_seconds property of this LoadBalancerTrafficShiftRolloutPolicy.

  • ramp_limit_percent (float) – The value to assign to the ramp_limit_percent property of this LoadBalancerTrafficShiftRolloutPolicy.

property batch_count

[Required] Gets the batch_count of this LoadBalancerTrafficShiftRolloutPolicy. Specifies number of batches for this stage.

Returns

The batch_count of this LoadBalancerTrafficShiftRolloutPolicy.

Return type

int

property batch_delay_in_seconds

Gets the batch_delay_in_seconds of this LoadBalancerTrafficShiftRolloutPolicy. Specifies delay in seconds between batches. The default delay is 1 minute.

Returns

The batch_delay_in_seconds of this LoadBalancerTrafficShiftRolloutPolicy.

Return type

int

property ramp_limit_percent

Gets the ramp_limit_percent of this LoadBalancerTrafficShiftRolloutPolicy. Indicates the criteria to stop.

Returns

The ramp_limit_percent of this LoadBalancerTrafficShiftRolloutPolicy.

Return type

float