Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.24 KB

File metadata and controls

29 lines (22 loc) · 1.24 KB

V1alpha3DeviceTaintRuleSpec

DeviceTaintRuleSpec specifies the selector and one taint.

Properties

Name Type Description Notes
device_selector V1alpha3DeviceTaintSelector [optional]
taint V1alpha3DeviceTaint

Example

from kubernetes.client.models.v1alpha3_device_taint_rule_spec import V1alpha3DeviceTaintRuleSpec

# TODO update the JSON string below
json = "{}"
# create an instance of V1alpha3DeviceTaintRuleSpec from a JSON string
v1alpha3_device_taint_rule_spec_instance = V1alpha3DeviceTaintRuleSpec.from_json(json)
# print the JSON string representation of the object
print(V1alpha3DeviceTaintRuleSpec.to_json())

# convert the object into a dict
v1alpha3_device_taint_rule_spec_dict = v1alpha3_device_taint_rule_spec_instance.to_dict()
# create an instance of V1alpha3DeviceTaintRuleSpec from a dict
v1alpha3_device_taint_rule_spec_from_dict = V1alpha3DeviceTaintRuleSpec.from_dict(v1alpha3_device_taint_rule_spec_dict)

[Back to Model list] [Back to API list] [Back to README]