DeviceClaim defines how to request devices with a ResourceClaim.
| Name | Type | Description | Notes |
|---|---|---|---|
| config | List[V1DeviceClaimConfiguration] | This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim. | [optional] |
| constraints | List[V1DeviceConstraint] | These constraints must be satisfied by the set of devices that get allocated for the claim. | [optional] |
| requests | List[V1DeviceRequest] | Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. | [optional] |
from kubernetes.client.models.v1_device_claim import V1DeviceClaim
# TODO update the JSON string below
json = "{}"
# create an instance of V1DeviceClaim from a JSON string
v1_device_claim_instance = V1DeviceClaim.from_json(json)
# print the JSON string representation of the object
print(V1DeviceClaim.to_json())
# convert the object into a dict
v1_device_claim_dict = v1_device_claim_instance.to_dict()
# create an instance of V1DeviceClaim from a dict
v1_device_claim_from_dict = V1DeviceClaim.from_dict(v1_device_claim_dict)