Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.43 KB

File metadata and controls

30 lines (23 loc) · 1.43 KB

V1AllocationResult

AllocationResult contains attributes of an allocated resource.

Properties

Name Type Description Notes
allocation_timestamp datetime AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown. This is a beta field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate. [optional]
devices V1DeviceAllocationResult [optional]
node_selector V1NodeSelector [optional]

Example

from kubernetes.client.models.v1_allocation_result import V1AllocationResult

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

# convert the object into a dict
v1_allocation_result_dict = v1_allocation_result_instance.to_dict()
# create an instance of V1AllocationResult from a dict
v1_allocation_result_from_dict = V1AllocationResult.from_dict(v1_allocation_result_dict)

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