CsiVolumeArgs

data class CsiVolumeArgs(val capabilities: Output<List<CsiVolumeCapabilityArgs>>? = null, val capacityMax: Output<String>? = null, val capacityMin: Output<String>? = null, val cloneId: Output<String>? = null, val mountOptions: Output<CsiVolumeMountOptionsArgs>? = null, val name: Output<String>? = null, val namespace: Output<String>? = null, val parameters: Output<Map<String, String>>? = null, val pluginId: Output<String>? = null, val secrets: Output<Map<String, String>>? = null, val snapshotId: Output<String>? = null, val topologyRequest: Output<CsiVolumeTopologyRequestArgs>? = null, val volumeId: Output<String>? = null) : ConvertibleToJava<CsiVolumeArgs>

Constructors

Link copied to clipboard
constructor(capabilities: Output<List<CsiVolumeCapabilityArgs>>? = null, capacityMax: Output<String>? = null, capacityMin: Output<String>? = null, cloneId: Output<String>? = null, mountOptions: Output<CsiVolumeMountOptionsArgs>? = null, name: Output<String>? = null, namespace: Output<String>? = null, parameters: Output<Map<String, String>>? = null, pluginId: Output<String>? = null, secrets: Output<Map<String, String>>? = null, snapshotId: Output<String>? = null, topologyRequest: Output<CsiVolumeTopologyRequestArgs>? = null, volumeId: Output<String>? = null)

Properties

Link copied to clipboard

(``Capability``: <required>) - Options for validating the capability of a volume.

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

(string: <optional>) - Option to signal a maximum volume size. This may not be supported by all storage providers.

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

(string: <optional>) - Option to signal a minimum volume size. This may not be supported by all storage providers.

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

(string: <optional>) - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with snapshot_id.

Link copied to clipboard

(block: optional) Options for mounting block-device volumes without a pre-formatted file system.

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

(string: <required>) - The display name for the volume.

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

(string: "default") - The namespace in which to register the volume.

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

(map[string]string: optional) An optional key-value map of strings passed directly to the CSI plugin to configure the volume.

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

(string: <required>) - The ID of the Nomad plugin for registering this volume.

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

(map[string]string: optional) An optional key-value map of strings used as credentials for publishing and unpublishing volumes.

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

(string: <optional>) - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with clone_id.

Link copied to clipboard

(``TopologyRequest``: <optional>) - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.

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

(string: <required>) - The unique ID of the volume.

Functions

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