tencentcloud-sdk-nodejs-cloudstudio 4.1.310 → 4.1.311
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
|
@@ -43,11 +43,11 @@ export interface RunWorkspaceRequest {
|
|
|
43
43
|
*/
|
|
44
44
|
export interface CreateWorkspaceTokenResponse {
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* <p>访问工作空间临时凭证</p>
|
|
47
47
|
*/
|
|
48
48
|
Token?: string;
|
|
49
49
|
/**
|
|
50
|
-
* token
|
|
50
|
+
* <p>token 过期时间</p>
|
|
51
51
|
*/
|
|
52
52
|
ExpiredTime?: string;
|
|
53
53
|
/**
|
|
@@ -73,15 +73,15 @@ export interface GitRepository {
|
|
|
73
73
|
*/
|
|
74
74
|
export interface CreateWorkspaceTokenRequest {
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
76
|
+
* <p>工作空间 SpaceKey</p>
|
|
77
77
|
*/
|
|
78
78
|
SpaceKey: string;
|
|
79
79
|
/**
|
|
80
|
-
* token过期时间,单位是秒,默认 3600
|
|
80
|
+
* <p>token过期时间,单位是秒,默认 3600</p>
|
|
81
81
|
*/
|
|
82
82
|
TokenExpiredLimitSec?: number;
|
|
83
83
|
/**
|
|
84
|
-
* token 授权策略,可选值为 workspace-run-only, all。默认为 workspace-run-only
|
|
84
|
+
* <p>token 授权策略,可选值为 workspace-run-only, all。默认为 workspace-run-only</p>
|
|
85
85
|
*/
|
|
86
86
|
Policies?: Array<string>;
|
|
87
87
|
}
|
|
@@ -352,31 +352,31 @@ export interface DescribeWorkspacesResponse {
|
|
|
352
352
|
*/
|
|
353
353
|
export interface ModifyWorkspaceRequest {
|
|
354
354
|
/**
|
|
355
|
-
*
|
|
355
|
+
* <p>工作空间 SpaceKey. 更新该工作空间的属性</p>
|
|
356
356
|
*/
|
|
357
357
|
SpaceKey: string;
|
|
358
358
|
/**
|
|
359
|
-
*
|
|
359
|
+
* <p>工作空间名称</p>
|
|
360
360
|
*/
|
|
361
361
|
Name?: string;
|
|
362
362
|
/**
|
|
363
|
-
*
|
|
363
|
+
* <p>工作空间描述</p>
|
|
364
364
|
*/
|
|
365
365
|
Description?: string;
|
|
366
366
|
/**
|
|
367
|
-
*
|
|
367
|
+
* <p>工作空间规格。STANDARD: 2C4G, CALCULATION: 4C8G, PROFESSION: 8C16G. 默认是 STANDARD。</p>
|
|
368
368
|
*/
|
|
369
369
|
Specs?: string;
|
|
370
370
|
/**
|
|
371
|
-
*
|
|
371
|
+
* <p>环境变量. 会被注入到工作空间中</p>
|
|
372
372
|
*/
|
|
373
373
|
Envs?: Array<Env>;
|
|
374
374
|
/**
|
|
375
|
-
*
|
|
375
|
+
* <p>预装插件. 工作空间启动时, 会自动安装这些插件</p>
|
|
376
376
|
*/
|
|
377
377
|
Extensions?: Array<string>;
|
|
378
378
|
/**
|
|
379
|
-
*
|
|
379
|
+
* <p>工作空间生命周期钩子. 分为三个阶段 init, start, destroy. 分别表示工作空间数据初始化阶段, 工作空间启动阶段, 工作空间关闭阶段. 用户可以自定义 shell 命令.</p>
|
|
380
380
|
*/
|
|
381
381
|
Lifecycle?: LifeCycle;
|
|
382
382
|
}
|