@daocloud-proto/virtnest 0.3.0-dev-6 → 0.3.0-dev-7
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/package.json +1 -1
- package/v1alpha1/vm.pb.ts +5 -5
- package/v1alpha1/vmtemplate.pb.ts +4 -9
package/package.json
CHANGED
package/v1alpha1/vm.pb.ts
CHANGED
|
@@ -99,7 +99,7 @@ export type ListClusterVmsInfo = {
|
|
|
99
99
|
cpu?: number
|
|
100
100
|
memory?: string
|
|
101
101
|
createdAt?: string
|
|
102
|
-
osFamily?:
|
|
102
|
+
osFamily?: string
|
|
103
103
|
vmErrorMessage?: VmErrorMessage
|
|
104
104
|
allowedOperation?: AllowedOperation[]
|
|
105
105
|
node?: string
|
|
@@ -132,7 +132,7 @@ export type CreateVMRequest = {
|
|
|
132
132
|
cpu?: number
|
|
133
133
|
memory?: string
|
|
134
134
|
ssh?: SSH
|
|
135
|
-
osFamily?:
|
|
135
|
+
osFamily?: string
|
|
136
136
|
osVersion?: string
|
|
137
137
|
secret?: string
|
|
138
138
|
}
|
|
@@ -210,7 +210,7 @@ export type GetVMResponse = {
|
|
|
210
210
|
memory?: string
|
|
211
211
|
vmErrorMessage?: VmErrorMessage
|
|
212
212
|
imageSource?: ImageSource
|
|
213
|
-
osFamily?:
|
|
213
|
+
osFamily?: string
|
|
214
214
|
osVersion?: string
|
|
215
215
|
imageUrl?: string
|
|
216
216
|
node?: string
|
|
@@ -404,7 +404,7 @@ export type ListSystemImagesResponse = {
|
|
|
404
404
|
}
|
|
405
405
|
|
|
406
406
|
export type SystemImage = {
|
|
407
|
-
osFamily?:
|
|
407
|
+
osFamily?: string
|
|
408
408
|
version?: SystemImageVersion[]
|
|
409
409
|
}
|
|
410
410
|
|
|
@@ -493,7 +493,7 @@ export type CreateVMWithVMTemplateRequest = {
|
|
|
493
493
|
ssh?: SSH
|
|
494
494
|
imageSource?: ImageSource
|
|
495
495
|
imageUrl?: string
|
|
496
|
-
osFamily?:
|
|
496
|
+
osFamily?: string
|
|
497
497
|
osVersion?: string
|
|
498
498
|
secret?: string
|
|
499
499
|
}
|
|
@@ -11,13 +11,6 @@ export enum TemplateType {
|
|
|
11
11
|
internal = "internal",
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export enum OSFamily {
|
|
15
|
-
Unknown = "Unknown",
|
|
16
|
-
Debian = "Debian",
|
|
17
|
-
CentOS = "CentOS",
|
|
18
|
-
Ubuntu = "Ubuntu",
|
|
19
|
-
}
|
|
20
|
-
|
|
21
14
|
export type ListVMTemplatesRequest = {
|
|
22
15
|
pageSize?: number
|
|
23
16
|
page?: number
|
|
@@ -41,7 +34,7 @@ export type VMTemplateInfo = {
|
|
|
41
34
|
cpu?: number
|
|
42
35
|
memory?: string
|
|
43
36
|
createdAt?: string
|
|
44
|
-
osFamily?:
|
|
37
|
+
osFamily?: string
|
|
45
38
|
}
|
|
46
39
|
|
|
47
40
|
export type GetVMTemplateRequest = {
|
|
@@ -51,10 +44,12 @@ export type GetVMTemplateRequest = {
|
|
|
51
44
|
export type GetVMTemplateResponse = {
|
|
52
45
|
name?: string
|
|
53
46
|
description?: string
|
|
47
|
+
labels?: {[key: string]: string}
|
|
48
|
+
annotations?: {[key: string]: string}
|
|
54
49
|
cpu?: number
|
|
55
50
|
memory?: string
|
|
56
51
|
createdAt?: string
|
|
57
|
-
osFamily?:
|
|
52
|
+
osFamily?: string
|
|
58
53
|
imageUrl?: string
|
|
59
54
|
type?: TemplateType
|
|
60
55
|
systemDiskCapacity?: string
|