kubernetes_asyncio.client.models.v1_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.v1_device_claim.V1DeviceClaim(config=None, constraints=None, requests=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.
- attribute_map = {'config': 'config', 'constraints': 'constraints', 'requests': 'requests'}
- property config
Gets the config of this V1DeviceClaim. # 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 V1DeviceClaim. # noqa: E501
- Return type:
- property constraints
Gets the constraints of this V1DeviceClaim. # 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 V1DeviceClaim. # noqa: E501
- Return type:
list[V1DeviceConstraint]
- openapi_types = {'config': 'list[V1DeviceClaimConfiguration]', 'constraints': 'list[V1DeviceConstraint]', 'requests': 'list[V1DeviceRequest]'}
- property requests
Gets the requests of this V1DeviceClaim. # 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 V1DeviceClaim. # noqa: E501
- Return type:
list[V1DeviceRequest]
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model