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

AgentMetadata

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

VM Agent Metadata.

interface AgentMetadata {
creationTime?: Date;
creator?: string;
imageVersion?: string;
instance?: string;
instanceId?: bigint;
instancePreemptionNoticeReceived?: boolean;
osRelease?: {
[key: string]: string;
}
;
version?: string;
zone?: string;
}

§Properties

§
creationTime?: Date
[src]

When the VM agent started. Use agent_startup_time instead.

§
creator?: string
[src]

Full name of the entity that created this vm. For MIG, this path is: projects/{project}/regions/{region}/InstanceGroupManagers/{igm} The value is retrieved from the vm metadata key of "created-by".

§
imageVersion?: string
[src]

image version for the VM that this agent is installed on.

§
instance?: string
[src]

GCP instance name (go/instance-name).

§
instanceId?: bigint
[src]

GCP instance ID (go/instance-id).

§
instancePreemptionNoticeReceived?: boolean
[src]

If the GCP instance has received preemption notice.

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

parsed contents of /etc/os-release

§
version?: string
[src]

agent binary version running on VM

§
zone?: string
[src]

Agent zone.