kubernetes_asyncio.client.models.v1alpha3_device_taint_rule_spec 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.v1alpha3_device_taint_rule_spec.V1alpha3DeviceTaintRuleSpec(device_selector=None, taint=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 = {'device_selector': 'deviceSelector', 'taint': 'taint'}
- property device_selector
Gets the device_selector of this V1alpha3DeviceTaintRuleSpec. # noqa: E501
- Returns:
The device_selector of this V1alpha3DeviceTaintRuleSpec. # noqa: E501
- Return type:
- openapi_types = {'device_selector': 'V1alpha3DeviceTaintSelector', 'taint': 'V1alpha3DeviceTaint'}
- property taint
Gets the taint of this V1alpha3DeviceTaintRuleSpec. # noqa: E501
- Returns:
The taint of this V1alpha3DeviceTaintRuleSpec. # noqa: E501
- Return type:
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model