kubernetes_asyncio.client.models.v1beta2_device_taint 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_taint.V1beta2DeviceTaint(effect=None, key=None, time_added=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 = {'effect': 'effect', 'key': 'key', 'time_added': 'timeAdded', 'value': 'value'}
- property effect
Gets the effect of this V1beta2DeviceTaint. # noqa: E501
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. # noqa: E501
- Returns:
The effect of this V1beta2DeviceTaint. # noqa: E501
- Return type:
str
- property key
Gets the key of this V1beta2DeviceTaint. # noqa: E501
The taint key to be applied to a device. Must be a label name. # noqa: E501
- Returns:
The key of this V1beta2DeviceTaint. # noqa: E501
- Return type:
str
- openapi_types = {'effect': 'str', 'key': 'str', 'time_added': 'datetime', 'value': 'str'}
- property time_added
Gets the time_added of this V1beta2DeviceTaint. # noqa: E501
TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set. # noqa: E501
- Returns:
The time_added of this V1beta2DeviceTaint. # noqa: E501
- Return type:
datetime
- 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 V1beta2DeviceTaint. # noqa: E501
The taint value corresponding to the taint key. Must be a label value. # noqa: E501
- Returns:
The value of this V1beta2DeviceTaint. # noqa: E501
- Return type:
str