ContainerUploadArgs

data class ContainerUploadArgs(val content: Output<String>? = null, val contentBase64: Output<String>? = null, val executable: Output<Boolean>? = null, val file: Output<String>, val source: Output<String>? = null, val sourceHash: Output<String>? = null) : ConvertibleToJava<ContainerUploadArgs>

Constructors

Link copied to clipboard
constructor(content: Output<String>? = null, contentBase64: Output<String>? = null, executable: Output<Boolean>? = null, file: Output<String>, source: Output<String>? = null, sourceHash: Output<String>? = null)

Properties

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

Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with content_base64&source

Link copied to clipboard
val contentBase64: Output<String>? = null
Link copied to clipboard
val executable: Output<Boolean>? = null

If true, the file will be uploaded with user executable permission. Defaults to false.

Link copied to clipboard
val file: Output<String>

Path to the file in the container where is upload goes to

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

A filename that references a file which will be uploaded as the object content. This allows for large file uploads that do not get stored in state. Conflicts with content&content_base64

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

If using source, this will force an update if the file content has updated but the filename has not.

Functions

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