Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.61 KB

File metadata and controls

29 lines (22 loc) · 1.61 KB

V1CustomResourceSubresources

CustomResourceSubresources defines the status and scale subresources for CustomResources.

Properties

Name Type Description Notes
scale V1CustomResourceSubresourceScale [optional]
status object status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object. [optional]

Example

from kubernetes.client.models.v1_custom_resource_subresources import V1CustomResourceSubresources

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

# convert the object into a dict
v1_custom_resource_subresources_dict = v1_custom_resource_subresources_instance.to_dict()
# create an instance of V1CustomResourceSubresources from a dict
v1_custom_resource_subresources_from_dict = V1CustomResourceSubresources.from_dict(v1_custom_resource_subresources_dict)

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