Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.28 KB

EnrollmentHookSnapshot.md

File metadata and controls

29 lines (22 loc) · 1.28 KB

EnrollmentHookSnapshot

Immutable non-secret copy of EnrollmentHookPolicy fields captured at approval time.

Properties

Name Type Description Notes
failure_policy FailurePolicyType
control_plane_actions List[EnrollmentHookSnapshotAction] Non-secret copies of control-plane actions from the policy at approval time. [optional]

Example

from flightctl.models.enrollment_hook_snapshot import EnrollmentHookSnapshot

# TODO update the JSON string below
json = "{}"
# create an instance of EnrollmentHookSnapshot from a JSON string
enrollment_hook_snapshot_instance = EnrollmentHookSnapshot.from_json(json)
# print the JSON string representation of the object
print(EnrollmentHookSnapshot.to_json())

# convert the object into a dict
enrollment_hook_snapshot_dict = enrollment_hook_snapshot_instance.to_dict()
# create an instance of EnrollmentHookSnapshot from a dict
enrollment_hook_snapshot_from_dict = EnrollmentHookSnapshot.from_dict(enrollment_hook_snapshot_dict)

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