PersistentVolumeClaimStatusPatch constructor
- Input<
List< ? accessModes,String> > - Input<
Map< ? allocatedResourceStatuses,String, String> > - Input<
Map< ? allocatedResources,String, String> > - Input<
Map< ? capacity,String, String> > - Input<
List< ? conditions,PersistentVolumeClaimConditionPatch> > - Input<
String> ? currentVolumeAttributesClassName, - Input<
ModifyVolumeStatusPatch> ? modifyVolumeStatus, - Input<
String> ? phase, - Input<
String> ? resizeStatus,
Creates a new PersistentVolumeClaimStatusPatch.
accessModes accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
allocatedResourceStatuses allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either:
allocatedResources allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either:
capacity capacity represents the actual resources of the underlying volume.
conditions conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
currentVolumeAttributesClassName currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim
modifyVolumeStatus ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted.
phase phase represents the current phase of PersistentVolumeClaim.
resizeStatus resizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
Implementation
const PersistentVolumeClaimStatusPatch({
this.accessModes,
this.allocatedResourceStatuses,
this.allocatedResources,
this.capacity,
this.conditions,
this.currentVolumeAttributesClassName,
this.modifyVolumeStatus,
this.phase,
this.resizeStatus,
});