kubernetes_asyncio.client.models.v1beta2_allocated_device_status 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_allocated_device_status.V1beta2AllocatedDeviceStatus(conditions=None, data=None, device=None, driver=None, network_data=None, pool=None, share_id=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 = {'conditions': 'conditions', 'data': 'data', 'device': 'device', 'driver': 'driver', 'network_data': 'networkData', 'pool': 'pool', 'share_id': 'shareID'}
property conditions

Gets the conditions of this V1beta2AllocatedDeviceStatus. # noqa: E501

Conditions contains the latest observation of the device’s state. If the device has been configured according to the class and claim config references, the Ready condition should be True. Must not contain more than 8 entries. # noqa: E501

Returns:

The conditions of this V1beta2AllocatedDeviceStatus. # noqa: E501

Return type:

list[V1Condition]

property data

Gets the data of this V1beta2AllocatedDeviceStatus. # noqa: E501

Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki. # noqa: E501

Returns:

The data of this V1beta2AllocatedDeviceStatus. # noqa: E501

Return type:

object

property device

Gets the device of this V1beta2AllocatedDeviceStatus. # noqa: E501

Device references one device instance via its name in the driver’s resource pool. It must be a DNS label. # noqa: E501

Returns:

The device of this V1beta2AllocatedDeviceStatus. # noqa: E501

Return type:

str

property driver

Gets the driver of this V1beta2AllocatedDeviceStatus. # noqa: E501

Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. # noqa: E501

Returns:

The driver of this V1beta2AllocatedDeviceStatus. # noqa: E501

Return type:

str

property network_data

Gets the network_data of this V1beta2AllocatedDeviceStatus. # noqa: E501

Returns:

The network_data of this V1beta2AllocatedDeviceStatus. # noqa: E501

Return type:

V1beta2NetworkDeviceData

openapi_types = {'conditions': 'list[V1Condition]', 'data': 'object', 'device': 'str', 'driver': 'str', 'network_data': 'V1beta2NetworkDeviceData', 'pool': 'str', 'share_id': 'str'}
property pool

Gets the pool of this V1beta2AllocatedDeviceStatus. # noqa: E501

This name together with the driver name and the device name field identify which device was allocated (<driver name>/<pool name>/<device name>). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. # noqa: E501

Returns:

The pool of this V1beta2AllocatedDeviceStatus. # noqa: E501

Return type:

str

property share_id

Gets the share_id of this V1beta2AllocatedDeviceStatus. # noqa: E501

ShareID uniquely identifies an individual allocation share of the device. # noqa: E501

Returns:

The share_id of this V1beta2AllocatedDeviceStatus. # 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