kubernetes_asyncio.client.models.v1beta1_device_counter_consumption 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.v1beta1_device_counter_consumption.V1beta1DeviceCounterConsumption(counter_set=None, counters=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 = {'counter_set': 'counterSet', 'counters': 'counters'}
- property counter_set
Gets the counter_set of this V1beta1DeviceCounterConsumption. # noqa: E501
CounterSet is the name of the set from which the counters defined will be consumed. # noqa: E501
- Returns:
The counter_set of this V1beta1DeviceCounterConsumption. # noqa: E501
- Return type:
str
- property counters
Gets the counters of this V1beta1DeviceCounterConsumption. # noqa: E501
Counters defines the counters that will be consumed by the device. The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each). # noqa: E501
- Returns:
The counters of this V1beta1DeviceCounterConsumption. # noqa: E501
- Return type:
dict(str, V1beta1Counter)
- openapi_types = {'counter_set': 'str', 'counters': 'dict(str, V1beta1Counter)'}
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model