Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.42 KB

File metadata and controls

33 lines (24 loc) · 1.42 KB

RolloutPolicy

RolloutPolicy is the rollout policy of the fleet.

Properties

Name Type Description Notes
disruption_budget DisruptionBudget [optional]
device_selection BatchSequence [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. [optional]

Example

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)

[Back to Model list] [Back to API list] [Back to README]