OSPolicyResourceExecResourceExecResponse class
A file or script to execute.
Constructors
-
OSPolicyResourceExecResourceExecResponse({required Input<
List< args, required Input<String> >OSPolicyResourceFileResponse> file, required Input<String> interpreter, required Input<String> outputFilePath, required Input<String> script}) -
Creates a new OSPolicyResourceExecResourceExecResponse.
argsOptional arguments to pass to the source during execution.fileA remote or local file.interpreterThe script interpreter to use.outputFilePathOnly 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.scriptAn inline script. The size of the script is limited to 32KiB.const -
OSPolicyResourceExecResourceExecResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
args
→ Input<
List< String> > -
Optional arguments to pass to the source during execution.
final
-
file
→ Input<
OSPolicyResourceFileResponse> -
A remote or local file.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interpreter
→ Input<
String> -
The script interpreter to use.
final
-
outputFilePath
→ Input<
String> -
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
script
→ Input<
String> -
An inline script. The size of the script is limited to 32KiB.
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