Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.41 KB

File metadata and controls

29 lines (22 loc) · 1.41 KB

V1beta1CompositeDisruptionMode

CompositeDisruptionMode defines how individual entities within a composite pod group can be disrupted. Exactly one mode must be set.

Properties

Name Type Description Notes
all object all specifies that all children groups can only be disrupted together. [optional]
single object single specifies that children groups can be disrupted independently from each other. [optional]

Example

from kubernetes.client.models.v1beta1_composite_disruption_mode import V1beta1CompositeDisruptionMode

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

# convert the object into a dict
v1beta1_composite_disruption_mode_dict = v1beta1_composite_disruption_mode_instance.to_dict()
# create an instance of V1beta1CompositeDisruptionMode from a dict
v1beta1_composite_disruption_mode_from_dict = V1beta1CompositeDisruptionMode.from_dict(v1beta1_composite_disruption_mode_dict)

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