kubernetes_asyncio.client.models.v1_custom_resource_conversion 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_conversion.V1CustomResourceConversion(strategy=None, webhook=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.

attribute_map = {'strategy': 'strategy', 'webhook': 'webhook'}
openapi_types = {'strategy': 'str', 'webhook': 'V1WebhookConversion'}
property strategy

Gets the strategy of this V1CustomResourceConversion. # noqa: E501

strategy specifies how custom resources are converted between versions. Allowed values are: - “None”: The converter only change the apiVersion and would not touch any other field in the custom resource. - “Webhook”: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set. # noqa: E501

Returns:

The strategy of this V1CustomResourceConversion. # noqa: E501

Return type:

str

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property webhook

Gets the webhook of this V1CustomResourceConversion. # noqa: E501

Returns:

The webhook of this V1CustomResourceConversion. # noqa: E501

Return type:

V1WebhookConversion