OSPolicy Resource File Resource Args
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
Properties
Link copied to clipboard
Link copied to clipboard
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