VolumeAttachmentStatusArgs

data class VolumeAttachmentStatusArgs(val attachError: Output<VolumeErrorArgs>? = null, val attached: Output<Boolean>, val attachmentMetadata: Output<Map<String, String>>? = null, val detachError: Output<VolumeErrorArgs>? = null) : ConvertibleToJava<VolumeAttachmentStatusArgs>

VolumeAttachmentStatus is the status of a VolumeAttachment request.

Constructors

Link copied to clipboard
constructor(attachError: Output<VolumeErrorArgs>? = null, attached: Output<Boolean>, attachmentMetadata: Output<Map<String, String>>? = null, detachError: Output<VolumeErrorArgs>? = null)

Properties

Link copied to clipboard
val attached: Output<Boolean>

attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.

Link copied to clipboard
val attachError: Output<VolumeErrorArgs>? = null

attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.

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

attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.

Link copied to clipboard
val detachError: Output<VolumeErrorArgs>? = null

detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.

Functions

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