PersistentVolumeClaimStatusPatch class
PersistentVolumeClaimStatus is the current status of a persistent volume claim.
Constructors
-
PersistentVolumeClaimStatusPatch({Input<
List< ? accessModes, Input<String> >Map< ? allocatedResourceStatuses, Input<String, String> >Map< ? allocatedResources, Input<String, String> >Map< ? capacity, Input<String, String> >List< ? conditions, Input<PersistentVolumeClaimConditionPatch> >String> ? currentVolumeAttributesClassName, Input<ModifyVolumeStatusPatch> ? modifyVolumeStatus, Input<String> ? phase, Input<String> ? resizeStatus}) -
Creates a new PersistentVolumeClaimStatusPatch.
accessModesaccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1allocatedResourceStatusesallocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either:allocatedResourcesallocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either:capacitycapacity represents the actual resources of the underlying volume.conditionsconditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.currentVolumeAttributesClassNamecurrentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaimmodifyVolumeStatusModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted.phasephase represents the current phase of PersistentVolumeClaim.resizeStatusresizeStatus 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.const -
PersistentVolumeClaimStatusPatch.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accessModes
→ Input<
List< ?String> > -
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
final
-
allocatedResources
→ Input<
Map< ?String, String> > -
allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either:
final
-
allocatedResourceStatuses
→ Input<
Map< ?String, String> > -
allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either:
final
-
capacity
→ Input<
Map< ?String, String> > -
capacity represents the actual resources of the underlying volume.
final
-
conditions
→ Input<
List< ?PersistentVolumeClaimConditionPatch> > -
conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
final
-
currentVolumeAttributesClassName
→ Input<
String> ? -
currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
modifyVolumeStatus
→ Input<
ModifyVolumeStatusPatch> ? -
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted.
final
-
phase
→ Input<
String> ? -
phase represents the current phase of PersistentVolumeClaim.
final
-
resizeStatus
→ Input<
String> ? -
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited