kubernetes_asyncio.client.models.v1beta2_device_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.v1beta2_device_allocation_result.V1beta2DeviceAllocationResult(config=None, results=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.

attribute_map = {'config': 'config', 'results': 'results'}
property config

Gets the config of this V1beta2DeviceAllocationResult. # noqa: E501

This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters. # noqa: E501

Returns:

The config of this V1beta2DeviceAllocationResult. # noqa: E501

Return type:

list[V1beta2DeviceAllocationConfiguration]

openapi_types = {'config': 'list[V1beta2DeviceAllocationConfiguration]', 'results': 'list[V1beta2DeviceRequestAllocationResult]'}
property results

Gets the results of this V1beta2DeviceAllocationResult. # noqa: E501

Results lists all allocated devices. # noqa: E501

Returns:

The results of this V1beta2DeviceAllocationResult. # noqa: E501

Return type:

list[V1beta2DeviceRequestAllocationResult]

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model