UtilizationReportArgs

data class UtilizationReportArgs(val displayName: Output<String>? = null, val location: Output<String>? = null, val project: Output<String>? = null, val requestId: Output<String>? = null, val sourceId: Output<String>? = null, val timeFrame: Output<UtilizationReportTimeFrame>? = null, val utilizationReportId: Output<String>? = null, val vms: Output<List<VmUtilizationInfoArgs>>? = null) : ConvertibleToJava<UtilizationReportArgs>

Creates a new UtilizationReport. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun UtilizationReportArgs(displayName: Output<String>? = null, location: Output<String>? = null, project: Output<String>? = null, requestId: Output<String>? = null, sourceId: Output<String>? = null, timeFrame: Output<UtilizationReportTimeFrame>? = null, utilizationReportId: Output<String>? = null, vms: Output<List<VmUtilizationInfoArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): UtilizationReportArgs

Properties

Link copied to clipboard
val displayName: Output<String>? = null

The report display name, as assigned by the user.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val requestId: Output<String>? = null

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Link copied to clipboard
val sourceId: Output<String>? = null
Link copied to clipboard

Time frame of the report.

Link copied to clipboard
val utilizationReportId: Output<String>? = null

Required. The ID to use for the report, which will become the final component of the reports's resource name. This value maximum length is 63 characters, and valid characters are /a-z-/. It must start with an english letter and must not end with a hyphen.

Link copied to clipboard
val vms: Output<List<VmUtilizationInfoArgs>>? = null

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.