kubernetes_asyncio.client.models.v1beta1_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: v1.34.3 Generated by: https://openapi-generator.tech
- class kubernetes_asyncio.client.models.v1beta1_allocation_result.V1beta1AllocationResult(allocation_timestamp=None, devices=None, node_selector=None, local_vars_configuration=None)
Bases:
objectNOTE: 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 V1beta1AllocationResult. # 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 an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate. # noqa: E501
- Returns:
The allocation_timestamp of this V1beta1AllocationResult. # noqa: E501
- Return type:
datetime
- attribute_map = {'allocation_timestamp': 'allocationTimestamp', 'devices': 'devices', 'node_selector': 'nodeSelector'}
- property devices
Gets the devices of this V1beta1AllocationResult. # noqa: E501
- Returns:
The devices of this V1beta1AllocationResult. # noqa: E501
- Return type:
- property node_selector
Gets the node_selector of this V1beta1AllocationResult. # noqa: E501
- Returns:
The node_selector of this V1beta1AllocationResult. # noqa: E501
- Return type:
- openapi_types = {'allocation_timestamp': 'datetime', 'devices': 'V1beta1DeviceAllocationResult', 'node_selector': 'V1NodeSelector'}
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model