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

ResourcePolicy

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

Represents a Resource Policy resource. You can use resource policies to schedule actions for some Compute Engine resources. For example, you can use them to schedule persistent disk snapshots.

interface ResourcePolicy {
creationTimestamp?: string;
description?: string;
diskConsistencyGroupPolicy?: ResourcePolicyDiskConsistencyGroupPolicy;
groupPlacementPolicy?: ResourcePolicyGroupPlacementPolicy;
id?: bigint;
instanceSchedulePolicy?: ResourcePolicyInstanceSchedulePolicy;
kind?: string;
name?: string;
region?: string;
selfLink?: string;
snapshotSchedulePolicy?: ResourcePolicySnapshotSchedulePolicy;
status?:
| "CREATING"
| "DELETING"
| "EXPIRED"
| "INVALID"
| "READY";
}

§Properties

§
creationTimestamp?: string
[src]

[Output Only] Creation timestamp in RFC3339 text format.

§
description?: string
[src]
§

Resource policy for disk consistency groups.

§

Resource policy for instances for placement configuration.

§
id?: bigint
[src]

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

§

Resource policy for scheduling instance operations.

§
kind?: string
[src]

[Output Only] Type of the resource. Always compute#resource_policies for resource policies.

§
name?: string
[src]

The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

§
region?: string
[src]
§

[Output Only] The system status of the resource policy.

§

Resource policy for persistent disks for creating snapshots.

§
status?: "CREATING" | "DELETING" | "EXPIRED" | "INVALID" | "READY"
[src]

[Output Only] The status of resource policy creation.