Share via


PersistentVolumeClaim Class

Definition

Represents a Kubernetes PersistentVolumeClaim resource in the v1 API version.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class PersistentVolumeClaim : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource
[<YamlDotNet.Serialization.YamlSerializable>]
type PersistentVolumeClaim = class
    inherit BaseKubernetesResource
Public NotInheritable Class PersistentVolumeClaim
Inherits BaseKubernetesResource
Inheritance
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Remarks

PersistentVolumeClaims (PVCs) are requests for storage by users. They abstract the details of the underlying storage resource to provide dynamic or static provisioned storage within a Kubernetes cluster. This class encapsulates the specification and metadata of a PersistentVolumeClaim resource.

Constructors

PersistentVolumeClaim()

Represents a Kubernetes PersistentVolumeClaim resource in the v1 API version.

Properties

ApiVersion

Gets or sets the API version for the Kubernetes resource.

(Inherited from BaseKubernetesObject)
Kind

Gets or sets the kind of the Kubernetes resource.

(Inherited from BaseKubernetesObject)
Metadata

Gets or sets the metadata for the Kubernetes resource.

(Inherited from BaseKubernetesResource)
Spec

Gets or sets the specification of the PersistentVolumeClaim (PVC) resource.

Applies to