ProjectsLocationsSources
class ProjectsLocationsSources extends Resource (View source)
The "sources" collection of methods.
Typical usage is:
$vmmigrationService = new Google\Service\VMMigrationService(...);
$sources = $vmmigrationService->projects_locations_sources;
Methods
List remote source's inventory of VMs. The remote source is the onprem vCenter (remote in the sense it's not in Compute Engine). The inventory describes the list of existing VMs in that source. Note that this operation lists the VMs on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service. (sources.fetchInventory)
Lists Sources in a given project and location.
Details
Operation
create(string $parent, Source $postBody, array $optParams = [])
Creates a new Source in a given project and location. (sources.create)
Operation
delete(string $name, array $optParams = [])
Deletes a single Source. (sources.delete)
FetchInventoryResponse
fetchInventory(string $source, array $optParams = [])
List remote source's inventory of VMs. The remote source is the onprem vCenter (remote in the sense it's not in Compute Engine). The inventory describes the list of existing VMs in that source. Note that this operation lists the VMs on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service. (sources.fetchInventory)
Source
get(string $name, array $optParams = [])
Gets details of a single Source. (sources.get)
ListSourcesResponse
listProjectsLocationsSources(string $parent, array $optParams = [])
Lists Sources in a given project and location.
(sources.listProjectsLocationsSources)