kubernetes_asyncio.client.models.v1_custom_resource_definition_version 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_version.V1CustomResourceDefinitionVersion(additional_printer_columns=None, deprecated=None, deprecation_warning=None, name=None, schema=None, selectable_fields=None, served=None, storage=None, subresources=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.
- property additional_printer_columns
Gets the additional_printer_columns of this V1CustomResourceDefinitionVersion. # noqa: E501
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used. # noqa: E501
- Returns:
The additional_printer_columns of this V1CustomResourceDefinitionVersion. # noqa: E501
- Return type:
- attribute_map = {'additional_printer_columns': 'additionalPrinterColumns', 'deprecated': 'deprecated', 'deprecation_warning': 'deprecationWarning', 'name': 'name', 'schema': 'schema', 'selectable_fields': 'selectableFields', 'served': 'served', 'storage': 'storage', 'subresources': 'subresources'}
- property deprecated
Gets the deprecated of this V1CustomResourceDefinitionVersion. # noqa: E501
deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false. # noqa: E501
- Returns:
The deprecated of this V1CustomResourceDefinitionVersion. # noqa: E501
- Return type:
bool
- property deprecation_warning
Gets the deprecation_warning of this V1CustomResourceDefinitionVersion. # noqa: E501
deprecationWarning overrides the default warning returned to API clients. May only be set when deprecated is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists. # noqa: E501
- Returns:
The deprecation_warning of this V1CustomResourceDefinitionVersion. # noqa: E501
- Return type:
str
- property name
Gets the name of this V1CustomResourceDefinitionVersion. # noqa: E501
name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at /apis/<group>/<version>/… if served is true. # noqa: E501
- Returns:
The name of this V1CustomResourceDefinitionVersion. # noqa: E501
- Return type:
str
- openapi_types = {'additional_printer_columns': 'list[V1CustomResourceColumnDefinition]', 'deprecated': 'bool', 'deprecation_warning': 'str', 'name': 'str', 'schema': 'V1CustomResourceValidation', 'selectable_fields': 'list[V1SelectableField]', 'served': 'bool', 'storage': 'bool', 'subresources': 'V1CustomResourceSubresources'}
- property schema
Gets the schema of this V1CustomResourceDefinitionVersion. # noqa: E501
- Returns:
The schema of this V1CustomResourceDefinitionVersion. # noqa: E501
- Return type:
- property selectable_fields
Gets the selectable_fields of this V1CustomResourceDefinitionVersion. # noqa: E501
selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors # noqa: E501
- Returns:
The selectable_fields of this V1CustomResourceDefinitionVersion. # noqa: E501
- Return type:
list[V1SelectableField]
- property served
Gets the served of this V1CustomResourceDefinitionVersion. # noqa: E501
served is a flag enabling/disabling this version from being served via REST APIs # noqa: E501
- Returns:
The served of this V1CustomResourceDefinitionVersion. # noqa: E501
- Return type:
bool
- property storage
Gets the storage of this V1CustomResourceDefinitionVersion. # noqa: E501
storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true. # noqa: E501
- Returns:
The storage of this V1CustomResourceDefinitionVersion. # noqa: E501
- Return type:
bool
- property subresources
Gets the subresources of this V1CustomResourceDefinitionVersion. # noqa: E501
- Returns:
The subresources of this V1CustomResourceDefinitionVersion. # noqa: E501
- Return type:
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model