kubernetes_asyncio.client.models.v1beta2_device_allocation_configuration 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_configuration.V1beta2DeviceAllocationConfiguration(opaque=None, requests=None, source=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 = {'opaque': 'opaque', 'requests': 'requests', 'source': 'source'}
property opaque

Gets the opaque of this V1beta2DeviceAllocationConfiguration. # noqa: E501

Returns:

The opaque of this V1beta2DeviceAllocationConfiguration. # noqa: E501

Return type:

V1beta2OpaqueDeviceConfiguration

openapi_types = {'opaque': 'V1beta2OpaqueDeviceConfiguration', 'requests': 'list[str]', 'source': 'str'}
property requests

Gets the requests of this V1beta2DeviceAllocationConfiguration. # noqa: E501

Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests. # noqa: E501

Returns:

The requests of this V1beta2DeviceAllocationConfiguration. # noqa: E501

Return type:

list[str]

property source

Gets the source of this V1beta2DeviceAllocationConfiguration. # noqa: E501

Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. # noqa: E501

Returns:

The source of this V1beta2DeviceAllocationConfiguration. # noqa: E501

Return type:

str

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model