Skip to content

List Virtual Machines

backupgateway_list_virtual_machines R Documentation

Lists your virtual machines

Description

Lists your virtual machines.

Usage

backupgateway_list_virtual_machines(HypervisorArn, MaxResults,
  NextToken)

Arguments

HypervisorArn

The Amazon Resource Name (ARN) of the hypervisor connected to your virtual machine.

MaxResults

The maximum number of virtual machines to list.

NextToken

The next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

Value

A list with the following syntax:

list(
  NextToken = "string",
  VirtualMachines = list(
    list(
      HostName = "string",
      HypervisorId = "string",
      LastBackupDate = as.POSIXct(
        "2015-01-01"
      ),
      Name = "string",
      Path = "string",
      ResourceArn = "string"
    )
  )
)

Request syntax

svc$list_virtual_machines(
  HypervisorArn = "string",
  MaxResults = 123,
  NextToken = "string"
)