1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="vmmigration_v1alpha1.html">VM Migration API</a> . <a href="vmmigration_v1alpha1.projects.html">projects</a> . <a href="vmmigration_v1alpha1.projects.locations.html">locations</a> . <a href="vmmigration_v1alpha1.projects.locations.sources.html">sources</a> . <a href="vmmigration_v1alpha1.projects.locations.sources.migratingVms.html">migratingVms</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="vmmigration_v1alpha1.projects.locations.sources.migratingVms.cloneJobs.html">cloneJobs()</a></code> 79</p> 80<p class="firstline">Returns the cloneJobs Resource.</p> 81 82<p class="toc_element"> 83 <code><a href="vmmigration_v1alpha1.projects.locations.sources.migratingVms.cutoverJobs.html">cutoverJobs()</a></code> 84</p> 85<p class="firstline">Returns the cutoverJobs Resource.</p> 86 87<p class="toc_element"> 88 <code><a href="#close">close()</a></code></p> 89<p class="firstline">Close httplib2 connections.</p> 90<p class="toc_element"> 91 <code><a href="#create">create(parent, body=None, migratingVmId=None, requestId=None, x__xgafv=None)</a></code></p> 92<p class="firstline">Creates a new MigratingVm in a given Source.</p> 93<p class="toc_element"> 94 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p> 95<p class="firstline">Deletes a single MigratingVm.</p> 96<p class="toc_element"> 97 <code><a href="#finalizeMigration">finalizeMigration(migratingVm, body=None, x__xgafv=None)</a></code></p> 98<p class="firstline">Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done.</p> 99<p class="toc_element"> 100 <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p> 101<p class="firstline">Gets details of a single MigratingVm.</p> 102<p class="toc_element"> 103 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p> 104<p class="firstline">Lists MigratingVms in a given Source.</p> 105<p class="toc_element"> 106 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 107<p class="firstline">Retrieves the next page of results.</p> 108<p class="toc_element"> 109 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p> 110<p class="firstline">Updates the parameters of a single MigratingVm.</p> 111<p class="toc_element"> 112 <code><a href="#pauseMigration">pauseMigration(migratingVm, body=None, x__xgafv=None)</a></code></p> 113<p class="firstline">Pauses a migration for a VM. If cycle tasks are running they will be cancelled, preserving source task data. Further replication cycles will not be triggered while the VM is paused.</p> 114<p class="toc_element"> 115 <code><a href="#resumeMigration">resumeMigration(migratingVm, body=None, x__xgafv=None)</a></code></p> 116<p class="firstline">Resumes a migration for a VM. When called on a paused migration, will start the process of uploading data and creating snapshots; when called on a completed cut-over migration, will update the migration to active state and start the process of uploading data and creating snapshots.</p> 117<p class="toc_element"> 118 <code><a href="#startMigration">startMigration(migratingVm, body=None, x__xgafv=None)</a></code></p> 119<p class="firstline">Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy.</p> 120<h3>Method Details</h3> 121<div class="method"> 122 <code class="details" id="close">close()</code> 123 <pre>Close httplib2 connections.</pre> 124</div> 125 126<div class="method"> 127 <code class="details" id="create">create(parent, body=None, migratingVmId=None, requestId=None, x__xgafv=None)</code> 128 <pre>Creates a new MigratingVm in a given Source. 129 130Args: 131 parent: string, Required. The MigratingVm's parent. (required) 132 body: object, The request body. 133 The object takes the form of: 134 135{ # MigratingVm describes the VM that will be migrated from a Source environment and its replication state. 136 "computeEngineTargetDefaults": { # ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project. # Details of the target VM in Compute Engine. 137 "additionalLicenses": [ # Additional licenses to assign to the VM. 138 "A String", 139 ], 140 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 141 "osLicense": "A String", # The OS license returned from the adaptation module's report. 142 "type": "A String", # The license type that was used in OS adaptation. 143 }, 144 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 145 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 146 "automaticRestart": True or False, 147 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 148 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 149 { # 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 150 "key": "A String", # The label key of Node resource to reference. 151 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 152 "values": [ # Corresponds to the label values of Node resource. 153 "A String", 154 ], 155 }, 156 ], 157 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 158 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 159 }, 160 "diskType": "A String", # The disk type to use in the VM. 161 "labels": { # A map of labels to associate with the VM. 162 "a_key": "A String", 163 }, 164 "licenseType": "A String", # The license type to use in OS adaptation. 165 "machineType": "A String", # The machine type to create the VM with. 166 "machineTypeSeries": "A String", # The machine type series to create the VM with. 167 "metadata": { # The metadata key/value pairs to assign to the VM. 168 "a_key": "A String", 169 }, 170 "networkInterfaces": [ # List of NICs connected to this VM. 171 { # NetworkInterface represents a NIC of a VM. 172 "externalIp": "A String", # The external IP to define in the NIC. 173 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 174 "network": "A String", # The network to connect the NIC to. 175 "subnetwork": "A String", # The subnetwork to connect the NIC to. 176 }, 177 ], 178 "networkTags": [ # A map of network tags to associate with the VM. 179 "A String", 180 ], 181 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 182 "serviceAccount": "A String", # The service account to associate the VM with. 183 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 184 "vmName": "A String", # The name of the VM to create. 185 "zone": "A String", # The zone in which to create the VM. 186 }, 187 "computeEngineVmDefaults": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_defaults instead. 188 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 189 "osLicense": "A String", # The OS license returned from the adaptation module's report. 190 "type": "A String", # The license type that was used in OS adaptation. 191 }, 192 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 193 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 194 "automaticRestart": True or False, 195 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 196 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 197 { # 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 198 "key": "A String", # The label key of Node resource to reference. 199 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 200 "values": [ # Corresponds to the label values of Node resource. 201 "A String", 202 ], 203 }, 204 ], 205 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 206 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 207 }, 208 "diskType": "A String", # The disk type to use in the VM. 209 "externalIp": "A String", # The external IP to define in the VM. 210 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 211 "labels": { # A map of labels to associate with the VM. 212 "a_key": "A String", 213 }, 214 "licenseType": "A String", # The license type to use in OS adaptation. 215 "machineType": "A String", # The machine type to create the VM with. 216 "machineTypeSeries": "A String", # The machine type series to create the VM with. 217 "metadata": { # The metadata key/value pairs to assign to the VM. 218 "a_key": "A String", 219 }, 220 "name": "A String", # The name of the VM to create. 221 "network": "A String", # The network to connect the VM to. 222 "networkInterfaces": [ # List of NICs connected to this VM. 223 { # NetworkInterface represents a NIC of a VM. 224 "externalIp": "A String", # The external IP to define in the NIC. 225 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 226 "network": "A String", # The network to connect the NIC to. 227 "subnetwork": "A String", # The subnetwork to connect the NIC to. 228 }, 229 ], 230 "networkTags": [ # A map of network tags to associate with the VM. 231 "A String", 232 ], 233 "project": "A String", # Output only. The project in which to create the VM. 234 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 235 "serviceAccount": "A String", # The service account to associate the VM with. 236 "subnetwork": "A String", # The subnetwork to connect the VM to. 237 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 238 "zone": "A String", # The zone in which to create the VM. 239 }, 240 "createTime": "A String", # 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). 241 "currentSyncInfo": { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle. 242 "progress": 42, # The current progress in percentage of this cycle. 243 "progressPercent": 42, # The current progress in percentage of this cycle. 244 "startTime": "A String", # The time the replication cycle has started. 245 }, 246 "description": "A String", # The description attached to the migrating VM by the user. 247 "displayName": "A String", # The display name attached to the MigratingVm by the user. 248 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details on the state of the Migrating VM in case of an error in replication. 249 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 250 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 251 { 252 "a_key": "", # Properties of the object. Contains field @type with type URL. 253 }, 254 ], 255 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 256 }, 257 "group": "A 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. 258 "labels": { # The labels of the migrating VM. 259 "a_key": "A String", 260 }, 261 "lastSync": { # ReplicationSync contain information about the last replica sync to the cloud. # Output only. The most updated snapshot created time in the source that finished replication. 262 "lastSyncTime": "A String", # The most updated snapshot created time in the source that finished replication. 263 }, 264 "name": "A String", # Output only. The identifier of the MigratingVm. 265 "policy": { # A policy for scheduling replications. # The replication schedule policy. 266 "idleDuration": "A String", # The idle duration between replication stages. 267 "skipOsAdaptation": True or False, # A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM's operating system undergoes changes and adaptations to fully function on Compute Engine. 268 }, 269 "recentCloneJobs": [ # 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. 270 { # 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. 271 "computeEngineTargetDetails": { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine. 272 "additionalLicenses": [ # Additional licenses to assign to the VM. 273 "A String", 274 ], 275 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report. 276 "osLicense": "A String", # The OS license returned from the adaptation module's report. 277 "type": "A String", # The license type that was used in OS adaptation. 278 }, 279 "bootOption": "A String", # The VM Boot Option, as set in the source vm. 280 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 281 "automaticRestart": True or False, 282 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 283 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 284 { # 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 285 "key": "A String", # The label key of Node resource to reference. 286 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 287 "values": [ # Corresponds to the label values of Node resource. 288 "A String", 289 ], 290 }, 291 ], 292 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 293 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 294 }, 295 "diskType": "A String", # The disk type to use in the VM. 296 "labels": { # A map of labels to associate with the VM. 297 "a_key": "A String", 298 }, 299 "licenseType": "A String", # The license type to use in OS adaptation. 300 "machineType": "A String", # The machine type to create the VM with. 301 "machineTypeSeries": "A String", # The machine type series to create the VM with. 302 "metadata": { # The metadata key/value pairs to assign to the VM. 303 "a_key": "A String", 304 }, 305 "networkInterfaces": [ # List of NICs connected to this VM. 306 { # NetworkInterface represents a NIC of a VM. 307 "externalIp": "A String", # The external IP to define in the NIC. 308 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 309 "network": "A String", # The network to connect the NIC to. 310 "subnetwork": "A String", # The subnetwork to connect the NIC to. 311 }, 312 ], 313 "networkTags": [ # A map of network tags to associate with the VM. 314 "A String", 315 ], 316 "project": "A String", # The GCP target project ID or project name. 317 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 318 "serviceAccount": "A String", # The service account to associate the VM with. 319 "vmName": "A String", # The name of the VM to create. 320 "zone": "A String", # The zone in which to create the VM. 321 }, 322 "computeEngineVmDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead. 323 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 324 "osLicense": "A String", # The OS license returned from the adaptation module's report. 325 "type": "A String", # The license type that was used in OS adaptation. 326 }, 327 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 328 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 329 "automaticRestart": True or False, 330 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 331 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 332 { # 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 333 "key": "A String", # The label key of Node resource to reference. 334 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 335 "values": [ # Corresponds to the label values of Node resource. 336 "A String", 337 ], 338 }, 339 ], 340 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 341 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 342 }, 343 "diskType": "A String", # The disk type to use in the VM. 344 "externalIp": "A String", # The external IP to define in the VM. 345 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 346 "labels": { # A map of labels to associate with the VM. 347 "a_key": "A String", 348 }, 349 "licenseType": "A String", # The license type to use in OS adaptation. 350 "machineType": "A String", # The machine type to create the VM with. 351 "machineTypeSeries": "A String", # The machine type series to create the VM with. 352 "metadata": { # The metadata key/value pairs to assign to the VM. 353 "a_key": "A String", 354 }, 355 "name": "A String", # The name of the VM to create. 356 "network": "A String", # The network to connect the VM to. 357 "networkInterfaces": [ # List of NICs connected to this VM. 358 { # NetworkInterface represents a NIC of a VM. 359 "externalIp": "A String", # The external IP to define in the NIC. 360 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 361 "network": "A String", # The network to connect the NIC to. 362 "subnetwork": "A String", # The subnetwork to connect the NIC to. 363 }, 364 ], 365 "networkTags": [ # A map of network tags to associate with the VM. 366 "A String", 367 ], 368 "project": "A String", # Output only. The project in which to create the VM. 369 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 370 "serviceAccount": "A String", # The service account to associate the VM with. 371 "subnetwork": "A String", # The subnetwork to connect the VM to. 372 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 373 "zone": "A String", # The zone in which to create the VM. 374 }, 375 "createTime": "A String", # Output only. The time the clone job was created (as an API call, not when it was actually created in the target). 376 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details for the errors that led to the Clone Job's state. 377 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 378 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 379 { 380 "a_key": "", # Properties of the object. Contains field @type with type URL. 381 }, 382 ], 383 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 384 }, 385 "name": "A String", # The name of the clone. 386 "state": "A String", # Output only. State of the clone job. 387 "stateTime": "A String", # Output only. The time the state was last updated. 388 "targetDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this clone job. Deprecated: Use compute_engine_target_details instead. 389 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 390 "osLicense": "A String", # The OS license returned from the adaptation module's report. 391 "type": "A String", # The license type that was used in OS adaptation. 392 }, 393 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 394 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 395 "automaticRestart": True or False, 396 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 397 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 398 { # 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 399 "key": "A String", # The label key of Node resource to reference. 400 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 401 "values": [ # Corresponds to the label values of Node resource. 402 "A String", 403 ], 404 }, 405 ], 406 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 407 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 408 }, 409 "diskType": "A String", # The disk type to use in the VM. 410 "externalIp": "A String", # The external IP to define in the VM. 411 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 412 "labels": { # A map of labels to associate with the VM. 413 "a_key": "A String", 414 }, 415 "licenseType": "A String", # The license type to use in OS adaptation. 416 "machineType": "A String", # The machine type to create the VM with. 417 "machineTypeSeries": "A String", # The machine type series to create the VM with. 418 "metadata": { # The metadata key/value pairs to assign to the VM. 419 "a_key": "A String", 420 }, 421 "name": "A String", # The name of the VM to create. 422 "network": "A String", # The network to connect the VM to. 423 "networkInterfaces": [ # List of NICs connected to this VM. 424 { # NetworkInterface represents a NIC of a VM. 425 "externalIp": "A String", # The external IP to define in the NIC. 426 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 427 "network": "A String", # The network to connect the NIC to. 428 "subnetwork": "A String", # The subnetwork to connect the NIC to. 429 }, 430 ], 431 "networkTags": [ # A map of network tags to associate with the VM. 432 "A String", 433 ], 434 "project": "A String", # Output only. The project in which to create the VM. 435 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 436 "serviceAccount": "A String", # The service account to associate the VM with. 437 "subnetwork": "A String", # The subnetwork to connect the VM to. 438 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 439 "zone": "A String", # The zone in which to create the VM. 440 }, 441 }, 442 ], 443 "recentCutoverJobs": [ # 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. 444 { # 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. 445 "computeEngineTargetDetails": { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine. 446 "additionalLicenses": [ # Additional licenses to assign to the VM. 447 "A String", 448 ], 449 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report. 450 "osLicense": "A String", # The OS license returned from the adaptation module's report. 451 "type": "A String", # The license type that was used in OS adaptation. 452 }, 453 "bootOption": "A String", # The VM Boot Option, as set in the source vm. 454 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 455 "automaticRestart": True or False, 456 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 457 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 458 { # 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 459 "key": "A String", # The label key of Node resource to reference. 460 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 461 "values": [ # Corresponds to the label values of Node resource. 462 "A String", 463 ], 464 }, 465 ], 466 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 467 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 468 }, 469 "diskType": "A String", # The disk type to use in the VM. 470 "labels": { # A map of labels to associate with the VM. 471 "a_key": "A String", 472 }, 473 "licenseType": "A String", # The license type to use in OS adaptation. 474 "machineType": "A String", # The machine type to create the VM with. 475 "machineTypeSeries": "A String", # The machine type series to create the VM with. 476 "metadata": { # The metadata key/value pairs to assign to the VM. 477 "a_key": "A String", 478 }, 479 "networkInterfaces": [ # List of NICs connected to this VM. 480 { # NetworkInterface represents a NIC of a VM. 481 "externalIp": "A String", # The external IP to define in the NIC. 482 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 483 "network": "A String", # The network to connect the NIC to. 484 "subnetwork": "A String", # The subnetwork to connect the NIC to. 485 }, 486 ], 487 "networkTags": [ # A map of network tags to associate with the VM. 488 "A String", 489 ], 490 "project": "A String", # The GCP target project ID or project name. 491 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 492 "serviceAccount": "A String", # The service account to associate the VM with. 493 "vmName": "A String", # The name of the VM to create. 494 "zone": "A String", # The zone in which to create the VM. 495 }, 496 "computeEngineVmDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead. 497 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 498 "osLicense": "A String", # The OS license returned from the adaptation module's report. 499 "type": "A String", # The license type that was used in OS adaptation. 500 }, 501 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 502 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 503 "automaticRestart": True or False, 504 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 505 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 506 { # 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 507 "key": "A String", # The label key of Node resource to reference. 508 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 509 "values": [ # Corresponds to the label values of Node resource. 510 "A String", 511 ], 512 }, 513 ], 514 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 515 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 516 }, 517 "diskType": "A String", # The disk type to use in the VM. 518 "externalIp": "A String", # The external IP to define in the VM. 519 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 520 "labels": { # A map of labels to associate with the VM. 521 "a_key": "A String", 522 }, 523 "licenseType": "A String", # The license type to use in OS adaptation. 524 "machineType": "A String", # The machine type to create the VM with. 525 "machineTypeSeries": "A String", # The machine type series to create the VM with. 526 "metadata": { # The metadata key/value pairs to assign to the VM. 527 "a_key": "A String", 528 }, 529 "name": "A String", # The name of the VM to create. 530 "network": "A String", # The network to connect the VM to. 531 "networkInterfaces": [ # List of NICs connected to this VM. 532 { # NetworkInterface represents a NIC of a VM. 533 "externalIp": "A String", # The external IP to define in the NIC. 534 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 535 "network": "A String", # The network to connect the NIC to. 536 "subnetwork": "A String", # The subnetwork to connect the NIC to. 537 }, 538 ], 539 "networkTags": [ # A map of network tags to associate with the VM. 540 "A String", 541 ], 542 "project": "A String", # Output only. The project in which to create the VM. 543 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 544 "serviceAccount": "A String", # The service account to associate the VM with. 545 "subnetwork": "A String", # The subnetwork to connect the VM to. 546 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 547 "zone": "A String", # The zone in which to create the VM. 548 }, 549 "createTime": "A String", # Output only. The time the cutover job was created (as an API call, not when it was actually created in the target). 550 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details for the errors that led to the Cutover Job's state. 551 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 552 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 553 { 554 "a_key": "", # Properties of the object. Contains field @type with type URL. 555 }, 556 ], 557 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 558 }, 559 "name": "A String", # Output only. The name of the cutover job. 560 "progress": 42, # Output only. The current progress in percentage of the cutover job. 561 "progressPercent": 42, # Output only. The current progress in percentage of the cutover job. 562 "state": "A String", # Output only. State of the cutover job. 563 "stateMessage": "A String", # Output only. A message providing possible extra details about the current state. 564 "stateTime": "A String", # Output only. The time the state was last updated. 565 "targetDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this cutover job. Deprecated: Use compute_engine_target_details instead. 566 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 567 "osLicense": "A String", # The OS license returned from the adaptation module's report. 568 "type": "A String", # The license type that was used in OS adaptation. 569 }, 570 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 571 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 572 "automaticRestart": True or False, 573 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 574 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 575 { # 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 576 "key": "A String", # The label key of Node resource to reference. 577 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 578 "values": [ # Corresponds to the label values of Node resource. 579 "A String", 580 ], 581 }, 582 ], 583 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 584 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 585 }, 586 "diskType": "A String", # The disk type to use in the VM. 587 "externalIp": "A String", # The external IP to define in the VM. 588 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 589 "labels": { # A map of labels to associate with the VM. 590 "a_key": "A String", 591 }, 592 "licenseType": "A String", # The license type to use in OS adaptation. 593 "machineType": "A String", # The machine type to create the VM with. 594 "machineTypeSeries": "A String", # The machine type series to create the VM with. 595 "metadata": { # The metadata key/value pairs to assign to the VM. 596 "a_key": "A String", 597 }, 598 "name": "A String", # The name of the VM to create. 599 "network": "A String", # The network to connect the VM to. 600 "networkInterfaces": [ # List of NICs connected to this VM. 601 { # NetworkInterface represents a NIC of a VM. 602 "externalIp": "A String", # The external IP to define in the NIC. 603 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 604 "network": "A String", # The network to connect the NIC to. 605 "subnetwork": "A String", # The subnetwork to connect the NIC to. 606 }, 607 ], 608 "networkTags": [ # A map of network tags to associate with the VM. 609 "A String", 610 ], 611 "project": "A String", # Output only. The project in which to create the VM. 612 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 613 "serviceAccount": "A String", # The service account to associate the VM with. 614 "subnetwork": "A String", # The subnetwork to connect the VM to. 615 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 616 "zone": "A String", # The zone in which to create the VM. 617 }, 618 }, 619 ], 620 "sourceVmId": "A 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-. 621 "state": "A String", # Output only. State of the MigratingVm. 622 "stateTime": "A String", # Output only. The last time the migrating VM state was updated. 623 "targetDefaults": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # The default configuration of the target VM that will be created in GCP as a result of the migration. Deprecated: Use compute_engine_target_defaults instead. 624 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 625 "osLicense": "A String", # The OS license returned from the adaptation module's report. 626 "type": "A String", # The license type that was used in OS adaptation. 627 }, 628 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 629 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 630 "automaticRestart": True or False, 631 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 632 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 633 { # 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 634 "key": "A String", # The label key of Node resource to reference. 635 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 636 "values": [ # Corresponds to the label values of Node resource. 637 "A String", 638 ], 639 }, 640 ], 641 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 642 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 643 }, 644 "diskType": "A String", # The disk type to use in the VM. 645 "externalIp": "A String", # The external IP to define in the VM. 646 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 647 "labels": { # A map of labels to associate with the VM. 648 "a_key": "A String", 649 }, 650 "licenseType": "A String", # The license type to use in OS adaptation. 651 "machineType": "A String", # The machine type to create the VM with. 652 "machineTypeSeries": "A String", # The machine type series to create the VM with. 653 "metadata": { # The metadata key/value pairs to assign to the VM. 654 "a_key": "A String", 655 }, 656 "name": "A String", # The name of the VM to create. 657 "network": "A String", # The network to connect the VM to. 658 "networkInterfaces": [ # List of NICs connected to this VM. 659 { # NetworkInterface represents a NIC of a VM. 660 "externalIp": "A String", # The external IP to define in the NIC. 661 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 662 "network": "A String", # The network to connect the NIC to. 663 "subnetwork": "A String", # The subnetwork to connect the NIC to. 664 }, 665 ], 666 "networkTags": [ # A map of network tags to associate with the VM. 667 "A String", 668 ], 669 "project": "A String", # Output only. The project in which to create the VM. 670 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 671 "serviceAccount": "A String", # The service account to associate the VM with. 672 "subnetwork": "A String", # The subnetwork to connect the VM to. 673 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 674 "zone": "A String", # The zone in which to create the VM. 675 }, 676 "updateTime": "A String", # Output only. The last time the migrating VM resource was updated. 677} 678 679 migratingVmId: string, Required. The migratingVm identifier. 680 requestId: string, A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). 681 x__xgafv: string, V1 error format. 682 Allowed values 683 1 - v1 error format 684 2 - v2 error format 685 686Returns: 687 An object of the form: 688 689 { # This resource represents a long-running operation that is the result of a network API call. 690 "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. 691 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. 692 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 693 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 694 { 695 "a_key": "", # Properties of the object. Contains field @type with type URL. 696 }, 697 ], 698 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 699 }, 700 "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. 701 "a_key": "", # Properties of the object. Contains field @type with type URL. 702 }, 703 "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. 704 "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 705 "a_key": "", # Properties of the object. Contains field @type with type URL. 706 }, 707}</pre> 708</div> 709 710<div class="method"> 711 <code class="details" id="delete">delete(name, x__xgafv=None)</code> 712 <pre>Deletes a single MigratingVm. 713 714Args: 715 name: string, Required. The name of the MigratingVm. (required) 716 x__xgafv: string, V1 error format. 717 Allowed values 718 1 - v1 error format 719 2 - v2 error format 720 721Returns: 722 An object of the form: 723 724 { # This resource represents a long-running operation that is the result of a network API call. 725 "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. 726 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. 727 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 728 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 729 { 730 "a_key": "", # Properties of the object. Contains field @type with type URL. 731 }, 732 ], 733 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 734 }, 735 "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. 736 "a_key": "", # Properties of the object. Contains field @type with type URL. 737 }, 738 "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. 739 "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 740 "a_key": "", # Properties of the object. Contains field @type with type URL. 741 }, 742}</pre> 743</div> 744 745<div class="method"> 746 <code class="details" id="finalizeMigration">finalizeMigration(migratingVm, body=None, x__xgafv=None)</code> 747 <pre>Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done. 748 749Args: 750 migratingVm: string, Required. The name of the MigratingVm. (required) 751 body: object, The request body. 752 The object takes the form of: 753 754{ # Request message for 'FinalizeMigration' request. 755} 756 757 x__xgafv: string, V1 error format. 758 Allowed values 759 1 - v1 error format 760 2 - v2 error format 761 762Returns: 763 An object of the form: 764 765 { # This resource represents a long-running operation that is the result of a network API call. 766 "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. 767 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. 768 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 769 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 770 { 771 "a_key": "", # Properties of the object. Contains field @type with type URL. 772 }, 773 ], 774 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 775 }, 776 "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. 777 "a_key": "", # Properties of the object. Contains field @type with type URL. 778 }, 779 "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. 780 "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 781 "a_key": "", # Properties of the object. Contains field @type with type URL. 782 }, 783}</pre> 784</div> 785 786<div class="method"> 787 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code> 788 <pre>Gets details of a single MigratingVm. 789 790Args: 791 name: string, Required. The name of the MigratingVm. (required) 792 view: string, Optional. The level of details of the migrating VM. 793 Allowed values 794 MIGRATING_VM_VIEW_UNSPECIFIED - View is unspecified. The API will fallback to the default value. 795 MIGRATING_VM_VIEW_BASIC - Get the migrating VM basic details. The basic details do not include the recent clone jobs and recent cutover jobs lists. 796 MIGRATING_VM_VIEW_FULL - Include everything. 797 x__xgafv: string, V1 error format. 798 Allowed values 799 1 - v1 error format 800 2 - v2 error format 801 802Returns: 803 An object of the form: 804 805 { # MigratingVm describes the VM that will be migrated from a Source environment and its replication state. 806 "computeEngineTargetDefaults": { # ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project. # Details of the target VM in Compute Engine. 807 "additionalLicenses": [ # Additional licenses to assign to the VM. 808 "A String", 809 ], 810 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 811 "osLicense": "A String", # The OS license returned from the adaptation module's report. 812 "type": "A String", # The license type that was used in OS adaptation. 813 }, 814 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 815 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 816 "automaticRestart": True or False, 817 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 818 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 819 { # 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 820 "key": "A String", # The label key of Node resource to reference. 821 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 822 "values": [ # Corresponds to the label values of Node resource. 823 "A String", 824 ], 825 }, 826 ], 827 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 828 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 829 }, 830 "diskType": "A String", # The disk type to use in the VM. 831 "labels": { # A map of labels to associate with the VM. 832 "a_key": "A String", 833 }, 834 "licenseType": "A String", # The license type to use in OS adaptation. 835 "machineType": "A String", # The machine type to create the VM with. 836 "machineTypeSeries": "A String", # The machine type series to create the VM with. 837 "metadata": { # The metadata key/value pairs to assign to the VM. 838 "a_key": "A String", 839 }, 840 "networkInterfaces": [ # List of NICs connected to this VM. 841 { # NetworkInterface represents a NIC of a VM. 842 "externalIp": "A String", # The external IP to define in the NIC. 843 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 844 "network": "A String", # The network to connect the NIC to. 845 "subnetwork": "A String", # The subnetwork to connect the NIC to. 846 }, 847 ], 848 "networkTags": [ # A map of network tags to associate with the VM. 849 "A String", 850 ], 851 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 852 "serviceAccount": "A String", # The service account to associate the VM with. 853 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 854 "vmName": "A String", # The name of the VM to create. 855 "zone": "A String", # The zone in which to create the VM. 856 }, 857 "computeEngineVmDefaults": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_defaults instead. 858 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 859 "osLicense": "A String", # The OS license returned from the adaptation module's report. 860 "type": "A String", # The license type that was used in OS adaptation. 861 }, 862 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 863 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 864 "automaticRestart": True or False, 865 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 866 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 867 { # 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 868 "key": "A String", # The label key of Node resource to reference. 869 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 870 "values": [ # Corresponds to the label values of Node resource. 871 "A String", 872 ], 873 }, 874 ], 875 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 876 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 877 }, 878 "diskType": "A String", # The disk type to use in the VM. 879 "externalIp": "A String", # The external IP to define in the VM. 880 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 881 "labels": { # A map of labels to associate with the VM. 882 "a_key": "A String", 883 }, 884 "licenseType": "A String", # The license type to use in OS adaptation. 885 "machineType": "A String", # The machine type to create the VM with. 886 "machineTypeSeries": "A String", # The machine type series to create the VM with. 887 "metadata": { # The metadata key/value pairs to assign to the VM. 888 "a_key": "A String", 889 }, 890 "name": "A String", # The name of the VM to create. 891 "network": "A String", # The network to connect the VM to. 892 "networkInterfaces": [ # List of NICs connected to this VM. 893 { # NetworkInterface represents a NIC of a VM. 894 "externalIp": "A String", # The external IP to define in the NIC. 895 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 896 "network": "A String", # The network to connect the NIC to. 897 "subnetwork": "A String", # The subnetwork to connect the NIC to. 898 }, 899 ], 900 "networkTags": [ # A map of network tags to associate with the VM. 901 "A String", 902 ], 903 "project": "A String", # Output only. The project in which to create the VM. 904 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 905 "serviceAccount": "A String", # The service account to associate the VM with. 906 "subnetwork": "A String", # The subnetwork to connect the VM to. 907 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 908 "zone": "A String", # The zone in which to create the VM. 909 }, 910 "createTime": "A String", # 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). 911 "currentSyncInfo": { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle. 912 "progress": 42, # The current progress in percentage of this cycle. 913 "progressPercent": 42, # The current progress in percentage of this cycle. 914 "startTime": "A String", # The time the replication cycle has started. 915 }, 916 "description": "A String", # The description attached to the migrating VM by the user. 917 "displayName": "A String", # The display name attached to the MigratingVm by the user. 918 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details on the state of the Migrating VM in case of an error in replication. 919 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 920 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 921 { 922 "a_key": "", # Properties of the object. Contains field @type with type URL. 923 }, 924 ], 925 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 926 }, 927 "group": "A 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. 928 "labels": { # The labels of the migrating VM. 929 "a_key": "A String", 930 }, 931 "lastSync": { # ReplicationSync contain information about the last replica sync to the cloud. # Output only. The most updated snapshot created time in the source that finished replication. 932 "lastSyncTime": "A String", # The most updated snapshot created time in the source that finished replication. 933 }, 934 "name": "A String", # Output only. The identifier of the MigratingVm. 935 "policy": { # A policy for scheduling replications. # The replication schedule policy. 936 "idleDuration": "A String", # The idle duration between replication stages. 937 "skipOsAdaptation": True or False, # A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM's operating system undergoes changes and adaptations to fully function on Compute Engine. 938 }, 939 "recentCloneJobs": [ # 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. 940 { # 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. 941 "computeEngineTargetDetails": { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine. 942 "additionalLicenses": [ # Additional licenses to assign to the VM. 943 "A String", 944 ], 945 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report. 946 "osLicense": "A String", # The OS license returned from the adaptation module's report. 947 "type": "A String", # The license type that was used in OS adaptation. 948 }, 949 "bootOption": "A String", # The VM Boot Option, as set in the source vm. 950 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 951 "automaticRestart": True or False, 952 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 953 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 954 { # 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 955 "key": "A String", # The label key of Node resource to reference. 956 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 957 "values": [ # Corresponds to the label values of Node resource. 958 "A String", 959 ], 960 }, 961 ], 962 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 963 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 964 }, 965 "diskType": "A String", # The disk type to use in the VM. 966 "labels": { # A map of labels to associate with the VM. 967 "a_key": "A String", 968 }, 969 "licenseType": "A String", # The license type to use in OS adaptation. 970 "machineType": "A String", # The machine type to create the VM with. 971 "machineTypeSeries": "A String", # The machine type series to create the VM with. 972 "metadata": { # The metadata key/value pairs to assign to the VM. 973 "a_key": "A String", 974 }, 975 "networkInterfaces": [ # List of NICs connected to this VM. 976 { # NetworkInterface represents a NIC of a VM. 977 "externalIp": "A String", # The external IP to define in the NIC. 978 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 979 "network": "A String", # The network to connect the NIC to. 980 "subnetwork": "A String", # The subnetwork to connect the NIC to. 981 }, 982 ], 983 "networkTags": [ # A map of network tags to associate with the VM. 984 "A String", 985 ], 986 "project": "A String", # The GCP target project ID or project name. 987 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 988 "serviceAccount": "A String", # The service account to associate the VM with. 989 "vmName": "A String", # The name of the VM to create. 990 "zone": "A String", # The zone in which to create the VM. 991 }, 992 "computeEngineVmDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead. 993 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 994 "osLicense": "A String", # The OS license returned from the adaptation module's report. 995 "type": "A String", # The license type that was used in OS adaptation. 996 }, 997 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 998 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 999 "automaticRestart": True or False, 1000 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1001 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1002 { # 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 1003 "key": "A String", # The label key of Node resource to reference. 1004 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1005 "values": [ # Corresponds to the label values of Node resource. 1006 "A String", 1007 ], 1008 }, 1009 ], 1010 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1011 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1012 }, 1013 "diskType": "A String", # The disk type to use in the VM. 1014 "externalIp": "A String", # The external IP to define in the VM. 1015 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1016 "labels": { # A map of labels to associate with the VM. 1017 "a_key": "A String", 1018 }, 1019 "licenseType": "A String", # The license type to use in OS adaptation. 1020 "machineType": "A String", # The machine type to create the VM with. 1021 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1022 "metadata": { # The metadata key/value pairs to assign to the VM. 1023 "a_key": "A String", 1024 }, 1025 "name": "A String", # The name of the VM to create. 1026 "network": "A String", # The network to connect the VM to. 1027 "networkInterfaces": [ # List of NICs connected to this VM. 1028 { # NetworkInterface represents a NIC of a VM. 1029 "externalIp": "A String", # The external IP to define in the NIC. 1030 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1031 "network": "A String", # The network to connect the NIC to. 1032 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1033 }, 1034 ], 1035 "networkTags": [ # A map of network tags to associate with the VM. 1036 "A String", 1037 ], 1038 "project": "A String", # Output only. The project in which to create the VM. 1039 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1040 "serviceAccount": "A String", # The service account to associate the VM with. 1041 "subnetwork": "A String", # The subnetwork to connect the VM to. 1042 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 1043 "zone": "A String", # The zone in which to create the VM. 1044 }, 1045 "createTime": "A String", # Output only. The time the clone job was created (as an API call, not when it was actually created in the target). 1046 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details for the errors that led to the Clone Job's state. 1047 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 1048 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 1049 { 1050 "a_key": "", # Properties of the object. Contains field @type with type URL. 1051 }, 1052 ], 1053 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 1054 }, 1055 "name": "A String", # The name of the clone. 1056 "state": "A String", # Output only. State of the clone job. 1057 "stateTime": "A String", # Output only. The time the state was last updated. 1058 "targetDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this clone job. Deprecated: Use compute_engine_target_details instead. 1059 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 1060 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1061 "type": "A String", # The license type that was used in OS adaptation. 1062 }, 1063 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 1064 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1065 "automaticRestart": True or False, 1066 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1067 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1068 { # 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 1069 "key": "A String", # The label key of Node resource to reference. 1070 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1071 "values": [ # Corresponds to the label values of Node resource. 1072 "A String", 1073 ], 1074 }, 1075 ], 1076 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1077 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1078 }, 1079 "diskType": "A String", # The disk type to use in the VM. 1080 "externalIp": "A String", # The external IP to define in the VM. 1081 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1082 "labels": { # A map of labels to associate with the VM. 1083 "a_key": "A String", 1084 }, 1085 "licenseType": "A String", # The license type to use in OS adaptation. 1086 "machineType": "A String", # The machine type to create the VM with. 1087 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1088 "metadata": { # The metadata key/value pairs to assign to the VM. 1089 "a_key": "A String", 1090 }, 1091 "name": "A String", # The name of the VM to create. 1092 "network": "A String", # The network to connect the VM to. 1093 "networkInterfaces": [ # List of NICs connected to this VM. 1094 { # NetworkInterface represents a NIC of a VM. 1095 "externalIp": "A String", # The external IP to define in the NIC. 1096 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1097 "network": "A String", # The network to connect the NIC to. 1098 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1099 }, 1100 ], 1101 "networkTags": [ # A map of network tags to associate with the VM. 1102 "A String", 1103 ], 1104 "project": "A String", # Output only. The project in which to create the VM. 1105 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1106 "serviceAccount": "A String", # The service account to associate the VM with. 1107 "subnetwork": "A String", # The subnetwork to connect the VM to. 1108 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 1109 "zone": "A String", # The zone in which to create the VM. 1110 }, 1111 }, 1112 ], 1113 "recentCutoverJobs": [ # 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. 1114 { # 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. 1115 "computeEngineTargetDetails": { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine. 1116 "additionalLicenses": [ # Additional licenses to assign to the VM. 1117 "A String", 1118 ], 1119 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report. 1120 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1121 "type": "A String", # The license type that was used in OS adaptation. 1122 }, 1123 "bootOption": "A String", # The VM Boot Option, as set in the source vm. 1124 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1125 "automaticRestart": True or False, 1126 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1127 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1128 { # 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 1129 "key": "A String", # The label key of Node resource to reference. 1130 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1131 "values": [ # Corresponds to the label values of Node resource. 1132 "A String", 1133 ], 1134 }, 1135 ], 1136 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1137 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1138 }, 1139 "diskType": "A String", # The disk type to use in the VM. 1140 "labels": { # A map of labels to associate with the VM. 1141 "a_key": "A String", 1142 }, 1143 "licenseType": "A String", # The license type to use in OS adaptation. 1144 "machineType": "A String", # The machine type to create the VM with. 1145 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1146 "metadata": { # The metadata key/value pairs to assign to the VM. 1147 "a_key": "A String", 1148 }, 1149 "networkInterfaces": [ # List of NICs connected to this VM. 1150 { # NetworkInterface represents a NIC of a VM. 1151 "externalIp": "A String", # The external IP to define in the NIC. 1152 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1153 "network": "A String", # The network to connect the NIC to. 1154 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1155 }, 1156 ], 1157 "networkTags": [ # A map of network tags to associate with the VM. 1158 "A String", 1159 ], 1160 "project": "A String", # The GCP target project ID or project name. 1161 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1162 "serviceAccount": "A String", # The service account to associate the VM with. 1163 "vmName": "A String", # The name of the VM to create. 1164 "zone": "A String", # The zone in which to create the VM. 1165 }, 1166 "computeEngineVmDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead. 1167 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 1168 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1169 "type": "A String", # The license type that was used in OS adaptation. 1170 }, 1171 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 1172 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1173 "automaticRestart": True or False, 1174 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1175 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1176 { # 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 1177 "key": "A String", # The label key of Node resource to reference. 1178 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1179 "values": [ # Corresponds to the label values of Node resource. 1180 "A String", 1181 ], 1182 }, 1183 ], 1184 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1185 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1186 }, 1187 "diskType": "A String", # The disk type to use in the VM. 1188 "externalIp": "A String", # The external IP to define in the VM. 1189 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1190 "labels": { # A map of labels to associate with the VM. 1191 "a_key": "A String", 1192 }, 1193 "licenseType": "A String", # The license type to use in OS adaptation. 1194 "machineType": "A String", # The machine type to create the VM with. 1195 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1196 "metadata": { # The metadata key/value pairs to assign to the VM. 1197 "a_key": "A String", 1198 }, 1199 "name": "A String", # The name of the VM to create. 1200 "network": "A String", # The network to connect the VM to. 1201 "networkInterfaces": [ # List of NICs connected to this VM. 1202 { # NetworkInterface represents a NIC of a VM. 1203 "externalIp": "A String", # The external IP to define in the NIC. 1204 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1205 "network": "A String", # The network to connect the NIC to. 1206 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1207 }, 1208 ], 1209 "networkTags": [ # A map of network tags to associate with the VM. 1210 "A String", 1211 ], 1212 "project": "A String", # Output only. The project in which to create the VM. 1213 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1214 "serviceAccount": "A String", # The service account to associate the VM with. 1215 "subnetwork": "A String", # The subnetwork to connect the VM to. 1216 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 1217 "zone": "A String", # The zone in which to create the VM. 1218 }, 1219 "createTime": "A String", # Output only. The time the cutover job was created (as an API call, not when it was actually created in the target). 1220 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details for the errors that led to the Cutover Job's state. 1221 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 1222 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 1223 { 1224 "a_key": "", # Properties of the object. Contains field @type with type URL. 1225 }, 1226 ], 1227 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 1228 }, 1229 "name": "A String", # Output only. The name of the cutover job. 1230 "progress": 42, # Output only. The current progress in percentage of the cutover job. 1231 "progressPercent": 42, # Output only. The current progress in percentage of the cutover job. 1232 "state": "A String", # Output only. State of the cutover job. 1233 "stateMessage": "A String", # Output only. A message providing possible extra details about the current state. 1234 "stateTime": "A String", # Output only. The time the state was last updated. 1235 "targetDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this cutover job. Deprecated: Use compute_engine_target_details instead. 1236 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 1237 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1238 "type": "A String", # The license type that was used in OS adaptation. 1239 }, 1240 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 1241 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1242 "automaticRestart": True or False, 1243 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1244 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1245 { # 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 1246 "key": "A String", # The label key of Node resource to reference. 1247 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1248 "values": [ # Corresponds to the label values of Node resource. 1249 "A String", 1250 ], 1251 }, 1252 ], 1253 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1254 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1255 }, 1256 "diskType": "A String", # The disk type to use in the VM. 1257 "externalIp": "A String", # The external IP to define in the VM. 1258 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1259 "labels": { # A map of labels to associate with the VM. 1260 "a_key": "A String", 1261 }, 1262 "licenseType": "A String", # The license type to use in OS adaptation. 1263 "machineType": "A String", # The machine type to create the VM with. 1264 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1265 "metadata": { # The metadata key/value pairs to assign to the VM. 1266 "a_key": "A String", 1267 }, 1268 "name": "A String", # The name of the VM to create. 1269 "network": "A String", # The network to connect the VM to. 1270 "networkInterfaces": [ # List of NICs connected to this VM. 1271 { # NetworkInterface represents a NIC of a VM. 1272 "externalIp": "A String", # The external IP to define in the NIC. 1273 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1274 "network": "A String", # The network to connect the NIC to. 1275 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1276 }, 1277 ], 1278 "networkTags": [ # A map of network tags to associate with the VM. 1279 "A String", 1280 ], 1281 "project": "A String", # Output only. The project in which to create the VM. 1282 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1283 "serviceAccount": "A String", # The service account to associate the VM with. 1284 "subnetwork": "A String", # The subnetwork to connect the VM to. 1285 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 1286 "zone": "A String", # The zone in which to create the VM. 1287 }, 1288 }, 1289 ], 1290 "sourceVmId": "A 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-. 1291 "state": "A String", # Output only. State of the MigratingVm. 1292 "stateTime": "A String", # Output only. The last time the migrating VM state was updated. 1293 "targetDefaults": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # The default configuration of the target VM that will be created in GCP as a result of the migration. Deprecated: Use compute_engine_target_defaults instead. 1294 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 1295 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1296 "type": "A String", # The license type that was used in OS adaptation. 1297 }, 1298 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 1299 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1300 "automaticRestart": True or False, 1301 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1302 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1303 { # 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 1304 "key": "A String", # The label key of Node resource to reference. 1305 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1306 "values": [ # Corresponds to the label values of Node resource. 1307 "A String", 1308 ], 1309 }, 1310 ], 1311 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1312 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1313 }, 1314 "diskType": "A String", # The disk type to use in the VM. 1315 "externalIp": "A String", # The external IP to define in the VM. 1316 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1317 "labels": { # A map of labels to associate with the VM. 1318 "a_key": "A String", 1319 }, 1320 "licenseType": "A String", # The license type to use in OS adaptation. 1321 "machineType": "A String", # The machine type to create the VM with. 1322 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1323 "metadata": { # The metadata key/value pairs to assign to the VM. 1324 "a_key": "A String", 1325 }, 1326 "name": "A String", # The name of the VM to create. 1327 "network": "A String", # The network to connect the VM to. 1328 "networkInterfaces": [ # List of NICs connected to this VM. 1329 { # NetworkInterface represents a NIC of a VM. 1330 "externalIp": "A String", # The external IP to define in the NIC. 1331 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1332 "network": "A String", # The network to connect the NIC to. 1333 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1334 }, 1335 ], 1336 "networkTags": [ # A map of network tags to associate with the VM. 1337 "A String", 1338 ], 1339 "project": "A String", # Output only. The project in which to create the VM. 1340 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1341 "serviceAccount": "A String", # The service account to associate the VM with. 1342 "subnetwork": "A String", # The subnetwork to connect the VM to. 1343 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 1344 "zone": "A String", # The zone in which to create the VM. 1345 }, 1346 "updateTime": "A String", # Output only. The last time the migrating VM resource was updated. 1347}</pre> 1348</div> 1349 1350<div class="method"> 1351 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code> 1352 <pre>Lists MigratingVms in a given Source. 1353 1354Args: 1355 parent: string, Required. The parent, which owns this collection of MigratingVms. (required) 1356 filter: string, Optional. The filter request. 1357 orderBy: string, Optional. the order by fields for the result. 1358 pageSize: integer, Optional. The maximum number of migrating VMs to return. The service may return fewer than this value. If unspecified, at most 500 migrating VMs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. 1359 pageToken: string, Required. A page token, received from a previous `ListMigratingVms` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigratingVms` must match the call that provided the page token. 1360 view: string, Optional. The level of details of each migrating VM. 1361 Allowed values 1362 MIGRATING_VM_VIEW_UNSPECIFIED - View is unspecified. The API will fallback to the default value. 1363 MIGRATING_VM_VIEW_BASIC - Get the migrating VM basic details. The basic details do not include the recent clone jobs and recent cutover jobs lists. 1364 MIGRATING_VM_VIEW_FULL - Include everything. 1365 x__xgafv: string, V1 error format. 1366 Allowed values 1367 1 - v1 error format 1368 2 - v2 error format 1369 1370Returns: 1371 An object of the form: 1372 1373 { # Response message for 'ListMigratingVms' request. 1374 "migratingVms": [ # Output only. The list of Migrating VMs response. 1375 { # MigratingVm describes the VM that will be migrated from a Source environment and its replication state. 1376 "computeEngineTargetDefaults": { # ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project. # Details of the target VM in Compute Engine. 1377 "additionalLicenses": [ # Additional licenses to assign to the VM. 1378 "A String", 1379 ], 1380 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 1381 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1382 "type": "A String", # The license type that was used in OS adaptation. 1383 }, 1384 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 1385 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1386 "automaticRestart": True or False, 1387 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1388 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1389 { # 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 1390 "key": "A String", # The label key of Node resource to reference. 1391 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1392 "values": [ # Corresponds to the label values of Node resource. 1393 "A String", 1394 ], 1395 }, 1396 ], 1397 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1398 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1399 }, 1400 "diskType": "A String", # The disk type to use in the VM. 1401 "labels": { # A map of labels to associate with the VM. 1402 "a_key": "A String", 1403 }, 1404 "licenseType": "A String", # The license type to use in OS adaptation. 1405 "machineType": "A String", # The machine type to create the VM with. 1406 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1407 "metadata": { # The metadata key/value pairs to assign to the VM. 1408 "a_key": "A String", 1409 }, 1410 "networkInterfaces": [ # List of NICs connected to this VM. 1411 { # NetworkInterface represents a NIC of a VM. 1412 "externalIp": "A String", # The external IP to define in the NIC. 1413 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1414 "network": "A String", # The network to connect the NIC to. 1415 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1416 }, 1417 ], 1418 "networkTags": [ # A map of network tags to associate with the VM. 1419 "A String", 1420 ], 1421 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1422 "serviceAccount": "A String", # The service account to associate the VM with. 1423 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 1424 "vmName": "A String", # The name of the VM to create. 1425 "zone": "A String", # The zone in which to create the VM. 1426 }, 1427 "computeEngineVmDefaults": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_defaults instead. 1428 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 1429 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1430 "type": "A String", # The license type that was used in OS adaptation. 1431 }, 1432 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 1433 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1434 "automaticRestart": True or False, 1435 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1436 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1437 { # 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 1438 "key": "A String", # The label key of Node resource to reference. 1439 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1440 "values": [ # Corresponds to the label values of Node resource. 1441 "A String", 1442 ], 1443 }, 1444 ], 1445 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1446 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1447 }, 1448 "diskType": "A String", # The disk type to use in the VM. 1449 "externalIp": "A String", # The external IP to define in the VM. 1450 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1451 "labels": { # A map of labels to associate with the VM. 1452 "a_key": "A String", 1453 }, 1454 "licenseType": "A String", # The license type to use in OS adaptation. 1455 "machineType": "A String", # The machine type to create the VM with. 1456 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1457 "metadata": { # The metadata key/value pairs to assign to the VM. 1458 "a_key": "A String", 1459 }, 1460 "name": "A String", # The name of the VM to create. 1461 "network": "A String", # The network to connect the VM to. 1462 "networkInterfaces": [ # List of NICs connected to this VM. 1463 { # NetworkInterface represents a NIC of a VM. 1464 "externalIp": "A String", # The external IP to define in the NIC. 1465 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1466 "network": "A String", # The network to connect the NIC to. 1467 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1468 }, 1469 ], 1470 "networkTags": [ # A map of network tags to associate with the VM. 1471 "A String", 1472 ], 1473 "project": "A String", # Output only. The project in which to create the VM. 1474 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1475 "serviceAccount": "A String", # The service account to associate the VM with. 1476 "subnetwork": "A String", # The subnetwork to connect the VM to. 1477 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 1478 "zone": "A String", # The zone in which to create the VM. 1479 }, 1480 "createTime": "A String", # 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). 1481 "currentSyncInfo": { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle. 1482 "progress": 42, # The current progress in percentage of this cycle. 1483 "progressPercent": 42, # The current progress in percentage of this cycle. 1484 "startTime": "A String", # The time the replication cycle has started. 1485 }, 1486 "description": "A String", # The description attached to the migrating VM by the user. 1487 "displayName": "A String", # The display name attached to the MigratingVm by the user. 1488 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details on the state of the Migrating VM in case of an error in replication. 1489 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 1490 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 1491 { 1492 "a_key": "", # Properties of the object. Contains field @type with type URL. 1493 }, 1494 ], 1495 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 1496 }, 1497 "group": "A 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. 1498 "labels": { # The labels of the migrating VM. 1499 "a_key": "A String", 1500 }, 1501 "lastSync": { # ReplicationSync contain information about the last replica sync to the cloud. # Output only. The most updated snapshot created time in the source that finished replication. 1502 "lastSyncTime": "A String", # The most updated snapshot created time in the source that finished replication. 1503 }, 1504 "name": "A String", # Output only. The identifier of the MigratingVm. 1505 "policy": { # A policy for scheduling replications. # The replication schedule policy. 1506 "idleDuration": "A String", # The idle duration between replication stages. 1507 "skipOsAdaptation": True or False, # A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM's operating system undergoes changes and adaptations to fully function on Compute Engine. 1508 }, 1509 "recentCloneJobs": [ # 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. 1510 { # 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. 1511 "computeEngineTargetDetails": { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine. 1512 "additionalLicenses": [ # Additional licenses to assign to the VM. 1513 "A String", 1514 ], 1515 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report. 1516 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1517 "type": "A String", # The license type that was used in OS adaptation. 1518 }, 1519 "bootOption": "A String", # The VM Boot Option, as set in the source vm. 1520 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1521 "automaticRestart": True or False, 1522 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1523 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1524 { # 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 1525 "key": "A String", # The label key of Node resource to reference. 1526 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1527 "values": [ # Corresponds to the label values of Node resource. 1528 "A String", 1529 ], 1530 }, 1531 ], 1532 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1533 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1534 }, 1535 "diskType": "A String", # The disk type to use in the VM. 1536 "labels": { # A map of labels to associate with the VM. 1537 "a_key": "A String", 1538 }, 1539 "licenseType": "A String", # The license type to use in OS adaptation. 1540 "machineType": "A String", # The machine type to create the VM with. 1541 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1542 "metadata": { # The metadata key/value pairs to assign to the VM. 1543 "a_key": "A String", 1544 }, 1545 "networkInterfaces": [ # List of NICs connected to this VM. 1546 { # NetworkInterface represents a NIC of a VM. 1547 "externalIp": "A String", # The external IP to define in the NIC. 1548 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1549 "network": "A String", # The network to connect the NIC to. 1550 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1551 }, 1552 ], 1553 "networkTags": [ # A map of network tags to associate with the VM. 1554 "A String", 1555 ], 1556 "project": "A String", # The GCP target project ID or project name. 1557 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1558 "serviceAccount": "A String", # The service account to associate the VM with. 1559 "vmName": "A String", # The name of the VM to create. 1560 "zone": "A String", # The zone in which to create the VM. 1561 }, 1562 "computeEngineVmDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead. 1563 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 1564 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1565 "type": "A String", # The license type that was used in OS adaptation. 1566 }, 1567 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 1568 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1569 "automaticRestart": True or False, 1570 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1571 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1572 { # 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 1573 "key": "A String", # The label key of Node resource to reference. 1574 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1575 "values": [ # Corresponds to the label values of Node resource. 1576 "A String", 1577 ], 1578 }, 1579 ], 1580 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1581 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1582 }, 1583 "diskType": "A String", # The disk type to use in the VM. 1584 "externalIp": "A String", # The external IP to define in the VM. 1585 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1586 "labels": { # A map of labels to associate with the VM. 1587 "a_key": "A String", 1588 }, 1589 "licenseType": "A String", # The license type to use in OS adaptation. 1590 "machineType": "A String", # The machine type to create the VM with. 1591 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1592 "metadata": { # The metadata key/value pairs to assign to the VM. 1593 "a_key": "A String", 1594 }, 1595 "name": "A String", # The name of the VM to create. 1596 "network": "A String", # The network to connect the VM to. 1597 "networkInterfaces": [ # List of NICs connected to this VM. 1598 { # NetworkInterface represents a NIC of a VM. 1599 "externalIp": "A String", # The external IP to define in the NIC. 1600 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1601 "network": "A String", # The network to connect the NIC to. 1602 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1603 }, 1604 ], 1605 "networkTags": [ # A map of network tags to associate with the VM. 1606 "A String", 1607 ], 1608 "project": "A String", # Output only. The project in which to create the VM. 1609 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1610 "serviceAccount": "A String", # The service account to associate the VM with. 1611 "subnetwork": "A String", # The subnetwork to connect the VM to. 1612 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 1613 "zone": "A String", # The zone in which to create the VM. 1614 }, 1615 "createTime": "A String", # Output only. The time the clone job was created (as an API call, not when it was actually created in the target). 1616 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details for the errors that led to the Clone Job's state. 1617 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 1618 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 1619 { 1620 "a_key": "", # Properties of the object. Contains field @type with type URL. 1621 }, 1622 ], 1623 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 1624 }, 1625 "name": "A String", # The name of the clone. 1626 "state": "A String", # Output only. State of the clone job. 1627 "stateTime": "A String", # Output only. The time the state was last updated. 1628 "targetDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this clone job. Deprecated: Use compute_engine_target_details instead. 1629 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 1630 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1631 "type": "A String", # The license type that was used in OS adaptation. 1632 }, 1633 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 1634 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1635 "automaticRestart": True or False, 1636 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1637 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1638 { # 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 1639 "key": "A String", # The label key of Node resource to reference. 1640 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1641 "values": [ # Corresponds to the label values of Node resource. 1642 "A String", 1643 ], 1644 }, 1645 ], 1646 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1647 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1648 }, 1649 "diskType": "A String", # The disk type to use in the VM. 1650 "externalIp": "A String", # The external IP to define in the VM. 1651 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1652 "labels": { # A map of labels to associate with the VM. 1653 "a_key": "A String", 1654 }, 1655 "licenseType": "A String", # The license type to use in OS adaptation. 1656 "machineType": "A String", # The machine type to create the VM with. 1657 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1658 "metadata": { # The metadata key/value pairs to assign to the VM. 1659 "a_key": "A String", 1660 }, 1661 "name": "A String", # The name of the VM to create. 1662 "network": "A String", # The network to connect the VM to. 1663 "networkInterfaces": [ # List of NICs connected to this VM. 1664 { # NetworkInterface represents a NIC of a VM. 1665 "externalIp": "A String", # The external IP to define in the NIC. 1666 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1667 "network": "A String", # The network to connect the NIC to. 1668 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1669 }, 1670 ], 1671 "networkTags": [ # A map of network tags to associate with the VM. 1672 "A String", 1673 ], 1674 "project": "A String", # Output only. The project in which to create the VM. 1675 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1676 "serviceAccount": "A String", # The service account to associate the VM with. 1677 "subnetwork": "A String", # The subnetwork to connect the VM to. 1678 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 1679 "zone": "A String", # The zone in which to create the VM. 1680 }, 1681 }, 1682 ], 1683 "recentCutoverJobs": [ # 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. 1684 { # 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. 1685 "computeEngineTargetDetails": { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine. 1686 "additionalLicenses": [ # Additional licenses to assign to the VM. 1687 "A String", 1688 ], 1689 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report. 1690 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1691 "type": "A String", # The license type that was used in OS adaptation. 1692 }, 1693 "bootOption": "A String", # The VM Boot Option, as set in the source vm. 1694 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1695 "automaticRestart": True or False, 1696 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1697 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1698 { # 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 1699 "key": "A String", # The label key of Node resource to reference. 1700 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1701 "values": [ # Corresponds to the label values of Node resource. 1702 "A String", 1703 ], 1704 }, 1705 ], 1706 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1707 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1708 }, 1709 "diskType": "A String", # The disk type to use in the VM. 1710 "labels": { # A map of labels to associate with the VM. 1711 "a_key": "A String", 1712 }, 1713 "licenseType": "A String", # The license type to use in OS adaptation. 1714 "machineType": "A String", # The machine type to create the VM with. 1715 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1716 "metadata": { # The metadata key/value pairs to assign to the VM. 1717 "a_key": "A String", 1718 }, 1719 "networkInterfaces": [ # List of NICs connected to this VM. 1720 { # NetworkInterface represents a NIC of a VM. 1721 "externalIp": "A String", # The external IP to define in the NIC. 1722 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1723 "network": "A String", # The network to connect the NIC to. 1724 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1725 }, 1726 ], 1727 "networkTags": [ # A map of network tags to associate with the VM. 1728 "A String", 1729 ], 1730 "project": "A String", # The GCP target project ID or project name. 1731 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1732 "serviceAccount": "A String", # The service account to associate the VM with. 1733 "vmName": "A String", # The name of the VM to create. 1734 "zone": "A String", # The zone in which to create the VM. 1735 }, 1736 "computeEngineVmDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead. 1737 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 1738 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1739 "type": "A String", # The license type that was used in OS adaptation. 1740 }, 1741 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 1742 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1743 "automaticRestart": True or False, 1744 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1745 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1746 { # 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 1747 "key": "A String", # The label key of Node resource to reference. 1748 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1749 "values": [ # Corresponds to the label values of Node resource. 1750 "A String", 1751 ], 1752 }, 1753 ], 1754 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1755 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1756 }, 1757 "diskType": "A String", # The disk type to use in the VM. 1758 "externalIp": "A String", # The external IP to define in the VM. 1759 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1760 "labels": { # A map of labels to associate with the VM. 1761 "a_key": "A String", 1762 }, 1763 "licenseType": "A String", # The license type to use in OS adaptation. 1764 "machineType": "A String", # The machine type to create the VM with. 1765 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1766 "metadata": { # The metadata key/value pairs to assign to the VM. 1767 "a_key": "A String", 1768 }, 1769 "name": "A String", # The name of the VM to create. 1770 "network": "A String", # The network to connect the VM to. 1771 "networkInterfaces": [ # List of NICs connected to this VM. 1772 { # NetworkInterface represents a NIC of a VM. 1773 "externalIp": "A String", # The external IP to define in the NIC. 1774 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1775 "network": "A String", # The network to connect the NIC to. 1776 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1777 }, 1778 ], 1779 "networkTags": [ # A map of network tags to associate with the VM. 1780 "A String", 1781 ], 1782 "project": "A String", # Output only. The project in which to create the VM. 1783 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1784 "serviceAccount": "A String", # The service account to associate the VM with. 1785 "subnetwork": "A String", # The subnetwork to connect the VM to. 1786 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 1787 "zone": "A String", # The zone in which to create the VM. 1788 }, 1789 "createTime": "A String", # Output only. The time the cutover job was created (as an API call, not when it was actually created in the target). 1790 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details for the errors that led to the Cutover Job's state. 1791 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 1792 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 1793 { 1794 "a_key": "", # Properties of the object. Contains field @type with type URL. 1795 }, 1796 ], 1797 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 1798 }, 1799 "name": "A String", # Output only. The name of the cutover job. 1800 "progress": 42, # Output only. The current progress in percentage of the cutover job. 1801 "progressPercent": 42, # Output only. The current progress in percentage of the cutover job. 1802 "state": "A String", # Output only. State of the cutover job. 1803 "stateMessage": "A String", # Output only. A message providing possible extra details about the current state. 1804 "stateTime": "A String", # Output only. The time the state was last updated. 1805 "targetDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this cutover job. Deprecated: Use compute_engine_target_details instead. 1806 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 1807 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1808 "type": "A String", # The license type that was used in OS adaptation. 1809 }, 1810 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 1811 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1812 "automaticRestart": True or False, 1813 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1814 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1815 { # 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 1816 "key": "A String", # The label key of Node resource to reference. 1817 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1818 "values": [ # Corresponds to the label values of Node resource. 1819 "A String", 1820 ], 1821 }, 1822 ], 1823 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1824 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1825 }, 1826 "diskType": "A String", # The disk type to use in the VM. 1827 "externalIp": "A String", # The external IP to define in the VM. 1828 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1829 "labels": { # A map of labels to associate with the VM. 1830 "a_key": "A String", 1831 }, 1832 "licenseType": "A String", # The license type to use in OS adaptation. 1833 "machineType": "A String", # The machine type to create the VM with. 1834 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1835 "metadata": { # The metadata key/value pairs to assign to the VM. 1836 "a_key": "A String", 1837 }, 1838 "name": "A String", # The name of the VM to create. 1839 "network": "A String", # The network to connect the VM to. 1840 "networkInterfaces": [ # List of NICs connected to this VM. 1841 { # NetworkInterface represents a NIC of a VM. 1842 "externalIp": "A String", # The external IP to define in the NIC. 1843 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1844 "network": "A String", # The network to connect the NIC to. 1845 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1846 }, 1847 ], 1848 "networkTags": [ # A map of network tags to associate with the VM. 1849 "A String", 1850 ], 1851 "project": "A String", # Output only. The project in which to create the VM. 1852 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1853 "serviceAccount": "A String", # The service account to associate the VM with. 1854 "subnetwork": "A String", # The subnetwork to connect the VM to. 1855 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 1856 "zone": "A String", # The zone in which to create the VM. 1857 }, 1858 }, 1859 ], 1860 "sourceVmId": "A 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-. 1861 "state": "A String", # Output only. State of the MigratingVm. 1862 "stateTime": "A String", # Output only. The last time the migrating VM state was updated. 1863 "targetDefaults": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # The default configuration of the target VM that will be created in GCP as a result of the migration. Deprecated: Use compute_engine_target_defaults instead. 1864 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 1865 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1866 "type": "A String", # The license type that was used in OS adaptation. 1867 }, 1868 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 1869 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1870 "automaticRestart": True or False, 1871 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1872 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1873 { # 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 1874 "key": "A String", # The label key of Node resource to reference. 1875 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1876 "values": [ # Corresponds to the label values of Node resource. 1877 "A String", 1878 ], 1879 }, 1880 ], 1881 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1882 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1883 }, 1884 "diskType": "A String", # The disk type to use in the VM. 1885 "externalIp": "A String", # The external IP to define in the VM. 1886 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1887 "labels": { # A map of labels to associate with the VM. 1888 "a_key": "A String", 1889 }, 1890 "licenseType": "A String", # The license type to use in OS adaptation. 1891 "machineType": "A String", # The machine type to create the VM with. 1892 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1893 "metadata": { # The metadata key/value pairs to assign to the VM. 1894 "a_key": "A String", 1895 }, 1896 "name": "A String", # The name of the VM to create. 1897 "network": "A String", # The network to connect the VM to. 1898 "networkInterfaces": [ # List of NICs connected to this VM. 1899 { # NetworkInterface represents a NIC of a VM. 1900 "externalIp": "A String", # The external IP to define in the NIC. 1901 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1902 "network": "A String", # The network to connect the NIC to. 1903 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1904 }, 1905 ], 1906 "networkTags": [ # A map of network tags to associate with the VM. 1907 "A String", 1908 ], 1909 "project": "A String", # Output only. The project in which to create the VM. 1910 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1911 "serviceAccount": "A String", # The service account to associate the VM with. 1912 "subnetwork": "A String", # The subnetwork to connect the VM to. 1913 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 1914 "zone": "A String", # The zone in which to create the VM. 1915 }, 1916 "updateTime": "A String", # Output only. The last time the migrating VM resource was updated. 1917 }, 1918 ], 1919 "nextPageToken": "A String", # Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. 1920 "unreachable": [ # Output only. Locations that could not be reached. 1921 "A String", 1922 ], 1923}</pre> 1924</div> 1925 1926<div class="method"> 1927 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 1928 <pre>Retrieves the next page of results. 1929 1930Args: 1931 previous_request: The request for the previous page. (required) 1932 previous_response: The response from the request for the previous page. (required) 1933 1934Returns: 1935 A request object that you can call 'execute()' on to request the next 1936 page. Returns None if there are no more items in the collection. 1937 </pre> 1938</div> 1939 1940<div class="method"> 1941 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code> 1942 <pre>Updates the parameters of a single MigratingVm. 1943 1944Args: 1945 name: string, Output only. The identifier of the MigratingVm. (required) 1946 body: object, The request body. 1947 The object takes the form of: 1948 1949{ # MigratingVm describes the VM that will be migrated from a Source environment and its replication state. 1950 "computeEngineTargetDefaults": { # ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project. # Details of the target VM in Compute Engine. 1951 "additionalLicenses": [ # Additional licenses to assign to the VM. 1952 "A String", 1953 ], 1954 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 1955 "osLicense": "A String", # The OS license returned from the adaptation module's report. 1956 "type": "A String", # The license type that was used in OS adaptation. 1957 }, 1958 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 1959 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 1960 "automaticRestart": True or False, 1961 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 1962 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 1963 { # 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 1964 "key": "A String", # The label key of Node resource to reference. 1965 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 1966 "values": [ # Corresponds to the label values of Node resource. 1967 "A String", 1968 ], 1969 }, 1970 ], 1971 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 1972 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 1973 }, 1974 "diskType": "A String", # The disk type to use in the VM. 1975 "labels": { # A map of labels to associate with the VM. 1976 "a_key": "A String", 1977 }, 1978 "licenseType": "A String", # The license type to use in OS adaptation. 1979 "machineType": "A String", # The machine type to create the VM with. 1980 "machineTypeSeries": "A String", # The machine type series to create the VM with. 1981 "metadata": { # The metadata key/value pairs to assign to the VM. 1982 "a_key": "A String", 1983 }, 1984 "networkInterfaces": [ # List of NICs connected to this VM. 1985 { # NetworkInterface represents a NIC of a VM. 1986 "externalIp": "A String", # The external IP to define in the NIC. 1987 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 1988 "network": "A String", # The network to connect the NIC to. 1989 "subnetwork": "A String", # The subnetwork to connect the NIC to. 1990 }, 1991 ], 1992 "networkTags": [ # A map of network tags to associate with the VM. 1993 "A String", 1994 ], 1995 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 1996 "serviceAccount": "A String", # The service account to associate the VM with. 1997 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 1998 "vmName": "A String", # The name of the VM to create. 1999 "zone": "A String", # The zone in which to create the VM. 2000 }, 2001 "computeEngineVmDefaults": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_defaults instead. 2002 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 2003 "osLicense": "A String", # The OS license returned from the adaptation module's report. 2004 "type": "A String", # The license type that was used in OS adaptation. 2005 }, 2006 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 2007 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 2008 "automaticRestart": True or False, 2009 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 2010 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 2011 { # 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 2012 "key": "A String", # The label key of Node resource to reference. 2013 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 2014 "values": [ # Corresponds to the label values of Node resource. 2015 "A String", 2016 ], 2017 }, 2018 ], 2019 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 2020 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 2021 }, 2022 "diskType": "A String", # The disk type to use in the VM. 2023 "externalIp": "A String", # The external IP to define in the VM. 2024 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 2025 "labels": { # A map of labels to associate with the VM. 2026 "a_key": "A String", 2027 }, 2028 "licenseType": "A String", # The license type to use in OS adaptation. 2029 "machineType": "A String", # The machine type to create the VM with. 2030 "machineTypeSeries": "A String", # The machine type series to create the VM with. 2031 "metadata": { # The metadata key/value pairs to assign to the VM. 2032 "a_key": "A String", 2033 }, 2034 "name": "A String", # The name of the VM to create. 2035 "network": "A String", # The network to connect the VM to. 2036 "networkInterfaces": [ # List of NICs connected to this VM. 2037 { # NetworkInterface represents a NIC of a VM. 2038 "externalIp": "A String", # The external IP to define in the NIC. 2039 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 2040 "network": "A String", # The network to connect the NIC to. 2041 "subnetwork": "A String", # The subnetwork to connect the NIC to. 2042 }, 2043 ], 2044 "networkTags": [ # A map of network tags to associate with the VM. 2045 "A String", 2046 ], 2047 "project": "A String", # Output only. The project in which to create the VM. 2048 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 2049 "serviceAccount": "A String", # The service account to associate the VM with. 2050 "subnetwork": "A String", # The subnetwork to connect the VM to. 2051 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 2052 "zone": "A String", # The zone in which to create the VM. 2053 }, 2054 "createTime": "A String", # 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). 2055 "currentSyncInfo": { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle. 2056 "progress": 42, # The current progress in percentage of this cycle. 2057 "progressPercent": 42, # The current progress in percentage of this cycle. 2058 "startTime": "A String", # The time the replication cycle has started. 2059 }, 2060 "description": "A String", # The description attached to the migrating VM by the user. 2061 "displayName": "A String", # The display name attached to the MigratingVm by the user. 2062 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details on the state of the Migrating VM in case of an error in replication. 2063 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 2064 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 2065 { 2066 "a_key": "", # Properties of the object. Contains field @type with type URL. 2067 }, 2068 ], 2069 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 2070 }, 2071 "group": "A 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. 2072 "labels": { # The labels of the migrating VM. 2073 "a_key": "A String", 2074 }, 2075 "lastSync": { # ReplicationSync contain information about the last replica sync to the cloud. # Output only. The most updated snapshot created time in the source that finished replication. 2076 "lastSyncTime": "A String", # The most updated snapshot created time in the source that finished replication. 2077 }, 2078 "name": "A String", # Output only. The identifier of the MigratingVm. 2079 "policy": { # A policy for scheduling replications. # The replication schedule policy. 2080 "idleDuration": "A String", # The idle duration between replication stages. 2081 "skipOsAdaptation": True or False, # A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM's operating system undergoes changes and adaptations to fully function on Compute Engine. 2082 }, 2083 "recentCloneJobs": [ # 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. 2084 { # 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. 2085 "computeEngineTargetDetails": { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine. 2086 "additionalLicenses": [ # Additional licenses to assign to the VM. 2087 "A String", 2088 ], 2089 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report. 2090 "osLicense": "A String", # The OS license returned from the adaptation module's report. 2091 "type": "A String", # The license type that was used in OS adaptation. 2092 }, 2093 "bootOption": "A String", # The VM Boot Option, as set in the source vm. 2094 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 2095 "automaticRestart": True or False, 2096 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 2097 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 2098 { # 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 2099 "key": "A String", # The label key of Node resource to reference. 2100 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 2101 "values": [ # Corresponds to the label values of Node resource. 2102 "A String", 2103 ], 2104 }, 2105 ], 2106 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 2107 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 2108 }, 2109 "diskType": "A String", # The disk type to use in the VM. 2110 "labels": { # A map of labels to associate with the VM. 2111 "a_key": "A String", 2112 }, 2113 "licenseType": "A String", # The license type to use in OS adaptation. 2114 "machineType": "A String", # The machine type to create the VM with. 2115 "machineTypeSeries": "A String", # The machine type series to create the VM with. 2116 "metadata": { # The metadata key/value pairs to assign to the VM. 2117 "a_key": "A String", 2118 }, 2119 "networkInterfaces": [ # List of NICs connected to this VM. 2120 { # NetworkInterface represents a NIC of a VM. 2121 "externalIp": "A String", # The external IP to define in the NIC. 2122 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 2123 "network": "A String", # The network to connect the NIC to. 2124 "subnetwork": "A String", # The subnetwork to connect the NIC to. 2125 }, 2126 ], 2127 "networkTags": [ # A map of network tags to associate with the VM. 2128 "A String", 2129 ], 2130 "project": "A String", # The GCP target project ID or project name. 2131 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 2132 "serviceAccount": "A String", # The service account to associate the VM with. 2133 "vmName": "A String", # The name of the VM to create. 2134 "zone": "A String", # The zone in which to create the VM. 2135 }, 2136 "computeEngineVmDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead. 2137 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 2138 "osLicense": "A String", # The OS license returned from the adaptation module's report. 2139 "type": "A String", # The license type that was used in OS adaptation. 2140 }, 2141 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 2142 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 2143 "automaticRestart": True or False, 2144 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 2145 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 2146 { # 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 2147 "key": "A String", # The label key of Node resource to reference. 2148 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 2149 "values": [ # Corresponds to the label values of Node resource. 2150 "A String", 2151 ], 2152 }, 2153 ], 2154 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 2155 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 2156 }, 2157 "diskType": "A String", # The disk type to use in the VM. 2158 "externalIp": "A String", # The external IP to define in the VM. 2159 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 2160 "labels": { # A map of labels to associate with the VM. 2161 "a_key": "A String", 2162 }, 2163 "licenseType": "A String", # The license type to use in OS adaptation. 2164 "machineType": "A String", # The machine type to create the VM with. 2165 "machineTypeSeries": "A String", # The machine type series to create the VM with. 2166 "metadata": { # The metadata key/value pairs to assign to the VM. 2167 "a_key": "A String", 2168 }, 2169 "name": "A String", # The name of the VM to create. 2170 "network": "A String", # The network to connect the VM to. 2171 "networkInterfaces": [ # List of NICs connected to this VM. 2172 { # NetworkInterface represents a NIC of a VM. 2173 "externalIp": "A String", # The external IP to define in the NIC. 2174 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 2175 "network": "A String", # The network to connect the NIC to. 2176 "subnetwork": "A String", # The subnetwork to connect the NIC to. 2177 }, 2178 ], 2179 "networkTags": [ # A map of network tags to associate with the VM. 2180 "A String", 2181 ], 2182 "project": "A String", # Output only. The project in which to create the VM. 2183 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 2184 "serviceAccount": "A String", # The service account to associate the VM with. 2185 "subnetwork": "A String", # The subnetwork to connect the VM to. 2186 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 2187 "zone": "A String", # The zone in which to create the VM. 2188 }, 2189 "createTime": "A String", # Output only. The time the clone job was created (as an API call, not when it was actually created in the target). 2190 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details for the errors that led to the Clone Job's state. 2191 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 2192 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 2193 { 2194 "a_key": "", # Properties of the object. Contains field @type with type URL. 2195 }, 2196 ], 2197 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 2198 }, 2199 "name": "A String", # The name of the clone. 2200 "state": "A String", # Output only. State of the clone job. 2201 "stateTime": "A String", # Output only. The time the state was last updated. 2202 "targetDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this clone job. Deprecated: Use compute_engine_target_details instead. 2203 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 2204 "osLicense": "A String", # The OS license returned from the adaptation module's report. 2205 "type": "A String", # The license type that was used in OS adaptation. 2206 }, 2207 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 2208 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 2209 "automaticRestart": True or False, 2210 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 2211 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 2212 { # 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 2213 "key": "A String", # The label key of Node resource to reference. 2214 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 2215 "values": [ # Corresponds to the label values of Node resource. 2216 "A String", 2217 ], 2218 }, 2219 ], 2220 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 2221 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 2222 }, 2223 "diskType": "A String", # The disk type to use in the VM. 2224 "externalIp": "A String", # The external IP to define in the VM. 2225 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 2226 "labels": { # A map of labels to associate with the VM. 2227 "a_key": "A String", 2228 }, 2229 "licenseType": "A String", # The license type to use in OS adaptation. 2230 "machineType": "A String", # The machine type to create the VM with. 2231 "machineTypeSeries": "A String", # The machine type series to create the VM with. 2232 "metadata": { # The metadata key/value pairs to assign to the VM. 2233 "a_key": "A String", 2234 }, 2235 "name": "A String", # The name of the VM to create. 2236 "network": "A String", # The network to connect the VM to. 2237 "networkInterfaces": [ # List of NICs connected to this VM. 2238 { # NetworkInterface represents a NIC of a VM. 2239 "externalIp": "A String", # The external IP to define in the NIC. 2240 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 2241 "network": "A String", # The network to connect the NIC to. 2242 "subnetwork": "A String", # The subnetwork to connect the NIC to. 2243 }, 2244 ], 2245 "networkTags": [ # A map of network tags to associate with the VM. 2246 "A String", 2247 ], 2248 "project": "A String", # Output only. The project in which to create the VM. 2249 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 2250 "serviceAccount": "A String", # The service account to associate the VM with. 2251 "subnetwork": "A String", # The subnetwork to connect the VM to. 2252 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 2253 "zone": "A String", # The zone in which to create the VM. 2254 }, 2255 }, 2256 ], 2257 "recentCutoverJobs": [ # 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. 2258 { # 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. 2259 "computeEngineTargetDetails": { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine. 2260 "additionalLicenses": [ # Additional licenses to assign to the VM. 2261 "A String", 2262 ], 2263 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report. 2264 "osLicense": "A String", # The OS license returned from the adaptation module's report. 2265 "type": "A String", # The license type that was used in OS adaptation. 2266 }, 2267 "bootOption": "A String", # The VM Boot Option, as set in the source vm. 2268 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 2269 "automaticRestart": True or False, 2270 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 2271 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 2272 { # 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 2273 "key": "A String", # The label key of Node resource to reference. 2274 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 2275 "values": [ # Corresponds to the label values of Node resource. 2276 "A String", 2277 ], 2278 }, 2279 ], 2280 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 2281 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 2282 }, 2283 "diskType": "A String", # The disk type to use in the VM. 2284 "labels": { # A map of labels to associate with the VM. 2285 "a_key": "A String", 2286 }, 2287 "licenseType": "A String", # The license type to use in OS adaptation. 2288 "machineType": "A String", # The machine type to create the VM with. 2289 "machineTypeSeries": "A String", # The machine type series to create the VM with. 2290 "metadata": { # The metadata key/value pairs to assign to the VM. 2291 "a_key": "A String", 2292 }, 2293 "networkInterfaces": [ # List of NICs connected to this VM. 2294 { # NetworkInterface represents a NIC of a VM. 2295 "externalIp": "A String", # The external IP to define in the NIC. 2296 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 2297 "network": "A String", # The network to connect the NIC to. 2298 "subnetwork": "A String", # The subnetwork to connect the NIC to. 2299 }, 2300 ], 2301 "networkTags": [ # A map of network tags to associate with the VM. 2302 "A String", 2303 ], 2304 "project": "A String", # The GCP target project ID or project name. 2305 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 2306 "serviceAccount": "A String", # The service account to associate the VM with. 2307 "vmName": "A String", # The name of the VM to create. 2308 "zone": "A String", # The zone in which to create the VM. 2309 }, 2310 "computeEngineVmDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead. 2311 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 2312 "osLicense": "A String", # The OS license returned from the adaptation module's report. 2313 "type": "A String", # The license type that was used in OS adaptation. 2314 }, 2315 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 2316 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 2317 "automaticRestart": True or False, 2318 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 2319 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 2320 { # 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 2321 "key": "A String", # The label key of Node resource to reference. 2322 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 2323 "values": [ # Corresponds to the label values of Node resource. 2324 "A String", 2325 ], 2326 }, 2327 ], 2328 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 2329 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 2330 }, 2331 "diskType": "A String", # The disk type to use in the VM. 2332 "externalIp": "A String", # The external IP to define in the VM. 2333 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 2334 "labels": { # A map of labels to associate with the VM. 2335 "a_key": "A String", 2336 }, 2337 "licenseType": "A String", # The license type to use in OS adaptation. 2338 "machineType": "A String", # The machine type to create the VM with. 2339 "machineTypeSeries": "A String", # The machine type series to create the VM with. 2340 "metadata": { # The metadata key/value pairs to assign to the VM. 2341 "a_key": "A String", 2342 }, 2343 "name": "A String", # The name of the VM to create. 2344 "network": "A String", # The network to connect the VM to. 2345 "networkInterfaces": [ # List of NICs connected to this VM. 2346 { # NetworkInterface represents a NIC of a VM. 2347 "externalIp": "A String", # The external IP to define in the NIC. 2348 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 2349 "network": "A String", # The network to connect the NIC to. 2350 "subnetwork": "A String", # The subnetwork to connect the NIC to. 2351 }, 2352 ], 2353 "networkTags": [ # A map of network tags to associate with the VM. 2354 "A String", 2355 ], 2356 "project": "A String", # Output only. The project in which to create the VM. 2357 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 2358 "serviceAccount": "A String", # The service account to associate the VM with. 2359 "subnetwork": "A String", # The subnetwork to connect the VM to. 2360 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 2361 "zone": "A String", # The zone in which to create the VM. 2362 }, 2363 "createTime": "A String", # Output only. The time the cutover job was created (as an API call, not when it was actually created in the target). 2364 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details for the errors that led to the Cutover Job's state. 2365 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 2366 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 2367 { 2368 "a_key": "", # Properties of the object. Contains field @type with type URL. 2369 }, 2370 ], 2371 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 2372 }, 2373 "name": "A String", # Output only. The name of the cutover job. 2374 "progress": 42, # Output only. The current progress in percentage of the cutover job. 2375 "progressPercent": 42, # Output only. The current progress in percentage of the cutover job. 2376 "state": "A String", # Output only. State of the cutover job. 2377 "stateMessage": "A String", # Output only. A message providing possible extra details about the current state. 2378 "stateTime": "A String", # Output only. The time the state was last updated. 2379 "targetDetails": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this cutover job. Deprecated: Use compute_engine_target_details instead. 2380 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 2381 "osLicense": "A String", # The OS license returned from the adaptation module's report. 2382 "type": "A String", # The license type that was used in OS adaptation. 2383 }, 2384 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 2385 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 2386 "automaticRestart": True or False, 2387 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 2388 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 2389 { # 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 2390 "key": "A String", # The label key of Node resource to reference. 2391 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 2392 "values": [ # Corresponds to the label values of Node resource. 2393 "A String", 2394 ], 2395 }, 2396 ], 2397 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 2398 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 2399 }, 2400 "diskType": "A String", # The disk type to use in the VM. 2401 "externalIp": "A String", # The external IP to define in the VM. 2402 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 2403 "labels": { # A map of labels to associate with the VM. 2404 "a_key": "A String", 2405 }, 2406 "licenseType": "A String", # The license type to use in OS adaptation. 2407 "machineType": "A String", # The machine type to create the VM with. 2408 "machineTypeSeries": "A String", # The machine type series to create the VM with. 2409 "metadata": { # The metadata key/value pairs to assign to the VM. 2410 "a_key": "A String", 2411 }, 2412 "name": "A String", # The name of the VM to create. 2413 "network": "A String", # The network to connect the VM to. 2414 "networkInterfaces": [ # List of NICs connected to this VM. 2415 { # NetworkInterface represents a NIC of a VM. 2416 "externalIp": "A String", # The external IP to define in the NIC. 2417 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 2418 "network": "A String", # The network to connect the NIC to. 2419 "subnetwork": "A String", # The subnetwork to connect the NIC to. 2420 }, 2421 ], 2422 "networkTags": [ # A map of network tags to associate with the VM. 2423 "A String", 2424 ], 2425 "project": "A String", # Output only. The project in which to create the VM. 2426 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 2427 "serviceAccount": "A String", # The service account to associate the VM with. 2428 "subnetwork": "A String", # The subnetwork to connect the VM to. 2429 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 2430 "zone": "A String", # The zone in which to create the VM. 2431 }, 2432 }, 2433 ], 2434 "sourceVmId": "A 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-. 2435 "state": "A String", # Output only. State of the MigratingVm. 2436 "stateTime": "A String", # Output only. The last time the migrating VM state was updated. 2437 "targetDefaults": { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # The default configuration of the target VM that will be created in GCP as a result of the migration. Deprecated: Use compute_engine_target_defaults instead. 2438 "appliedLicense": { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report. 2439 "osLicense": "A String", # The OS license returned from the adaptation module's report. 2440 "type": "A String", # The license type that was used in OS adaptation. 2441 }, 2442 "bootOption": "A String", # Output only. The VM Boot Option, as set in the source vm. 2443 "computeScheduling": { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used). 2444 "automaticRestart": True or False, 2445 "minNodeCpus": 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. 2446 "nodeAffinities": [ # A set of node affinity and anti-affinity configurations for sole tenant nodes. 2447 { # 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 2448 "key": "A String", # The label key of Node resource to reference. 2449 "operator": "A String", # The operator to use for the node resources specified in the `values` parameter. 2450 "values": [ # Corresponds to the label values of Node resource. 2451 "A String", 2452 ], 2453 }, 2454 ], 2455 "onHostMaintenance": "A String", # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. 2456 "restartType": "A String", # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. 2457 }, 2458 "diskType": "A String", # The disk type to use in the VM. 2459 "externalIp": "A String", # The external IP to define in the VM. 2460 "internalIp": "A String", # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 2461 "labels": { # A map of labels to associate with the VM. 2462 "a_key": "A String", 2463 }, 2464 "licenseType": "A String", # The license type to use in OS adaptation. 2465 "machineType": "A String", # The machine type to create the VM with. 2466 "machineTypeSeries": "A String", # The machine type series to create the VM with. 2467 "metadata": { # The metadata key/value pairs to assign to the VM. 2468 "a_key": "A String", 2469 }, 2470 "name": "A String", # The name of the VM to create. 2471 "network": "A String", # The network to connect the VM to. 2472 "networkInterfaces": [ # List of NICs connected to this VM. 2473 { # NetworkInterface represents a NIC of a VM. 2474 "externalIp": "A String", # The external IP to define in the NIC. 2475 "internalIp": "A String", # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. 2476 "network": "A String", # The network to connect the NIC to. 2477 "subnetwork": "A String", # The subnetwork to connect the NIC to. 2478 }, 2479 ], 2480 "networkTags": [ # A map of network tags to associate with the VM. 2481 "A String", 2482 ], 2483 "project": "A String", # Output only. The project in which to create the VM. 2484 "secureBoot": True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. 2485 "serviceAccount": "A String", # The service account to associate the VM with. 2486 "subnetwork": "A String", # The subnetwork to connect the VM to. 2487 "targetProject": "A String", # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. 2488 "zone": "A String", # The zone in which to create the VM. 2489 }, 2490 "updateTime": "A String", # Output only. The last time the migrating VM resource was updated. 2491} 2492 2493 requestId: string, A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). 2494 updateMask: string, Field mask is used to specify the fields to be overwritten in the MigratingVm resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. 2495 x__xgafv: string, V1 error format. 2496 Allowed values 2497 1 - v1 error format 2498 2 - v2 error format 2499 2500Returns: 2501 An object of the form: 2502 2503 { # This resource represents a long-running operation that is the result of a network API call. 2504 "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. 2505 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. 2506 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 2507 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 2508 { 2509 "a_key": "", # Properties of the object. Contains field @type with type URL. 2510 }, 2511 ], 2512 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 2513 }, 2514 "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. 2515 "a_key": "", # Properties of the object. Contains field @type with type URL. 2516 }, 2517 "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. 2518 "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 2519 "a_key": "", # Properties of the object. Contains field @type with type URL. 2520 }, 2521}</pre> 2522</div> 2523 2524<div class="method"> 2525 <code class="details" id="pauseMigration">pauseMigration(migratingVm, body=None, x__xgafv=None)</code> 2526 <pre>Pauses a migration for a VM. If cycle tasks are running they will be cancelled, preserving source task data. Further replication cycles will not be triggered while the VM is paused. 2527 2528Args: 2529 migratingVm: string, Required. The name of the MigratingVm. (required) 2530 body: object, The request body. 2531 The object takes the form of: 2532 2533{ # Request message for 'PauseMigration' request. 2534} 2535 2536 x__xgafv: string, V1 error format. 2537 Allowed values 2538 1 - v1 error format 2539 2 - v2 error format 2540 2541Returns: 2542 An object of the form: 2543 2544 { # This resource represents a long-running operation that is the result of a network API call. 2545 "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. 2546 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. 2547 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 2548 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 2549 { 2550 "a_key": "", # Properties of the object. Contains field @type with type URL. 2551 }, 2552 ], 2553 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 2554 }, 2555 "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. 2556 "a_key": "", # Properties of the object. Contains field @type with type URL. 2557 }, 2558 "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. 2559 "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 2560 "a_key": "", # Properties of the object. Contains field @type with type URL. 2561 }, 2562}</pre> 2563</div> 2564 2565<div class="method"> 2566 <code class="details" id="resumeMigration">resumeMigration(migratingVm, body=None, x__xgafv=None)</code> 2567 <pre>Resumes a migration for a VM. When called on a paused migration, will start the process of uploading data and creating snapshots; when called on a completed cut-over migration, will update the migration to active state and start the process of uploading data and creating snapshots. 2568 2569Args: 2570 migratingVm: string, Required. The name of the MigratingVm. (required) 2571 body: object, The request body. 2572 The object takes the form of: 2573 2574{ # Request message for 'ResumeMigration' request. 2575} 2576 2577 x__xgafv: string, V1 error format. 2578 Allowed values 2579 1 - v1 error format 2580 2 - v2 error format 2581 2582Returns: 2583 An object of the form: 2584 2585 { # This resource represents a long-running operation that is the result of a network API call. 2586 "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. 2587 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. 2588 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 2589 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 2590 { 2591 "a_key": "", # Properties of the object. Contains field @type with type URL. 2592 }, 2593 ], 2594 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 2595 }, 2596 "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. 2597 "a_key": "", # Properties of the object. Contains field @type with type URL. 2598 }, 2599 "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. 2600 "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 2601 "a_key": "", # Properties of the object. Contains field @type with type URL. 2602 }, 2603}</pre> 2604</div> 2605 2606<div class="method"> 2607 <code class="details" id="startMigration">startMigration(migratingVm, body=None, x__xgafv=None)</code> 2608 <pre>Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy. 2609 2610Args: 2611 migratingVm: string, Required. The name of the MigratingVm. (required) 2612 body: object, The request body. 2613 The object takes the form of: 2614 2615{ # Request message for 'StartMigrationRequest' request. 2616} 2617 2618 x__xgafv: string, V1 error format. 2619 Allowed values 2620 1 - v1 error format 2621 2 - v2 error format 2622 2623Returns: 2624 An object of the form: 2625 2626 { # This resource represents a long-running operation that is the result of a network API call. 2627 "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. 2628 "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. 2629 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 2630 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 2631 { 2632 "a_key": "", # Properties of the object. Contains field @type with type URL. 2633 }, 2634 ], 2635 "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. 2636 }, 2637 "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. 2638 "a_key": "", # Properties of the object. Contains field @type with type URL. 2639 }, 2640 "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. 2641 "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 2642 "a_key": "", # Properties of the object. Contains field @type with type URL. 2643 }, 2644}</pre> 2645</div> 2646 2647</body></html>