@googleapis/vmmigration 9.0.0 → 9.2.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/CHANGELOG.md +20 -0
- package/build/v1.d.ts +229 -30
- package/build/v1.js +74 -0
- package/build/v1.js.map +1 -1
- package/build/v1alpha1.d.ts +229 -30
- package/build/v1alpha1.js +74 -0
- package/build/v1alpha1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +378 -30
- package/v1alpha1.ts +384 -30
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [9.2.0](https://github.com/googleapis/google-api-nodejs-client/compare/vmmigration-v9.1.0...vmmigration-v9.2.0) (2024-08-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **vmmigration:** update the API ([5eabdc7](https://github.com/googleapis/google-api-nodejs-client/commit/5eabdc7b734394d450609ebdf755951cd3a51972))
|
|
9
|
+
* **vmmigration:** update the API ([d450bd8](https://github.com/googleapis/google-api-nodejs-client/commit/d450bd8e46085d2f04d81c0611ea855da35fddc2))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **vmmigration:** update the API ([2664ee2](https://github.com/googleapis/google-api-nodejs-client/commit/2664ee2f9c1f01d51d8545f4cab82535fac59846))
|
|
15
|
+
|
|
16
|
+
## [9.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/vmmigration-v9.0.0...vmmigration-v9.1.0) (2024-07-26)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* **vmmigration:** update the API ([d450bd8](https://github.com/googleapis/google-api-nodejs-client/commit/d450bd8e46085d2f04d81c0611ea855da35fddc2))
|
|
22
|
+
|
|
3
23
|
## [9.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/vmmigration-v8.0.1...vmmigration-v9.0.0) (2024-05-02)
|
|
4
24
|
|
|
5
25
|
|
package/build/v1.d.ts
CHANGED
|
@@ -154,15 +154,15 @@ export declare namespace vmmigration_v1 {
|
|
|
154
154
|
*/
|
|
155
155
|
export interface Schema$AwsDiskDetails {
|
|
156
156
|
/**
|
|
157
|
-
* The ordinal number of the disk.
|
|
157
|
+
* Output only. The ordinal number of the disk.
|
|
158
158
|
*/
|
|
159
159
|
diskNumber?: number | null;
|
|
160
160
|
/**
|
|
161
|
-
* Size in GB.
|
|
161
|
+
* Output only. Size in GB.
|
|
162
162
|
*/
|
|
163
163
|
sizeGb?: string | null;
|
|
164
164
|
/**
|
|
165
|
-
* AWS volume ID.
|
|
165
|
+
* Output only. AWS volume ID.
|
|
166
166
|
*/
|
|
167
167
|
volumeId?: string | null;
|
|
168
168
|
}
|
|
@@ -209,6 +209,10 @@ export declare namespace vmmigration_v1 {
|
|
|
209
209
|
migrationResourcesUserTags?: {
|
|
210
210
|
[key: string]: string;
|
|
211
211
|
} | null;
|
|
212
|
+
/**
|
|
213
|
+
* Output only. Information about the network coniguration of the source. Only gatherred upon request.
|
|
214
|
+
*/
|
|
215
|
+
networkInsights?: Schema$NetworkInsights;
|
|
212
216
|
/**
|
|
213
217
|
* Output only. The source's public IP. All communication initiated by this source will originate from this IP.
|
|
214
218
|
*/
|
|
@@ -223,15 +227,15 @@ export declare namespace vmmigration_v1 {
|
|
|
223
227
|
*/
|
|
224
228
|
export interface Schema$AwsSourceVmDetails {
|
|
225
229
|
/**
|
|
226
|
-
* The total size of the disks being migrated in bytes.
|
|
230
|
+
* Output only. The total size of the disks being migrated in bytes.
|
|
227
231
|
*/
|
|
228
232
|
committedStorageBytes?: string | null;
|
|
229
233
|
/**
|
|
230
|
-
* The disks attached to the source VM.
|
|
234
|
+
* Output only. The disks attached to the source VM.
|
|
231
235
|
*/
|
|
232
236
|
disks?: Schema$AwsDiskDetails[];
|
|
233
237
|
/**
|
|
234
|
-
* The firmware type of the source VM.
|
|
238
|
+
* Output only. The firmware type of the source VM.
|
|
235
239
|
*/
|
|
236
240
|
firmware?: string | null;
|
|
237
241
|
/**
|
|
@@ -332,15 +336,15 @@ export declare namespace vmmigration_v1 {
|
|
|
332
336
|
*/
|
|
333
337
|
export interface Schema$AzureDiskDetails {
|
|
334
338
|
/**
|
|
335
|
-
* Azure disk ID.
|
|
339
|
+
* Output only. Azure disk ID.
|
|
336
340
|
*/
|
|
337
341
|
diskId?: string | null;
|
|
338
342
|
/**
|
|
339
|
-
* The ordinal number of the disk.
|
|
343
|
+
* Output only. The ordinal number of the disk.
|
|
340
344
|
*/
|
|
341
345
|
diskNumber?: number | null;
|
|
342
346
|
/**
|
|
343
|
-
* Size in GB.
|
|
347
|
+
* Output only. Size in GB.
|
|
344
348
|
*/
|
|
345
349
|
sizeGb?: string | null;
|
|
346
350
|
}
|
|
@@ -384,15 +388,15 @@ export declare namespace vmmigration_v1 {
|
|
|
384
388
|
*/
|
|
385
389
|
export interface Schema$AzureSourceVmDetails {
|
|
386
390
|
/**
|
|
387
|
-
* The total size of the disks being migrated in bytes.
|
|
391
|
+
* Output only. The total size of the disks being migrated in bytes.
|
|
388
392
|
*/
|
|
389
393
|
committedStorageBytes?: string | null;
|
|
390
394
|
/**
|
|
391
|
-
* The disks attached to the source VM.
|
|
395
|
+
* Output only. The disks attached to the source VM.
|
|
392
396
|
*/
|
|
393
397
|
disks?: Schema$AzureDiskDetails[];
|
|
394
398
|
/**
|
|
395
|
-
* The firmware type of the source VM.
|
|
399
|
+
* Output only. The firmware type of the source VM.
|
|
396
400
|
*/
|
|
397
401
|
firmware?: string | null;
|
|
398
402
|
/**
|
|
@@ -503,6 +507,11 @@ export declare namespace vmmigration_v1 {
|
|
|
503
507
|
*/
|
|
504
508
|
export interface Schema$CancelCutoverJobRequest {
|
|
505
509
|
}
|
|
510
|
+
/**
|
|
511
|
+
* Request message for 'CancelDiskMigrationJob' request.
|
|
512
|
+
*/
|
|
513
|
+
export interface Schema$CancelDiskMigrationJobRequest {
|
|
514
|
+
}
|
|
506
515
|
/**
|
|
507
516
|
* Request message for 'CancelImageImportJob' request.
|
|
508
517
|
*/
|
|
@@ -1047,7 +1056,7 @@ export declare namespace vmmigration_v1 {
|
|
|
1047
1056
|
*/
|
|
1048
1057
|
export interface Schema$DiskImageTargetDetails {
|
|
1049
1058
|
/**
|
|
1050
|
-
* Optional. Additional licenses to assign to the image.
|
|
1059
|
+
* Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
|
|
1051
1060
|
*/
|
|
1052
1061
|
additionalLicenses?: string[] | null;
|
|
1053
1062
|
/**
|
|
@@ -1266,6 +1275,10 @@ export declare namespace vmmigration_v1 {
|
|
|
1266
1275
|
* Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine.
|
|
1267
1276
|
*/
|
|
1268
1277
|
encryption?: Schema$Encryption;
|
|
1278
|
+
/**
|
|
1279
|
+
* Immutable. Target details for importing a machine image, will be used by ImageImportJob.
|
|
1280
|
+
*/
|
|
1281
|
+
machineImageTargetDefaults?: Schema$MachineImageTargetDetails;
|
|
1269
1282
|
/**
|
|
1270
1283
|
* Output only. The resource path of the ImageImport.
|
|
1271
1284
|
*/
|
|
@@ -1303,6 +1316,10 @@ export declare namespace vmmigration_v1 {
|
|
|
1303
1316
|
* Output only. Provides details on the error that led to the image import state in case of an error.
|
|
1304
1317
|
*/
|
|
1305
1318
|
errors?: Schema$Status[];
|
|
1319
|
+
/**
|
|
1320
|
+
* Output only. Target details used to import a machine image.
|
|
1321
|
+
*/
|
|
1322
|
+
machineImageTargetDetails?: Schema$MachineImageTargetDetails;
|
|
1306
1323
|
/**
|
|
1307
1324
|
* Output only. The resource path of the ImageImportJob.
|
|
1308
1325
|
*/
|
|
@@ -1650,6 +1667,78 @@ export declare namespace vmmigration_v1 {
|
|
|
1650
1667
|
*/
|
|
1651
1668
|
name?: string | null;
|
|
1652
1669
|
}
|
|
1670
|
+
/**
|
|
1671
|
+
* Parameters overriding decisions based on the source machine image configurations.
|
|
1672
|
+
*/
|
|
1673
|
+
export interface Schema$MachineImageParametersOverrides {
|
|
1674
|
+
/**
|
|
1675
|
+
* Optional. The machine type to create the MachineImage with. If empty, the service will choose a relevant machine type based on the information from the source image. For more information about machine types, please refer to https://cloud.google.com/compute/docs/machine-resource.
|
|
1676
|
+
*/
|
|
1677
|
+
machineType?: string | null;
|
|
1678
|
+
}
|
|
1679
|
+
/**
|
|
1680
|
+
* The target details of the machine image resource that will be created by the image import job.
|
|
1681
|
+
*/
|
|
1682
|
+
export interface Schema$MachineImageTargetDetails {
|
|
1683
|
+
/**
|
|
1684
|
+
* Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
|
|
1685
|
+
*/
|
|
1686
|
+
additionalLicenses?: string[] | null;
|
|
1687
|
+
/**
|
|
1688
|
+
* Optional. An optional description of the machine image.
|
|
1689
|
+
*/
|
|
1690
|
+
description?: string | null;
|
|
1691
|
+
/**
|
|
1692
|
+
* Immutable. The encryption to apply to the machine image.
|
|
1693
|
+
*/
|
|
1694
|
+
encryption?: Schema$Encryption;
|
|
1695
|
+
/**
|
|
1696
|
+
* Optional. The labels to apply to the instance created by the machine image.
|
|
1697
|
+
*/
|
|
1698
|
+
labels?: {
|
|
1699
|
+
[key: string]: string;
|
|
1700
|
+
} | null;
|
|
1701
|
+
/**
|
|
1702
|
+
* Required. The name of the machine image to be created.
|
|
1703
|
+
*/
|
|
1704
|
+
machineImageName?: string | null;
|
|
1705
|
+
/**
|
|
1706
|
+
* Optional. Parameters overriding decisions based on the source machine image configurations.
|
|
1707
|
+
*/
|
|
1708
|
+
machineImageParametersOverrides?: Schema$MachineImageParametersOverrides;
|
|
1709
|
+
/**
|
|
1710
|
+
* Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses are ignored for machine image import.
|
|
1711
|
+
*/
|
|
1712
|
+
networkInterfaces?: Schema$NetworkInterface[];
|
|
1713
|
+
/**
|
|
1714
|
+
* Optional. Use to set the parameters relevant for the OS adaptation process.
|
|
1715
|
+
*/
|
|
1716
|
+
osAdaptationParameters?: Schema$ImageImportOsAdaptationParameters;
|
|
1717
|
+
/**
|
|
1718
|
+
* Optional. The service account to assign to the instance created by the machine image.
|
|
1719
|
+
*/
|
|
1720
|
+
serviceAccount?: Schema$ServiceAccount;
|
|
1721
|
+
/**
|
|
1722
|
+
* Optional. Shielded instance configuration.
|
|
1723
|
+
*/
|
|
1724
|
+
shieldedInstanceConfig?: Schema$ShieldedInstanceConfig;
|
|
1725
|
+
/**
|
|
1726
|
+
* Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
|
|
1727
|
+
*/
|
|
1728
|
+
singleRegionStorage?: boolean | null;
|
|
1729
|
+
/**
|
|
1730
|
+
* Optional. Use to skip OS adaptation process.
|
|
1731
|
+
*/
|
|
1732
|
+
skipOsAdaptation?: Schema$SkipOsAdaptation;
|
|
1733
|
+
/**
|
|
1734
|
+
* Optional. The tags to apply to the instance created by the machine image.
|
|
1735
|
+
*/
|
|
1736
|
+
tags?: string[] | null;
|
|
1737
|
+
/**
|
|
1738
|
+
* Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
|
|
1739
|
+
*/
|
|
1740
|
+
targetProject?: string | null;
|
|
1741
|
+
}
|
|
1653
1742
|
/**
|
|
1654
1743
|
* MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
|
|
1655
1744
|
*/
|
|
@@ -1779,7 +1868,7 @@ export declare namespace vmmigration_v1 {
|
|
|
1779
1868
|
*/
|
|
1780
1869
|
export interface Schema$MigrationWarning {
|
|
1781
1870
|
/**
|
|
1782
|
-
* Suggested action for solving the warning.
|
|
1871
|
+
* Output only. Suggested action for solving the warning.
|
|
1783
1872
|
*/
|
|
1784
1873
|
actionItem?: Schema$LocalizedMessage;
|
|
1785
1874
|
/**
|
|
@@ -1787,11 +1876,11 @@ export declare namespace vmmigration_v1 {
|
|
|
1787
1876
|
*/
|
|
1788
1877
|
code?: string | null;
|
|
1789
1878
|
/**
|
|
1790
|
-
* URL(s) pointing to additional information on handling the current warning.
|
|
1879
|
+
* Output only. URL(s) pointing to additional information on handling the current warning.
|
|
1791
1880
|
*/
|
|
1792
1881
|
helpLinks?: Schema$Link[];
|
|
1793
1882
|
/**
|
|
1794
|
-
* The localized warning message.
|
|
1883
|
+
* Output only. The localized warning message.
|
|
1795
1884
|
*/
|
|
1796
1885
|
warningMessage?: Schema$LocalizedMessage;
|
|
1797
1886
|
/**
|
|
@@ -1799,16 +1888,29 @@ export declare namespace vmmigration_v1 {
|
|
|
1799
1888
|
*/
|
|
1800
1889
|
warningTime?: string | null;
|
|
1801
1890
|
}
|
|
1891
|
+
/**
|
|
1892
|
+
* Information about the network coniguration of the source.
|
|
1893
|
+
*/
|
|
1894
|
+
export interface Schema$NetworkInsights {
|
|
1895
|
+
/**
|
|
1896
|
+
* Output only. The gathered network configuration of the source. Presented in json format.
|
|
1897
|
+
*/
|
|
1898
|
+
sourceNetworkConfig?: string | null;
|
|
1899
|
+
/**
|
|
1900
|
+
* Output only. The gathered network configuration of the source. Presented in terraform format.
|
|
1901
|
+
*/
|
|
1902
|
+
sourceNetworkTerraform?: string | null;
|
|
1903
|
+
}
|
|
1802
1904
|
/**
|
|
1803
1905
|
* NetworkInterface represents a NIC of a VM.
|
|
1804
1906
|
*/
|
|
1805
1907
|
export interface Schema$NetworkInterface {
|
|
1806
1908
|
/**
|
|
1807
|
-
* The external IP to define in the NIC.
|
|
1909
|
+
* Optional. The external IP to define in the NIC.
|
|
1808
1910
|
*/
|
|
1809
1911
|
externalIp?: string | null;
|
|
1810
1912
|
/**
|
|
1811
|
-
* The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
|
|
1913
|
+
* Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
|
|
1812
1914
|
*/
|
|
1813
1915
|
internalIp?: string | null;
|
|
1814
1916
|
/**
|
|
@@ -1816,7 +1918,11 @@ export declare namespace vmmigration_v1 {
|
|
|
1816
1918
|
*/
|
|
1817
1919
|
network?: string | null;
|
|
1818
1920
|
/**
|
|
1819
|
-
* The
|
|
1921
|
+
* Optional. The networking tier used for configuring network access configuration. If left empty, will default to PREMIUM.
|
|
1922
|
+
*/
|
|
1923
|
+
networkTier?: string | null;
|
|
1924
|
+
/**
|
|
1925
|
+
* Optional. The subnetwork to connect the NIC to.
|
|
1820
1926
|
*/
|
|
1821
1927
|
subnetwork?: string | null;
|
|
1822
1928
|
}
|
|
@@ -1965,7 +2071,7 @@ export declare namespace vmmigration_v1 {
|
|
|
1965
2071
|
*/
|
|
1966
2072
|
sourceDiskNumber?: number | null;
|
|
1967
2073
|
/**
|
|
1968
|
-
* Optional. Details for attachment of the disk to a VM. Used when the disk is set to be
|
|
2074
|
+
* Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attached to a target VM.
|
|
1969
2075
|
*/
|
|
1970
2076
|
vmAttachmentDetails?: Schema$VmAttachmentDetails;
|
|
1971
2077
|
}
|
|
@@ -2022,7 +2128,7 @@ export declare namespace vmmigration_v1 {
|
|
|
2022
2128
|
*/
|
|
2023
2129
|
endTime?: string | null;
|
|
2024
2130
|
/**
|
|
2025
|
-
* Provides details on the state of the cycle in case of an error.
|
|
2131
|
+
* Output only. Provides details on the state of the cycle in case of an error.
|
|
2026
2132
|
*/
|
|
2027
2133
|
error?: Schema$Status;
|
|
2028
2134
|
/**
|
|
@@ -2068,6 +2174,11 @@ export declare namespace vmmigration_v1 {
|
|
|
2068
2174
|
*/
|
|
2069
2175
|
export interface Schema$ResumeMigrationRequest {
|
|
2070
2176
|
}
|
|
2177
|
+
/**
|
|
2178
|
+
* Request message for 'RunDiskMigrationJobRequest' request.
|
|
2179
|
+
*/
|
|
2180
|
+
export interface Schema$RunDiskMigrationJobRequest {
|
|
2181
|
+
}
|
|
2071
2182
|
/**
|
|
2072
2183
|
* A policy for scheduling replications.
|
|
2073
2184
|
*/
|
|
@@ -2098,11 +2209,46 @@ export declare namespace vmmigration_v1 {
|
|
|
2098
2209
|
*/
|
|
2099
2210
|
values?: string[] | null;
|
|
2100
2211
|
}
|
|
2212
|
+
/**
|
|
2213
|
+
* Service account to assign to the instance created by the machine image.
|
|
2214
|
+
*/
|
|
2215
|
+
export interface Schema$ServiceAccount {
|
|
2216
|
+
/**
|
|
2217
|
+
* Required. The email address of the service account.
|
|
2218
|
+
*/
|
|
2219
|
+
email?: string | null;
|
|
2220
|
+
/**
|
|
2221
|
+
* Optional. The list of scopes to be made available for this service account.
|
|
2222
|
+
*/
|
|
2223
|
+
scopes?: string[] | null;
|
|
2224
|
+
}
|
|
2225
|
+
/**
|
|
2226
|
+
* Shielded instance configuration.
|
|
2227
|
+
*/
|
|
2228
|
+
export interface Schema$ShieldedInstanceConfig {
|
|
2229
|
+
/**
|
|
2230
|
+
* Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled.
|
|
2231
|
+
*/
|
|
2232
|
+
enableIntegrityMonitoring?: boolean | null;
|
|
2233
|
+
/**
|
|
2234
|
+
* Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI.
|
|
2235
|
+
*/
|
|
2236
|
+
enableVtpm?: boolean | null;
|
|
2237
|
+
/**
|
|
2238
|
+
* Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI.
|
|
2239
|
+
*/
|
|
2240
|
+
secureBoot?: string | null;
|
|
2241
|
+
}
|
|
2101
2242
|
/**
|
|
2102
2243
|
* ShuttingDownSourceVMStep contains specific step details.
|
|
2103
2244
|
*/
|
|
2104
2245
|
export interface Schema$ShuttingDownSourceVMStep {
|
|
2105
2246
|
}
|
|
2247
|
+
/**
|
|
2248
|
+
* Mentions that the machine image import is not using OS adaptation process.
|
|
2249
|
+
*/
|
|
2250
|
+
export interface Schema$SkipOsAdaptation {
|
|
2251
|
+
}
|
|
2106
2252
|
/**
|
|
2107
2253
|
* Source message describes a specific vm migration Source resource. It contains the source environment information.
|
|
2108
2254
|
*/
|
|
@@ -2175,11 +2321,11 @@ export declare namespace vmmigration_v1 {
|
|
|
2175
2321
|
*/
|
|
2176
2322
|
export interface Schema$Tag {
|
|
2177
2323
|
/**
|
|
2178
|
-
* Key of tag.
|
|
2324
|
+
* Required. Key of tag.
|
|
2179
2325
|
*/
|
|
2180
2326
|
key?: string | null;
|
|
2181
2327
|
/**
|
|
2182
|
-
* Value of tag.
|
|
2328
|
+
* Required. Value of tag.
|
|
2183
2329
|
*/
|
|
2184
2330
|
value?: string | null;
|
|
2185
2331
|
}
|
|
@@ -2222,7 +2368,7 @@ export declare namespace vmmigration_v1 {
|
|
|
2222
2368
|
*/
|
|
2223
2369
|
export interface Schema$UpgradeStatus {
|
|
2224
2370
|
/**
|
|
2225
|
-
* Provides details on the state of the upgrade operation in case of an error.
|
|
2371
|
+
* Output only. Provides details on the state of the upgrade operation in case of an error.
|
|
2226
2372
|
*/
|
|
2227
2373
|
error?: Schema$Status;
|
|
2228
2374
|
/**
|
|
@@ -2368,15 +2514,15 @@ export declare namespace vmmigration_v1 {
|
|
|
2368
2514
|
*/
|
|
2369
2515
|
export interface Schema$VmwareDiskDetails {
|
|
2370
2516
|
/**
|
|
2371
|
-
* The ordinal number of the disk.
|
|
2517
|
+
* Output only. The ordinal number of the disk.
|
|
2372
2518
|
*/
|
|
2373
2519
|
diskNumber?: number | null;
|
|
2374
2520
|
/**
|
|
2375
|
-
* The disk label.
|
|
2521
|
+
* Output only. The disk label.
|
|
2376
2522
|
*/
|
|
2377
2523
|
label?: string | null;
|
|
2378
2524
|
/**
|
|
2379
|
-
* Size in GB.
|
|
2525
|
+
* Output only. Size in GB.
|
|
2380
2526
|
*/
|
|
2381
2527
|
sizeGb?: string | null;
|
|
2382
2528
|
}
|
|
@@ -2410,15 +2556,15 @@ export declare namespace vmmigration_v1 {
|
|
|
2410
2556
|
*/
|
|
2411
2557
|
export interface Schema$VmwareSourceVmDetails {
|
|
2412
2558
|
/**
|
|
2413
|
-
* The total size of the disks being migrated in bytes.
|
|
2559
|
+
* Output only. The total size of the disks being migrated in bytes.
|
|
2414
2560
|
*/
|
|
2415
2561
|
committedStorageBytes?: string | null;
|
|
2416
2562
|
/**
|
|
2417
|
-
* The disks attached to the source VM.
|
|
2563
|
+
* Output only. The disks attached to the source VM.
|
|
2418
2564
|
*/
|
|
2419
2565
|
disks?: Schema$VmwareDiskDetails[];
|
|
2420
2566
|
/**
|
|
2421
|
-
* The firmware type of the source VM.
|
|
2567
|
+
* Output only. The firmware type of the source VM.
|
|
2422
2568
|
*/
|
|
2423
2569
|
firmware?: string | null;
|
|
2424
2570
|
/**
|
|
@@ -3054,6 +3200,7 @@ export declare namespace vmmigration_v1 {
|
|
|
3054
3200
|
export class Resource$Projects$Locations$Sources {
|
|
3055
3201
|
context: APIRequestContext;
|
|
3056
3202
|
datacenterConnectors: Resource$Projects$Locations$Sources$Datacenterconnectors;
|
|
3203
|
+
diskMigrationJobs: Resource$Projects$Locations$Sources$Diskmigrationjobs;
|
|
3057
3204
|
migratingVms: Resource$Projects$Locations$Sources$Migratingvms;
|
|
3058
3205
|
utilizationReports: Resource$Projects$Locations$Sources$Utilizationreports;
|
|
3059
3206
|
constructor(context: APIRequestContext);
|
|
@@ -3374,6 +3521,58 @@ export declare namespace vmmigration_v1 {
|
|
|
3374
3521
|
*/
|
|
3375
3522
|
requestBody?: Schema$UpgradeApplianceRequest;
|
|
3376
3523
|
}
|
|
3524
|
+
export class Resource$Projects$Locations$Sources$Diskmigrationjobs {
|
|
3525
|
+
context: APIRequestContext;
|
|
3526
|
+
constructor(context: APIRequestContext);
|
|
3527
|
+
/**
|
|
3528
|
+
* Cancels the disk migration job.
|
|
3529
|
+
*
|
|
3530
|
+
* @param params - Parameters for request
|
|
3531
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3532
|
+
* @param callback - Optional callback that handles the response.
|
|
3533
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3534
|
+
*/
|
|
3535
|
+
cancel(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3536
|
+
cancel(params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
3537
|
+
cancel(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3538
|
+
cancel(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3539
|
+
cancel(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3540
|
+
cancel(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3541
|
+
/**
|
|
3542
|
+
* Runs the disk migration job.
|
|
3543
|
+
*
|
|
3544
|
+
* @param params - Parameters for request
|
|
3545
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3546
|
+
* @param callback - Optional callback that handles the response.
|
|
3547
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3548
|
+
*/
|
|
3549
|
+
run(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
3550
|
+
run(params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
3551
|
+
run(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3552
|
+
run(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3553
|
+
run(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3554
|
+
run(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3555
|
+
}
|
|
3556
|
+
export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel extends StandardParameters {
|
|
3557
|
+
/**
|
|
3558
|
+
* Required. The name of the DiskMigrationJob.
|
|
3559
|
+
*/
|
|
3560
|
+
name?: string;
|
|
3561
|
+
/**
|
|
3562
|
+
* Request body metadata
|
|
3563
|
+
*/
|
|
3564
|
+
requestBody?: Schema$CancelDiskMigrationJobRequest;
|
|
3565
|
+
}
|
|
3566
|
+
export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run extends StandardParameters {
|
|
3567
|
+
/**
|
|
3568
|
+
* Required. The name of the DiskMigrationJob.
|
|
3569
|
+
*/
|
|
3570
|
+
name?: string;
|
|
3571
|
+
/**
|
|
3572
|
+
* Request body metadata
|
|
3573
|
+
*/
|
|
3574
|
+
requestBody?: Schema$RunDiskMigrationJobRequest;
|
|
3575
|
+
}
|
|
3377
3576
|
export class Resource$Projects$Locations$Sources$Migratingvms {
|
|
3378
3577
|
context: APIRequestContext;
|
|
3379
3578
|
cloneJobs: Resource$Projects$Locations$Sources$Migratingvms$Clonejobs;
|
package/build/v1.js
CHANGED
|
@@ -736,6 +736,8 @@ var vmmigration_v1;
|
|
|
736
736
|
this.context = context;
|
|
737
737
|
this.datacenterConnectors =
|
|
738
738
|
new Resource$Projects$Locations$Sources$Datacenterconnectors(this.context);
|
|
739
|
+
this.diskMigrationJobs =
|
|
740
|
+
new Resource$Projects$Locations$Sources$Diskmigrationjobs(this.context);
|
|
739
741
|
this.migratingVms = new Resource$Projects$Locations$Sources$Migratingvms(this.context);
|
|
740
742
|
this.utilizationReports =
|
|
741
743
|
new Resource$Projects$Locations$Sources$Utilizationreports(this.context);
|
|
@@ -1106,6 +1108,78 @@ var vmmigration_v1;
|
|
|
1106
1108
|
}
|
|
1107
1109
|
}
|
|
1108
1110
|
vmmigration_v1.Resource$Projects$Locations$Sources$Datacenterconnectors = Resource$Projects$Locations$Sources$Datacenterconnectors;
|
|
1111
|
+
class Resource$Projects$Locations$Sources$Diskmigrationjobs {
|
|
1112
|
+
constructor(context) {
|
|
1113
|
+
this.context = context;
|
|
1114
|
+
}
|
|
1115
|
+
cancel(paramsOrCallback, optionsOrCallback, callback) {
|
|
1116
|
+
let params = (paramsOrCallback ||
|
|
1117
|
+
{});
|
|
1118
|
+
let options = (optionsOrCallback || {});
|
|
1119
|
+
if (typeof paramsOrCallback === 'function') {
|
|
1120
|
+
callback = paramsOrCallback;
|
|
1121
|
+
params =
|
|
1122
|
+
{};
|
|
1123
|
+
options = {};
|
|
1124
|
+
}
|
|
1125
|
+
if (typeof optionsOrCallback === 'function') {
|
|
1126
|
+
callback = optionsOrCallback;
|
|
1127
|
+
options = {};
|
|
1128
|
+
}
|
|
1129
|
+
const rootUrl = options.rootUrl || 'https://vmmigration.googleapis.com/';
|
|
1130
|
+
const parameters = {
|
|
1131
|
+
options: Object.assign({
|
|
1132
|
+
url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'),
|
|
1133
|
+
method: 'POST',
|
|
1134
|
+
apiVersion: '',
|
|
1135
|
+
}, options),
|
|
1136
|
+
params,
|
|
1137
|
+
requiredParams: ['name'],
|
|
1138
|
+
pathParams: ['name'],
|
|
1139
|
+
context: this.context,
|
|
1140
|
+
};
|
|
1141
|
+
if (callback) {
|
|
1142
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
1143
|
+
}
|
|
1144
|
+
else {
|
|
1145
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
run(paramsOrCallback, optionsOrCallback, callback) {
|
|
1149
|
+
let params = (paramsOrCallback ||
|
|
1150
|
+
{});
|
|
1151
|
+
let options = (optionsOrCallback || {});
|
|
1152
|
+
if (typeof paramsOrCallback === 'function') {
|
|
1153
|
+
callback = paramsOrCallback;
|
|
1154
|
+
params =
|
|
1155
|
+
{};
|
|
1156
|
+
options = {};
|
|
1157
|
+
}
|
|
1158
|
+
if (typeof optionsOrCallback === 'function') {
|
|
1159
|
+
callback = optionsOrCallback;
|
|
1160
|
+
options = {};
|
|
1161
|
+
}
|
|
1162
|
+
const rootUrl = options.rootUrl || 'https://vmmigration.googleapis.com/';
|
|
1163
|
+
const parameters = {
|
|
1164
|
+
options: Object.assign({
|
|
1165
|
+
url: (rootUrl + '/v1/{+name}:run').replace(/([^:]\/)\/+/g, '$1'),
|
|
1166
|
+
method: 'POST',
|
|
1167
|
+
apiVersion: '',
|
|
1168
|
+
}, options),
|
|
1169
|
+
params,
|
|
1170
|
+
requiredParams: ['name'],
|
|
1171
|
+
pathParams: ['name'],
|
|
1172
|
+
context: this.context,
|
|
1173
|
+
};
|
|
1174
|
+
if (callback) {
|
|
1175
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
1176
|
+
}
|
|
1177
|
+
else {
|
|
1178
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
vmmigration_v1.Resource$Projects$Locations$Sources$Diskmigrationjobs = Resource$Projects$Locations$Sources$Diskmigrationjobs;
|
|
1109
1183
|
class Resource$Projects$Locations$Sources$Migratingvms {
|
|
1110
1184
|
constructor(context) {
|
|
1111
1185
|
this.context = context;
|