kubernetes_asyncio.client.models.v1beta2_device_claim 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_claim.V1beta2DeviceClaim(config=None, constraints=None, requests=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', 'constraints': 'constraints', 'requests': 'requests'}
property config

Gets the config of this V1beta2DeviceClaim. # noqa: E501

This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim. # noqa: E501

Returns:

The config of this V1beta2DeviceClaim. # noqa: E501

Return type:

list[V1beta2DeviceClaimConfiguration]

property constraints

Gets the constraints of this V1beta2DeviceClaim. # noqa: E501

These constraints must be satisfied by the set of devices that get allocated for the claim. # noqa: E501

Returns:

The constraints of this V1beta2DeviceClaim. # noqa: E501

Return type:

list[V1beta2DeviceConstraint]

openapi_types = {'config': 'list[V1beta2DeviceClaimConfiguration]', 'constraints': 'list[V1beta2DeviceConstraint]', 'requests': 'list[V1beta2DeviceRequest]'}
property requests

Gets the requests of this V1beta2DeviceClaim. # noqa: E501

Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. # noqa: E501

Returns:

The requests of this V1beta2DeviceClaim. # noqa: E501

Return type:

list[V1beta2DeviceRequest]

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model