@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
43 lines (42 loc) • 2 kB
TypeScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: unversioned
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* ModifyVolumeStatus represents the status object of ControllerModifyVolume operation
* @export
* @interface IoK8sApiCoreV1ModifyVolumeStatus
*/
export interface IoK8sApiCoreV1ModifyVolumeStatus {
/**
* 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.
* @type {string}
* @memberof IoK8sApiCoreV1ModifyVolumeStatus
*/
status: string;
/**
* targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled
* @type {string}
* @memberof IoK8sApiCoreV1ModifyVolumeStatus
*/
targetVolumeAttributesClassName?: string;
}
export declare function IoK8sApiCoreV1ModifyVolumeStatusFromJSON(json: any): IoK8sApiCoreV1ModifyVolumeStatus;
export declare function IoK8sApiCoreV1ModifyVolumeStatusFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1ModifyVolumeStatus;
export declare function IoK8sApiCoreV1ModifyVolumeStatusToJSON(value?: IoK8sApiCoreV1ModifyVolumeStatus | null): any;