OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs

data class OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs(val args: Output<List<String>>? = null, val file: Output<OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceFileArgs>? = null, val interpreter: Output<String>, val outputFilePath: Output<String>? = null, val script: Output<String>? = null) : ConvertibleToJava<OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs>

Constructors

constructor(args: Output<List<String>>? = null, file: Output<OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceFileArgs>? = null, interpreter: Output<String>, outputFilePath: Output<String>? = null, script: Output<String>? = null)

Properties

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

Optional arguments to pass to the source during execution.

Link copied to clipboard

A remote or local file. Structure is documented below.

Link copied to clipboard
val interpreter: Output<String>

The script interpreter to use. Possible values are: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL.

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

Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.

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

An inline script. The size of the script is limited to 1024 characters.

Functions

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