OSPolicyResource
import type { OSPolicyResource } from "https://googleapis.deno.dev/v1/osconfig:v2.ts";
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.
interface OSPolicyResource {
exec?: OSPolicyResourceExecResource;
file?: OSPolicyResourceFileResource;
id?: string;
repository?: OSPolicyResourceRepositoryResource;
}§Properties
§
Exec resource
§
File resource
§
id?: string
[src]Required. 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.
§
Package resource
§
repository?: OSPolicyResourceRepositoryResource
[src]Package repository resource