OSPolicyResourceFileResourceArgs

data class OSPolicyResourceFileResourceArgs(val content: Output<String>? = null, val file: Output<OSPolicyResourceFileArgs>? = null, val path: Output<String>, val permissions: Output<String>? = null, val state: Output<OSPolicyResourceFileResourceState>) : ConvertibleToJava<OSPolicyResourceFileResourceArgs>

A resource that manages the state of a file.

Constructors

Link copied to clipboard
fun OSPolicyResourceFileResourceArgs(content: Output<String>? = null, file: Output<OSPolicyResourceFileArgs>? = null, path: Output<String>, permissions: Output<String>? = null, state: Output<OSPolicyResourceFileResourceState>)

Functions

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

Properties

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

A a file with this content. The size of the content is limited to 32KiB.

Link copied to clipboard
val file: Output<OSPolicyResourceFileArgs>? = null

A remote or local source.

Link copied to clipboard
val path: Output<String>

The absolute path of the file within the VM.

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

Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the execute permission. Default behavior is 755. Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4

Link copied to clipboard

Desired state of the file.