Skip to content

Commit 43dc8de

Browse files
feat(vmmigration): update the API
#### vmmigration:v1alpha1 The following keys were added: - schemas.ComputeEngineTargetDefaults.properties.storagePool.description - schemas.ComputeEngineTargetDefaults.properties.storagePool.type - schemas.ComputeEngineTargetDetails.properties.storagePool.description - schemas.ComputeEngineTargetDetails.properties.storagePool.type The following keys were changed: - schemas.DataDiskImageImport.description
1 parent 0813b80 commit 43dc8de

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

discovery/vmmigration-v1alpha1.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2548,7 +2548,7 @@
25482548
}
25492549
}
25502550
},
2551-
"revision": "20251023",
2551+
"revision": "20251030",
25522552
"rootUrl": "https://vmmigration.googleapis.com/",
25532553
"schemas": {
25542554
"AccessKeyCredentials": {
@@ -3748,6 +3748,10 @@
37483748
"description": "Optional. The service account to associate the VM with.",
37493749
"type": "string"
37503750
},
3751+
"storagePool": {
3752+
"description": "Optional. If specified this will be the storage pool in which the disk is created. This is the full path of the storage pool resource, for example: \"projects/my-project/zones/us-central1-a/storagePools/my-storage-pool\". The storage pool must be in the same project and zone as the target disks. The storage pool's type must match the disk type.",
3753+
"type": "string"
3754+
},
37513755
"targetProject": {
37523756
"description": "The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.",
37533757
"type": "string"
@@ -3920,6 +3924,10 @@
39203924
"description": "The service account to associate the VM with.",
39213925
"type": "string"
39223926
},
3927+
"storagePool": {
3928+
"description": "Optional. The storage pool used for the VM disks. If specified this will be the storage pool in which the disk is created. This is the full path of the storage pool resource, for example: \"projects/my-project/zones/us-central1-a/storagePools/my-storage-pool\". The storage pool must be in the same project and zone as the target disks. The storage pool's type must match the disk type.",
3929+
"type": "string"
3930+
},
39233931
"vmName": {
39243932
"description": "The name of the VM to create.",
39253933
"type": "string"
@@ -4188,7 +4196,7 @@
41884196
"type": "object"
41894197
},
41904198
"DataDiskImageImport": {
4191-
"description": "Mentions that the image import is not using OS adaptation process.",
4199+
"description": "Used when the image import is not using OS adaptation process.",
41924200
"id": "DataDiskImageImport",
41934201
"properties": {},
41944202
"type": "object"

src/apis/vmmigration/v1alpha1.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,10 @@ export namespace vmmigration_v1alpha1 {
849849
* Optional. The service account to associate the VM with.
850850
*/
851851
serviceAccount?: string | null;
852+
/**
853+
* Optional. If specified this will be the storage pool in which the disk is created. This is the full path of the storage pool resource, for example: "projects/my-project/zones/us-central1-a/storagePools/my-storage-pool". The storage pool must be in the same project and zone as the target disks. The storage pool's type must match the disk type.
854+
*/
855+
storagePool?: string | null;
852856
/**
853857
* The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
854858
*/
@@ -954,6 +958,10 @@ export namespace vmmigration_v1alpha1 {
954958
* The service account to associate the VM with.
955959
*/
956960
serviceAccount?: string | null;
961+
/**
962+
* Optional. The storage pool used for the VM disks. If specified this will be the storage pool in which the disk is created. This is the full path of the storage pool resource, for example: "projects/my-project/zones/us-central1-a/storagePools/my-storage-pool". The storage pool must be in the same project and zone as the target disks. The storage pool's type must match the disk type.
963+
*/
964+
storagePool?: string | null;
957965
/**
958966
* The name of the VM to create.
959967
*/
@@ -1187,7 +1195,7 @@ export namespace vmmigration_v1alpha1 {
11871195
version?: string | null;
11881196
}
11891197
/**
1190-
* Mentions that the image import is not using OS adaptation process.
1198+
* Used when the image import is not using OS adaptation process.
11911199
*/
11921200
export interface Schema$DataDiskImageImport {}
11931201
/**

0 commit comments

Comments
 (0)