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;
vms?: VmUtilizationInfo[];
}§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).
§
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 state?: "STATE_UNSPECIFIED" | "CREATING" | "SUCCEEDED" | "FAILED"
[src]Output only. Current state of the report.
§
vms?: VmUtilizationInfo[]
[src]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.