kubernetes.aio.client.models.v1_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: release-1.36 Generated by: https://openapi-generator.tech
- class kubernetes.aio.client.models.v1_device_capacity.V1DeviceCapacity(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': 'V1CapacityRequestPolicy', 'value': 'str'}¶
- property request_policy¶
Gets the request_policy of this V1DeviceCapacity. # noqa: E501
- Returns:
The request_policy of this V1DeviceCapacity. # 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 V1DeviceCapacity. # 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 V1DeviceCapacity. # noqa: E501
- Return type:
str