Skip to content

Commit 614baa2

Browse files
yoshi-automationsofisl
authored andcommitted
feat(vmmigration)!: update the API
BREAKING CHANGE: This release has breaking changes. #### vmmigration:v1alpha1 The following keys were deleted: - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.flatPath - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.httpMethod - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.id - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameterOrder - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.location - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.pattern - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.required - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.type - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.path - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.request.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.response.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.scopes - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.flatPath - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.httpMethod - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.id - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameterOrder - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.location - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.pattern - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.required - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.type - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.path - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.request.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.response.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.scopes - schemas.AwsSourceDetails.properties.networkInsights.$ref - schemas.AwsSourceDetails.properties.networkInsights.description - schemas.AwsSourceDetails.properties.networkInsights.readOnly - schemas.CancelDiskMigrationJobRequest.description - schemas.CancelDiskMigrationJobRequest.id - schemas.CancelDiskMigrationJobRequest.type - schemas.NetworkInsights.description - schemas.NetworkInsights.id - schemas.NetworkInsights.properties.sourceNetworkConfig.description - schemas.NetworkInsights.properties.sourceNetworkConfig.readOnly - schemas.NetworkInsights.properties.sourceNetworkConfig.type - schemas.NetworkInsights.properties.sourceNetworkTerraform.description - schemas.NetworkInsights.properties.sourceNetworkTerraform.readOnly - schemas.NetworkInsights.properties.sourceNetworkTerraform.type - schemas.NetworkInsights.type - schemas.RunDiskMigrationJobRequest.description - schemas.RunDiskMigrationJobRequest.id - schemas.RunDiskMigrationJobRequest.type The following keys were added: - schemas.ComputeEngineTargetDefaults.properties.bootConversion.description - schemas.ComputeEngineTargetDefaults.properties.bootConversion.enum - schemas.ComputeEngineTargetDefaults.properties.bootConversion.enumDescriptions - schemas.ComputeEngineTargetDefaults.properties.bootConversion.type - schemas.ComputeEngineTargetDefaults.properties.enableIntegrityMonitoring.description - schemas.ComputeEngineTargetDefaults.properties.enableIntegrityMonitoring.type - schemas.ComputeEngineTargetDefaults.properties.enableVtpm.description - schemas.ComputeEngineTargetDefaults.properties.enableVtpm.type - schemas.ComputeEngineTargetDetails.properties.bootConversion.description - schemas.ComputeEngineTargetDetails.properties.bootConversion.enum - schemas.ComputeEngineTargetDetails.properties.bootConversion.enumDescriptions - schemas.ComputeEngineTargetDetails.properties.bootConversion.type - schemas.ComputeEngineTargetDetails.properties.enableIntegrityMonitoring.description - schemas.ComputeEngineTargetDetails.properties.enableIntegrityMonitoring.type - schemas.ComputeEngineTargetDetails.properties.enableVtpm.description - schemas.ComputeEngineTargetDetails.properties.enableVtpm.type - schemas.DisksMigrationVmTargetDefaults.properties.enableIntegrityMonitoring.description - schemas.DisksMigrationVmTargetDefaults.properties.enableIntegrityMonitoring.type - schemas.DisksMigrationVmTargetDefaults.properties.enableVtpm.description - schemas.DisksMigrationVmTargetDefaults.properties.enableVtpm.type The following keys were changed: - schemas.NetworkInterface.properties.networkTier.description #### vmmigration:v1 The following keys were deleted: - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.flatPath - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.httpMethod - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.id - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameterOrder - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.location - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.pattern - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.required - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.parameters.name.type - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.path - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.request.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.response.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel.scopes - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.flatPath - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.httpMethod - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.id - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameterOrder - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.description - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.location - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.pattern - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.required - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.parameters.name.type - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.path - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.request.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.response.$ref - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run.scopes - schemas.AwsSourceDetails.properties.networkInsights.$ref - schemas.AwsSourceDetails.properties.networkInsights.description - schemas.AwsSourceDetails.properties.networkInsights.readOnly - schemas.CancelDiskMigrationJobRequest.description - schemas.CancelDiskMigrationJobRequest.id - schemas.CancelDiskMigrationJobRequest.type - schemas.NetworkInsights.description - schemas.NetworkInsights.id - schemas.NetworkInsights.properties.sourceNetworkConfig.description - schemas.NetworkInsights.properties.sourceNetworkConfig.readOnly - schemas.NetworkInsights.properties.sourceNetworkConfig.type - schemas.NetworkInsights.properties.sourceNetworkTerraform.description - schemas.NetworkInsights.properties.sourceNetworkTerraform.readOnly - schemas.NetworkInsights.properties.sourceNetworkTerraform.type - schemas.NetworkInsights.type - schemas.RunDiskMigrationJobRequest.description - schemas.RunDiskMigrationJobRequest.id - schemas.RunDiskMigrationJobRequest.type The following keys were added: - schemas.ComputeEngineTargetDefaults.properties.bootConversion.description - schemas.ComputeEngineTargetDefaults.properties.bootConversion.enum - schemas.ComputeEngineTargetDefaults.properties.bootConversion.enumDescriptions - schemas.ComputeEngineTargetDefaults.properties.bootConversion.type - schemas.ComputeEngineTargetDefaults.properties.enableIntegrityMonitoring.description - schemas.ComputeEngineTargetDefaults.properties.enableIntegrityMonitoring.type - schemas.ComputeEngineTargetDefaults.properties.enableVtpm.description - schemas.ComputeEngineTargetDefaults.properties.enableVtpm.type - schemas.ComputeEngineTargetDetails.properties.bootConversion.description - schemas.ComputeEngineTargetDetails.properties.bootConversion.enum - schemas.ComputeEngineTargetDetails.properties.bootConversion.enumDescriptions - schemas.ComputeEngineTargetDetails.properties.bootConversion.type - schemas.ComputeEngineTargetDetails.properties.enableIntegrityMonitoring.description - schemas.ComputeEngineTargetDetails.properties.enableIntegrityMonitoring.type - schemas.ComputeEngineTargetDetails.properties.enableVtpm.description - schemas.ComputeEngineTargetDetails.properties.enableVtpm.type - schemas.DisksMigrationVmTargetDefaults.properties.enableIntegrityMonitoring.description - schemas.DisksMigrationVmTargetDefaults.properties.enableIntegrityMonitoring.type - schemas.DisksMigrationVmTargetDefaults.properties.enableVtpm.description - schemas.DisksMigrationVmTargetDefaults.properties.enableVtpm.type The following keys were changed: - schemas.NetworkInterface.properties.networkTier.description
1 parent 841a829 commit 614baa2

File tree

4 files changed

+174
-664
lines changed

4 files changed

+174
-664
lines changed

discovery/vmmigration-v1.json

Lines changed: 54 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,66 +1180,6 @@
11801180
}
11811181
}
11821182
},
1183-
"diskMigrationJobs": {
1184-
"methods": {
1185-
"cancel": {
1186-
"description": "Cancels the disk migration job.",
1187-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}:cancel",
1188-
"httpMethod": "POST",
1189-
"id": "vmmigration.projects.locations.sources.diskMigrationJobs.cancel",
1190-
"parameterOrder": [
1191-
"name"
1192-
],
1193-
"parameters": {
1194-
"name": {
1195-
"description": "Required. The name of the DiskMigrationJob.",
1196-
"location": "path",
1197-
"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$",
1198-
"required": true,
1199-
"type": "string"
1200-
}
1201-
},
1202-
"path": "v1/{+name}:cancel",
1203-
"request": {
1204-
"$ref": "CancelDiskMigrationJobRequest"
1205-
},
1206-
"response": {
1207-
"$ref": "Operation"
1208-
},
1209-
"scopes": [
1210-
"https://www.googleapis.com/auth/cloud-platform"
1211-
]
1212-
},
1213-
"run": {
1214-
"description": "Runs the disk migration job.",
1215-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}:run",
1216-
"httpMethod": "POST",
1217-
"id": "vmmigration.projects.locations.sources.diskMigrationJobs.run",
1218-
"parameterOrder": [
1219-
"name"
1220-
],
1221-
"parameters": {
1222-
"name": {
1223-
"description": "Required. The name of the DiskMigrationJob.",
1224-
"location": "path",
1225-
"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$",
1226-
"required": true,
1227-
"type": "string"
1228-
}
1229-
},
1230-
"path": "v1/{+name}:run",
1231-
"request": {
1232-
"$ref": "RunDiskMigrationJobRequest"
1233-
},
1234-
"response": {
1235-
"$ref": "Operation"
1236-
},
1237-
"scopes": [
1238-
"https://www.googleapis.com/auth/cloud-platform"
1239-
]
1240-
}
1241-
}
1242-
},
12431183
"migratingVms": {
12441184
"methods": {
12451185
"create": {
@@ -2280,7 +2220,7 @@
22802220
}
22812221
}
22822222
},
2283-
"revision": "20240712",
2223+
"revision": "20240808",
22842224
"rootUrl": "https://vmmigration.googleapis.com/",
22852225
"schemas": {
22862226
"AccessKeyCredentials": {
@@ -2461,11 +2401,6 @@
24612401
"description": "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`.",
24622402
"type": "object"
24632403
},
2464-
"networkInsights": {
2465-
"$ref": "NetworkInsights",
2466-
"description": "Output only. Information about the network coniguration of the source. Only gatherred upon request.",
2467-
"readOnly": true
2468-
},
24692404
"publicIp": {
24702405
"description": "Output only. The source's public IP. All communication initiated by this source will originate from this IP.",
24712406
"readOnly": true,
@@ -2968,12 +2903,6 @@
29682903
"properties": {},
29692904
"type": "object"
29702905
},
2971-
"CancelDiskMigrationJobRequest": {
2972-
"description": "Request message for 'CancelDiskMigrationJob' request.",
2973-
"id": "CancelDiskMigrationJobRequest",
2974-
"properties": {},
2975-
"type": "object"
2976-
},
29772906
"CancelImageImportJobRequest": {
29782907
"description": "Request message for 'CancelImageImportJob' request.",
29792908
"id": "CancelImageImportJobRequest",
@@ -3180,6 +3109,20 @@
31803109
"description": "Output only. The OS license returned from the adaptation module report.",
31813110
"readOnly": true
31823111
},
3112+
"bootConversion": {
3113+
"description": "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.",
3114+
"enum": [
3115+
"BOOT_CONVERSION_UNSPECIFIED",
3116+
"NONE",
3117+
"BIOS_TO_EFI"
3118+
],
3119+
"enumDescriptions": [
3120+
"Unspecified conversion type.",
3121+
"No conversion.",
3122+
"Convert from BIOS to EFI."
3123+
],
3124+
"type": "string"
3125+
},
31833126
"bootOption": {
31843127
"description": "Output only. The VM Boot Option, as set in the source VM.",
31853128
"enum": [
@@ -3217,6 +3160,14 @@
32173160
],
32183161
"type": "string"
32193162
},
3163+
"enableIntegrityMonitoring": {
3164+
"description": "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.",
3165+
"type": "boolean"
3166+
},
3167+
"enableVtpm": {
3168+
"description": "Optional. Defines whether the instance has vTPM enabled. This can be set to true only if the VM boot option is EFI.",
3169+
"type": "boolean"
3170+
},
32203171
"encryption": {
32213172
"$ref": "Encryption",
32223173
"description": "Optional. Immutable. The encryption to apply to the VM disks."
@@ -3313,6 +3264,20 @@
33133264
"$ref": "AppliedLicense",
33143265
"description": "The OS license returned from the adaptation module report."
33153266
},
3267+
"bootConversion": {
3268+
"description": "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.",
3269+
"enum": [
3270+
"BOOT_CONVERSION_UNSPECIFIED",
3271+
"NONE",
3272+
"BIOS_TO_EFI"
3273+
],
3274+
"enumDescriptions": [
3275+
"Unspecified conversion type.",
3276+
"No conversion.",
3277+
"Convert from BIOS to EFI."
3278+
],
3279+
"type": "string"
3280+
},
33163281
"bootOption": {
33173282
"description": "The VM Boot Option, as set in the source VM.",
33183283
"enum": [
@@ -3349,6 +3314,14 @@
33493314
],
33503315
"type": "string"
33513316
},
3317+
"enableIntegrityMonitoring": {
3318+
"description": "Optional. Defines whether the instance has integrity monitoring enabled.",
3319+
"type": "boolean"
3320+
},
3321+
"enableVtpm": {
3322+
"description": "Optional. Defines whether the instance has vTPM enabled.",
3323+
"type": "boolean"
3324+
},
33523325
"encryption": {
33533326
"$ref": "Encryption",
33543327
"description": "Optional. The encryption to apply to the VM disks."
@@ -3864,6 +3837,14 @@
38643837
"$ref": "ComputeScheduling",
38653838
"description": "Optional. Compute instance scheduling information (if empty default is used)."
38663839
},
3840+
"enableIntegrityMonitoring": {
3841+
"description": "Optional. Defines whether the instance has integrity monitoring enabled.",
3842+
"type": "boolean"
3843+
},
3844+
"enableVtpm": {
3845+
"description": "Optional. Defines whether the instance has vTPM enabled.",
3846+
"type": "boolean"
3847+
},
38673848
"encryption": {
38683849
"$ref": "Encryption",
38693850
"description": "Optional. The encryption to apply to the VM."
@@ -5007,23 +4988,6 @@
50074988
},
50084989
"type": "object"
50094990
},
5010-
"NetworkInsights": {
5011-
"description": "Information about the network coniguration of the source.",
5012-
"id": "NetworkInsights",
5013-
"properties": {
5014-
"sourceNetworkConfig": {
5015-
"description": "Output only. The gathered network configuration of the source. Presented in json format.",
5016-
"readOnly": true,
5017-
"type": "string"
5018-
},
5019-
"sourceNetworkTerraform": {
5020-
"description": "Output only. The gathered network configuration of the source. Presented in terraform format.",
5021-
"readOnly": true,
5022-
"type": "string"
5023-
}
5024-
},
5025-
"type": "object"
5026-
},
50274991
"NetworkInterface": {
50284992
"description": "NetworkInterface represents a NIC of a VM.",
50294993
"id": "NetworkInterface",
@@ -5041,7 +5005,7 @@
50415005
"type": "string"
50425006
},
50435007
"networkTier": {
5044-
"description": "Optional. The networking tier used for configuring network access configuration. If left empty, will default to PREMIUM.",
5008+
"description": "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.",
50455009
"enum": [
50465010
"COMPUTE_ENGINE_NETWORK_TIER_UNSPECIFIED",
50475011
"NETWORK_TIER_STANDARD",
@@ -5397,12 +5361,6 @@
53975361
"properties": {},
53985362
"type": "object"
53995363
},
5400-
"RunDiskMigrationJobRequest": {
5401-
"description": "Request message for 'RunDiskMigrationJobRequest' request.",
5402-
"id": "RunDiskMigrationJobRequest",
5403-
"properties": {},
5404-
"type": "object"
5405-
},
54065364
"SchedulePolicy": {
54075365
"description": "A policy for scheduling replications.",
54085366
"id": "SchedulePolicy",

0 commit comments

Comments
 (0)