GoogleApi.VMMigration.V1.Model.UtilizationReport (google_api_vm_migration v0.11.0)

View Source

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

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time the report was created (this refers to the time of the request, not the time the report creation completed).
  • displayName (type: String.t, default: nil) - The report display name, as assigned by the user.
  • error (type: GoogleApi.VMMigration.V1.Model.Status.t, default: nil) - Output only. Provides details on the state of the report in case of an error.
  • frameEndTime (type: DateTime.t, default: nil) - 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.
  • name (type: String.t, default: nil) - Output only. The report unique name.
  • state (type: String.t, default: nil) - Output only. Current state of the report.
  • stateTime (type: DateTime.t, default: nil) - Output only. The time the state was last set.
  • timeFrame (type: String.t, default: nil) - Time frame of the report.
  • vmCount (type: integer(), default: nil) - Output only. Total number of VMs included in the report.
  • vms (type: list(GoogleApi.VMMigration.V1.Model.VmUtilizationInfo.t), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.VMMigration.V1.Model.UtilizationReport{
  createTime: DateTime.t() | nil,
  displayName: String.t() | nil,
  error: GoogleApi.VMMigration.V1.Model.Status.t() | nil,
  frameEndTime: DateTime.t() | nil,
  name: String.t() | nil,
  state: String.t() | nil,
  stateTime: DateTime.t() | nil,
  timeFrame: String.t() | nil,
  vmCount: integer() | nil,
  vms: [GoogleApi.VMMigration.V1.Model.VmUtilizationInfo.t()] | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.