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

MaintenancePolicy

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

LINT.IfChange Defines policies to service maintenance events.

interface MaintenancePolicy {
createTime?: Date;
description?: string;
labels?: {
[key: string]: string;
}
;
name?: string;
state?: "STATE_UNSPECIFIED" | "READY" | "DELETING";
updatePolicy?: UpdatePolicy;
updateTime?: Date;
}

§Properties

§
createTime?: Date
[src]

Output only. The time when the resource was created.

§
description?: string
[src]

Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.

§
labels?: {
[key: string]: string;
}
[src]

Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user.

§
name?: string
[src]

Required. MaintenancePolicy name using the form: projects/{project_id}/locations/{location_id}/maintenancePolicies/{maintenance_policy_id} where {project_id} refers to a GCP consumer project ID, {location_id} refers to a GCP region/zone, {maintenance_policy_id} must be 1-63 characters long and match the regular expression [a-z0-9]([-a-z0-9]*[a-z0-9])?.

§
state?: "STATE_UNSPECIFIED" | "READY" | "DELETING"
[src]

Optional. The state of the policy.

§
updatePolicy?: UpdatePolicy
[src]

Maintenance policy applicable to instance update.

§
updateTime?: Date
[src]

Output only. The time when the resource was updated.