kubernetes_asyncio.client.models.v1_custom_resource_definition_status 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.v1_custom_resource_definition_status.V1CustomResourceDefinitionStatus(accepted_names=None, conditions=None, stored_versions=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

property accepted_names

Gets the accepted_names of this V1CustomResourceDefinitionStatus. # noqa: E501

Returns:

The accepted_names of this V1CustomResourceDefinitionStatus. # noqa: E501

Return type:

V1CustomResourceDefinitionNames

attribute_map = {'accepted_names': 'acceptedNames', 'conditions': 'conditions', 'stored_versions': 'storedVersions'}
property conditions

Gets the conditions of this V1CustomResourceDefinitionStatus. # noqa: E501

conditions indicate state for particular aspects of a CustomResourceDefinition # noqa: E501

Returns:

The conditions of this V1CustomResourceDefinitionStatus. # noqa: E501

Return type:

list[V1CustomResourceDefinitionCondition]

openapi_types = {'accepted_names': 'V1CustomResourceDefinitionNames', 'conditions': 'list[V1CustomResourceDefinitionCondition]', 'stored_versions': 'list[str]'}
property stored_versions

Gets the stored_versions of this V1CustomResourceDefinitionStatus. # noqa: E501

storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from spec.versions while they exist in this list. # noqa: E501

Returns:

The stored_versions of this V1CustomResourceDefinitionStatus. # noqa: E501

Return type:

list[str]

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model