Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.6 KB

File metadata and controls

30 lines (23 loc) · 1.6 KB

V1beta2DeviceClaim

DeviceClaim defines how to request devices with a ResourceClaim.

Properties

Name Type Description Notes
config List[V1beta2DeviceClaimConfiguration] 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[V1beta2DeviceConstraint] These constraints must be satisfied by the set of devices that get allocated for the claim. [optional]
requests List[V1beta2DeviceRequest] Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. [optional]

Example

from kubernetes.client.models.v1beta2_device_claim import V1beta2DeviceClaim

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

# convert the object into a dict
v1beta2_device_claim_dict = v1beta2_device_claim_instance.to_dict()
# create an instance of V1beta2DeviceClaim from a dict
v1beta2_device_claim_from_dict = V1beta2DeviceClaim.from_dict(v1beta2_device_claim_dict)

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