@googleapis/vmmigration 9.3.0 → 11.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/CHANGELOG.md +24 -0
- package/build/v1.d.ts +33 -81
- package/build/v1.js +0 -74
- package/build/v1.js.map +1 -1
- package/build/v1alpha1.d.ts +33 -81
- package/build/v1alpha1.js +0 -74
- package/build/v1alpha1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +33 -233
- package/v1alpha1.ts +33 -239
package/v1.ts
CHANGED
|
@@ -259,10 +259,6 @@ export namespace vmmigration_v1 {
|
|
|
259
259
|
* User specified tags to add to every M2VM generated resource in AWS. 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 `m2vm`.
|
|
260
260
|
*/
|
|
261
261
|
migrationResourcesUserTags?: {[key: string]: string} | null;
|
|
262
|
-
/**
|
|
263
|
-
* Output only. Information about the network coniguration of the source. Only gatherred upon request.
|
|
264
|
-
*/
|
|
265
|
-
networkInsights?: Schema$NetworkInsights;
|
|
266
262
|
/**
|
|
267
263
|
* Output only. The source's public IP. All communication initiated by this source will originate from this IP.
|
|
268
264
|
*/
|
|
@@ -549,10 +545,6 @@ export namespace vmmigration_v1 {
|
|
|
549
545
|
* Request message for 'CancelCutoverJob' request.
|
|
550
546
|
*/
|
|
551
547
|
export interface Schema$CancelCutoverJobRequest {}
|
|
552
|
-
/**
|
|
553
|
-
* Request message for 'CancelDiskMigrationJob' request.
|
|
554
|
-
*/
|
|
555
|
-
export interface Schema$CancelDiskMigrationJobRequest {}
|
|
556
548
|
/**
|
|
557
549
|
* Request message for 'CancelImageImportJob' request.
|
|
558
550
|
*/
|
|
@@ -698,6 +690,10 @@ export namespace vmmigration_v1 {
|
|
|
698
690
|
* Output only. The OS license returned from the adaptation module report.
|
|
699
691
|
*/
|
|
700
692
|
appliedLicense?: Schema$AppliedLicense;
|
|
693
|
+
/**
|
|
694
|
+
* Optional. By default the virtual machine will keep its existing boot option. Setting this property will trigger an internal process which will convert the virtual machine from using the existing boot option to another.
|
|
695
|
+
*/
|
|
696
|
+
bootConversion?: string | null;
|
|
701
697
|
/**
|
|
702
698
|
* Output only. The VM Boot Option, as set in the source VM.
|
|
703
699
|
*/
|
|
@@ -710,6 +706,14 @@ export namespace vmmigration_v1 {
|
|
|
710
706
|
* The disk type to use in the VM.
|
|
711
707
|
*/
|
|
712
708
|
diskType?: string | null;
|
|
709
|
+
/**
|
|
710
|
+
* Optional. Defines whether the instance has integrity monitoring enabled. This can be set to true only if the VM boot option is EFI, and vTPM is enabled.
|
|
711
|
+
*/
|
|
712
|
+
enableIntegrityMonitoring?: boolean | null;
|
|
713
|
+
/**
|
|
714
|
+
* Optional. Defines whether the instance has vTPM enabled. This can be set to true only if the VM boot option is EFI.
|
|
715
|
+
*/
|
|
716
|
+
enableVtpm?: boolean | null;
|
|
713
717
|
/**
|
|
714
718
|
* Optional. Immutable. The encryption to apply to the VM disks.
|
|
715
719
|
*/
|
|
@@ -779,6 +783,10 @@ export namespace vmmigration_v1 {
|
|
|
779
783
|
* The OS license returned from the adaptation module report.
|
|
780
784
|
*/
|
|
781
785
|
appliedLicense?: Schema$AppliedLicense;
|
|
786
|
+
/**
|
|
787
|
+
* Optional. By default the virtual machine will keep its existing boot option. Setting this property will trigger an internal process which will convert the virtual machine from using the existing boot option to another.
|
|
788
|
+
*/
|
|
789
|
+
bootConversion?: string | null;
|
|
782
790
|
/**
|
|
783
791
|
* The VM Boot Option, as set in the source VM.
|
|
784
792
|
*/
|
|
@@ -791,6 +799,14 @@ export namespace vmmigration_v1 {
|
|
|
791
799
|
* The disk type to use in the VM.
|
|
792
800
|
*/
|
|
793
801
|
diskType?: string | null;
|
|
802
|
+
/**
|
|
803
|
+
* Optional. Defines whether the instance has integrity monitoring enabled.
|
|
804
|
+
*/
|
|
805
|
+
enableIntegrityMonitoring?: boolean | null;
|
|
806
|
+
/**
|
|
807
|
+
* Optional. Defines whether the instance has vTPM enabled.
|
|
808
|
+
*/
|
|
809
|
+
enableVtpm?: boolean | null;
|
|
794
810
|
/**
|
|
795
811
|
* Optional. The encryption to apply to the VM disks.
|
|
796
812
|
*/
|
|
@@ -1149,6 +1165,14 @@ export namespace vmmigration_v1 {
|
|
|
1149
1165
|
* Optional. Compute instance scheduling information (if empty default is used).
|
|
1150
1166
|
*/
|
|
1151
1167
|
computeScheduling?: Schema$ComputeScheduling;
|
|
1168
|
+
/**
|
|
1169
|
+
* Optional. Defines whether the instance has integrity monitoring enabled.
|
|
1170
|
+
*/
|
|
1171
|
+
enableIntegrityMonitoring?: boolean | null;
|
|
1172
|
+
/**
|
|
1173
|
+
* Optional. Defines whether the instance has vTPM enabled.
|
|
1174
|
+
*/
|
|
1175
|
+
enableVtpm?: boolean | null;
|
|
1152
1176
|
/**
|
|
1153
1177
|
* Optional. The encryption to apply to the VM.
|
|
1154
1178
|
*/
|
|
@@ -1895,19 +1919,6 @@ export namespace vmmigration_v1 {
|
|
|
1895
1919
|
*/
|
|
1896
1920
|
warningTime?: string | null;
|
|
1897
1921
|
}
|
|
1898
|
-
/**
|
|
1899
|
-
* Information about the network coniguration of the source.
|
|
1900
|
-
*/
|
|
1901
|
-
export interface Schema$NetworkInsights {
|
|
1902
|
-
/**
|
|
1903
|
-
* Output only. The gathered network configuration of the source. Presented in json format.
|
|
1904
|
-
*/
|
|
1905
|
-
sourceNetworkConfig?: string | null;
|
|
1906
|
-
/**
|
|
1907
|
-
* Output only. The gathered network configuration of the source. Presented in terraform format.
|
|
1908
|
-
*/
|
|
1909
|
-
sourceNetworkTerraform?: string | null;
|
|
1910
|
-
}
|
|
1911
1922
|
/**
|
|
1912
1923
|
* NetworkInterface represents a NIC of a VM.
|
|
1913
1924
|
*/
|
|
@@ -1925,7 +1936,7 @@ export namespace vmmigration_v1 {
|
|
|
1925
1936
|
*/
|
|
1926
1937
|
network?: string | null;
|
|
1927
1938
|
/**
|
|
1928
|
-
* Optional. The networking tier used for
|
|
1939
|
+
* Optional. The networking tier used for optimizing connectivity between instances and systems on the internet. Applies only for external ephemeral IP addresses. If left empty, will default to PREMIUM.
|
|
1929
1940
|
*/
|
|
1930
1941
|
networkTier?: string | null;
|
|
1931
1942
|
/**
|
|
@@ -2171,10 +2182,6 @@ export namespace vmmigration_v1 {
|
|
|
2171
2182
|
* Request message for 'ResumeMigration' request.
|
|
2172
2183
|
*/
|
|
2173
2184
|
export interface Schema$ResumeMigrationRequest {}
|
|
2174
|
-
/**
|
|
2175
|
-
* Request message for 'RunDiskMigrationJobRequest' request.
|
|
2176
|
-
*/
|
|
2177
|
-
export interface Schema$RunDiskMigrationJobRequest {}
|
|
2178
2185
|
/**
|
|
2179
2186
|
* A policy for scheduling replications.
|
|
2180
2187
|
*/
|
|
@@ -4735,7 +4742,6 @@ export namespace vmmigration_v1 {
|
|
|
4735
4742
|
export class Resource$Projects$Locations$Sources {
|
|
4736
4743
|
context: APIRequestContext;
|
|
4737
4744
|
datacenterConnectors: Resource$Projects$Locations$Sources$Datacenterconnectors;
|
|
4738
|
-
diskMigrationJobs: Resource$Projects$Locations$Sources$Diskmigrationjobs;
|
|
4739
4745
|
migratingVms: Resource$Projects$Locations$Sources$Migratingvms;
|
|
4740
4746
|
utilizationReports: Resource$Projects$Locations$Sources$Utilizationreports;
|
|
4741
4747
|
constructor(context: APIRequestContext) {
|
|
@@ -4744,8 +4750,6 @@ export namespace vmmigration_v1 {
|
|
|
4744
4750
|
new Resource$Projects$Locations$Sources$Datacenterconnectors(
|
|
4745
4751
|
this.context
|
|
4746
4752
|
);
|
|
4747
|
-
this.diskMigrationJobs =
|
|
4748
|
-
new Resource$Projects$Locations$Sources$Diskmigrationjobs(this.context);
|
|
4749
4753
|
this.migratingVms = new Resource$Projects$Locations$Sources$Migratingvms(
|
|
4750
4754
|
this.context
|
|
4751
4755
|
);
|
|
@@ -5918,210 +5922,6 @@ export namespace vmmigration_v1 {
|
|
|
5918
5922
|
requestBody?: Schema$UpgradeApplianceRequest;
|
|
5919
5923
|
}
|
|
5920
5924
|
|
|
5921
|
-
export class Resource$Projects$Locations$Sources$Diskmigrationjobs {
|
|
5922
|
-
context: APIRequestContext;
|
|
5923
|
-
constructor(context: APIRequestContext) {
|
|
5924
|
-
this.context = context;
|
|
5925
|
-
}
|
|
5926
|
-
|
|
5927
|
-
/**
|
|
5928
|
-
* Cancels the disk migration job.
|
|
5929
|
-
*
|
|
5930
|
-
* @param params - Parameters for request
|
|
5931
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5932
|
-
* @param callback - Optional callback that handles the response.
|
|
5933
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5934
|
-
*/
|
|
5935
|
-
cancel(
|
|
5936
|
-
params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel,
|
|
5937
|
-
options: StreamMethodOptions
|
|
5938
|
-
): GaxiosPromise<Readable>;
|
|
5939
|
-
cancel(
|
|
5940
|
-
params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel,
|
|
5941
|
-
options?: MethodOptions
|
|
5942
|
-
): GaxiosPromise<Schema$Operation>;
|
|
5943
|
-
cancel(
|
|
5944
|
-
params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel,
|
|
5945
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
5946
|
-
callback: BodyResponseCallback<Readable>
|
|
5947
|
-
): void;
|
|
5948
|
-
cancel(
|
|
5949
|
-
params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel,
|
|
5950
|
-
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
5951
|
-
callback: BodyResponseCallback<Schema$Operation>
|
|
5952
|
-
): void;
|
|
5953
|
-
cancel(
|
|
5954
|
-
params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel,
|
|
5955
|
-
callback: BodyResponseCallback<Schema$Operation>
|
|
5956
|
-
): void;
|
|
5957
|
-
cancel(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5958
|
-
cancel(
|
|
5959
|
-
paramsOrCallback?:
|
|
5960
|
-
| Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel
|
|
5961
|
-
| BodyResponseCallback<Schema$Operation>
|
|
5962
|
-
| BodyResponseCallback<Readable>,
|
|
5963
|
-
optionsOrCallback?:
|
|
5964
|
-
| MethodOptions
|
|
5965
|
-
| StreamMethodOptions
|
|
5966
|
-
| BodyResponseCallback<Schema$Operation>
|
|
5967
|
-
| BodyResponseCallback<Readable>,
|
|
5968
|
-
callback?:
|
|
5969
|
-
| BodyResponseCallback<Schema$Operation>
|
|
5970
|
-
| BodyResponseCallback<Readable>
|
|
5971
|
-
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
|
|
5972
|
-
let params = (paramsOrCallback ||
|
|
5973
|
-
{}) as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel;
|
|
5974
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
5975
|
-
|
|
5976
|
-
if (typeof paramsOrCallback === 'function') {
|
|
5977
|
-
callback = paramsOrCallback;
|
|
5978
|
-
params =
|
|
5979
|
-
{} as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel;
|
|
5980
|
-
options = {};
|
|
5981
|
-
}
|
|
5982
|
-
|
|
5983
|
-
if (typeof optionsOrCallback === 'function') {
|
|
5984
|
-
callback = optionsOrCallback;
|
|
5985
|
-
options = {};
|
|
5986
|
-
}
|
|
5987
|
-
|
|
5988
|
-
const rootUrl = options.rootUrl || 'https://vmmigration.googleapis.com/';
|
|
5989
|
-
const parameters = {
|
|
5990
|
-
options: Object.assign(
|
|
5991
|
-
{
|
|
5992
|
-
url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'),
|
|
5993
|
-
method: 'POST',
|
|
5994
|
-
apiVersion: '',
|
|
5995
|
-
},
|
|
5996
|
-
options
|
|
5997
|
-
),
|
|
5998
|
-
params,
|
|
5999
|
-
requiredParams: ['name'],
|
|
6000
|
-
pathParams: ['name'],
|
|
6001
|
-
context: this.context,
|
|
6002
|
-
};
|
|
6003
|
-
if (callback) {
|
|
6004
|
-
createAPIRequest<Schema$Operation>(
|
|
6005
|
-
parameters,
|
|
6006
|
-
callback as BodyResponseCallback<unknown>
|
|
6007
|
-
);
|
|
6008
|
-
} else {
|
|
6009
|
-
return createAPIRequest<Schema$Operation>(parameters);
|
|
6010
|
-
}
|
|
6011
|
-
}
|
|
6012
|
-
|
|
6013
|
-
/**
|
|
6014
|
-
* Runs the disk migration job.
|
|
6015
|
-
*
|
|
6016
|
-
* @param params - Parameters for request
|
|
6017
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
6018
|
-
* @param callback - Optional callback that handles the response.
|
|
6019
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6020
|
-
*/
|
|
6021
|
-
run(
|
|
6022
|
-
params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run,
|
|
6023
|
-
options: StreamMethodOptions
|
|
6024
|
-
): GaxiosPromise<Readable>;
|
|
6025
|
-
run(
|
|
6026
|
-
params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run,
|
|
6027
|
-
options?: MethodOptions
|
|
6028
|
-
): GaxiosPromise<Schema$Operation>;
|
|
6029
|
-
run(
|
|
6030
|
-
params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run,
|
|
6031
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
6032
|
-
callback: BodyResponseCallback<Readable>
|
|
6033
|
-
): void;
|
|
6034
|
-
run(
|
|
6035
|
-
params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run,
|
|
6036
|
-
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
6037
|
-
callback: BodyResponseCallback<Schema$Operation>
|
|
6038
|
-
): void;
|
|
6039
|
-
run(
|
|
6040
|
-
params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run,
|
|
6041
|
-
callback: BodyResponseCallback<Schema$Operation>
|
|
6042
|
-
): void;
|
|
6043
|
-
run(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
6044
|
-
run(
|
|
6045
|
-
paramsOrCallback?:
|
|
6046
|
-
| Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run
|
|
6047
|
-
| BodyResponseCallback<Schema$Operation>
|
|
6048
|
-
| BodyResponseCallback<Readable>,
|
|
6049
|
-
optionsOrCallback?:
|
|
6050
|
-
| MethodOptions
|
|
6051
|
-
| StreamMethodOptions
|
|
6052
|
-
| BodyResponseCallback<Schema$Operation>
|
|
6053
|
-
| BodyResponseCallback<Readable>,
|
|
6054
|
-
callback?:
|
|
6055
|
-
| BodyResponseCallback<Schema$Operation>
|
|
6056
|
-
| BodyResponseCallback<Readable>
|
|
6057
|
-
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
|
|
6058
|
-
let params = (paramsOrCallback ||
|
|
6059
|
-
{}) as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run;
|
|
6060
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
6061
|
-
|
|
6062
|
-
if (typeof paramsOrCallback === 'function') {
|
|
6063
|
-
callback = paramsOrCallback;
|
|
6064
|
-
params =
|
|
6065
|
-
{} as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run;
|
|
6066
|
-
options = {};
|
|
6067
|
-
}
|
|
6068
|
-
|
|
6069
|
-
if (typeof optionsOrCallback === 'function') {
|
|
6070
|
-
callback = optionsOrCallback;
|
|
6071
|
-
options = {};
|
|
6072
|
-
}
|
|
6073
|
-
|
|
6074
|
-
const rootUrl = options.rootUrl || 'https://vmmigration.googleapis.com/';
|
|
6075
|
-
const parameters = {
|
|
6076
|
-
options: Object.assign(
|
|
6077
|
-
{
|
|
6078
|
-
url: (rootUrl + '/v1/{+name}:run').replace(/([^:]\/)\/+/g, '$1'),
|
|
6079
|
-
method: 'POST',
|
|
6080
|
-
apiVersion: '',
|
|
6081
|
-
},
|
|
6082
|
-
options
|
|
6083
|
-
),
|
|
6084
|
-
params,
|
|
6085
|
-
requiredParams: ['name'],
|
|
6086
|
-
pathParams: ['name'],
|
|
6087
|
-
context: this.context,
|
|
6088
|
-
};
|
|
6089
|
-
if (callback) {
|
|
6090
|
-
createAPIRequest<Schema$Operation>(
|
|
6091
|
-
parameters,
|
|
6092
|
-
callback as BodyResponseCallback<unknown>
|
|
6093
|
-
);
|
|
6094
|
-
} else {
|
|
6095
|
-
return createAPIRequest<Schema$Operation>(parameters);
|
|
6096
|
-
}
|
|
6097
|
-
}
|
|
6098
|
-
}
|
|
6099
|
-
|
|
6100
|
-
export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel
|
|
6101
|
-
extends StandardParameters {
|
|
6102
|
-
/**
|
|
6103
|
-
* Required. The name of the DiskMigrationJob.
|
|
6104
|
-
*/
|
|
6105
|
-
name?: string;
|
|
6106
|
-
|
|
6107
|
-
/**
|
|
6108
|
-
* Request body metadata
|
|
6109
|
-
*/
|
|
6110
|
-
requestBody?: Schema$CancelDiskMigrationJobRequest;
|
|
6111
|
-
}
|
|
6112
|
-
export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run
|
|
6113
|
-
extends StandardParameters {
|
|
6114
|
-
/**
|
|
6115
|
-
* Required. The name of the DiskMigrationJob.
|
|
6116
|
-
*/
|
|
6117
|
-
name?: string;
|
|
6118
|
-
|
|
6119
|
-
/**
|
|
6120
|
-
* Request body metadata
|
|
6121
|
-
*/
|
|
6122
|
-
requestBody?: Schema$RunDiskMigrationJobRequest;
|
|
6123
|
-
}
|
|
6124
|
-
|
|
6125
5925
|
export class Resource$Projects$Locations$Sources$Migratingvms {
|
|
6126
5926
|
context: APIRequestContext;
|
|
6127
5927
|
cloneJobs: Resource$Projects$Locations$Sources$Migratingvms$Clonejobs;
|