ContainerUploadArgs

data class ContainerUploadArgs(val content: Output<String>? = null, val contentBase64: Output<String>? = null, val executable: Output<Boolean>? = null, val file: Output<String>, val permissions: Output<String>? = null, 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>, permissions: Output<String>? = null, 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

Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for larger binary content such as the result of the base64encode interpolation function. See here for the reason. Conflicts with content&source

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 permissions: Output<String>? = null

The permission mode for the file in the container. Has precedence over executable.

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