Package com.google.cloud.vmmigration.v1 (1.7.0)

A client to VM Migration API

The interfaces provided are listed below, along with usage samples.

VmMigrationClient

Service Description: VM Migration Service

Sample for VmMigrationClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
   SourceName name = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]");
   Source response = vmMigrationClient.getSource(name);
 }
 

Classes

AddGroupMigrationRequest

Request message for 'AddGroupMigration' request.

Protobuf type google.cloud.vmmigration.v1.AddGroupMigrationRequest

AddGroupMigrationRequest.Builder

Request message for 'AddGroupMigration' request.

Protobuf type google.cloud.vmmigration.v1.AddGroupMigrationRequest

AddGroupMigrationResponse

Response message for 'AddGroupMigration' request.

Protobuf type google.cloud.vmmigration.v1.AddGroupMigrationResponse

AddGroupMigrationResponse.Builder

Response message for 'AddGroupMigration' request.

Protobuf type google.cloud.vmmigration.v1.AddGroupMigrationResponse

ApplianceVersion

Describes an appliance version.

Protobuf type google.cloud.vmmigration.v1.ApplianceVersion

ApplianceVersion.Builder

Describes an appliance version.

Protobuf type google.cloud.vmmigration.v1.ApplianceVersion

AppliedLicense

AppliedLicense holds the license data returned by adaptation module report.

Protobuf type google.cloud.vmmigration.v1.AppliedLicense

AppliedLicense.Builder

AppliedLicense holds the license data returned by adaptation module report.

Protobuf type google.cloud.vmmigration.v1.AppliedLicense

AvailableUpdates

Holds informatiom about the available versions for upgrade.

Protobuf type google.cloud.vmmigration.v1.AvailableUpdates

AvailableUpdates.Builder

Holds informatiom about the available versions for upgrade.

Protobuf type google.cloud.vmmigration.v1.AvailableUpdates

CancelCloneJobRequest

Request message for 'CancelCloneJob' request.

Protobuf type google.cloud.vmmigration.v1.CancelCloneJobRequest

CancelCloneJobRequest.Builder

Request message for 'CancelCloneJob' request.

Protobuf type google.cloud.vmmigration.v1.CancelCloneJobRequest

CancelCloneJobResponse

Response message for 'CancelCloneJob' request.

Protobuf type google.cloud.vmmigration.v1.CancelCloneJobResponse

CancelCloneJobResponse.Builder

Response message for 'CancelCloneJob' request.

Protobuf type google.cloud.vmmigration.v1.CancelCloneJobResponse

CancelCutoverJobRequest

Request message for 'CancelCutoverJob' request.

Protobuf type google.cloud.vmmigration.v1.CancelCutoverJobRequest

CancelCutoverJobRequest.Builder

Request message for 'CancelCutoverJob' request.

Protobuf type google.cloud.vmmigration.v1.CancelCutoverJobRequest

CancelCutoverJobResponse

Response message for 'CancelCutoverJob' request.

Protobuf type google.cloud.vmmigration.v1.CancelCutoverJobResponse

CancelCutoverJobResponse.Builder

Response message for 'CancelCutoverJob' request.

Protobuf type google.cloud.vmmigration.v1.CancelCutoverJobResponse

CloneJob

CloneJob describes the process of creating a clone of a MigratingVM to the requested target based on the latest successful uploaded snapshots. While the migration cycles of a MigratingVm take place, it is possible to verify the uploaded VM can be started in the cloud, by creating a clone. The clone can be created without any downtime, and it is created using the latest snapshots which are already in the cloud. The cloneJob is only responsible for its work, not its products, which means once it is finished, it will never touch the instance it created. It will only delete it in case of the CloneJob being cancelled or upon failure to clone.

Protobuf type google.cloud.vmmigration.v1.CloneJob

CloneJob.Builder

CloneJob describes the process of creating a clone of a MigratingVM to the requested target based on the latest successful uploaded snapshots. While the migration cycles of a MigratingVm take place, it is possible to verify the uploaded VM can be started in the cloud, by creating a clone. The clone can be created without any downtime, and it is created using the latest snapshots which are already in the cloud. The cloneJob is only responsible for its work, not its products, which means once it is finished, it will never touch the instance it created. It will only delete it in case of the CloneJob being cancelled or upon failure to clone.

Protobuf type google.cloud.vmmigration.v1.CloneJob

CloneJobName

CloneJobName.Builder

Builder for projects/{project}/locations/{location}/sources/{source}/migratingVms/{migrating_vm}/cloneJobs/{clone_job}.

ComputeEngineTargetDefaults

ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.

Protobuf type google.cloud.vmmigration.v1.ComputeEngineTargetDefaults

ComputeEngineTargetDefaults.Builder

ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.

Protobuf type google.cloud.vmmigration.v1.ComputeEngineTargetDefaults

ComputeEngineTargetDetails

ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project.

Protobuf type google.cloud.vmmigration.v1.ComputeEngineTargetDetails

ComputeEngineTargetDetails.Builder

ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project.

Protobuf type google.cloud.vmmigration.v1.ComputeEngineTargetDetails

ComputeScheduling

Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes.

Protobuf type google.cloud.vmmigration.v1.ComputeScheduling

ComputeScheduling.Builder

Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes.

Protobuf type google.cloud.vmmigration.v1.ComputeScheduling

CreateCloneJobRequest

Request message for 'CreateCloneJob' request.

Protobuf type google.cloud.vmmigration.v1.CreateCloneJobRequest

CreateCloneJobRequest.Builder

Request message for 'CreateCloneJob' request.

Protobuf type google.cloud.vmmigration.v1.CreateCloneJobRequest

CreateCutoverJobRequest

Request message for 'CreateCutoverJob' request.

Protobuf type google.cloud.vmmigration.v1.CreateCutoverJobRequest

CreateCutoverJobRequest.Builder

Request message for 'CreateCutoverJob' request.

Protobuf type google.cloud.vmmigration.v1.CreateCutoverJobRequest

CreateDatacenterConnectorRequest

Request message for 'CreateDatacenterConnector' request.

Protobuf type google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest

CreateDatacenterConnectorRequest.Builder

Request message for 'CreateDatacenterConnector' request.

Protobuf type google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest

CreateGroupRequest

Request message for 'CreateGroup' request.

Protobuf type google.cloud.vmmigration.v1.CreateGroupRequest

CreateGroupRequest.Builder

Request message for 'CreateGroup' request.

Protobuf type google.cloud.vmmigration.v1.CreateGroupRequest

CreateMigratingVmRequest

Request message for 'CreateMigratingVm' request.

Protobuf type google.cloud.vmmigration.v1.CreateMigratingVmRequest

CreateMigratingVmRequest.Builder

Request message for 'CreateMigratingVm' request.

Protobuf type google.cloud.vmmigration.v1.CreateMigratingVmRequest

CreateSourceRequest

Request message for 'CreateSource' request.

Protobuf type google.cloud.vmmigration.v1.CreateSourceRequest

CreateSourceRequest.Builder

Request message for 'CreateSource' request.

Protobuf type google.cloud.vmmigration.v1.CreateSourceRequest

CreateTargetProjectRequest

Request message for 'CreateTargetProject' request.

Protobuf type google.cloud.vmmigration.v1.CreateTargetProjectRequest

CreateTargetProjectRequest.Builder

Request message for 'CreateTargetProject' request.

Protobuf type google.cloud.vmmigration.v1.CreateTargetProjectRequest

CreateUtilizationReportRequest

Request message for 'CreateUtilizationReport' request.

Protobuf type google.cloud.vmmigration.v1.CreateUtilizationReportRequest

CreateUtilizationReportRequest.Builder

Request message for 'CreateUtilizationReport' request.

Protobuf type google.cloud.vmmigration.v1.CreateUtilizationReportRequest

CutoverJob

CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and clonning the VM using the replicated snapshot.

Protobuf type google.cloud.vmmigration.v1.CutoverJob

CutoverJob.Builder

CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and clonning the VM using the replicated snapshot.

Protobuf type google.cloud.vmmigration.v1.CutoverJob

CutoverJobName

CutoverJobName.Builder

Builder for projects/{project}/locations/{location}/sources/{source}/migratingVms/{migrating_vm}/cutoverJobs/{cutover_job}.

DatacenterConnector

DatacenterConnector message describes a connector between the Source and GCP, which is installed on a vmware datacenter (an OVA vm installed by the user) to connect the Datacenter to GCP and support vm migration data transfer.

Protobuf type google.cloud.vmmigration.v1.DatacenterConnector

DatacenterConnector.Builder

DatacenterConnector message describes a connector between the Source and GCP, which is installed on a vmware datacenter (an OVA vm installed by the user) to connect the Datacenter to GCP and support vm migration data transfer.

Protobuf type google.cloud.vmmigration.v1.DatacenterConnector

DatacenterConnectorName

DatacenterConnectorName.Builder

Builder for projects/{project}/locations/{location}/sources/{source}/datacenterConnectors/{datacenter_connector}.

DeleteDatacenterConnectorRequest

Request message for 'DeleteDatacenterConnector' request.

Protobuf type google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest

DeleteDatacenterConnectorRequest.Builder

Request message for 'DeleteDatacenterConnector' request.

Protobuf type google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest

DeleteGroupRequest

Request message for 'DeleteGroup' request.

Protobuf type google.cloud.vmmigration.v1.DeleteGroupRequest

DeleteGroupRequest.Builder

Request message for 'DeleteGroup' request.

Protobuf type google.cloud.vmmigration.v1.DeleteGroupRequest

DeleteMigratingVmRequest

Request message for 'DeleteMigratingVm' request.

Protobuf type google.cloud.vmmigration.v1.DeleteMigratingVmRequest

DeleteMigratingVmRequest.Builder

Request message for 'DeleteMigratingVm' request.

Protobuf type google.cloud.vmmigration.v1.DeleteMigratingVmRequest

DeleteSourceRequest

Request message for 'DeleteSource' request.

Protobuf type google.cloud.vmmigration.v1.DeleteSourceRequest

DeleteSourceRequest.Builder

Request message for 'DeleteSource' request.

Protobuf type google.cloud.vmmigration.v1.DeleteSourceRequest

DeleteTargetProjectRequest

Request message for 'DeleteTargetProject' request.

Protobuf type google.cloud.vmmigration.v1.DeleteTargetProjectRequest

DeleteTargetProjectRequest.Builder

Request message for 'DeleteTargetProject' request.

Protobuf type google.cloud.vmmigration.v1.DeleteTargetProjectRequest

DeleteUtilizationReportRequest

Request message for 'DeleteUtilizationReport' request.

Protobuf type google.cloud.vmmigration.v1.DeleteUtilizationReportRequest

DeleteUtilizationReportRequest.Builder

Request message for 'DeleteUtilizationReport' request.

Protobuf type google.cloud.vmmigration.v1.DeleteUtilizationReportRequest

FetchInventoryRequest

Request message for fetchInventory.

Protobuf type google.cloud.vmmigration.v1.FetchInventoryRequest

FetchInventoryRequest.Builder

Request message for fetchInventory.

Protobuf type google.cloud.vmmigration.v1.FetchInventoryRequest

FetchInventoryResponse

Response message for fetchInventory.

Protobuf type google.cloud.vmmigration.v1.FetchInventoryResponse

FetchInventoryResponse.Builder

Response message for fetchInventory.

Protobuf type google.cloud.vmmigration.v1.FetchInventoryResponse

FinalizeMigrationRequest

Request message for 'FinalizeMigration' request.

Protobuf type google.cloud.vmmigration.v1.FinalizeMigrationRequest

FinalizeMigrationRequest.Builder

Request message for 'FinalizeMigration' request.

Protobuf type google.cloud.vmmigration.v1.FinalizeMigrationRequest

FinalizeMigrationResponse

Response message for 'FinalizeMigration' request.

Protobuf type google.cloud.vmmigration.v1.FinalizeMigrationResponse

FinalizeMigrationResponse.Builder

Response message for 'FinalizeMigration' request.

Protobuf type google.cloud.vmmigration.v1.FinalizeMigrationResponse

GetCloneJobRequest

Request message for 'GetCloneJob' request.

Protobuf type google.cloud.vmmigration.v1.GetCloneJobRequest

GetCloneJobRequest.Builder

Request message for 'GetCloneJob' request.

Protobuf type google.cloud.vmmigration.v1.GetCloneJobRequest

GetCutoverJobRequest

Request message for 'GetCutoverJob' request.

Protobuf type google.cloud.vmmigration.v1.GetCutoverJobRequest

GetCutoverJobRequest.Builder

Request message for 'GetCutoverJob' request.

Protobuf type google.cloud.vmmigration.v1.GetCutoverJobRequest

GetDatacenterConnectorRequest

Request message for 'GetDatacenterConnector' request.

Protobuf type google.cloud.vmmigration.v1.GetDatacenterConnectorRequest

GetDatacenterConnectorRequest.Builder

Request message for 'GetDatacenterConnector' request.

Protobuf type google.cloud.vmmigration.v1.GetDatacenterConnectorRequest

GetGroupRequest

Request message for 'GetGroup' request.

Protobuf type google.cloud.vmmigration.v1.GetGroupRequest

GetGroupRequest.Builder

Request message for 'GetGroup' request.

Protobuf type google.cloud.vmmigration.v1.GetGroupRequest

GetMigratingVmRequest

Request message for 'GetMigratingVm' request.

Protobuf type google.cloud.vmmigration.v1.GetMigratingVmRequest

GetMigratingVmRequest.Builder

Request message for 'GetMigratingVm' request.

Protobuf type google.cloud.vmmigration.v1.GetMigratingVmRequest

GetSourceRequest

Request message for 'GetSource' request.

Protobuf type google.cloud.vmmigration.v1.GetSourceRequest

GetSourceRequest.Builder

Request message for 'GetSource' request.

Protobuf type google.cloud.vmmigration.v1.GetSourceRequest

GetTargetProjectRequest

Request message for 'GetTargetProject' call.

Protobuf type google.cloud.vmmigration.v1.GetTargetProjectRequest

GetTargetProjectRequest.Builder

Request message for 'GetTargetProject' call.

Protobuf type google.cloud.vmmigration.v1.GetTargetProjectRequest

GetUtilizationReportRequest

Request message for 'GetUtilizationReport' request.

Protobuf type google.cloud.vmmigration.v1.GetUtilizationReportRequest

GetUtilizationReportRequest.Builder

Request message for 'GetUtilizationReport' request.

Protobuf type google.cloud.vmmigration.v1.GetUtilizationReportRequest

Group

Describes message for 'Group' resource. The Group is a collections of several MigratingVms.

Protobuf type google.cloud.vmmigration.v1.Group

Group.Builder

Describes message for 'Group' resource. The Group is a collections of several MigratingVms.

Protobuf type google.cloud.vmmigration.v1.Group

GroupName

GroupName.Builder

Builder for projects/{project}/locations/{location}/groups/{group}.

ListCloneJobsRequest

Request message for 'ListCloneJobsRequest' request.

Protobuf type google.cloud.vmmigration.v1.ListCloneJobsRequest

ListCloneJobsRequest.Builder

Request message for 'ListCloneJobsRequest' request.

Protobuf type google.cloud.vmmigration.v1.ListCloneJobsRequest

ListCloneJobsResponse

Response message for 'ListCloneJobs' request.

Protobuf type google.cloud.vmmigration.v1.ListCloneJobsResponse

ListCloneJobsResponse.Builder

Response message for 'ListCloneJobs' request.

Protobuf type google.cloud.vmmigration.v1.ListCloneJobsResponse

ListCutoverJobsRequest

Request message for 'ListCutoverJobsRequest' request.

Protobuf type google.cloud.vmmigration.v1.ListCutoverJobsRequest

ListCutoverJobsRequest.Builder

Request message for 'ListCutoverJobsRequest' request.

Protobuf type google.cloud.vmmigration.v1.ListCutoverJobsRequest

ListCutoverJobsResponse

Response message for 'ListCutoverJobs' request.

Protobuf type google.cloud.vmmigration.v1.ListCutoverJobsResponse

ListCutoverJobsResponse.Builder

Response message for 'ListCutoverJobs' request.

Protobuf type google.cloud.vmmigration.v1.ListCutoverJobsResponse

ListDatacenterConnectorsRequest

Request message for 'ListDatacenterConnectors' request.

Protobuf type google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest

ListDatacenterConnectorsRequest.Builder

Request message for 'ListDatacenterConnectors' request.

Protobuf type google.cloud.vmmigration.v1.ListDatacenterConnectorsRequest

ListDatacenterConnectorsResponse

Response message for 'ListDatacenterConnectors' request.

Protobuf type google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse

ListDatacenterConnectorsResponse.Builder

Response message for 'ListDatacenterConnectors' request.

Protobuf type google.cloud.vmmigration.v1.ListDatacenterConnectorsResponse

ListGroupsRequest

Request message for 'ListGroups' request.

Protobuf type google.cloud.vmmigration.v1.ListGroupsRequest

ListGroupsRequest.Builder

Request message for 'ListGroups' request.

Protobuf type google.cloud.vmmigration.v1.ListGroupsRequest

ListGroupsResponse

Response message for 'ListGroups' request.

Protobuf type google.cloud.vmmigration.v1.ListGroupsResponse

ListGroupsResponse.Builder

Response message for 'ListGroups' request.

Protobuf type google.cloud.vmmigration.v1.ListGroupsResponse

ListMigratingVmsRequest

Request message for 'LisMigratingVmsRequest' request.

Protobuf type google.cloud.vmmigration.v1.ListMigratingVmsRequest

ListMigratingVmsRequest.Builder

Request message for 'LisMigratingVmsRequest' request.

Protobuf type google.cloud.vmmigration.v1.ListMigratingVmsRequest

ListMigratingVmsResponse

Response message for 'ListMigratingVms' request.

Protobuf type google.cloud.vmmigration.v1.ListMigratingVmsResponse

ListMigratingVmsResponse.Builder

Response message for 'ListMigratingVms' request.

Protobuf type google.cloud.vmmigration.v1.ListMigratingVmsResponse

ListSourcesRequest

Request message for 'ListSources' request.

Protobuf type google.cloud.vmmigration.v1.ListSourcesRequest

ListSourcesRequest.Builder

Request message for 'ListSources' request.

Protobuf type google.cloud.vmmigration.v1.ListSourcesRequest

ListSourcesResponse

Response message for 'ListSources' request.

Protobuf type google.cloud.vmmigration.v1.ListSourcesResponse

ListSourcesResponse.Builder

Response message for 'ListSources' request.

Protobuf type google.cloud.vmmigration.v1.ListSourcesResponse

ListTargetProjectsRequest

Request message for 'ListTargetProjects' call.

Protobuf type google.cloud.vmmigration.v1.ListTargetProjectsRequest

ListTargetProjectsRequest.Builder

Request message for 'ListTargetProjects' call.

Protobuf type google.cloud.vmmigration.v1.ListTargetProjectsRequest

ListTargetProjectsResponse

Response message for 'ListTargetProjects' call.

Protobuf type google.cloud.vmmigration.v1.ListTargetProjectsResponse

ListTargetProjectsResponse.Builder

Response message for 'ListTargetProjects' call.

Protobuf type google.cloud.vmmigration.v1.ListTargetProjectsResponse

ListUtilizationReportsRequest

Request message for 'ListUtilizationReports' request.

Protobuf type google.cloud.vmmigration.v1.ListUtilizationReportsRequest

ListUtilizationReportsRequest.Builder

Request message for 'ListUtilizationReports' request.

Protobuf type google.cloud.vmmigration.v1.ListUtilizationReportsRequest

ListUtilizationReportsResponse

Response message for 'ListUtilizationReports' request.

Protobuf type google.cloud.vmmigration.v1.ListUtilizationReportsResponse

ListUtilizationReportsResponse.Builder

Response message for 'ListUtilizationReports' request.

Protobuf type google.cloud.vmmigration.v1.ListUtilizationReportsResponse

LocationName

LocationName.Builder

Builder for projects/{project}/locations/{location}.

MigratingVm

MigratingVm describes the VM that will be migrated from a Source environment and its replication state.

Protobuf type google.cloud.vmmigration.v1.MigratingVm

MigratingVm.Builder

MigratingVm describes the VM that will be migrated from a Source environment and its replication state.

Protobuf type google.cloud.vmmigration.v1.MigratingVm

MigratingVmName

MigratingVmName.Builder

Builder for projects/{project}/locations/{location}/sources/{source}/migratingVms/{migrating_vm}.

MigrationError

Represents migration resource error information that can be used with google.rpc.Status message. MigrationError is used to present the user with error information in migration operations.

Protobuf type google.cloud.vmmigration.v1.MigrationError

MigrationError.Builder

Represents migration resource error information that can be used with google.rpc.Status message. MigrationError is used to present the user with error information in migration operations.

Protobuf type google.cloud.vmmigration.v1.MigrationError

NetworkInterface

NetworkInterface represents a NIC of a VM.

Protobuf type google.cloud.vmmigration.v1.NetworkInterface

NetworkInterface.Builder

NetworkInterface represents a NIC of a VM.

Protobuf type google.cloud.vmmigration.v1.NetworkInterface

OperationMetadata

Represents the metadata of the long-running operation.

Protobuf type google.cloud.vmmigration.v1.OperationMetadata

OperationMetadata.Builder

Represents the metadata of the long-running operation.

Protobuf type google.cloud.vmmigration.v1.OperationMetadata

PauseMigrationRequest

Request message for 'PauseMigration' request.

Protobuf type google.cloud.vmmigration.v1.PauseMigrationRequest

PauseMigrationRequest.Builder

Request message for 'PauseMigration' request.

Protobuf type google.cloud.vmmigration.v1.PauseMigrationRequest

PauseMigrationResponse

Response message for 'PauseMigration' request.

Protobuf type google.cloud.vmmigration.v1.PauseMigrationResponse

PauseMigrationResponse.Builder

Response message for 'PauseMigration' request.

Protobuf type google.cloud.vmmigration.v1.PauseMigrationResponse

RemoveGroupMigrationRequest

Request message for 'RemoveMigration' request.

Protobuf type google.cloud.vmmigration.v1.RemoveGroupMigrationRequest

RemoveGroupMigrationRequest.Builder

Request message for 'RemoveMigration' request.

Protobuf type google.cloud.vmmigration.v1.RemoveGroupMigrationRequest

RemoveGroupMigrationResponse

Response message for 'RemoveMigration' request.

Protobuf type google.cloud.vmmigration.v1.RemoveGroupMigrationResponse

RemoveGroupMigrationResponse.Builder

Response message for 'RemoveMigration' request.

Protobuf type google.cloud.vmmigration.v1.RemoveGroupMigrationResponse

ReplicationCycle

ReplicationCycle contains information about the current replication cycle status.

Protobuf type google.cloud.vmmigration.v1.ReplicationCycle

ReplicationCycle.Builder

ReplicationCycle contains information about the current replication cycle status.

Protobuf type google.cloud.vmmigration.v1.ReplicationCycle

ReplicationSync

ReplicationSync contain information about the last replica sync to the cloud.

Protobuf type google.cloud.vmmigration.v1.ReplicationSync

ReplicationSync.Builder

ReplicationSync contain information about the last replica sync to the cloud.

Protobuf type google.cloud.vmmigration.v1.ReplicationSync

ResumeMigrationRequest

Request message for 'ResumeMigration' request.

Protobuf type google.cloud.vmmigration.v1.ResumeMigrationRequest

ResumeMigrationRequest.Builder

Request message for 'ResumeMigration' request.

Protobuf type google.cloud.vmmigration.v1.ResumeMigrationRequest

ResumeMigrationResponse

Response message for 'ResumeMigration' request.

Protobuf type google.cloud.vmmigration.v1.ResumeMigrationResponse

ResumeMigrationResponse.Builder

Response message for 'ResumeMigration' request.

Protobuf type google.cloud.vmmigration.v1.ResumeMigrationResponse

SchedulePolicy

A policy for scheduling replications.

Protobuf type google.cloud.vmmigration.v1.SchedulePolicy

SchedulePolicy.Builder

A policy for scheduling replications.

Protobuf type google.cloud.vmmigration.v1.SchedulePolicy

SchedulingNodeAffinity

Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling

Protobuf type google.cloud.vmmigration.v1.SchedulingNodeAffinity

SchedulingNodeAffinity.Builder

Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling

Protobuf type google.cloud.vmmigration.v1.SchedulingNodeAffinity

Source

Source message describes a specific vm migration Source resource. It contains the source environment information.

Protobuf type google.cloud.vmmigration.v1.Source

Source.Builder

Source message describes a specific vm migration Source resource. It contains the source environment information.

Protobuf type google.cloud.vmmigration.v1.Source

SourceName

SourceName.Builder

Builder for projects/{project}/locations/{location}/sources/{source}.

StartMigrationRequest

Request message for 'StartMigrationRequest' request.

Protobuf type google.cloud.vmmigration.v1.StartMigrationRequest

StartMigrationRequest.Builder

Request message for 'StartMigrationRequest' request.

Protobuf type google.cloud.vmmigration.v1.StartMigrationRequest

StartMigrationResponse

Response message for 'StartMigration' request.

Protobuf type google.cloud.vmmigration.v1.StartMigrationResponse

StartMigrationResponse.Builder

Response message for 'StartMigration' request.

Protobuf type google.cloud.vmmigration.v1.StartMigrationResponse

TargetProject

TargetProject message represents a target Compute Engine project for a migration or a clone.

Protobuf type google.cloud.vmmigration.v1.TargetProject

TargetProject.Builder

TargetProject message represents a target Compute Engine project for a migration or a clone.

Protobuf type google.cloud.vmmigration.v1.TargetProject

TargetProjectName

TargetProjectName.Builder

Builder for projects/{project}/locations/{location}/targetProjects/{target_project}.

UpdateGroupRequest

Update message for 'UpdateGroups' request.

Protobuf type google.cloud.vmmigration.v1.UpdateGroupRequest

UpdateGroupRequest.Builder

Update message for 'UpdateGroups' request.

Protobuf type google.cloud.vmmigration.v1.UpdateGroupRequest

UpdateMigratingVmRequest

Request message for 'UpdateMigratingVm' request.

Protobuf type google.cloud.vmmigration.v1.UpdateMigratingVmRequest

UpdateMigratingVmRequest.Builder

Request message for 'UpdateMigratingVm' request.

Protobuf type google.cloud.vmmigration.v1.UpdateMigratingVmRequest

UpdateSourceRequest

Update message for 'UpdateSources' request.

Protobuf type google.cloud.vmmigration.v1.UpdateSourceRequest

UpdateSourceRequest.Builder

Update message for 'UpdateSources' request.

Protobuf type google.cloud.vmmigration.v1.UpdateSourceRequest

UpdateTargetProjectRequest

Update message for 'UpdateTargetProject' request.

Protobuf type google.cloud.vmmigration.v1.UpdateTargetProjectRequest

UpdateTargetProjectRequest.Builder

Update message for 'UpdateTargetProject' request.

Protobuf type google.cloud.vmmigration.v1.UpdateTargetProjectRequest

UpgradeApplianceRequest

Request message for 'UpgradeAppliance' request.

Protobuf type google.cloud.vmmigration.v1.UpgradeApplianceRequest

UpgradeApplianceRequest.Builder

Request message for 'UpgradeAppliance' request.

Protobuf type google.cloud.vmmigration.v1.UpgradeApplianceRequest

UpgradeApplianceResponse

Response message for 'UpgradeAppliance' request.

Protobuf type google.cloud.vmmigration.v1.UpgradeApplianceResponse

UpgradeApplianceResponse.Builder

Response message for 'UpgradeAppliance' request.

Protobuf type google.cloud.vmmigration.v1.UpgradeApplianceResponse

UpgradeStatus

UpgradeStatus contains information about upgradeAppliance operation.

Protobuf type google.cloud.vmmigration.v1.UpgradeStatus

UpgradeStatus.Builder

UpgradeStatus contains information about upgradeAppliance operation.

Protobuf type google.cloud.vmmigration.v1.UpgradeStatus

UtilizationReport

Utilization report details the utilization (CPU, memory, etc.) of selected source VMs.

Protobuf type google.cloud.vmmigration.v1.UtilizationReport

UtilizationReport.Builder

Utilization report details the utilization (CPU, memory, etc.) of selected source VMs.

Protobuf type google.cloud.vmmigration.v1.UtilizationReport

UtilizationReportName

UtilizationReportName.Builder

Builder for projects/{project}/locations/{location}/sources/{source}/utilizationReports/{utilization_report}.

VmMigrationClient

Service Description: VM Migration Service

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (VmMigrationClient vmMigrationClient = VmMigrationClient.create()) {
   SourceName name = SourceName.of("[PROJECT]", "[LOCATION]", "[SOURCE]");
   Source response = vmMigrationClient.getSource(name);
 }
 

Note: close() needs to be called on the VmMigrationClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of VmMigrationSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 VmMigrationSettings vmMigrationSettings =
     VmMigrationSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 VmMigrationClient vmMigrationClient = VmMigrationClient.create(vmMigrationSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 VmMigrationSettings vmMigrationSettings =
     VmMigrationSettings.newBuilder().setEndpoint(myEndpoint).build();
 VmMigrationClient vmMigrationClient = VmMigrationClient.create(vmMigrationSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 VmMigrationSettings vmMigrationSettings = VmMigrationSettings.newHttpJsonBuilder().build();
 VmMigrationClient vmMigrationClient = VmMigrationClient.create(vmMigrationSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

VmMigrationClient.ListCloneJobsFixedSizeCollection

VmMigrationClient.ListCloneJobsPage

VmMigrationClient.ListCloneJobsPagedResponse

VmMigrationClient.ListCutoverJobsFixedSizeCollection

VmMigrationClient.ListCutoverJobsPage

VmMigrationClient.ListCutoverJobsPagedResponse

VmMigrationClient.ListDatacenterConnectorsFixedSizeCollection

VmMigrationClient.ListDatacenterConnectorsPage

VmMigrationClient.ListDatacenterConnectorsPagedResponse

VmMigrationClient.ListGroupsFixedSizeCollection

VmMigrationClient.ListGroupsPage

VmMigrationClient.ListGroupsPagedResponse

VmMigrationClient.ListMigratingVmsFixedSizeCollection

VmMigrationClient.ListMigratingVmsPage

VmMigrationClient.ListMigratingVmsPagedResponse

VmMigrationClient.ListSourcesFixedSizeCollection

VmMigrationClient.ListSourcesPage

VmMigrationClient.ListSourcesPagedResponse

VmMigrationClient.ListTargetProjectsFixedSizeCollection

VmMigrationClient.ListTargetProjectsPage

VmMigrationClient.ListTargetProjectsPagedResponse

VmMigrationClient.ListUtilizationReportsFixedSizeCollection

VmMigrationClient.ListUtilizationReportsPage

VmMigrationClient.ListUtilizationReportsPagedResponse

VmMigrationGrpc

VM Migration Service

VmMigrationGrpc.VmMigrationBlockingStub

VM Migration Service

VmMigrationGrpc.VmMigrationFutureStub

VM Migration Service

VmMigrationGrpc.VmMigrationImplBase

VM Migration Service

VmMigrationGrpc.VmMigrationStub

VM Migration Service

VmMigrationProto

VmMigrationSettings

Settings class to configure an instance of VmMigrationClient.

The default instance has everything set to sensible defaults:

  • The default service address (vmmigration.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getSource to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 VmMigrationSettings.Builder vmMigrationSettingsBuilder = VmMigrationSettings.newBuilder();
 vmMigrationSettingsBuilder
     .getSourceSettings()
     .setRetrySettings(
         vmMigrationSettingsBuilder.getSourceSettings().getRetrySettings().toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 VmMigrationSettings vmMigrationSettings = vmMigrationSettingsBuilder.build();
 

VmMigrationSettings.Builder

Builder for VmMigrationSettings.

VmUtilizationInfo

Utilization information of a single VM.

Protobuf type google.cloud.vmmigration.v1.VmUtilizationInfo

VmUtilizationInfo.Builder

Utilization information of a single VM.

Protobuf type google.cloud.vmmigration.v1.VmUtilizationInfo

VmUtilizationMetrics

Utilization metrics values for a single VM.

Protobuf type google.cloud.vmmigration.v1.VmUtilizationMetrics

VmUtilizationMetrics.Builder

Utilization metrics values for a single VM.

Protobuf type google.cloud.vmmigration.v1.VmUtilizationMetrics

VmwareSourceDetails

VmwareSourceDetails message describes a specific source details for the vmware source type.

Protobuf type google.cloud.vmmigration.v1.VmwareSourceDetails

VmwareSourceDetails.Builder

VmwareSourceDetails message describes a specific source details for the vmware source type.

Protobuf type google.cloud.vmmigration.v1.VmwareSourceDetails

VmwareVmDetails

VmwareVmDetails describes a VM in vCenter.

Protobuf type google.cloud.vmmigration.v1.VmwareVmDetails

VmwareVmDetails.Builder

VmwareVmDetails describes a VM in vCenter.

Protobuf type google.cloud.vmmigration.v1.VmwareVmDetails

VmwareVmsDetails

VmwareVmsDetails describes VMs in vCenter.

Protobuf type google.cloud.vmmigration.v1.VmwareVmsDetails

VmwareVmsDetails.Builder

VmwareVmsDetails describes VMs in vCenter.

Protobuf type google.cloud.vmmigration.v1.VmwareVmsDetails

Interfaces

AddGroupMigrationRequestOrBuilder

AddGroupMigrationResponseOrBuilder

ApplianceVersionOrBuilder

AppliedLicenseOrBuilder

AvailableUpdatesOrBuilder

CancelCloneJobRequestOrBuilder

CancelCloneJobResponseOrBuilder

CancelCutoverJobRequestOrBuilder

CancelCutoverJobResponseOrBuilder

CloneJobOrBuilder

ComputeEngineTargetDefaultsOrBuilder

ComputeEngineTargetDetailsOrBuilder

ComputeSchedulingOrBuilder

CreateCloneJobRequestOrBuilder

CreateCutoverJobRequestOrBuilder

CreateDatacenterConnectorRequestOrBuilder

CreateGroupRequestOrBuilder

CreateMigratingVmRequestOrBuilder

CreateSourceRequestOrBuilder

CreateTargetProjectRequestOrBuilder

CreateUtilizationReportRequestOrBuilder

CutoverJobOrBuilder

DatacenterConnectorOrBuilder

DeleteDatacenterConnectorRequestOrBuilder

DeleteGroupRequestOrBuilder

DeleteMigratingVmRequestOrBuilder

DeleteSourceRequestOrBuilder

DeleteTargetProjectRequestOrBuilder

DeleteUtilizationReportRequestOrBuilder

FetchInventoryRequestOrBuilder

FetchInventoryResponseOrBuilder

FinalizeMigrationRequestOrBuilder

FinalizeMigrationResponseOrBuilder

GetCloneJobRequestOrBuilder

GetCutoverJobRequestOrBuilder

GetDatacenterConnectorRequestOrBuilder

GetGroupRequestOrBuilder

GetMigratingVmRequestOrBuilder

GetSourceRequestOrBuilder

GetTargetProjectRequestOrBuilder

GetUtilizationReportRequestOrBuilder

GroupOrBuilder

ListCloneJobsRequestOrBuilder

ListCloneJobsResponseOrBuilder

ListCutoverJobsRequestOrBuilder

ListCutoverJobsResponseOrBuilder

ListDatacenterConnectorsRequestOrBuilder

ListDatacenterConnectorsResponseOrBuilder

ListGroupsRequestOrBuilder

ListGroupsResponseOrBuilder

ListMigratingVmsRequestOrBuilder

ListMigratingVmsResponseOrBuilder

ListSourcesRequestOrBuilder

ListSourcesResponseOrBuilder

ListTargetProjectsRequestOrBuilder

ListTargetProjectsResponseOrBuilder

ListUtilizationReportsRequestOrBuilder

ListUtilizationReportsResponseOrBuilder

MigratingVmOrBuilder

MigrationErrorOrBuilder

NetworkInterfaceOrBuilder

OperationMetadataOrBuilder

PauseMigrationRequestOrBuilder

PauseMigrationResponseOrBuilder

RemoveGroupMigrationRequestOrBuilder

RemoveGroupMigrationResponseOrBuilder

ReplicationCycleOrBuilder

ReplicationSyncOrBuilder

ResumeMigrationRequestOrBuilder

ResumeMigrationResponseOrBuilder

SchedulePolicyOrBuilder

SchedulingNodeAffinityOrBuilder

SourceOrBuilder

StartMigrationRequestOrBuilder

StartMigrationResponseOrBuilder

TargetProjectOrBuilder

UpdateGroupRequestOrBuilder

UpdateMigratingVmRequestOrBuilder

UpdateSourceRequestOrBuilder

UpdateTargetProjectRequestOrBuilder

UpgradeApplianceRequestOrBuilder

UpgradeApplianceResponseOrBuilder

UpgradeStatusOrBuilder

UtilizationReportOrBuilder

VmUtilizationInfoOrBuilder

VmUtilizationMetricsOrBuilder

VmwareSourceDetailsOrBuilder

VmwareVmDetailsOrBuilder

VmwareVmsDetailsOrBuilder

Enums

AppliedLicense.Type

License types used in OS adaptation.

Protobuf enum google.cloud.vmmigration.v1.AppliedLicense.Type

CloneJob.State

Possible states of the clone job.

Protobuf enum google.cloud.vmmigration.v1.CloneJob.State

CloneJob.TargetVmDetailsCase

ComputeEngineBootOption

Possible values for vm boot option.

Protobuf enum google.cloud.vmmigration.v1.ComputeEngineBootOption

ComputeEngineDiskType

Types of disks supported for Compute Engine VM.

Protobuf enum google.cloud.vmmigration.v1.ComputeEngineDiskType

ComputeEngineLicenseType

Types of licenses used in OS adaptation.

Protobuf enum google.cloud.vmmigration.v1.ComputeEngineLicenseType

ComputeScheduling.OnHostMaintenance

Protobuf enum google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance

ComputeScheduling.RestartType

Defines whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user).

Protobuf enum google.cloud.vmmigration.v1.ComputeScheduling.RestartType

CutoverJob.State

Possible states of the cutover job.

Protobuf enum google.cloud.vmmigration.v1.CutoverJob.State

CutoverJob.TargetVmDetailsCase

DatacenterConnector.State

The possible values of the state.

Protobuf enum google.cloud.vmmigration.v1.DatacenterConnector.State

FetchInventoryResponse.SourceVmsCase

MigratingVm.State

The possible values of the state/health of source VM.

Protobuf enum google.cloud.vmmigration.v1.MigratingVm.State

MigratingVm.TargetVmDefaultsCase

MigratingVmView

Controls the level of details of a Migrating VM.

Protobuf enum google.cloud.vmmigration.v1.MigratingVmView

MigrationError.ErrorCode

Represents resource error codes.

Protobuf enum google.cloud.vmmigration.v1.MigrationError.ErrorCode

SchedulingNodeAffinity.Operator

Possible types of node selection operators. Valid operators are IN for affinity and NOT_IN for anti-affinity.

Protobuf enum google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator

Source.SourceDetailsCase

UpgradeStatus.State

The possible values of the state.

Protobuf enum google.cloud.vmmigration.v1.UpgradeStatus.State

UtilizationReport.State

Utilization report state.

Protobuf enum google.cloud.vmmigration.v1.UtilizationReport.State

UtilizationReport.TimeFrame

Report time frame options.

Protobuf enum google.cloud.vmmigration.v1.UtilizationReport.TimeFrame

UtilizationReportView

Controls the level of details of a Utilization Report.

Protobuf enum google.cloud.vmmigration.v1.UtilizationReportView

VmUtilizationInfo.VmDetailsCase

VmwareVmDetails.BootOption

Possible values for vm boot option.

Protobuf enum google.cloud.vmmigration.v1.VmwareVmDetails.BootOption

VmwareVmDetails.PowerState

Possible values for the power state of the VM.

Protobuf enum google.cloud.vmmigration.v1.VmwareVmDetails.PowerState