kubernetes_asyncio.client.models.v1_modify_volume_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_modify_volume_status.V1ModifyVolumeStatus(status=None, target_volume_attributes_class_name=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 = {'status': 'status', 'target_volume_attributes_class_name': 'targetVolumeAttributesClassName'}
openapi_types = {'status': 'str', 'target_volume_attributes_class_name': 'str'}
property status

Gets the status of this V1ModifyVolumeStatus. # noqa: E501

status is the status of the ControllerModifyVolume operation. It can be in any of following states: - Pending Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as the specified VolumeAttributesClass not existing. - InProgress InProgress indicates that the volume is being modified. - Infeasible Infeasible indicates that the request has been rejected as invalid by the CSI driver. To resolve the error, a valid VolumeAttributesClass needs to be specified. Note: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately. # noqa: E501

Returns:

The status of this V1ModifyVolumeStatus. # noqa: E501

Return type:

str

property target_volume_attributes_class_name

Gets the target_volume_attributes_class_name of this V1ModifyVolumeStatus. # noqa: E501

targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled # noqa: E501

Returns:

The target_volume_attributes_class_name of this V1ModifyVolumeStatus. # 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