Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.29 KB

EnrollmentRequestSpec.md

File metadata and controls

32 lines (23 loc) · 1.29 KB

EnrollmentRequestSpec

EnrollmentRequestSpec is a description of a EnrollmentRequest's target state.

Properties

Name Type Description Notes
csr str csr is a PEM-encoded PKCS#10 certificate signing request.
device_status DeviceStatus [optional]
labels Dict[str, str] A set of labels that the service will apply to this device when its enrollment is approved [optional]

Example

from flightctl.models.enrollment_request_spec import EnrollmentRequestSpec

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

# convert the object into a dict
enrollment_request_spec_dict = enrollment_request_spec_instance.to_dict()
# create an instance of EnrollmentRequestSpec from a dict
enrollment_request_spec_from_dict = EnrollmentRequestSpec.from_dict(enrollment_request_spec_dict)

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