Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.vmmigration/v1.getUtilizationReport
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets a single Utilization Report.
Using getUtilizationReport
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getUtilizationReport(args: GetUtilizationReportArgs, opts?: InvokeOptions): Promise<GetUtilizationReportResult>
function getUtilizationReportOutput(args: GetUtilizationReportOutputArgs, opts?: InvokeOptions): Output<GetUtilizationReportResult>def get_utilization_report(location: Optional[str] = None,
                           project: Optional[str] = None,
                           source_id: Optional[str] = None,
                           utilization_report_id: Optional[str] = None,
                           view: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetUtilizationReportResult
def get_utilization_report_output(location: Optional[pulumi.Input[str]] = None,
                           project: Optional[pulumi.Input[str]] = None,
                           source_id: Optional[pulumi.Input[str]] = None,
                           utilization_report_id: Optional[pulumi.Input[str]] = None,
                           view: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetUtilizationReportResult]func LookupUtilizationReport(ctx *Context, args *LookupUtilizationReportArgs, opts ...InvokeOption) (*LookupUtilizationReportResult, error)
func LookupUtilizationReportOutput(ctx *Context, args *LookupUtilizationReportOutputArgs, opts ...InvokeOption) LookupUtilizationReportResultOutput> Note: This function is named LookupUtilizationReport in the Go SDK.
public static class GetUtilizationReport 
{
    public static Task<GetUtilizationReportResult> InvokeAsync(GetUtilizationReportArgs args, InvokeOptions? opts = null)
    public static Output<GetUtilizationReportResult> Invoke(GetUtilizationReportInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUtilizationReportResult> getUtilizationReport(GetUtilizationReportArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:vmmigration/v1:getUtilizationReport
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Location string
 - Source
Id string - Utilization
Report stringId  - Project string
 - View string
 
- Location string
 - Source
Id string - Utilization
Report stringId  - Project string
 - View string
 
- location String
 - source
Id String - utilization
Report StringId  - project String
 - view String
 
- location string
 - source
Id string - utilization
Report stringId  - project string
 - view string
 
- location str
 - source_
id str - utilization_
report_ strid  - project str
 - view str
 
- location String
 - source
Id String - utilization
Report StringId  - project String
 - view String
 
getUtilizationReport Result
The following output properties are available:
- Create
Time string - The time the report was created (this refers to the time of the request, not the time the report creation completed).
 - Display
Name string - The report display name, as assigned by the user.
 - Error
Pulumi.
Google Native. VMMigration. V1. Outputs. Status Response  - Provides details on the state of the report in case of an error.
 - Frame
End stringTime  - 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 string
 - The report unique name.
 - State string
 - Current state of the report.
 - State
Time string - The time the state was last set.
 - Time
Frame string - Time frame of the report.
 - Vm
Count int - Total number of VMs included in the report.
 - Vms
List<Pulumi.
Google Native. VMMigration. V1. Outputs. Vm Utilization Info Response>  - 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.
 
- Create
Time string - The time the report was created (this refers to the time of the request, not the time the report creation completed).
 - Display
Name string - The report display name, as assigned by the user.
 - Error
Status
Response  - Provides details on the state of the report in case of an error.
 - Frame
End stringTime  - 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 string
 - The report unique name.
 - State string
 - Current state of the report.
 - State
Time string - The time the state was last set.
 - Time
Frame string - Time frame of the report.
 - Vm
Count int - Total number of VMs included in the report.
 - Vms
[]Vm
Utilization Info Response  - 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.
 
- create
Time String - The time the report was created (this refers to the time of the request, not the time the report creation completed).
 - display
Name String - The report display name, as assigned by the user.
 - error
Status
Response  - Provides details on the state of the report in case of an error.
 - frame
End StringTime  - 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 String
 - The report unique name.
 - state String
 - Current state of the report.
 - state
Time String - The time the state was last set.
 - time
Frame String - Time frame of the report.
 - vm
Count Integer - Total number of VMs included in the report.
 - vms
List<Vm
Utilization Info Response>  - 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.
 
- create
Time string - The time the report was created (this refers to the time of the request, not the time the report creation completed).
 - display
Name string - The report display name, as assigned by the user.
 - error
Status
Response  - Provides details on the state of the report in case of an error.
 - frame
End stringTime  - 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 string
 - The report unique name.
 - state string
 - Current state of the report.
 - state
Time string - The time the state was last set.
 - time
Frame string - Time frame of the report.
 - vm
Count number - Total number of VMs included in the report.
 - vms
Vm
Utilization Info Response[]  - 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.
 
- create_
time str - The time the report was created (this refers to the time of the request, not the time the report creation completed).
 - display_
name str - The report display name, as assigned by the user.
 - error
Status
Response  - Provides details on the state of the report in case of an error.
 - frame_
end_ strtime  - 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 str
 - The report unique name.
 - state str
 - Current state of the report.
 - state_
time str - The time the state was last set.
 - time_
frame str - Time frame of the report.
 - vm_
count int - Total number of VMs included in the report.
 - vms
Sequence[Vm
Utilization Info Response]  - 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.
 
- create
Time String - The time the report was created (this refers to the time of the request, not the time the report creation completed).
 - display
Name String - The report display name, as assigned by the user.
 - error Property Map
 - Provides details on the state of the report in case of an error.
 - frame
End StringTime  - 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 String
 - The report unique name.
 - state String
 - Current state of the report.
 - state
Time String - The time the state was last set.
 - time
Frame String - Time frame of the report.
 - vm
Count Number - Total number of VMs included in the report.
 - vms List<Property Map>
 - 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.
 
Supporting Types
StatusResponse 
- Code int
 - The status code, which should be an enum value of google.rpc.Code.
 - Details
List<Immutable
Dictionary<string, string>>  - A list of messages that carry the error details. There is a common set of message types for APIs to use.
 - Message string
 - A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
 
- Code int
 - The status code, which should be an enum value of google.rpc.Code.
 - Details []map[string]string
 - A list of messages that carry the error details. There is a common set of message types for APIs to use.
 - Message string
 - A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
 
- code Integer
 - The status code, which should be an enum value of google.rpc.Code.
 - details List<Map<String,String>>
 - A list of messages that carry the error details. There is a common set of message types for APIs to use.
 - message String
 - A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
 
- code number
 - The status code, which should be an enum value of google.rpc.Code.
 - details {[key: string]: string}[]
 - A list of messages that carry the error details. There is a common set of message types for APIs to use.
 - message string
 - A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
 
- code int
 - The status code, which should be an enum value of google.rpc.Code.
 - details Sequence[Mapping[str, str]]
 - A list of messages that carry the error details. There is a common set of message types for APIs to use.
 - message str
 - A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
 
- code Number
 - The status code, which should be an enum value of google.rpc.Code.
 - details List<Map<String>>
 - A list of messages that carry the error details. There is a common set of message types for APIs to use.
 - message String
 - A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
 
VmUtilizationInfoResponse   
- Utilization
Pulumi.
Google Native. VMMigration. V1. Inputs. Vm Utilization Metrics Response  - Utilization metrics for this VM.
 - Vm
Id string - The VM's ID in the source.
 - Vmware
Vm Pulumi.Details Google Native. VMMigration. V1. Inputs. Vmware Vm Details Response  - The description of the VM in a Source of type Vmware.
 
- Utilization
Vm
Utilization Metrics Response  - Utilization metrics for this VM.
 - Vm
Id string - The VM's ID in the source.
 - Vmware
Vm VmwareDetails Vm Details Response  - The description of the VM in a Source of type Vmware.
 
- utilization
Vm
Utilization Metrics Response  - Utilization metrics for this VM.
 - vm
Id String - The VM's ID in the source.
 - vmware
Vm VmwareDetails Vm Details Response  - The description of the VM in a Source of type Vmware.
 
- utilization
Vm
Utilization Metrics Response  - Utilization metrics for this VM.
 - vm
Id string - The VM's ID in the source.
 - vmware
Vm VmwareDetails Vm Details Response  - The description of the VM in a Source of type Vmware.
 
- utilization
Vm
Utilization Metrics Response  - Utilization metrics for this VM.
 - vm_
id str - The VM's ID in the source.
 - vmware_
vm_ Vmwaredetails Vm Details Response  - The description of the VM in a Source of type Vmware.
 
- utilization Property Map
 - Utilization metrics for this VM.
 - vm
Id String - The VM's ID in the source.
 - vmware
Vm Property MapDetails  - The description of the VM in a Source of type Vmware.
 
VmUtilizationMetricsResponse   
- Cpu
Average intPercent  - Average CPU usage, percent.
 - Cpu
Max intPercent  - Max CPU usage, percent.
 - Disk
Io stringRate Average Kbps  - Average disk IO rate, in kilobytes per second.
 - Disk
Io stringRate Max Kbps  - Max disk IO rate, in kilobytes per second.
 - Memory
Average intPercent  - Average memory usage, percent.
 - Memory
Max intPercent  - Max memory usage, percent.
 - Network
Throughput stringAverage Kbps  - Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
 - Network
Throughput stringMax Kbps  - Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
 
- Cpu
Average intPercent  - Average CPU usage, percent.
 - Cpu
Max intPercent  - Max CPU usage, percent.
 - Disk
Io stringRate Average Kbps  - Average disk IO rate, in kilobytes per second.
 - Disk
Io stringRate Max Kbps  - Max disk IO rate, in kilobytes per second.
 - Memory
Average intPercent  - Average memory usage, percent.
 - Memory
Max intPercent  - Max memory usage, percent.
 - Network
Throughput stringAverage Kbps  - Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
 - Network
Throughput stringMax Kbps  - Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
 
- cpu
Average IntegerPercent  - Average CPU usage, percent.
 - cpu
Max IntegerPercent  - Max CPU usage, percent.
 - disk
Io StringRate Average Kbps  - Average disk IO rate, in kilobytes per second.
 - disk
Io StringRate Max Kbps  - Max disk IO rate, in kilobytes per second.
 - memory
Average IntegerPercent  - Average memory usage, percent.
 - memory
Max IntegerPercent  - Max memory usage, percent.
 - network
Throughput StringAverage Kbps  - Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
 - network
Throughput StringMax Kbps  - Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
 
- cpu
Average numberPercent  - Average CPU usage, percent.
 - cpu
Max numberPercent  - Max CPU usage, percent.
 - disk
Io stringRate Average Kbps  - Average disk IO rate, in kilobytes per second.
 - disk
Io stringRate Max Kbps  - Max disk IO rate, in kilobytes per second.
 - memory
Average numberPercent  - Average memory usage, percent.
 - memory
Max numberPercent  - Max memory usage, percent.
 - network
Throughput stringAverage Kbps  - Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
 - network
Throughput stringMax Kbps  - Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
 
- cpu_
average_ intpercent  - Average CPU usage, percent.
 - cpu_
max_ intpercent  - Max CPU usage, percent.
 - disk_
io_ strrate_ average_ kbps  - Average disk IO rate, in kilobytes per second.
 - disk_
io_ strrate_ max_ kbps  - Max disk IO rate, in kilobytes per second.
 - memory_
average_ intpercent  - Average memory usage, percent.
 - memory_
max_ intpercent  - Max memory usage, percent.
 - network_
throughput_ straverage_ kbps  - Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
 - network_
throughput_ strmax_ kbps  - Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
 
- cpu
Average NumberPercent  - Average CPU usage, percent.
 - cpu
Max NumberPercent  - Max CPU usage, percent.
 - disk
Io StringRate Average Kbps  - Average disk IO rate, in kilobytes per second.
 - disk
Io StringRate Max Kbps  - Max disk IO rate, in kilobytes per second.
 - memory
Average NumberPercent  - Average memory usage, percent.
 - memory
Max NumberPercent  - Max memory usage, percent.
 - network
Throughput StringAverage Kbps  - Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
 - network
Throughput StringMax Kbps  - Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second.
 
VmwareVmDetailsResponse   
- Boot
Option string - The VM Boot Option.
 - Committed
Storage stringMb  - The total size of the storage allocated to the VM in MB.
 - Cpu
Count int - The number of cpus in the VM.
 - Datacenter
Description string - The descriptive name of the vCenter's datacenter this VM is contained in.
 - Datacenter
Id string - The id of the vCenter's datacenter this VM is contained in.
 - Disk
Count int - The number of disks the VM has.
 - Display
Name string - The display name of the VM. Note that this is not necessarily unique.
 - Guest
Description string - The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of strings this might hold.
 - Memory
Mb int - The size of the memory of the VM in MB.
 - Power
State string - The power state of the VM at the moment list was taken.
 - Uuid string
 - The unique identifier of the VM in vCenter.
 - Vm
Id string - The VM's id in the source (note that this is not the MigratingVm's id). This is the moref id of the VM.
 
- Boot
Option string - The VM Boot Option.
 - Committed
Storage stringMb  - The total size of the storage allocated to the VM in MB.
 - Cpu
Count int - The number of cpus in the VM.
 - Datacenter
Description string - The descriptive name of the vCenter's datacenter this VM is contained in.
 - Datacenter
Id string - The id of the vCenter's datacenter this VM is contained in.
 - Disk
Count int - The number of disks the VM has.
 - Display
Name string - The display name of the VM. Note that this is not necessarily unique.
 - Guest
Description string - The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of strings this might hold.
 - Memory
Mb int - The size of the memory of the VM in MB.
 - Power
State string - The power state of the VM at the moment list was taken.
 - Uuid string
 - The unique identifier of the VM in vCenter.
 - Vm
Id string - The VM's id in the source (note that this is not the MigratingVm's id). This is the moref id of the VM.
 
- boot
Option String - The VM Boot Option.
 - committed
Storage StringMb  - The total size of the storage allocated to the VM in MB.
 - cpu
Count Integer - The number of cpus in the VM.
 - datacenter
Description String - The descriptive name of the vCenter's datacenter this VM is contained in.
 - datacenter
Id String - The id of the vCenter's datacenter this VM is contained in.
 - disk
Count Integer - The number of disks the VM has.
 - display
Name String - The display name of the VM. Note that this is not necessarily unique.
 - guest
Description String - The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of strings this might hold.
 - memory
Mb Integer - The size of the memory of the VM in MB.
 - power
State String - The power state of the VM at the moment list was taken.
 - uuid String
 - The unique identifier of the VM in vCenter.
 - vm
Id String - The VM's id in the source (note that this is not the MigratingVm's id). This is the moref id of the VM.
 
- boot
Option string - The VM Boot Option.
 - committed
Storage stringMb  - The total size of the storage allocated to the VM in MB.
 - cpu
Count number - The number of cpus in the VM.
 - datacenter
Description string - The descriptive name of the vCenter's datacenter this VM is contained in.
 - datacenter
Id string - The id of the vCenter's datacenter this VM is contained in.
 - disk
Count number - The number of disks the VM has.
 - display
Name string - The display name of the VM. Note that this is not necessarily unique.
 - guest
Description string - The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of strings this might hold.
 - memory
Mb number - The size of the memory of the VM in MB.
 - power
State string - The power state of the VM at the moment list was taken.
 - uuid string
 - The unique identifier of the VM in vCenter.
 - vm
Id string - The VM's id in the source (note that this is not the MigratingVm's id). This is the moref id of the VM.
 
- boot_
option str - The VM Boot Option.
 - committed_
storage_ strmb  - The total size of the storage allocated to the VM in MB.
 - cpu_
count int - The number of cpus in the VM.
 - datacenter_
description str - The descriptive name of the vCenter's datacenter this VM is contained in.
 - datacenter_
id str - The id of the vCenter's datacenter this VM is contained in.
 - disk_
count int - The number of disks the VM has.
 - display_
name str - The display name of the VM. Note that this is not necessarily unique.
 - guest_
description str - The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of strings this might hold.
 - memory_
mb int - The size of the memory of the VM in MB.
 - power_
state str - The power state of the VM at the moment list was taken.
 - uuid str
 - The unique identifier of the VM in vCenter.
 - vm_
id str - The VM's id in the source (note that this is not the MigratingVm's id). This is the moref id of the VM.
 
- boot
Option String - The VM Boot Option.
 - committed
Storage StringMb  - The total size of the storage allocated to the VM in MB.
 - cpu
Count Number - The number of cpus in the VM.
 - datacenter
Description String - The descriptive name of the vCenter's datacenter this VM is contained in.
 - datacenter
Id String - The id of the vCenter's datacenter this VM is contained in.
 - disk
Count Number - The number of disks the VM has.
 - display
Name String - The display name of the VM. Note that this is not necessarily unique.
 - guest
Description String - The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of strings this might hold.
 - memory
Mb Number - The size of the memory of the VM in MB.
 - power
State String - The power state of the VM at the moment list was taken.
 - uuid String
 - The unique identifier of the VM in vCenter.
 - vm
Id String - The VM's id in the source (note that this is not the MigratingVm's id). This is the moref id of the VM.
 
Package Details
- Repository
 - Google Cloud Native pulumi/pulumi-google-native
 - License
 - Apache-2.0
 
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi