@daocloud-proto/zestu 0.2.0-dev-edba0cbe → 0.2.0-dev-c281ab3c

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/zestu",
3
- "version":"v0.2.0-dev-edba0cbe",
3
+ "version":"v0.2.0-dev-c281ab3c",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -8,6 +8,13 @@ import * as ZestuIoApiResourcesV1alpha1Resources from "../../resources/v1alpha1/
8
8
  import * as ZestuIoApiTypesPage from "../../types/page.pb"
9
9
  import * as ZestuIoApiTypesTypes from "../../types/types.pb"
10
10
 
11
+ export enum SaveImageStatus {
12
+ SAVE_IMAGE_STATUS_UNSPECIFIED = "SAVE_IMAGE_STATUS_UNSPECIFIED",
13
+ SAVE_IMAGE_STATUS_SUCCESS = "SAVE_IMAGE_STATUS_SUCCESS",
14
+ SAVE_IMAGE_STATUS_FAILED = "SAVE_IMAGE_STATUS_FAILED",
15
+ SAVE_IMAGE_STATUS_SAVING = "SAVE_IMAGE_STATUS_SAVING",
16
+ }
17
+
11
18
  export enum ImageType {
12
19
  IMAGE_TYPE_UNSPECIFIED = "IMAGE_TYPE_UNSPECIFIED",
13
20
  IMAGE_OFFICIAL = "IMAGE_OFFICIAL",
@@ -86,6 +93,12 @@ export type ContainerInstance = {
86
93
  regionId?: string
87
94
  networks?: ContainerInstanceNetwork[]
88
95
  ssh?: SSHInfo
96
+ saveImage?: SaveImage
97
+ }
98
+
99
+ export type SaveImage = {
100
+ status?: SaveImageStatus
101
+ failReason?: string
89
102
  }
90
103
 
91
104
  export type Hardware = {
@@ -150,6 +163,7 @@ export type ServiceEnable = {
150
163
  export type StopContainerInstanceRequest = {
151
164
  instanceId?: string
152
165
  regionId?: string
166
+ needSaveImage?: boolean
153
167
  }
154
168
 
155
169
  export type StopContainerInstanceResponse = {