PersistentVolumeClaimSpecV1

Handle
📦 Aspire.Hosting.Kubernetes v17.0.0

Represents the specification of a Kubernetes PersistentVolumeClaim resource.

type PersistentVolumeClaimSpecV1 interface{}

Properties

propertyAccessModes*List[string]get
Defines the access modes for a Persistent Volume Claim.
AccessModes() *List[string]
propertyResourcesVolumeResourceRequirementsV1get · set
Gets or sets the resource requirements for the volume. Defines the requested and limit capacities for the volume resources, including storage and other related attributes.
Resources() VolumeResourceRequirementsV1
SetResources(value VolumeResourceRequirementsV1) PersistentVolumeClaimSpecV1
propertyStorageClassName*stringget · set
Gets or sets the name of the storage class required by the PersistentVolumeClaim.
StorageClassName() (*string, error)
SetStorageClassName(value *string) PersistentVolumeClaimSpecV1
propertyVolumeMode*stringget · set
Specifies the volume mode for a PersistentVolumeClaim. This determines how data in the volume is accessed by pods using the claim.
VolumeMode() (*string, error)
SetVolumeMode(value *string) PersistentVolumeClaimSpecV1
propertyVolumeName*stringget · set
Gets or sets the name of the specific volume to be bound to the PersistentVolumeClaim.
VolumeName() (*string, error)
SetVolumeName(value *string) PersistentVolumeClaimSpecV1