@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
34 lines (33 loc) • 2.09 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.
*/
/**
* StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.
* @export
* @interface IoK8sApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicy
*/
export interface IoK8sApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicy {
/**
* WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.
* @type {string}
* @memberof IoK8sApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicy
*/
whenDeleted?: string;
/**
* WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.
* @type {string}
* @memberof IoK8sApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicy
*/
whenScaled?: string;
}
export declare function IoK8sApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicyFromJSON(json: any): IoK8sApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicy;
export declare function IoK8sApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicyFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicy;
export declare function IoK8sApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicyToJSON(value?: IoK8sApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicy | null): any;