tencentcloud-sdk-nodejs-tem 4.0.259 → 4.0.263
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/CHANGELOG.md +807 -116
- package/SERVICE_CHANGELOG.md +68052 -0
- package/package.json +1 -1
- package/products.md +51 -50
- package/src/services/tem/v20210701/tem_client.ts +139 -88
- package/src/services/tem/v20210701/tem_models.ts +171 -16
- package/tencentcloud/services/tem/v20210701/tem_client.d.ts +52 -33
- package/tencentcloud/services/tem/v20210701/tem_client.js +75 -48
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +148 -16
|
@@ -51,6 +51,31 @@ export interface RestartApplicationPodResponse {
|
|
|
51
51
|
RequestId?: string
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
/**
|
|
55
|
+
* DeleteApplication请求参数结构体
|
|
56
|
+
*/
|
|
57
|
+
export interface DeleteApplicationRequest {
|
|
58
|
+
/**
|
|
59
|
+
* 服务Id
|
|
60
|
+
*/
|
|
61
|
+
ApplicationId: string
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* 环境ID
|
|
65
|
+
*/
|
|
66
|
+
EnvironmentId: string
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* 来源渠道
|
|
70
|
+
*/
|
|
71
|
+
SourceChannel?: number
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* 当服务没有任何运行版本时,是否删除此服务
|
|
75
|
+
*/
|
|
76
|
+
DeleteApplicationIfNoRunningVersion?: boolean
|
|
77
|
+
}
|
|
78
|
+
|
|
54
79
|
/**
|
|
55
80
|
* CreateResource请求参数结构体
|
|
56
81
|
*/
|
|
@@ -91,6 +116,41 @@ export interface ResumeDeployApplicationResponse {
|
|
|
91
116
|
RequestId?: string
|
|
92
117
|
}
|
|
93
118
|
|
|
119
|
+
/**
|
|
120
|
+
* RestartApplication返回参数结构体
|
|
121
|
+
*/
|
|
122
|
+
export interface RestartApplicationResponse {
|
|
123
|
+
/**
|
|
124
|
+
* 返回结果
|
|
125
|
+
*/
|
|
126
|
+
Result: boolean
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
130
|
+
*/
|
|
131
|
+
RequestId?: string
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* StopApplication请求参数结构体
|
|
136
|
+
*/
|
|
137
|
+
export interface StopApplicationRequest {
|
|
138
|
+
/**
|
|
139
|
+
* 服务id
|
|
140
|
+
*/
|
|
141
|
+
ApplicationId: string
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* 来源渠道
|
|
145
|
+
*/
|
|
146
|
+
SourceChannel?: number
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* 环境ID
|
|
150
|
+
*/
|
|
151
|
+
EnvironmentId?: string
|
|
152
|
+
}
|
|
153
|
+
|
|
94
154
|
/**
|
|
95
155
|
* 健康检查配置
|
|
96
156
|
*/
|
|
@@ -1368,24 +1428,48 @@ export interface CronHorizontalAutoscaler {
|
|
|
1368
1428
|
}
|
|
1369
1429
|
|
|
1370
1430
|
/**
|
|
1371
|
-
*
|
|
1431
|
+
* RollingUpdateApplicationByVersion返回参数结构体
|
|
1372
1432
|
*/
|
|
1373
|
-
export interface
|
|
1433
|
+
export interface RollingUpdateApplicationByVersionResponse {
|
|
1374
1434
|
/**
|
|
1375
|
-
*
|
|
1435
|
+
* 版本ID
|
|
1376
1436
|
*/
|
|
1377
|
-
|
|
1437
|
+
Result: string
|
|
1378
1438
|
|
|
1379
1439
|
/**
|
|
1380
|
-
*
|
|
1440
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1381
1441
|
*/
|
|
1382
|
-
|
|
1442
|
+
RequestId?: string
|
|
1443
|
+
}
|
|
1383
1444
|
|
|
1445
|
+
/**
|
|
1446
|
+
* RollingUpdateApplicationByVersion请求参数结构体
|
|
1447
|
+
*/
|
|
1448
|
+
export interface RollingUpdateApplicationByVersionRequest {
|
|
1384
1449
|
/**
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1450
|
+
* 应用ID
|
|
1451
|
+
*/
|
|
1452
|
+
ApplicationId: string
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* 环境ID
|
|
1456
|
+
*/
|
|
1457
|
+
EnvironmentId: string
|
|
1458
|
+
|
|
1459
|
+
/**
|
|
1460
|
+
* 更新版本,IMAGE 部署为 tag 值;JAR/WAR 部署 为 Version
|
|
1461
|
+
*/
|
|
1462
|
+
DeployVersion: string
|
|
1463
|
+
|
|
1464
|
+
/**
|
|
1465
|
+
* JAR/WAR 包名,仅 JAR/WAR 部署时必填
|
|
1466
|
+
*/
|
|
1467
|
+
PackageName?: string
|
|
1468
|
+
|
|
1469
|
+
/**
|
|
1470
|
+
* 请求来源平台,含 IntelliJ,Coding
|
|
1471
|
+
*/
|
|
1472
|
+
From?: string
|
|
1389
1473
|
}
|
|
1390
1474
|
|
|
1391
1475
|
/**
|
|
@@ -1531,18 +1615,18 @@ export interface ModifyApplicationInfoResponse {
|
|
|
1531
1615
|
}
|
|
1532
1616
|
|
|
1533
1617
|
/**
|
|
1534
|
-
*
|
|
1618
|
+
* DeleteApplication返回参数结构体
|
|
1535
1619
|
*/
|
|
1536
|
-
export interface
|
|
1620
|
+
export interface DeleteApplicationResponse {
|
|
1537
1621
|
/**
|
|
1538
|
-
*
|
|
1622
|
+
* 返回结果
|
|
1539
1623
|
*/
|
|
1540
|
-
|
|
1624
|
+
Result: boolean
|
|
1541
1625
|
|
|
1542
1626
|
/**
|
|
1543
|
-
*
|
|
1627
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1544
1628
|
*/
|
|
1545
|
-
|
|
1629
|
+
RequestId?: string
|
|
1546
1630
|
}
|
|
1547
1631
|
|
|
1548
1632
|
/**
|
|
@@ -1601,6 +1685,26 @@ export interface NamespacePage {
|
|
|
1601
1685
|
Pages: number
|
|
1602
1686
|
}
|
|
1603
1687
|
|
|
1688
|
+
/**
|
|
1689
|
+
* RestartApplication请求参数结构体
|
|
1690
|
+
*/
|
|
1691
|
+
export interface RestartApplicationRequest {
|
|
1692
|
+
/**
|
|
1693
|
+
* 服务id
|
|
1694
|
+
*/
|
|
1695
|
+
ApplicationId: string
|
|
1696
|
+
|
|
1697
|
+
/**
|
|
1698
|
+
* 来源渠道
|
|
1699
|
+
*/
|
|
1700
|
+
SourceChannel?: number
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* 环境ID
|
|
1704
|
+
*/
|
|
1705
|
+
EnvironmentId?: string
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1604
1708
|
/**
|
|
1605
1709
|
* CreateApplication返回参数结构体
|
|
1606
1710
|
*/
|
|
@@ -1641,6 +1745,21 @@ export interface HorizontalAutoscaler {
|
|
|
1641
1745
|
Threshold: number
|
|
1642
1746
|
}
|
|
1643
1747
|
|
|
1748
|
+
/**
|
|
1749
|
+
* RevertDeployApplication请求参数结构体
|
|
1750
|
+
*/
|
|
1751
|
+
export interface RevertDeployApplicationRequest {
|
|
1752
|
+
/**
|
|
1753
|
+
* 需要回滚的服务id
|
|
1754
|
+
*/
|
|
1755
|
+
ApplicationId?: string
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* 需要回滚的服务所在环境id
|
|
1759
|
+
*/
|
|
1760
|
+
EnvironmentId?: string
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1644
1763
|
/**
|
|
1645
1764
|
* 数据卷挂载信息
|
|
1646
1765
|
*/
|
|
@@ -1826,6 +1945,21 @@ export interface DescribeEnvironmentsRequest {
|
|
|
1826
1945
|
SourceChannel?: number
|
|
1827
1946
|
}
|
|
1828
1947
|
|
|
1948
|
+
/**
|
|
1949
|
+
* StopApplication返回参数结构体
|
|
1950
|
+
*/
|
|
1951
|
+
export interface StopApplicationResponse {
|
|
1952
|
+
/**
|
|
1953
|
+
* 返回结果
|
|
1954
|
+
*/
|
|
1955
|
+
Result: boolean
|
|
1956
|
+
|
|
1957
|
+
/**
|
|
1958
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1959
|
+
*/
|
|
1960
|
+
RequestId?: string
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1829
1963
|
/**
|
|
1830
1964
|
* eks service info
|
|
1831
1965
|
*/
|
|
@@ -1945,6 +2079,27 @@ export interface DeployApplicationResponse {
|
|
|
1945
2079
|
RequestId?: string
|
|
1946
2080
|
}
|
|
1947
2081
|
|
|
2082
|
+
/**
|
|
2083
|
+
* 存储卷配置
|
|
2084
|
+
*/
|
|
2085
|
+
export interface StorageConf {
|
|
2086
|
+
/**
|
|
2087
|
+
* 存储卷名称
|
|
2088
|
+
*/
|
|
2089
|
+
StorageVolName: string
|
|
2090
|
+
|
|
2091
|
+
/**
|
|
2092
|
+
* 存储卷路径
|
|
2093
|
+
*/
|
|
2094
|
+
StorageVolPath: string
|
|
2095
|
+
|
|
2096
|
+
/**
|
|
2097
|
+
* 存储卷IP
|
|
2098
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2099
|
+
*/
|
|
2100
|
+
StorageVolIp?: string
|
|
2101
|
+
}
|
|
2102
|
+
|
|
1948
2103
|
/**
|
|
1949
2104
|
* CreateEnvironment请求参数结构体
|
|
1950
2105
|
*/
|
|
@@ -1,39 +1,62 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { RestartApplicationPodResponse, CreateResourceRequest, ResumeDeployApplicationResponse, DescribeDeployApplicationDetailRequest, DescribeApplicationPodsResponse, DeleteIngressRequest, RestartApplicationPodRequest, DescribeRelatedIngressesRequest, ModifyEnvironmentResponse, GenerateApplicationPackageDownloadUrlRequest, DeployApplicationRequest, ModifyIngressResponse, DescribeEnvironmentsResponse, ModifyIngressRequest, DescribeApplicationPodsRequest, CreateApplicationRequest, DescribeRelatedIngressesResponse, DescribeIngressesRequest, ModifyApplicationReplicasResponse, ModifyApplicationReplicasRequest, DescribeIngressesResponse, DeleteIngressResponse, GenerateApplicationPackageDownloadUrlResponse, DescribeIngressResponse, CreateCosTokenResponse, DescribeDeployApplicationDetailResponse, CreateResourceResponse, ModifyApplicationInfoRequest, ModifyApplicationInfoResponse,
|
|
2
|
+
import { RestartApplicationPodResponse, DeleteApplicationRequest, CreateResourceRequest, ResumeDeployApplicationResponse, RestartApplicationResponse, StopApplicationRequest, DescribeDeployApplicationDetailRequest, DescribeApplicationPodsResponse, DeleteIngressRequest, RestartApplicationPodRequest, DescribeRelatedIngressesRequest, ModifyEnvironmentResponse, GenerateApplicationPackageDownloadUrlRequest, DeployApplicationRequest, ModifyIngressResponse, DescribeEnvironmentsResponse, ModifyIngressRequest, DescribeApplicationPodsRequest, CreateApplicationRequest, DescribeRelatedIngressesResponse, DescribeIngressesRequest, ModifyApplicationReplicasResponse, ModifyApplicationReplicasRequest, DescribeIngressesResponse, DeleteIngressResponse, GenerateApplicationPackageDownloadUrlResponse, DescribeIngressResponse, CreateCosTokenResponse, RollingUpdateApplicationByVersionResponse, RollingUpdateApplicationByVersionRequest, DescribeDeployApplicationDetailResponse, CreateResourceResponse, ModifyApplicationInfoRequest, ModifyApplicationInfoResponse, DeleteApplicationResponse, CreateEnvironmentResponse, RestartApplicationRequest, CreateApplicationResponse, RevertDeployApplicationRequest, ModifyEnvironmentRequest, RevertDeployApplicationResponse, DescribeIngressRequest, CreateCosTokenRequest, DescribeEnvironmentsRequest, StopApplicationResponse, ResumeDeployApplicationRequest, DeployApplicationResponse, CreateEnvironmentRequest } from "./tem_models";
|
|
3
3
|
/**
|
|
4
4
|
* tem client
|
|
5
5
|
* @class
|
|
6
6
|
*/
|
|
7
7
|
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
8
|
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
|
-
/**
|
|
10
|
-
* 应用部署
|
|
11
|
-
*/
|
|
12
|
-
DeployApplication(req: DeployApplicationRequest, cb?: (error: string, rep: DeployApplicationResponse) => void): Promise<DeployApplicationResponse>;
|
|
13
9
|
/**
|
|
14
10
|
* 修改应用实例数量
|
|
15
11
|
*/
|
|
16
12
|
ModifyApplicationReplicas(req: ModifyApplicationReplicasRequest, cb?: (error: string, rep: ModifyApplicationReplicasResponse) => void): Promise<ModifyApplicationReplicasResponse>;
|
|
17
13
|
/**
|
|
18
|
-
*
|
|
14
|
+
* 创建或者更新 Ingress 规则
|
|
19
15
|
*/
|
|
20
|
-
|
|
16
|
+
ModifyIngress(req: ModifyIngressRequest, cb?: (error: string, rep: ModifyIngressResponse) => void): Promise<ModifyIngressResponse>;
|
|
21
17
|
/**
|
|
22
|
-
|
|
18
|
+
* 服务删除
|
|
19
|
+
- 停止当前运行服务
|
|
20
|
+
- 删除服务相关资源
|
|
21
|
+
- 删除服务
|
|
22
|
+
*/
|
|
23
|
+
DeleteApplication(req: DeleteApplicationRequest, cb?: (error: string, rep: DeleteApplicationResponse) => void): Promise<DeleteApplicationResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* 删除 Ingress 规则
|
|
23
26
|
*/
|
|
24
|
-
|
|
27
|
+
DeleteIngress(req: DeleteIngressRequest, cb?: (error: string, rep: DeleteIngressResponse) => void): Promise<DeleteIngressResponse>;
|
|
25
28
|
/**
|
|
26
|
-
*
|
|
29
|
+
* 应用部署
|
|
27
30
|
*/
|
|
28
|
-
|
|
31
|
+
DeployApplication(req: DeployApplicationRequest, cb?: (error: string, rep: DeployApplicationResponse) => void): Promise<DeployApplicationResponse>;
|
|
29
32
|
/**
|
|
30
|
-
*
|
|
33
|
+
* 获取分批发布详情
|
|
31
34
|
*/
|
|
32
|
-
|
|
35
|
+
DescribeDeployApplicationDetail(req: DescribeDeployApplicationDetailRequest, cb?: (error: string, rep: DescribeDeployApplicationDetailResponse) => void): Promise<DescribeDeployApplicationDetailResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* 开始下一批次发布
|
|
38
|
+
*/
|
|
39
|
+
ResumeDeployApplication(req: ResumeDeployApplicationRequest, cb?: (error: string, rep: ResumeDeployApplicationResponse) => void): Promise<ResumeDeployApplicationResponse>;
|
|
33
40
|
/**
|
|
34
41
|
* 编辑环境
|
|
35
42
|
*/
|
|
36
43
|
ModifyEnvironment(req: ModifyEnvironmentRequest, cb?: (error: string, rep: ModifyEnvironmentResponse) => void): Promise<ModifyEnvironmentResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* 服务停止
|
|
46
|
+
*/
|
|
47
|
+
StopApplication(req: StopApplicationRequest, cb?: (error: string, rep: StopApplicationResponse) => void): Promise<StopApplicationResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* 获取应用实例列表
|
|
50
|
+
*/
|
|
51
|
+
DescribeApplicationPods(req: DescribeApplicationPodsRequest, cb?: (error: string, rep: DescribeApplicationPodsResponse) => void): Promise<DescribeApplicationPodsResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* 服务重启
|
|
54
|
+
*/
|
|
55
|
+
RestartApplication(req: RestartApplicationRequest, cb?: (error: string, rep: RestartApplicationResponse) => void): Promise<RestartApplicationResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* 修改应用基本信息
|
|
58
|
+
*/
|
|
59
|
+
ModifyApplicationInfo(req: ModifyApplicationInfoRequest, cb?: (error: string, rep: ModifyApplicationInfoResponse) => void): Promise<ModifyApplicationInfoResponse>;
|
|
37
60
|
/**
|
|
38
61
|
* 获取租户环境列表
|
|
39
62
|
*/
|
|
@@ -46,26 +69,14 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
46
69
|
* 查询 Ingress 规则
|
|
47
70
|
*/
|
|
48
71
|
DescribeIngress(req: DescribeIngressRequest, cb?: (error: string, rep: DescribeIngressResponse) => void): Promise<DescribeIngressResponse>;
|
|
49
|
-
/**
|
|
50
|
-
* 回滚分批发布
|
|
51
|
-
*/
|
|
52
|
-
RevertDeployApplication(req: RevertDeployApplicationRequest, cb?: (error: string, rep: RevertDeployApplicationResponse) => void): Promise<RevertDeployApplicationResponse>;
|
|
53
|
-
/**
|
|
54
|
-
* 查询应用关联的 Ingress 规则列表
|
|
55
|
-
*/
|
|
56
|
-
DescribeRelatedIngresses(req: DescribeRelatedIngressesRequest, cb?: (error: string, rep: DescribeRelatedIngressesResponse) => void): Promise<DescribeRelatedIngressesResponse>;
|
|
57
72
|
/**
|
|
58
73
|
* 生成应用程序包预签名下载链接
|
|
59
74
|
*/
|
|
60
75
|
GenerateApplicationPackageDownloadUrl(req: GenerateApplicationPackageDownloadUrlRequest, cb?: (error: string, rep: GenerateApplicationPackageDownloadUrlResponse) => void): Promise<GenerateApplicationPackageDownloadUrlResponse>;
|
|
61
76
|
/**
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
DescribeApplicationPods(req: DescribeApplicationPodsRequest, cb?: (error: string, rep: DescribeApplicationPodsResponse) => void): Promise<DescribeApplicationPodsResponse>;
|
|
65
|
-
/**
|
|
66
|
-
* 绑定云资源
|
|
77
|
+
* 创建环境
|
|
67
78
|
*/
|
|
68
|
-
|
|
79
|
+
CreateEnvironment(req: CreateEnvironmentRequest, cb?: (error: string, rep: CreateEnvironmentResponse) => void): Promise<CreateEnvironmentResponse>;
|
|
69
80
|
/**
|
|
70
81
|
* 查询 Ingress 规则列表
|
|
71
82
|
*/
|
|
@@ -75,15 +86,23 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
75
86
|
*/
|
|
76
87
|
CreateApplication(req: CreateApplicationRequest, cb?: (error: string, rep: CreateApplicationResponse) => void): Promise<CreateApplicationResponse>;
|
|
77
88
|
/**
|
|
78
|
-
*
|
|
89
|
+
* 重启应用实例
|
|
79
90
|
*/
|
|
80
|
-
|
|
91
|
+
RestartApplicationPod(req: RestartApplicationPodRequest, cb?: (error: string, rep: RestartApplicationPodResponse) => void): Promise<RestartApplicationPodResponse>;
|
|
81
92
|
/**
|
|
82
|
-
*
|
|
93
|
+
* 更新应用部署版本
|
|
83
94
|
*/
|
|
84
|
-
|
|
95
|
+
RollingUpdateApplicationByVersion(req: RollingUpdateApplicationByVersionRequest, cb?: (error: string, rep: RollingUpdateApplicationByVersionResponse) => void): Promise<RollingUpdateApplicationByVersionResponse>;
|
|
85
96
|
/**
|
|
86
|
-
*
|
|
97
|
+
* 回滚分批发布
|
|
87
98
|
*/
|
|
88
|
-
|
|
99
|
+
RevertDeployApplication(req: RevertDeployApplicationRequest, cb?: (error: string, rep: RevertDeployApplicationResponse) => void): Promise<RevertDeployApplicationResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* 查询应用关联的 Ingress 规则列表
|
|
102
|
+
*/
|
|
103
|
+
DescribeRelatedIngresses(req: DescribeRelatedIngressesRequest, cb?: (error: string, rep: DescribeRelatedIngressesResponse) => void): Promise<DescribeRelatedIngressesResponse>;
|
|
104
|
+
/**
|
|
105
|
+
* 绑定云资源
|
|
106
|
+
*/
|
|
107
|
+
CreateResource(req: CreateResourceRequest, cb?: (error: string, rep: CreateResourceResponse) => void): Promise<CreateResourceResponse>;
|
|
89
108
|
}
|
|
@@ -27,12 +27,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("tem.tencentcloudapi.com", "2021-07-01", clientConfig);
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* 应用部署
|
|
32
|
-
*/
|
|
33
|
-
async DeployApplication(req, cb) {
|
|
34
|
-
return this.request("DeployApplication", req, cb);
|
|
35
|
-
}
|
|
36
30
|
/**
|
|
37
31
|
* 修改应用实例数量
|
|
38
32
|
*/
|
|
@@ -40,28 +34,43 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
40
34
|
return this.request("ModifyApplicationReplicas", req, cb);
|
|
41
35
|
}
|
|
42
36
|
/**
|
|
43
|
-
*
|
|
37
|
+
* 创建或者更新 Ingress 规则
|
|
44
38
|
*/
|
|
45
|
-
async
|
|
46
|
-
return this.request("
|
|
39
|
+
async ModifyIngress(req, cb) {
|
|
40
|
+
return this.request("ModifyIngress", req, cb);
|
|
47
41
|
}
|
|
48
42
|
/**
|
|
49
|
-
|
|
43
|
+
* 服务删除
|
|
44
|
+
- 停止当前运行服务
|
|
45
|
+
- 删除服务相关资源
|
|
46
|
+
- 删除服务
|
|
47
|
+
*/
|
|
48
|
+
async DeleteApplication(req, cb) {
|
|
49
|
+
return this.request("DeleteApplication", req, cb);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* 删除 Ingress 规则
|
|
50
53
|
*/
|
|
51
|
-
async
|
|
52
|
-
return this.request("
|
|
54
|
+
async DeleteIngress(req, cb) {
|
|
55
|
+
return this.request("DeleteIngress", req, cb);
|
|
53
56
|
}
|
|
54
57
|
/**
|
|
55
|
-
*
|
|
58
|
+
* 应用部署
|
|
56
59
|
*/
|
|
57
|
-
async
|
|
58
|
-
return this.request("
|
|
60
|
+
async DeployApplication(req, cb) {
|
|
61
|
+
return this.request("DeployApplication", req, cb);
|
|
59
62
|
}
|
|
60
63
|
/**
|
|
61
|
-
*
|
|
64
|
+
* 获取分批发布详情
|
|
62
65
|
*/
|
|
63
|
-
async
|
|
64
|
-
return this.request("
|
|
66
|
+
async DescribeDeployApplicationDetail(req, cb) {
|
|
67
|
+
return this.request("DescribeDeployApplicationDetail", req, cb);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* 开始下一批次发布
|
|
71
|
+
*/
|
|
72
|
+
async ResumeDeployApplication(req, cb) {
|
|
73
|
+
return this.request("ResumeDeployApplication", req, cb);
|
|
65
74
|
}
|
|
66
75
|
/**
|
|
67
76
|
* 编辑环境
|
|
@@ -69,6 +78,30 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
69
78
|
async ModifyEnvironment(req, cb) {
|
|
70
79
|
return this.request("ModifyEnvironment", req, cb);
|
|
71
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* 服务停止
|
|
83
|
+
*/
|
|
84
|
+
async StopApplication(req, cb) {
|
|
85
|
+
return this.request("StopApplication", req, cb);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* 获取应用实例列表
|
|
89
|
+
*/
|
|
90
|
+
async DescribeApplicationPods(req, cb) {
|
|
91
|
+
return this.request("DescribeApplicationPods", req, cb);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* 服务重启
|
|
95
|
+
*/
|
|
96
|
+
async RestartApplication(req, cb) {
|
|
97
|
+
return this.request("RestartApplication", req, cb);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* 修改应用基本信息
|
|
101
|
+
*/
|
|
102
|
+
async ModifyApplicationInfo(req, cb) {
|
|
103
|
+
return this.request("ModifyApplicationInfo", req, cb);
|
|
104
|
+
}
|
|
72
105
|
/**
|
|
73
106
|
* 获取租户环境列表
|
|
74
107
|
*/
|
|
@@ -87,18 +120,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
87
120
|
async DescribeIngress(req, cb) {
|
|
88
121
|
return this.request("DescribeIngress", req, cb);
|
|
89
122
|
}
|
|
90
|
-
/**
|
|
91
|
-
* 回滚分批发布
|
|
92
|
-
*/
|
|
93
|
-
async RevertDeployApplication(req, cb) {
|
|
94
|
-
return this.request("RevertDeployApplication", req, cb);
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* 查询应用关联的 Ingress 规则列表
|
|
98
|
-
*/
|
|
99
|
-
async DescribeRelatedIngresses(req, cb) {
|
|
100
|
-
return this.request("DescribeRelatedIngresses", req, cb);
|
|
101
|
-
}
|
|
102
123
|
/**
|
|
103
124
|
* 生成应用程序包预签名下载链接
|
|
104
125
|
*/
|
|
@@ -106,16 +127,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
106
127
|
return this.request("GenerateApplicationPackageDownloadUrl", req, cb);
|
|
107
128
|
}
|
|
108
129
|
/**
|
|
109
|
-
*
|
|
110
|
-
*/
|
|
111
|
-
async DescribeApplicationPods(req, cb) {
|
|
112
|
-
return this.request("DescribeApplicationPods", req, cb);
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* 绑定云资源
|
|
130
|
+
* 创建环境
|
|
116
131
|
*/
|
|
117
|
-
async
|
|
118
|
-
return this.request("
|
|
132
|
+
async CreateEnvironment(req, cb) {
|
|
133
|
+
return this.request("CreateEnvironment", req, cb);
|
|
119
134
|
}
|
|
120
135
|
/**
|
|
121
136
|
* 查询 Ingress 规则列表
|
|
@@ -130,22 +145,34 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
130
145
|
return this.request("CreateApplication", req, cb);
|
|
131
146
|
}
|
|
132
147
|
/**
|
|
133
|
-
*
|
|
148
|
+
* 重启应用实例
|
|
134
149
|
*/
|
|
135
|
-
async
|
|
136
|
-
return this.request("
|
|
150
|
+
async RestartApplicationPod(req, cb) {
|
|
151
|
+
return this.request("RestartApplicationPod", req, cb);
|
|
137
152
|
}
|
|
138
153
|
/**
|
|
139
|
-
*
|
|
154
|
+
* 更新应用部署版本
|
|
140
155
|
*/
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
156
|
+
async RollingUpdateApplicationByVersion(req, cb) {
|
|
157
|
+
return this.request("RollingUpdateApplicationByVersion", req, cb);
|
|
143
158
|
}
|
|
144
159
|
/**
|
|
145
|
-
*
|
|
160
|
+
* 回滚分批发布
|
|
146
161
|
*/
|
|
147
|
-
async
|
|
148
|
-
return this.request("
|
|
162
|
+
async RevertDeployApplication(req, cb) {
|
|
163
|
+
return this.request("RevertDeployApplication", req, cb);
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* 查询应用关联的 Ingress 规则列表
|
|
167
|
+
*/
|
|
168
|
+
async DescribeRelatedIngresses(req, cb) {
|
|
169
|
+
return this.request("DescribeRelatedIngresses", req, cb);
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* 绑定云资源
|
|
173
|
+
*/
|
|
174
|
+
async CreateResource(req, cb) {
|
|
175
|
+
return this.request("CreateResource", req, cb);
|
|
149
176
|
}
|
|
150
177
|
}
|
|
151
178
|
exports.Client = Client;
|