kubernetes.aio.client.models.v1_allocation_result module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: release-1.36 Generated by: https://openapi-generator.tech

class kubernetes.aio.client.models.v1_allocation_result.V1AllocationResult(allocation_timestamp=None, devices=None, node_selector=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

property allocation_timestamp

Gets the allocation_timestamp of this V1AllocationResult. # noqa: E501

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. # noqa: E501

Returns:

The allocation_timestamp of this V1AllocationResult. # noqa: E501

Return type:

datetime

attribute_map = {'allocation_timestamp': 'allocationTimestamp', 'devices': 'devices', 'node_selector': 'nodeSelector'}
property devices

Gets the devices of this V1AllocationResult. # noqa: E501

Returns:

The devices of this V1AllocationResult. # noqa: E501

Return type:

V1DeviceAllocationResult

property node_selector

Gets the node_selector of this V1AllocationResult. # noqa: E501

Returns:

The node_selector of this V1AllocationResult. # noqa: E501

Return type:

V1NodeSelector

openapi_types = {'allocation_timestamp': 'datetime', 'devices': 'V1DeviceAllocationResult', 'node_selector': 'V1NodeSelector'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model