ContainerUpload class

Constructors

ContainerUpload({Input<String?>? content, Input<String?>? contentBase64, Input<bool?>? executable, required Input<String> file, Input<String?>? group, Input<String?>? owner, Input<String?>? permissions, Input<String?>? source, Input<String?>? sourceHash})
Creates a new ContainerUpload. content Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with contentBase64 & source contentBase64 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 executable If true, the file will be uploaded with user executable permission. Defaults to false. file Path to the file in the container where is upload goes to group The group of the file in the container. Names are resolved using the Terraform host's group database; numeric IDs can be used directly. owner The owner of the file in the container. Names are resolved using the Terraform host's user database; numeric IDs can be used directly. permissions The permission mode for the file in the container. Has precedence over executable. source 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 & contentBase64 sourceHash If using source, this will force an update if the file content has updated but the filename has not.
const
ContainerUpload.fromMap(Map<String, dynamic> map)
factory

Properties

content → Input<String?>?
Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with contentBase64 & source
final
contentBase64 → Input<String?>?
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
final
executable → Input<bool?>?
If true, the file will be uploaded with user executable permission. Defaults to false.
final
file → Input<String>
Path to the file in the container where is upload goes to
final
group → Input<String?>?
The group of the file in the container. Names are resolved using the Terraform host's group database; numeric IDs can be used directly.
final
hashCode → int
The hash code for this object.
no setterinherited
owner → Input<String?>?
The owner of the file in the container. Names are resolved using the Terraform host's user database; numeric IDs can be used directly.
final
permissions → Input<String?>?
The permission mode for the file in the container. Has precedence over executable.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → Input<String?>?
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 & contentBase64
final
sourceHash → Input<String?>?
If using source, this will force an update if the file content has updated but the filename has not.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited