OSPolicyResourceOsconfigV1alpha 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

OSPolicyResourceOsconfigV1alpha({Input<OSPolicyResourceExecResourceOsconfigV1alpha>? exec, Input<OSPolicyResourceFileResourceOsconfigV1alpha>? file, required Input<String> id, Input<OSPolicyResourcePackageResourceOsconfigV1alpha>? pkg, Input<OSPolicyResourceRepositoryResourceOsconfigV1alpha>? repository})
Creates a new OSPolicyResourceOsconfigV1alpha. exec Exec resource file File resource id The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the OS policy. pkg Package resource repository Package repository resource
const
OSPolicyResourceOsconfigV1alpha.fromMap(Map<String, dynamic> map)
factory

Properties

exec → Input<OSPolicyResourceExecResourceOsconfigV1alpha>?
Exec resource
final
file → Input<OSPolicyResourceFileResourceOsconfigV1alpha>?
File resource
final
hashCode → int
The hash code for this object.
no setterinherited
id → Input<String>
The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the OS policy.
final
pkg → Input<OSPolicyResourcePackageResourceOsconfigV1alpha>?
Package resource
final
repository → Input<OSPolicyResourceRepositoryResourceOsconfigV1alpha>?
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