RolloutPolicy is the rollout policy of the fleet.
Name | Type | Description | Notes |
---|---|---|---|
disruption_allowance | DisruptionAllowance | [optional] | |
device_selection | RolloutDeviceSelection | [optional] | |
success_threshold | str | Percentage is the string format representing percentage string. | [optional] |
default_update_timeout | str | The maximum duration allowed for the action to complete. The duration should be specified as a positive integer followed by a time unit. Supported time units are: - 's' for seconds - 'm' for minutes - 'h' for hours - 'd' for days | [optional] |
from flightctl.models.rollout_policy import RolloutPolicy
# TODO update the JSON string below
json = "{}"
# create an instance of RolloutPolicy from a JSON string
rollout_policy_instance = RolloutPolicy.from_json(json)
# print the JSON string representation of the object
print(RolloutPolicy.to_json())
# convert the object into a dict
rollout_policy_dict = rollout_policy_instance.to_dict()
# create an instance of RolloutPolicy from a dict
rollout_policy_from_dict = RolloutPolicy.from_dict(rollout_policy_dict)