@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/v1alpha1.ts CHANGED
@@ -259,10 +259,6 @@ export namespace vmmigration_v1alpha1 {
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_v1alpha1 {
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
  */
@@ -706,6 +698,10 @@ export namespace vmmigration_v1alpha1 {
706
698
  * Output only. The OS license returned from the adaptation module report.
707
699
  */
708
700
  appliedLicense?: Schema$AppliedLicense;
701
+ /**
702
+ * 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.
703
+ */
704
+ bootConversion?: string | null;
709
705
  /**
710
706
  * Output only. The VM Boot Option, as set in the source VM.
711
707
  */
@@ -718,6 +714,14 @@ export namespace vmmigration_v1alpha1 {
718
714
  * The disk type to use in the VM.
719
715
  */
720
716
  diskType?: string | null;
717
+ /**
718
+ * 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.
719
+ */
720
+ enableIntegrityMonitoring?: boolean | null;
721
+ /**
722
+ * Optional. Defines whether the instance has vTPM enabled. This can be set to true only if the VM boot option is EFI.
723
+ */
724
+ enableVtpm?: boolean | null;
721
725
  /**
722
726
  * Optional. Immutable. The encryption to apply to the VM disks.
723
727
  */
@@ -787,6 +791,10 @@ export namespace vmmigration_v1alpha1 {
787
791
  * The OS license returned from the adaptation module report.
788
792
  */
789
793
  appliedLicense?: Schema$AppliedLicense;
794
+ /**
795
+ * 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.
796
+ */
797
+ bootConversion?: string | null;
790
798
  /**
791
799
  * The VM Boot Option, as set in the source VM.
792
800
  */
@@ -799,6 +807,14 @@ export namespace vmmigration_v1alpha1 {
799
807
  * The disk type to use in the VM.
800
808
  */
801
809
  diskType?: string | null;
810
+ /**
811
+ * Optional. Defines whether the instance has integrity monitoring enabled.
812
+ */
813
+ enableIntegrityMonitoring?: boolean | null;
814
+ /**
815
+ * Optional. Defines whether the instance has vTPM enabled.
816
+ */
817
+ enableVtpm?: boolean | null;
802
818
  /**
803
819
  * Optional. The encryption to apply to the VM disks.
804
820
  */
@@ -1170,6 +1186,14 @@ export namespace vmmigration_v1alpha1 {
1170
1186
  * Optional. Compute instance scheduling information (if empty default is used).
1171
1187
  */
1172
1188
  computeScheduling?: Schema$ComputeScheduling;
1189
+ /**
1190
+ * Optional. Defines whether the instance has integrity monitoring enabled.
1191
+ */
1192
+ enableIntegrityMonitoring?: boolean | null;
1193
+ /**
1194
+ * Optional. Defines whether the instance has vTPM enabled.
1195
+ */
1196
+ enableVtpm?: boolean | null;
1173
1197
  /**
1174
1198
  * Optional. The encryption to apply to the VM.
1175
1199
  */
@@ -1924,19 +1948,6 @@ export namespace vmmigration_v1alpha1 {
1924
1948
  */
1925
1949
  warningTime?: string | null;
1926
1950
  }
1927
- /**
1928
- * Information about the network coniguration of the source.
1929
- */
1930
- export interface Schema$NetworkInsights {
1931
- /**
1932
- * Output only. The gathered network configuration of the source. Presented in json format.
1933
- */
1934
- sourceNetworkConfig?: string | null;
1935
- /**
1936
- * Output only. The gathered network configuration of the source. Presented in terraform format.
1937
- */
1938
- sourceNetworkTerraform?: string | null;
1939
- }
1940
1951
  /**
1941
1952
  * NetworkInterface represents a NIC of a VM.
1942
1953
  */
@@ -1954,7 +1965,7 @@ export namespace vmmigration_v1alpha1 {
1954
1965
  */
1955
1966
  network?: string | null;
1956
1967
  /**
1957
- * Optional. The networking tier used for configuring network access configuration. If left empty, will default to PREMIUM.
1968
+ * 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.
1958
1969
  */
1959
1970
  networkTier?: string | null;
1960
1971
  /**
@@ -2204,10 +2215,6 @@ export namespace vmmigration_v1alpha1 {
2204
2215
  * Request message for 'ResumeMigration' request.
2205
2216
  */
2206
2217
  export interface Schema$ResumeMigrationRequest {}
2207
- /**
2208
- * Request message for 'RunDiskMigrationJobRequest' request.
2209
- */
2210
- export interface Schema$RunDiskMigrationJobRequest {}
2211
2218
  /**
2212
2219
  * A policy for scheduling replications.
2213
2220
  */
@@ -4907,7 +4914,6 @@ export namespace vmmigration_v1alpha1 {
4907
4914
  export class Resource$Projects$Locations$Sources {
4908
4915
  context: APIRequestContext;
4909
4916
  datacenterConnectors: Resource$Projects$Locations$Sources$Datacenterconnectors;
4910
- diskMigrationJobs: Resource$Projects$Locations$Sources$Diskmigrationjobs;
4911
4917
  migratingVms: Resource$Projects$Locations$Sources$Migratingvms;
4912
4918
  utilizationReports: Resource$Projects$Locations$Sources$Utilizationreports;
4913
4919
  constructor(context: APIRequestContext) {
@@ -4916,8 +4922,6 @@ export namespace vmmigration_v1alpha1 {
4916
4922
  new Resource$Projects$Locations$Sources$Datacenterconnectors(
4917
4923
  this.context
4918
4924
  );
4919
- this.diskMigrationJobs =
4920
- new Resource$Projects$Locations$Sources$Diskmigrationjobs(this.context);
4921
4925
  this.migratingVms = new Resource$Projects$Locations$Sources$Migratingvms(
4922
4926
  this.context
4923
4927
  );
@@ -6090,216 +6094,6 @@ export namespace vmmigration_v1alpha1 {
6090
6094
  requestBody?: Schema$UpgradeApplianceRequest;
6091
6095
  }
6092
6096
 
6093
- export class Resource$Projects$Locations$Sources$Diskmigrationjobs {
6094
- context: APIRequestContext;
6095
- constructor(context: APIRequestContext) {
6096
- this.context = context;
6097
- }
6098
-
6099
- /**
6100
- * Cancels the disk migration job.
6101
- *
6102
- * @param params - Parameters for request
6103
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6104
- * @param callback - Optional callback that handles the response.
6105
- * @returns A promise if used with async/await, or void if used with a callback.
6106
- */
6107
- cancel(
6108
- params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel,
6109
- options: StreamMethodOptions
6110
- ): GaxiosPromise<Readable>;
6111
- cancel(
6112
- params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel,
6113
- options?: MethodOptions
6114
- ): GaxiosPromise<Schema$Operation>;
6115
- cancel(
6116
- params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel,
6117
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
6118
- callback: BodyResponseCallback<Readable>
6119
- ): void;
6120
- cancel(
6121
- params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel,
6122
- options: MethodOptions | BodyResponseCallback<Schema$Operation>,
6123
- callback: BodyResponseCallback<Schema$Operation>
6124
- ): void;
6125
- cancel(
6126
- params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel,
6127
- callback: BodyResponseCallback<Schema$Operation>
6128
- ): void;
6129
- cancel(callback: BodyResponseCallback<Schema$Operation>): void;
6130
- cancel(
6131
- paramsOrCallback?:
6132
- | Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel
6133
- | BodyResponseCallback<Schema$Operation>
6134
- | BodyResponseCallback<Readable>,
6135
- optionsOrCallback?:
6136
- | MethodOptions
6137
- | StreamMethodOptions
6138
- | BodyResponseCallback<Schema$Operation>
6139
- | BodyResponseCallback<Readable>,
6140
- callback?:
6141
- | BodyResponseCallback<Schema$Operation>
6142
- | BodyResponseCallback<Readable>
6143
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
6144
- let params = (paramsOrCallback ||
6145
- {}) as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel;
6146
- let options = (optionsOrCallback || {}) as MethodOptions;
6147
-
6148
- if (typeof paramsOrCallback === 'function') {
6149
- callback = paramsOrCallback;
6150
- params =
6151
- {} as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel;
6152
- options = {};
6153
- }
6154
-
6155
- if (typeof optionsOrCallback === 'function') {
6156
- callback = optionsOrCallback;
6157
- options = {};
6158
- }
6159
-
6160
- const rootUrl = options.rootUrl || 'https://vmmigration.googleapis.com/';
6161
- const parameters = {
6162
- options: Object.assign(
6163
- {
6164
- url: (rootUrl + '/v1alpha1/{+name}:cancel').replace(
6165
- /([^:]\/)\/+/g,
6166
- '$1'
6167
- ),
6168
- method: 'POST',
6169
- apiVersion: '',
6170
- },
6171
- options
6172
- ),
6173
- params,
6174
- requiredParams: ['name'],
6175
- pathParams: ['name'],
6176
- context: this.context,
6177
- };
6178
- if (callback) {
6179
- createAPIRequest<Schema$Operation>(
6180
- parameters,
6181
- callback as BodyResponseCallback<unknown>
6182
- );
6183
- } else {
6184
- return createAPIRequest<Schema$Operation>(parameters);
6185
- }
6186
- }
6187
-
6188
- /**
6189
- * Runs the disk migration job.
6190
- *
6191
- * @param params - Parameters for request
6192
- * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6193
- * @param callback - Optional callback that handles the response.
6194
- * @returns A promise if used with async/await, or void if used with a callback.
6195
- */
6196
- run(
6197
- params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run,
6198
- options: StreamMethodOptions
6199
- ): GaxiosPromise<Readable>;
6200
- run(
6201
- params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run,
6202
- options?: MethodOptions
6203
- ): GaxiosPromise<Schema$Operation>;
6204
- run(
6205
- params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run,
6206
- options: StreamMethodOptions | BodyResponseCallback<Readable>,
6207
- callback: BodyResponseCallback<Readable>
6208
- ): void;
6209
- run(
6210
- params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run,
6211
- options: MethodOptions | BodyResponseCallback<Schema$Operation>,
6212
- callback: BodyResponseCallback<Schema$Operation>
6213
- ): void;
6214
- run(
6215
- params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run,
6216
- callback: BodyResponseCallback<Schema$Operation>
6217
- ): void;
6218
- run(callback: BodyResponseCallback<Schema$Operation>): void;
6219
- run(
6220
- paramsOrCallback?:
6221
- | Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run
6222
- | BodyResponseCallback<Schema$Operation>
6223
- | BodyResponseCallback<Readable>,
6224
- optionsOrCallback?:
6225
- | MethodOptions
6226
- | StreamMethodOptions
6227
- | BodyResponseCallback<Schema$Operation>
6228
- | BodyResponseCallback<Readable>,
6229
- callback?:
6230
- | BodyResponseCallback<Schema$Operation>
6231
- | BodyResponseCallback<Readable>
6232
- ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
6233
- let params = (paramsOrCallback ||
6234
- {}) as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run;
6235
- let options = (optionsOrCallback || {}) as MethodOptions;
6236
-
6237
- if (typeof paramsOrCallback === 'function') {
6238
- callback = paramsOrCallback;
6239
- params =
6240
- {} as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run;
6241
- options = {};
6242
- }
6243
-
6244
- if (typeof optionsOrCallback === 'function') {
6245
- callback = optionsOrCallback;
6246
- options = {};
6247
- }
6248
-
6249
- const rootUrl = options.rootUrl || 'https://vmmigration.googleapis.com/';
6250
- const parameters = {
6251
- options: Object.assign(
6252
- {
6253
- url: (rootUrl + '/v1alpha1/{+name}:run').replace(
6254
- /([^:]\/)\/+/g,
6255
- '$1'
6256
- ),
6257
- method: 'POST',
6258
- apiVersion: '',
6259
- },
6260
- options
6261
- ),
6262
- params,
6263
- requiredParams: ['name'],
6264
- pathParams: ['name'],
6265
- context: this.context,
6266
- };
6267
- if (callback) {
6268
- createAPIRequest<Schema$Operation>(
6269
- parameters,
6270
- callback as BodyResponseCallback<unknown>
6271
- );
6272
- } else {
6273
- return createAPIRequest<Schema$Operation>(parameters);
6274
- }
6275
- }
6276
- }
6277
-
6278
- export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel
6279
- extends StandardParameters {
6280
- /**
6281
- * Required. The name of the DiskMigrationJob.
6282
- */
6283
- name?: string;
6284
-
6285
- /**
6286
- * Request body metadata
6287
- */
6288
- requestBody?: Schema$CancelDiskMigrationJobRequest;
6289
- }
6290
- export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run
6291
- extends StandardParameters {
6292
- /**
6293
- * Required. The name of the DiskMigrationJob.
6294
- */
6295
- name?: string;
6296
-
6297
- /**
6298
- * Request body metadata
6299
- */
6300
- requestBody?: Schema$RunDiskMigrationJobRequest;
6301
- }
6302
-
6303
6097
  export class Resource$Projects$Locations$Sources$Migratingvms {
6304
6098
  context: APIRequestContext;
6305
6099
  cloneJobs: Resource$Projects$Locations$Sources$Migratingvms$Clonejobs;