OSPolicyResourceResponse class
An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.
Constructors
-
OSPolicyResourceResponse({required Input<
OSPolicyResourceExecResourceResponse> exec, required Input<OSPolicyResourceFileResourceResponse> file, required Input<OSPolicyResourcePackageResourceResponse> pkg, required Input<OSPolicyResourceRepositoryResourceResponse> repository}) -
Creates a new OSPolicyResourceResponse.
execExec resourcefileFile resourcepkgPackage resourcerepositoryPackage repository resourceconst -
OSPolicyResourceResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
exec
→ Input<
OSPolicyResourceExecResourceResponse> -
Exec resource
final
-
file
→ Input<
OSPolicyResourceFileResourceResponse> -
File resource
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pkg
→ Input<
OSPolicyResourcePackageResourceResponse> -
Package resource
final
-
repository
→ Input<
OSPolicyResourceRepositoryResourceResponse> -
Package repository resource
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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