Skip to content

Commit 79271a9

Browse files
yoshi-automationsofisl
authored andcommitted
feat(vmmigration): update the API
#### vmmigration:v1alpha1 The following keys were added: - schemas.AwsVmDetails.properties.vcpuCount.description - schemas.AwsVmDetails.properties.vcpuCount.format - schemas.AwsVmDetails.properties.vcpuCount.type The following keys were changed: - schemas.AwsVmDetails.properties.cpuCount.description #### vmmigration:v1 The following keys were added: - schemas.AwsVmDetails.properties.vcpuCount.description - schemas.AwsVmDetails.properties.vcpuCount.format - schemas.AwsVmDetails.properties.vcpuCount.type The following keys were changed: - schemas.AwsVmDetails.properties.cpuCount.description
1 parent f6edc46 commit 79271a9

File tree

4 files changed

+24
-6
lines changed

4 files changed

+24
-6
lines changed

discovery/vmmigration-v1.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2254,7 +2254,7 @@
22542254
}
22552255
}
22562256
},
2257-
"revision": "20250619",
2257+
"revision": "20250701",
22582258
"rootUrl": "https://vmmigration.googleapis.com/",
22592259
"schemas": {
22602260
"AccessKeyCredentials": {
@@ -2558,7 +2558,7 @@
25582558
"type": "string"
25592559
},
25602560
"cpuCount": {
2561-
"description": "The number of cpus the VM has.",
2561+
"description": "The number of CPU cores the VM has.",
25622562
"format": "int32",
25632563
"type": "integer"
25642564
},
@@ -2625,6 +2625,11 @@
26252625
"description": "The tags of the VM.",
26262626
"type": "object"
26272627
},
2628+
"vcpuCount": {
2629+
"description": "The number of vCPUs the VM has. It is calculated as the number of CPU cores * threads per CPU the VM has.",
2630+
"format": "int32",
2631+
"type": "integer"
2632+
},
26282633
"virtualizationType": {
26292634
"description": "The virtualization type.",
26302635
"enum": [

discovery/vmmigration-v1alpha1.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2254,7 +2254,7 @@
22542254
}
22552255
}
22562256
},
2257-
"revision": "20250619",
2257+
"revision": "20250701",
22582258
"rootUrl": "https://vmmigration.googleapis.com/",
22592259
"schemas": {
22602260
"AccessKeyCredentials": {
@@ -2558,7 +2558,7 @@
25582558
"type": "string"
25592559
},
25602560
"cpuCount": {
2561-
"description": "The number of cpus the VM has.",
2561+
"description": "The number of CPU cores the VM has.",
25622562
"format": "int32",
25632563
"type": "integer"
25642564
},
@@ -2625,6 +2625,11 @@
26252625
"description": "The tags of the VM.",
26262626
"type": "object"
26272627
},
2628+
"vcpuCount": {
2629+
"description": "The number of vCPUs the VM has. It is calculated as the number of CPU cores * threads per CPU the VM has.",
2630+
"format": "int32",
2631+
"type": "integer"
2632+
},
26282633
"virtualizationType": {
26292634
"description": "The virtualization type.",
26302635
"enum": [

src/apis/vmmigration/v1.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ export namespace vmmigration_v1 {
310310
*/
311311
committedStorageMb?: string | null;
312312
/**
313-
* The number of cpus the VM has.
313+
* The number of CPU cores the VM has.
314314
*/
315315
cpuCount?: number | null;
316316
/**
@@ -353,6 +353,10 @@ export namespace vmmigration_v1 {
353353
* The tags of the VM.
354354
*/
355355
tags?: {[key: string]: string} | null;
356+
/**
357+
* The number of vCPUs the VM has. It is calculated as the number of CPU cores * threads per CPU the VM has.
358+
*/
359+
vcpuCount?: number | null;
356360
/**
357361
* The virtualization type.
358362
*/

src/apis/vmmigration/v1alpha1.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ export namespace vmmigration_v1alpha1 {
310310
*/
311311
committedStorageMb?: string | null;
312312
/**
313-
* The number of cpus the VM has.
313+
* The number of CPU cores the VM has.
314314
*/
315315
cpuCount?: number | null;
316316
/**
@@ -353,6 +353,10 @@ export namespace vmmigration_v1alpha1 {
353353
* The tags of the VM.
354354
*/
355355
tags?: {[key: string]: string} | null;
356+
/**
357+
* The number of vCPUs the VM has. It is calculated as the number of CPU cores * threads per CPU the VM has.
358+
*/
359+
vcpuCount?: number | null;
356360
/**
357361
* The virtualization type.
358362
*/

0 commit comments

Comments
 (0)