Skip to content

Commit

Permalink
feat(vmmigration)!: update the API
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 27, 2024
1 parent 841a829 commit 614baa2
Show file tree
Hide file tree
Showing 4 changed files with 174 additions and 664 deletions.
150 changes: 54 additions & 96 deletions discovery/vmmigration-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1180,66 +1180,6 @@
}
}
},
"diskMigrationJobs": {
"methods": {
"cancel": {
"description": "Cancels the disk migration job.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}:cancel",
"httpMethod": "POST",
"id": "vmmigration.projects.locations.sources.diskMigrationJobs.cancel",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the DiskMigrationJob.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:cancel",
"request": {
"$ref": "CancelDiskMigrationJobRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"run": {
"description": "Runs the disk migration job.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}:run",
"httpMethod": "POST",
"id": "vmmigration.projects.locations.sources.diskMigrationJobs.run",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the DiskMigrationJob.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:run",
"request": {
"$ref": "RunDiskMigrationJobRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"migratingVms": {
"methods": {
"create": {
Expand Down Expand Up @@ -2280,7 +2220,7 @@
}
}
},
"revision": "20240712",
"revision": "20240808",
"rootUrl": "https://vmmigration.googleapis.com/",
"schemas": {
"AccessKeyCredentials": {
Expand Down Expand Up @@ -2461,11 +2401,6 @@
"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`.",
"type": "object"
},
"networkInsights": {
"$ref": "NetworkInsights",
"description": "Output only. Information about the network coniguration of the source. Only gatherred upon request.",
"readOnly": true
},
"publicIp": {
"description": "Output only. The source's public IP. All communication initiated by this source will originate from this IP.",
"readOnly": true,
Expand Down Expand Up @@ -2968,12 +2903,6 @@
"properties": {},
"type": "object"
},
"CancelDiskMigrationJobRequest": {
"description": "Request message for 'CancelDiskMigrationJob' request.",
"id": "CancelDiskMigrationJobRequest",
"properties": {},
"type": "object"
},
"CancelImageImportJobRequest": {
"description": "Request message for 'CancelImageImportJob' request.",
"id": "CancelImageImportJobRequest",
Expand Down Expand Up @@ -3180,6 +3109,20 @@
"description": "Output only. The OS license returned from the adaptation module report.",
"readOnly": true
},
"bootConversion": {
"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.",
"enum": [
"BOOT_CONVERSION_UNSPECIFIED",
"NONE",
"BIOS_TO_EFI"
],
"enumDescriptions": [
"Unspecified conversion type.",
"No conversion.",
"Convert from BIOS to EFI."
],
"type": "string"
},
"bootOption": {
"description": "Output only. The VM Boot Option, as set in the source VM.",
"enum": [
Expand Down Expand Up @@ -3217,6 +3160,14 @@
],
"type": "string"
},
"enableIntegrityMonitoring": {
"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.",
"type": "boolean"
},
"enableVtpm": {
"description": "Optional. Defines whether the instance has vTPM enabled. This can be set to true only if the VM boot option is EFI.",
"type": "boolean"
},
"encryption": {
"$ref": "Encryption",
"description": "Optional. Immutable. The encryption to apply to the VM disks."
Expand Down Expand Up @@ -3313,6 +3264,20 @@
"$ref": "AppliedLicense",
"description": "The OS license returned from the adaptation module report."
},
"bootConversion": {
"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.",
"enum": [
"BOOT_CONVERSION_UNSPECIFIED",
"NONE",
"BIOS_TO_EFI"
],
"enumDescriptions": [
"Unspecified conversion type.",
"No conversion.",
"Convert from BIOS to EFI."
],
"type": "string"
},
"bootOption": {
"description": "The VM Boot Option, as set in the source VM.",
"enum": [
Expand Down Expand Up @@ -3349,6 +3314,14 @@
],
"type": "string"
},
"enableIntegrityMonitoring": {
"description": "Optional. Defines whether the instance has integrity monitoring enabled.",
"type": "boolean"
},
"enableVtpm": {
"description": "Optional. Defines whether the instance has vTPM enabled.",
"type": "boolean"
},
"encryption": {
"$ref": "Encryption",
"description": "Optional. The encryption to apply to the VM disks."
Expand Down Expand Up @@ -3864,6 +3837,14 @@
"$ref": "ComputeScheduling",
"description": "Optional. Compute instance scheduling information (if empty default is used)."
},
"enableIntegrityMonitoring": {
"description": "Optional. Defines whether the instance has integrity monitoring enabled.",
"type": "boolean"
},
"enableVtpm": {
"description": "Optional. Defines whether the instance has vTPM enabled.",
"type": "boolean"
},
"encryption": {
"$ref": "Encryption",
"description": "Optional. The encryption to apply to the VM."
Expand Down Expand Up @@ -5007,23 +4988,6 @@
},
"type": "object"
},
"NetworkInsights": {
"description": "Information about the network coniguration of the source.",
"id": "NetworkInsights",
"properties": {
"sourceNetworkConfig": {
"description": "Output only. The gathered network configuration of the source. Presented in json format.",
"readOnly": true,
"type": "string"
},
"sourceNetworkTerraform": {
"description": "Output only. The gathered network configuration of the source. Presented in terraform format.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"NetworkInterface": {
"description": "NetworkInterface represents a NIC of a VM.",
"id": "NetworkInterface",
Expand All @@ -5041,7 +5005,7 @@
"type": "string"
},
"networkTier": {
"description": "Optional. The networking tier used for configuring network access configuration. If left empty, will default to PREMIUM.",
"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.",
"enum": [
"COMPUTE_ENGINE_NETWORK_TIER_UNSPECIFIED",
"NETWORK_TIER_STANDARD",
Expand Down Expand Up @@ -5397,12 +5361,6 @@
"properties": {},
"type": "object"
},
"RunDiskMigrationJobRequest": {
"description": "Request message for 'RunDiskMigrationJobRequest' request.",
"id": "RunDiskMigrationJobRequest",
"properties": {},
"type": "object"
},
"SchedulePolicy": {
"description": "A policy for scheduling replications.",
"id": "SchedulePolicy",
Expand Down
Loading

0 comments on commit 614baa2

Please sign in to comment.