Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class MigratingVm.
MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
Generated from protobuf message google.cloud.vmmigration.v1.MigratingVm
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ compute_engine_target_defaults
↳ name
string
Output only. The identifier of the MigratingVm.
↳ source_vm_id
string
The unique ID of the VM in the source. The VM's name in vSphere can be changed, so this is not the VM's name but rather its moRef id. This id is of the form vm-
↳ display_name
string
The display name attached to the MigratingVm by the user.
↳ description
string
The description attached to the migrating VM by the user.
↳ policy
↳ create_time
Google\Protobuf\Timestamp
Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
↳ update_time
↳ last_sync
Google\Cloud\VMMigration\V1\ReplicationSync
Output only. The most updated snapshot created time in the source that finished replication.
↳ state
int
Output only. State of the MigratingVm.
↳ state_time
↳ current_sync_info
Google\Cloud\VMMigration\V1\ReplicationCycle
Output only. The percentage progress of the current running replication cycle.
↳ group
string
Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.
↳ labels
↳ recent_clone_jobs
array< Google\Cloud\VMMigration\V1\CloneJob
>
Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.
↳ error
Google\Rpc\Status
Output only. Provides details on the state of the Migrating VM in case of an error in replication.
↳ recent_cutover_jobs
array< Google\Cloud\VMMigration\V1\CutoverJob
>
Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.
getComputeEngineTargetDefaults
Details of the target VM in Compute Engine.
hasComputeEngineTargetDefaults
setComputeEngineTargetDefaults
Details of the target VM in Compute Engine.
$this
getName
Output only. The identifier of the MigratingVm.
string
setName
Output only. The identifier of the MigratingVm.
var
string
$this
getSourceVmId
The unique ID of the VM in the source.
The VM's name in vSphere can be changed, so this is not the VM's name but rather its moRef id. This id is of the form vm-
string
setSourceVmId
The unique ID of the VM in the source.
The VM's name in vSphere can be changed, so this is not the VM's name but rather its moRef id. This id is of the form vm-
var
string
$this
getDisplayName
The display name attached to the MigratingVm by the user.
string
setDisplayName
The display name attached to the MigratingVm by the user.
var
string
$this
getDescription
The description attached to the migrating VM by the user.
string
setDescription
The description attached to the migrating VM by the user.
var
string
$this
getPolicy
The replication schedule policy.
hasPolicy
clearPolicy
setPolicy
The replication schedule policy.
$this
getCreateTime
Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
$this
getUpdateTime
Output only. The last time the migrating VM resource was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last time the migrating VM resource was updated.
$this
getLastSync
Output only. The most updated snapshot created time in the source that finished replication.
hasLastSync
clearLastSync
setLastSync
Output only. The most updated snapshot created time in the source that finished replication.
$this
getState
Output only. State of the MigratingVm.
int
setState
Output only. State of the MigratingVm.
var
int
$this
getStateTime
Output only. The last time the migrating VM state was updated.
hasStateTime
clearStateTime
setStateTime
Output only. The last time the migrating VM state was updated.
$this
getCurrentSyncInfo
Output only. The percentage progress of the current running replication cycle.
hasCurrentSyncInfo
clearCurrentSyncInfo
setCurrentSyncInfo
Output only. The percentage progress of the current running replication cycle.
$this
getGroup
Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.
string
setGroup
Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.
var
string
$this
getLabels
The labels of the migrating VM.
setLabels
The labels of the migrating VM.
$this
getRecentCloneJobs
Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists.
Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.
setRecentCloneJobs
Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists.
Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.
$this
getError
Output only. Provides details on the state of the Migrating VM in case of an error in replication.
hasError
clearError
setError
Output only. Provides details on the state of the Migrating VM in case of an error in replication.
$this
getRecentCutoverJobs
Output only. The recent cutover jobs performed on the migrating VM.
This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.
setRecentCutoverJobs
Output only. The recent cutover jobs performed on the migrating VM.
This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.
$this
getTargetVmDefaults
string