StorageClassPatchArgs

data class StorageClassPatchArgs(val allowVolumeExpansion: Output<Boolean>? = null, val allowedTopologies: Output<List<TopologySelectorTermPatchArgs>>? = null, val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaPatchArgs>? = null, val mountOptions: Output<List<String>>? = null, val parameters: Output<Map<String, String>>? = null, val provisioner: Output<String>? = null, val reclaimPolicy: Output<String>? = null, val volumeBindingMode: Output<String>? = null) : ConvertibleToJava<StorageClassPatchArgs>

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.

Constructors

Link copied to clipboard
constructor(allowVolumeExpansion: Output<Boolean>? = null, allowedTopologies: Output<List<TopologySelectorTermPatchArgs>>? = null, apiVersion: Output<String>? = null, kind: Output<String>? = null, metadata: Output<ObjectMetaPatchArgs>? = null, mountOptions: Output<List<String>>? = null, parameters: Output<Map<String, String>>? = null, provisioner: Output<String>? = null, reclaimPolicy: Output<String>? = null, volumeBindingMode: Output<String>? = null)

Properties

Link copied to clipboard

allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.

Link copied to clipboard
val allowVolumeExpansion: Output<Boolean>? = null

allowVolumeExpansion shows whether the storage class allow volume expand.

Link copied to clipboard
val apiVersion: Output<String>? = null

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

Link copied to clipboard
val kind: Output<String>? = null

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

Link copied to clipboard
val metadata: Output<ObjectMetaPatchArgs>? = null

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

Link copied to clipboard
val mountOptions: Output<List<String>>? = null

mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. "ro", "soft". Not validated - mount of the PVs will simply fail if one is invalid.

Link copied to clipboard
val parameters: Output<Map<String, String>>? = null

parameters holds the parameters for the provisioner that should create volumes of this storage class.

Link copied to clipboard
val provisioner: Output<String>? = null

provisioner indicates the type of the provisioner.

Link copied to clipboard
val reclaimPolicy: Output<String>? = null

reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.

Link copied to clipboard
val volumeBindingMode: Output<String>? = null

volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.

Functions

Link copied to clipboard
open override fun toJava(): StorageClassPatchArgs