kubernetes_asyncio.client.models.v1beta2_device_capacity 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_capacity.V1beta2DeviceCapacity(request_policy=None, value=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 = {'request_policy': 'requestPolicy', 'value': 'value'}
- openapi_types = {'request_policy': 'V1beta2CapacityRequestPolicy', 'value': 'str'}
- property request_policy
Gets the request_policy of this V1beta2DeviceCapacity. # noqa: E501
- Returns:
The request_policy of this V1beta2DeviceCapacity. # noqa: E501
- Return type:
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
- property value
Gets the value of this V1beta2DeviceCapacity. # noqa: E501
Value defines how much of a certain capacity that device has. This field reflects the fixed total capacity and does not change. The consumed amount is tracked separately by scheduler and does not affect this value. # noqa: E501
- Returns:
The value of this V1beta2DeviceCapacity. # noqa: E501
- Return type:
str