Retry policy for an enrollment hook action.
| Name | Type | Description | Notes |
|---|---|---|---|
| max_attempts | int | Maximum number of retry attempts. Defaults to 5, max 20. | [optional] |
| backoff_policy | str | Backoff strategy (e.g. "exponential"). Defaults to "exponential". | [optional] |
| backoff_delay | str | Initial backoff delay duration (e.g. "2s"). Defaults to "2s". | [optional] |
| max_backoff | str | Maximum backoff duration (e.g. "2m"). Defaults to "2m". | [optional] |
| deadline | str | Overall deadline for all retry attempts (e.g. "10m"). Defaults to "10m". | [optional] |
from flightctl.models.enrollment_hook_retry_policy import EnrollmentHookRetryPolicy
# TODO update the JSON string below
json = "{}"
# create an instance of EnrollmentHookRetryPolicy from a JSON string
enrollment_hook_retry_policy_instance = EnrollmentHookRetryPolicy.from_json(json)
# print the JSON string representation of the object
print(EnrollmentHookRetryPolicy.to_json())
# convert the object into a dict
enrollment_hook_retry_policy_dict = enrollment_hook_retry_policy_instance.to_dict()
# create an instance of EnrollmentHookRetryPolicy from a dict
enrollment_hook_retry_policy_from_dict = EnrollmentHookRetryPolicy.from_dict(enrollment_hook_retry_policy_dict)