DeviceSpec describes a device.
| Name | Type | Description | Notes |
|---|---|---|---|
| update_policy | DeviceUpdatePolicySpec | [optional] | |
| os | DeviceOsSpec | [optional] | |
| config | List[ConfigProviderSpec] | List of config providers. | [optional] |
| applications | List[ApplicationProviderSpec] | List of application providers. | [optional] |
| systemd | DeviceSpecSystemd | [optional] | |
| resources | List[ResourceMonitor] | Array of resource monitor configurations. | [optional] |
| consoles | List[DeviceConsole] | The list of active console sessions. | [optional] |
| decommissioning | DeviceDecommission | [optional] |
from flightctl.models.device_spec import DeviceSpec
# TODO update the JSON string below
json = "{}"
# create an instance of DeviceSpec from a JSON string
device_spec_instance = DeviceSpec.from_json(json)
# print the JSON string representation of the object
print(DeviceSpec.to_json())
# convert the object into a dict
device_spec_dict = device_spec_instance.to_dict()
# create an instance of DeviceSpec from a dict
device_spec_from_dict = DeviceSpec.from_dict(device_spec_dict)