Class UtilizationReport (1.8.2)

UtilizationReport(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
name str
Output only. The report unique name.
display_name str
The report display name, as assigned by the user.
state google.cloud.vmmigration_v1.types.UtilizationReport.State
Output only. Current state of the report.
state_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time the state was last set.
error google.rpc.status_pb2.Status
Output only. Provides details on the state of the report in case of an error.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time the report was created (this refers to the time of the request, not the time the report creation completed).
time_frame google.cloud.vmmigration_v1.types.UtilizationReport.TimeFrame
Time frame of the report.
frame_end_time google.protobuf.timestamp_pb2.Timestamp
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.
vm_count int
Output only. Total number of VMs included in the report.
vms MutableSequence[google.cloud.vmmigration_v1.types.VmUtilizationInfo]
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.

Classes

State

State(value)

Utilization report state.

Values: STATE_UNSPECIFIED (0): The state is unknown. This value is not in use. CREATING (1): The report is in the making. SUCCEEDED (2): Report creation completed successfully. FAILED (3): Report creation failed.

TimeFrame

TimeFrame(value)

Report time frame options.

Values: TIME_FRAME_UNSPECIFIED (0): The time frame was not specified and will default to WEEK. WEEK (1): One week. MONTH (2): One month. YEAR (3): One year.