# VolumeAttributesClass

VolumeAttributesClassVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver.apiVersion: storage.k8s.io/v1import "k8s.io/api/storage/v1"VolumeAttributesClassVolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.apiVersion: storage.k8s.io/v1kind: VolumeAttributesClassmetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadatadriverName (string), requiredName of the CSI driver This field is immutable.parameters (map[string]string)parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field.VolumeAttributesClassListVolumeAttributesClassList is a collection of VolumeAttributesClass objects.apiVersion: storage.k8s.io/v1kind: VolumeAttributesClassListmetadata (ListMeta)Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataitems ([]VolumeAttributesClass), requireditems is the list of VolumeAttributesClass objects.Operationsget read the specified VolumeAttributesClassHTTP RequestGET /apis/storage.k8s.io/v1/volumeattributesclasses/{name}Parametersname (in path): string, requiredname of the VolumeAttributesClasspretty (in query): stringprettyResponse200 (VolumeAttributesClass): OK401: Unauthorizedlist list or watch objects of kind VolumeAttributesClassHTTP RequestGET /apis/storage.k8s.io/v1/volumeattributesclassesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (VolumeAttributesClassList): OK401: Unauthorizedcreate create a VolumeAttributesClassHTTP RequestPOST /apis/storage.k8s.io/v1/volumeattributesclassesParametersbody: VolumeAttributesClass, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (VolumeAttributesClass): OK201 (VolumeAttributesClass): Created202 (VolumeAttributesClass): Accepted401: Unauthorizedupdate replace the specified VolumeAttributesClassHTTP RequestPUT /apis/storage.k8s.io/v1/volumeattributesclasses/{name}Parametersname (in path): string, requiredname of the VolumeAttributesClassbody: VolumeAttributesClass, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (VolumeAttributesClass): OK201 (VolumeAttributesClass): Created401: Unauthorizedpatch partially update the specified VolumeAttributesClassHTTP RequestPATCH /apis/storage.k8s.io/v1/volumeattributesclasses/{name}Parametersname (in path): string, requiredname of the VolumeAttributesClassbody: Patch, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationforce (in query): booleanforcepretty (in query): stringprettyResponse200 (VolumeAttributesClass): OK201 (VolumeAttributesClass): Created401: Unauthorizeddelete delete a VolumeAttributesClassHTTP RequestDELETE /apis/storage.k8s.io/v1/volumeattributesclasses/{name}Parametersname (in path): string, requiredname of the VolumeAttributesClassbody: DeleteOptionsdryRun (in query): stringdryRungracePeriodSeconds (in query): integergracePeriodSecondsignoreStoreReadErrorWithClusterBreakingPotential (in query): booleanignoreStoreReadErrorWithClusterBreakingPotentialpretty (in query): stringprettypropagationPolicy (in query): stringpropagationPolicyResponse200 (VolumeAttributesClass): OK202 (VolumeAttributesClass): Accepted401: Unauthorizeddeletecollection delete collection of VolumeAttributesClassHTTP RequestDELETE /apis/storage.k8s.io/v1/volumeattributesclassesParametersbody: DeleteOptionscontinue (in query): stringcontinuedryRun (in query): stringdryRunfieldSelector (in query): stringfieldSelectorgracePeriodSeconds (in query): integergracePeriodSecondsignoreStoreReadErrorWithClusterBreakingPotential (in query): booleanignoreStoreReadErrorWithClusterBreakingPotentiallabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettypropagationPolicy (in query): stringpropagationPolicyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondsResponse200 (Status): OK401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.