Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

OSPolicyResourceExecResourceExec

import type { OSPolicyResourceExecResourceExec } from "https://googleapis.deno.dev/v1/osconfig:v1.ts";

A file or script to execute.

interface OSPolicyResourceExecResourceExec {
args?: string[];
interpreter?:
| "INTERPRETER_UNSPECIFIED"
| "NONE"
| "SHELL"
| "POWERSHELL";
outputFilePath?: string;
script?: string;
}

§Properties

§
args?: string[]
[src]

Optional arguments to pass to the source during execution.

§

A remote or local file.

§
interpreter?: "INTERPRETER_UNSPECIFIED" | "NONE" | "SHELL" | "POWERSHELL"
[src]

Required. The script interpreter to use.

§
outputFilePath?: string
[src]

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.

§
script?: string
[src]

An inline script. The size of the script is limited to 32KiB.