@daocloud-proto/zestu 0.8.0-dev-afd92b33 → 0.8.0-dev-e07659cf
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
CHANGED
|
@@ -40,6 +40,12 @@ export enum InstanceType {
|
|
|
40
40
|
VM = "VM",
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
export enum StorageType {
|
|
44
|
+
StorageTypeUnspecified = "StorageTypeUnspecified",
|
|
45
|
+
LocalStorage = "LocalStorage",
|
|
46
|
+
FileStorage = "FileStorage",
|
|
47
|
+
}
|
|
48
|
+
|
|
43
49
|
export enum InstanceStatus {
|
|
44
50
|
STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",
|
|
45
51
|
RUNNING = "RUNNING",
|
|
@@ -161,6 +167,7 @@ export type Hardware = {
|
|
|
161
167
|
gpuNum?: number
|
|
162
168
|
gpuType?: ZestuIoApiResourcesV1alpha1Resources.GpuType
|
|
163
169
|
gpuVendor?: string
|
|
170
|
+
freeDataDiskSize?: string
|
|
164
171
|
}
|
|
165
172
|
|
|
166
173
|
export type CreateContainerInstanceRequest = {
|
|
@@ -216,7 +223,8 @@ export type InstanceSpec = {
|
|
|
216
223
|
export type VolumeSpec = {
|
|
217
224
|
sourcePath?: string
|
|
218
225
|
mountPath?: string
|
|
219
|
-
size?:
|
|
226
|
+
size?: string
|
|
227
|
+
storageType?: StorageType
|
|
220
228
|
}
|
|
221
229
|
|
|
222
230
|
export type ServiceEnable = {
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import * as ZestuIoApiResourcesV1alpha1Resources from "../../resources/v1alpha1/resources.pb"
|
|
8
8
|
import * as ZestuIoApiTypesPage from "../../types/page.pb"
|
|
9
|
+
import * as ZestuIoApiTypesTypes from "../../types/types.pb"
|
|
9
10
|
|
|
10
11
|
export enum RegionStorageStatus {
|
|
11
12
|
unspecified = "unspecified",
|
|
@@ -27,6 +28,12 @@ export enum sortBy {
|
|
|
27
28
|
UpdatedAt = "UpdatedAt",
|
|
28
29
|
}
|
|
29
30
|
|
|
31
|
+
export enum GetStoragePriceRequestResourceType {
|
|
32
|
+
FileStorage = "FileStorage",
|
|
33
|
+
LocalStorage = "LocalStorage",
|
|
34
|
+
Unspecified = "Unspecified",
|
|
35
|
+
}
|
|
36
|
+
|
|
30
37
|
export type InitFileStorageRequest = {
|
|
31
38
|
regionId?: string
|
|
32
39
|
}
|
|
@@ -122,10 +129,13 @@ export type UpdateQuotaResponse = {
|
|
|
122
129
|
|
|
123
130
|
export type GetStoragePriceRequest = {
|
|
124
131
|
regionId?: string
|
|
132
|
+
resourceType?: GetStoragePriceRequestResourceType
|
|
133
|
+
billingType?: ZestuIoApiTypesTypes.BillingType
|
|
125
134
|
}
|
|
126
135
|
|
|
127
136
|
export type GetStoragePriceResponse = {
|
|
128
137
|
price?: ZestuIoApiResourcesV1alpha1Resources.ResourcePrice
|
|
138
|
+
freeSize?: string
|
|
129
139
|
}
|
|
130
140
|
|
|
131
141
|
export type ForceDecreaseQuotaRequest = {
|