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

UtilizationReport

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

Utilization report details the utilization (CPU, memory, etc.) of selected source VMs.

interface UtilizationReport {
readonly createTime?: Date;
displayName?: string;
readonly error?: Status;
readonly frameEndTime?: Date;
readonly name?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "SUCCEEDED"
| "FAILED";
readonly stateTime?: Date;
timeFrame?:
| "TIME_FRAME_UNSPECIFIED"
| "WEEK"
| "MONTH"
| "YEAR";
readonly vmCount?: number;
}

§Properties

§
readonly createTime?: Date
[src]

Output only. The time the report was created (this refers to the time of the request, not the time the report creation completed).

§
displayName?: string
[src]

The report display name, as assigned by the user.

§
readonly error?: Status
[src]

Output only. Provides details on the state of the report in case of an error.

§
readonly frameEndTime?: Date
[src]

Output only. The point in time when the time frame ends. Notice that the time frame is counted backwards. For instance if the "frame_end_time" value is 2021/01/20 and the time frame is WEEK then the report covers the week between 2021/01/20 and 2021/01/14.

§
readonly name?: string
[src]

Output only. The report unique name.

§
readonly state?: "STATE_UNSPECIFIED" | "CREATING" | "SUCCEEDED" | "FAILED"
[src]

Output only. Current state of the report.

§
readonly stateTime?: Date
[src]

Output only. The time the state was last set.

§
timeFrame?: "TIME_FRAME_UNSPECIFIED" | "WEEK" | "MONTH" | "YEAR"
[src]

Time frame of the report.

§
readonly vmCount?: number
[src]

Output only. Total number of VMs included in the report.

§

List of utilization information per VM. When sent as part of the request, the "vm_id" field is used in order to specify which VMs to include in the report. In that case all other fields are ignored.