class ProjectsLocationsSourcesMigratingVmsCloneJobs extends Resource (View source)

The "cloneJobs" collection of methods.

Typical usage is:

 $vmmigrationService = new Google\Service\VMMigrationService(...);
 $cloneJobs = $vmmigrationService->projects_locations_sources_migratingVms_cloneJobs;

Methods

cancel(string $name, CancelCloneJobRequest $postBody, array $optParams = [])

Initiates the cancellation of a running clone job. (cloneJobs.cancel)

create(string $parent, CloneJob $postBody, array $optParams = [])

Initiates a Clone of a specific migrating VM. (cloneJobs.create)

get(string $name, array $optParams = [])

Gets details of a single CloneJob. (cloneJobs.get)

listProjectsLocationsSourcesMigratingVmsCloneJobs(string $parent, array $optParams = [])

Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are listed. (cloneJobs.listProjectsLocationsSourcesMigratingVmsCloneJobs)

Details

Operation cancel(string $name, CancelCloneJobRequest $postBody, array $optParams = [])

Initiates the cancellation of a running clone job. (cloneJobs.cancel)

Parameters

string $name

Required. The clone job id

CancelCloneJobRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation create(string $parent, CloneJob $postBody, array $optParams = [])

Initiates a Clone of a specific migrating VM. (cloneJobs.create)

Parameters

string $parent

Required. The Clone's parent.

CloneJob $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

CloneJob get(string $name, array $optParams = [])

Gets details of a single CloneJob. (cloneJobs.get)

Parameters

string $name

Required. The name of the CloneJob.

array $optParams

Optional parameters.

Return Value

CloneJob

Exceptions

Exception

ListCloneJobsResponse listProjectsLocationsSourcesMigratingVmsCloneJobs(string $parent, array $optParams = [])

Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are listed. (cloneJobs.listProjectsLocationsSourcesMigratingVmsCloneJobs)

Parameters

string $parent

Required. The parent, which owns this collection of source VMs.

array $optParams

Optional parameters.

Return Value

ListCloneJobsResponse

Exceptions

Exception