@googleapis/vmmigration 2.0.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/v1.ts CHANGED
@@ -285,9 +285,9 @@ export namespace vmmigration_v1 {
285
285
  */
286
286
  firmware?: string | null;
287
287
  /**
288
- * Output only. Unordered list. List of VM certain capabilities needed for some Compute Engine features.
288
+ * Output only. Information about VM capabilities needed for some Compute Engine features.
289
289
  */
290
- vmCapabilities?: string[] | null;
290
+ vmCapabilitiesInfo?: Schema$VmCapabilities;
291
291
  }
292
292
  /**
293
293
  * AwsVmDetails describes a VM in AWS.
@@ -375,6 +375,164 @@ export namespace vmmigration_v1 {
375
375
  */
376
376
  details?: Schema$AwsVmDetails[];
377
377
  }
378
+ /**
379
+ * The details of an Azure VM disk.
380
+ */
381
+ export interface Schema$AzureDiskDetails {
382
+ /**
383
+ * Azure disk ID.
384
+ */
385
+ diskId?: string | null;
386
+ /**
387
+ * The ordinal number of the disk.
388
+ */
389
+ diskNumber?: number | null;
390
+ /**
391
+ * Size in GB.
392
+ */
393
+ sizeGb?: string | null;
394
+ }
395
+ /**
396
+ * AzureSourceDetails message describes a specific source details for the Azure source type.
397
+ */
398
+ export interface Schema$AzureSourceDetails {
399
+ /**
400
+ * Immutable. The Azure location (region) that the source VMs will be migrated from.
401
+ */
402
+ azureLocation?: string | null;
403
+ /**
404
+ * Azure Credentials using tenant ID, client ID and secret.
405
+ */
406
+ clientSecretCreds?: Schema$ClientSecretCredentials;
407
+ /**
408
+ * Output only. Provides details on the state of the Source in case of an error.
409
+ */
410
+ error?: Schema$Status;
411
+ /**
412
+ * User specified tags to add to every M2VM generated resource in Azure. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m4ce` or `m2vm`.
413
+ */
414
+ migrationResourcesUserTags?: {[key: string]: string} | null;
415
+ /**
416
+ * Output only. The ID of the Azure resource group that contains all resources related to the migration process of this source.
417
+ */
418
+ resourceGroupId?: string | null;
419
+ /**
420
+ * Output only. State of the source as determined by the health check.
421
+ */
422
+ state?: string | null;
423
+ /**
424
+ * Immutable. Azure subscription ID.
425
+ */
426
+ subscriptionId?: string | null;
427
+ }
428
+ /**
429
+ * Represent the source Azure VM details.
430
+ */
431
+ export interface Schema$AzureSourceVmDetails {
432
+ /**
433
+ * The total size of the disks being migrated in bytes.
434
+ */
435
+ committedStorageBytes?: string | null;
436
+ /**
437
+ * The disks attached to the source VM.
438
+ */
439
+ disks?: Schema$AzureDiskDetails[];
440
+ /**
441
+ * The firmware type of the source VM.
442
+ */
443
+ firmware?: string | null;
444
+ /**
445
+ * Output only. Information about VM capabilities needed for some Compute Engine features.
446
+ */
447
+ vmCapabilitiesInfo?: Schema$VmCapabilities;
448
+ }
449
+ /**
450
+ * AwsVmDetails describes a VM in AWS.
451
+ */
452
+ export interface Schema$AzureVmDetails {
453
+ /**
454
+ * The VM Boot Option.
455
+ */
456
+ bootOption?: string | null;
457
+ /**
458
+ * The total size of the storage allocated to the VM in MB.
459
+ */
460
+ committedStorageMb?: string | null;
461
+ /**
462
+ * The VM's ComputerName.
463
+ */
464
+ computerName?: string | null;
465
+ /**
466
+ * The number of cpus the VM has.
467
+ */
468
+ cpuCount?: number | null;
469
+ /**
470
+ * The number of disks the VM has, including OS disk.
471
+ */
472
+ diskCount?: number | null;
473
+ /**
474
+ * Description of the data disks.
475
+ */
476
+ disks?: Schema$Disk[];
477
+ /**
478
+ * The memory size of the VM in MB.
479
+ */
480
+ memoryMb?: number | null;
481
+ /**
482
+ * Description of the OS.
483
+ */
484
+ osDescription?: Schema$OSDescription;
485
+ /**
486
+ * Description of the OS disk.
487
+ */
488
+ osDisk?: Schema$OSDisk;
489
+ /**
490
+ * The power state of the VM at the moment list was taken.
491
+ */
492
+ powerState?: string | null;
493
+ /**
494
+ * The tags of the VM.
495
+ */
496
+ tags?: {[key: string]: string} | null;
497
+ /**
498
+ * The VM full path in Azure.
499
+ */
500
+ vmId?: string | null;
501
+ /**
502
+ * VM size as configured in Azure. Determines the VM's hardware spec.
503
+ */
504
+ vmSize?: string | null;
505
+ }
506
+ /**
507
+ * AzureVmsDetails describes VMs in Azure.
508
+ */
509
+ export interface Schema$AzureVmsDetails {
510
+ /**
511
+ * The details of the Azure VMs.
512
+ */
513
+ details?: Schema$AzureVmDetails[];
514
+ }
515
+ /**
516
+ * BootDiskDefaults hold information about the boot disk of a VM.
517
+ */
518
+ export interface Schema$BootDiskDefaults {
519
+ /**
520
+ * Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.
521
+ */
522
+ deviceName?: string | null;
523
+ /**
524
+ * Optional. The name of the disk.
525
+ */
526
+ diskName?: string | null;
527
+ /**
528
+ * Optional. The type of disk provisioning to use for the VM.
529
+ */
530
+ diskType?: string | null;
531
+ /**
532
+ * The image to use when creating the disk.
533
+ */
534
+ image?: Schema$DiskImageDefaults;
535
+ }
378
536
  /**
379
537
  * Request message for 'CancelCloneJob' request.
380
538
  */
@@ -387,6 +545,23 @@ export namespace vmmigration_v1 {
387
545
  * The request message for Operations.CancelOperation.
388
546
  */
389
547
  export interface Schema$CancelOperationRequest {}
548
+ /**
549
+ * Message describing Azure Credentials using tenant ID, client ID and secret.
550
+ */
551
+ export interface Schema$ClientSecretCredentials {
552
+ /**
553
+ * Azure client ID.
554
+ */
555
+ clientId?: string | null;
556
+ /**
557
+ * Input only. Azure client secret.
558
+ */
559
+ clientSecret?: string | null;
560
+ /**
561
+ * Azure tenant ID.
562
+ */
563
+ tenantId?: string | null;
564
+ }
390
565
  /**
391
566
  * 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.
392
567
  */
@@ -461,10 +636,18 @@ export namespace vmmigration_v1 {
461
636
  * The details of each Persistent Disk to create.
462
637
  */
463
638
  disks?: Schema$PersistentDiskDefaults[];
639
+ /**
640
+ * Details of the disk only migration target.
641
+ */
642
+ disksTargetDefaults?: Schema$DisksMigrationDisksTargetDefaults;
464
643
  /**
465
644
  * The full path of the resource of type TargetProject which represents the Compute Engine project in which to create the Persistent Disks.
466
645
  */
467
646
  targetProject?: string | null;
647
+ /**
648
+ * Details of the VM migration target.
649
+ */
650
+ vmTargetDefaults?: Schema$DisksMigrationVmTargetDefaults;
468
651
  /**
469
652
  * The zone in which to create the Persistent Disks.
470
653
  */
@@ -478,6 +661,14 @@ export namespace vmmigration_v1 {
478
661
  * The details of each created Persistent Disk.
479
662
  */
480
663
  disks?: Schema$PersistentDisk[];
664
+ /**
665
+ * Details of the disks-only migration target.
666
+ */
667
+ disksTargetDetails?: Schema$DisksMigrationDisksTargetDetails;
668
+ /**
669
+ * Details for the VM the migrated data disks are attached to.
670
+ */
671
+ vmTargetDetails?: Schema$DisksMigrationVmTargetDetails;
481
672
  }
482
673
  /**
483
674
  * ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.
@@ -831,6 +1022,106 @@ export namespace vmmigration_v1 {
831
1022
  */
832
1023
  version?: string | null;
833
1024
  }
1025
+ /**
1026
+ * A message describing a data disk.
1027
+ */
1028
+ export interface Schema$Disk {
1029
+ /**
1030
+ * The disk's Logical Unit Number (LUN).
1031
+ */
1032
+ lun?: number | null;
1033
+ /**
1034
+ * The disk name.
1035
+ */
1036
+ name?: string | null;
1037
+ /**
1038
+ * The disk size in GB.
1039
+ */
1040
+ sizeGb?: number | null;
1041
+ }
1042
+ /**
1043
+ * Contains details about the image source used to create the disk.
1044
+ */
1045
+ export interface Schema$DiskImageDefaults {
1046
+ /**
1047
+ * Required. The Image resource used when creating the disk.
1048
+ */
1049
+ sourceImage?: string | null;
1050
+ }
1051
+ /**
1052
+ * Details for a disk only migration.
1053
+ */
1054
+ export interface Schema$DisksMigrationDisksTargetDefaults {}
1055
+ /**
1056
+ * Details for a disks-only migration.
1057
+ */
1058
+ export interface Schema$DisksMigrationDisksTargetDetails {}
1059
+ /**
1060
+ * Details for creation of a VM that migrated data disks will be attached to.
1061
+ */
1062
+ export interface Schema$DisksMigrationVmTargetDefaults {
1063
+ /**
1064
+ * Optional. Additional licenses to assign to the VM.
1065
+ */
1066
+ additionalLicenses?: string[] | null;
1067
+ /**
1068
+ * Optional. Details of the boot disk of the VM.
1069
+ */
1070
+ bootDiskDefaults?: Schema$BootDiskDefaults;
1071
+ /**
1072
+ * Optional. Compute instance scheduling information (if empty default is used).
1073
+ */
1074
+ computeScheduling?: Schema$ComputeScheduling;
1075
+ /**
1076
+ * Optional. The hostname to assign to the VM.
1077
+ */
1078
+ hostname?: string | null;
1079
+ /**
1080
+ * Optional. A map of labels to associate with the VM.
1081
+ */
1082
+ labels?: {[key: string]: string} | null;
1083
+ /**
1084
+ * Required. The machine type to create the VM with.
1085
+ */
1086
+ machineType?: string | null;
1087
+ /**
1088
+ * Optional. The machine type series to create the VM with. For presentation only.
1089
+ */
1090
+ machineTypeSeries?: string | null;
1091
+ /**
1092
+ * Optional. The metadata key/value pairs to assign to the VM.
1093
+ */
1094
+ metadata?: {[key: string]: string} | null;
1095
+ /**
1096
+ * Optional. NICs to attach to the VM.
1097
+ */
1098
+ networkInterfaces?: Schema$NetworkInterface[];
1099
+ /**
1100
+ * Optional. A list of network tags to associate with the VM.
1101
+ */
1102
+ networkTags?: string[] | null;
1103
+ /**
1104
+ * Optional. Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.
1105
+ */
1106
+ secureBoot?: boolean | null;
1107
+ /**
1108
+ * Optional. The service account to associate the VM with.
1109
+ */
1110
+ serviceAccount?: string | null;
1111
+ /**
1112
+ * Required. The name of the VM to create.
1113
+ */
1114
+ vmName?: string | null;
1115
+ }
1116
+ /**
1117
+ * Details for the VM created VM as part of disks migration.
1118
+ */
1119
+ export interface Schema$DisksMigrationVmTargetDetails {
1120
+ /**
1121
+ * Output only. The URI of the Compute Engine VM.
1122
+ */
1123
+ vmUri?: string | null;
1124
+ }
834
1125
  /**
835
1126
  * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
836
1127
  */
@@ -843,6 +1134,10 @@ export namespace vmmigration_v1 {
843
1134
  * The description of the VMs in a Source of type AWS.
844
1135
  */
845
1136
  awsVms?: Schema$AwsVmsDetails;
1137
+ /**
1138
+ * The description of the VMs in a Source of type Azure.
1139
+ */
1140
+ azureVms?: Schema$AzureVmsDetails;
846
1141
  /**
847
1142
  * 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.
848
1143
  */
@@ -1135,6 +1430,10 @@ export namespace vmmigration_v1 {
1135
1430
  * Output only. Details of the VM from an AWS source.
1136
1431
  */
1137
1432
  awsSourceVmDetails?: Schema$AwsSourceVmDetails;
1433
+ /**
1434
+ * Output only. Details of the VM from an Azure source.
1435
+ */
1436
+ azureSourceVmDetails?: Schema$AzureSourceVmDetails;
1138
1437
  /**
1139
1438
  * Details of the target Persistent Disks in Compute Engine.
1140
1439
  */
@@ -1215,6 +1514,10 @@ export namespace vmmigration_v1 {
1215
1514
  * Output only. The last time the migrating VM resource was updated.
1216
1515
  */
1217
1516
  updateTime?: string | null;
1517
+ /**
1518
+ * Output only. Details of the VM from a Vmware source.
1519
+ */
1520
+ vmwareSourceVmDetails?: Schema$VmwareSourceVmDetails;
1218
1521
  }
1219
1522
  /**
1220
1523
  * Represents migration resource error information that can be used with google.rpc.Status message. MigrationError is used to present the user with error information in migration operations.
@@ -1345,6 +1648,44 @@ export namespace vmmigration_v1 {
1345
1648
  */
1346
1649
  verb?: string | null;
1347
1650
  }
1651
+ /**
1652
+ * A message describing the VM's OS. Including OS, Publisher, Offer and Plan if applicable.
1653
+ */
1654
+ export interface Schema$OSDescription {
1655
+ /**
1656
+ * OS offer.
1657
+ */
1658
+ offer?: string | null;
1659
+ /**
1660
+ * OS plan.
1661
+ */
1662
+ plan?: string | null;
1663
+ /**
1664
+ * OS publisher.
1665
+ */
1666
+ publisher?: string | null;
1667
+ /**
1668
+ * OS type.
1669
+ */
1670
+ type?: string | null;
1671
+ }
1672
+ /**
1673
+ * A message describing the OS disk.
1674
+ */
1675
+ export interface Schema$OSDisk {
1676
+ /**
1677
+ * The disk's full name.
1678
+ */
1679
+ name?: string | null;
1680
+ /**
1681
+ * The disk's size in GB.
1682
+ */
1683
+ sizeGb?: number | null;
1684
+ /**
1685
+ * The disk's type.
1686
+ */
1687
+ type?: string | null;
1688
+ }
1348
1689
  /**
1349
1690
  * Request message for 'PauseMigration' request.
1350
1691
  */
@@ -1382,6 +1723,10 @@ export namespace vmmigration_v1 {
1382
1723
  * Required. The ordinal number of the source VM disk.
1383
1724
  */
1384
1725
  sourceDiskNumber?: number | null;
1726
+ /**
1727
+ * Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attacked to a target VM.
1728
+ */
1729
+ vmAttachmentDetails?: Schema$VmAttachmentDetails;
1385
1730
  }
1386
1731
  /**
1387
1732
  * PostProcessingStep contains specific step details.
@@ -1521,6 +1866,10 @@ export namespace vmmigration_v1 {
1521
1866
  * AWS type source details.
1522
1867
  */
1523
1868
  aws?: Schema$AwsSourceDetails;
1869
+ /**
1870
+ * Azure type source details.
1871
+ */
1872
+ azure?: Schema$AzureSourceDetails;
1524
1873
  /**
1525
1874
  * Output only. The create time timestamp.
1526
1875
  */
@@ -1684,6 +2033,28 @@ export namespace vmmigration_v1 {
1684
2033
  */
1685
2034
  vms?: Schema$VmUtilizationInfo[];
1686
2035
  }
2036
+ /**
2037
+ * Details for attachment of the disk to a VM.
2038
+ */
2039
+ export interface Schema$VmAttachmentDetails {
2040
+ /**
2041
+ * Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.
2042
+ */
2043
+ deviceName?: string | null;
2044
+ }
2045
+ /**
2046
+ * Migrating VM source information about the VM capabilities needed for some Compute Engine features.
2047
+ */
2048
+ export interface Schema$VmCapabilities {
2049
+ /**
2050
+ * Output only. The last time OS capabilities list was updated.
2051
+ */
2052
+ lastOsCapabilitiesUpdateTime?: string | null;
2053
+ /**
2054
+ * Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.
2055
+ */
2056
+ osCapabilities?: string[] | null;
2057
+ }
1687
2058
  /**
1688
2059
  * Utilization information of a single VM.
1689
2060
  */
@@ -1738,6 +2109,23 @@ export namespace vmmigration_v1 {
1738
2109
  */
1739
2110
  networkThroughputMaxKbps?: string | null;
1740
2111
  }
2112
+ /**
2113
+ * The details of a Vmware VM disk.
2114
+ */
2115
+ export interface Schema$VmwareDiskDetails {
2116
+ /**
2117
+ * The ordinal number of the disk.
2118
+ */
2119
+ diskNumber?: number | null;
2120
+ /**
2121
+ * The disk label.
2122
+ */
2123
+ label?: string | null;
2124
+ /**
2125
+ * Size in GB.
2126
+ */
2127
+ sizeGb?: string | null;
2128
+ }
1741
2129
  /**
1742
2130
  * VmwareSourceDetails message describes a specific source details for the vmware source type.
1743
2131
  */
@@ -1763,6 +2151,27 @@ export namespace vmmigration_v1 {
1763
2151
  */
1764
2152
  vcenterIp?: string | null;
1765
2153
  }
2154
+ /**
2155
+ * Represent the source Vmware VM details.
2156
+ */
2157
+ export interface Schema$VmwareSourceVmDetails {
2158
+ /**
2159
+ * The total size of the disks being migrated in bytes.
2160
+ */
2161
+ committedStorageBytes?: string | null;
2162
+ /**
2163
+ * The disks attached to the source VM.
2164
+ */
2165
+ disks?: Schema$VmwareDiskDetails[];
2166
+ /**
2167
+ * The firmware type of the source VM.
2168
+ */
2169
+ firmware?: string | null;
2170
+ /**
2171
+ * Output only. Information about VM capabilities needed for some Compute Engine features.
2172
+ */
2173
+ vmCapabilitiesInfo?: Schema$VmCapabilities;
2174
+ }
1766
2175
  /**
1767
2176
  * VmwareVmDetails describes a VM in vCenter.
1768
2177
  */