@alicloud/cas20200407 3.2.15 → 3.2.16
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/dist/client.d.ts +14 -8
- package/dist/client.js +20 -8
- package/dist/client.js.map +1 -1
- package/dist/models/GetCertificatePackageCountResponseBody.d.ts +4 -4
- package/dist/models/ListDeploymentJobRequest.d.ts +19 -2
- package/dist/models/ListDeploymentJobRequest.js +4 -0
- package/dist/models/ListDeploymentJobRequest.js.map +1 -1
- package/dist/models/ListDeploymentJobResponseBody.d.ts +34 -31
- package/dist/models/ListDeploymentJobResponseBody.js +2 -0
- package/dist/models/ListDeploymentJobResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +22 -8
- package/src/models/GetCertificatePackageCountResponseBody.ts +4 -4
- package/src/models/ListDeploymentJobRequest.ts +23 -2
- package/src/models/ListDeploymentJobResponseBody.ts +36 -31
|
@@ -2,12 +2,29 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ListDeploymentJobRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The certificate ID.
|
|
6
|
+
* > You can obtain this ID by calling the [ListUserCertificateOrder](https://help.aliyun.com/document_detail/455804.html) operation.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* 23982365
|
|
10
|
+
*/
|
|
11
|
+
certId?: number;
|
|
12
|
+
/**
|
|
13
|
+
* @remarks
|
|
14
|
+
* The current page number. Default value: 1.
|
|
6
15
|
*
|
|
7
16
|
* @example
|
|
8
17
|
* 1
|
|
9
18
|
*/
|
|
10
19
|
currentPage?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The instance ID.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* cas-ivauto-hqito6
|
|
26
|
+
*/
|
|
27
|
+
instanceId?: string;
|
|
11
28
|
/**
|
|
12
29
|
* @remarks
|
|
13
30
|
* The task type.
|
|
@@ -18,7 +35,7 @@ export declare class ListDeploymentJobRequest extends $dara.Model {
|
|
|
18
35
|
jobType?: string;
|
|
19
36
|
/**
|
|
20
37
|
* @remarks
|
|
21
|
-
* The number of certificates to
|
|
38
|
+
* The paging Settings for the number of certificates to return on each page during a paged query. Default value: **50**.
|
|
22
39
|
*
|
|
23
40
|
* @example
|
|
24
41
|
* 50
|
|
@@ -39,7 +39,9 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class ListDeploymentJobRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
certId: 'CertId',
|
|
42
43
|
currentPage: 'CurrentPage',
|
|
44
|
+
instanceId: 'InstanceId',
|
|
43
45
|
jobType: 'JobType',
|
|
44
46
|
showSize: 'ShowSize',
|
|
45
47
|
status: 'Status',
|
|
@@ -47,7 +49,9 @@ class ListDeploymentJobRequest extends $dara.Model {
|
|
|
47
49
|
}
|
|
48
50
|
static types() {
|
|
49
51
|
return {
|
|
52
|
+
certId: 'number',
|
|
50
53
|
currentPage: 'number',
|
|
54
|
+
instanceId: 'string',
|
|
51
55
|
jobType: 'string',
|
|
52
56
|
showSize: 'number',
|
|
53
57
|
status: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListDeploymentJobRequest.js","sourceRoot":"","sources":["../../src/models/ListDeploymentJobRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ListDeploymentJobRequest.js","sourceRoot":"","sources":["../../src/models/ListDeploymentJobRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAkDvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/ED,4DA+EC"}
|
|
@@ -10,8 +10,7 @@ export declare class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
10
10
|
certDomain?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The certificate type.
|
|
14
|
-
*
|
|
13
|
+
* The certificate type.
|
|
15
14
|
* - **upload**: uploaded certificate
|
|
16
15
|
* - **buy**: purchased certificate
|
|
17
16
|
* - **free**: personal test certificate (supported only on the China site)
|
|
@@ -22,10 +21,17 @@ export declare class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
22
21
|
certType?: string;
|
|
23
22
|
/**
|
|
24
23
|
* @remarks
|
|
25
|
-
* The
|
|
24
|
+
* The list of SSL certificates.
|
|
26
25
|
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
26
|
+
* @example
|
|
27
|
+
* [{\\"Type\\": \\"Server\\", \\"Id\\": \\"22803164-cn-hangzhou\\"}]
|
|
28
|
+
*/
|
|
29
|
+
certificates?: any;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The deletion flag. This field has no practical meaning.
|
|
33
|
+
* - **0**: not deleted
|
|
34
|
+
* - **1**: deleted
|
|
29
35
|
*
|
|
30
36
|
* @example
|
|
31
37
|
* 1
|
|
@@ -33,7 +39,7 @@ export declare class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
33
39
|
del?: number;
|
|
34
40
|
/**
|
|
35
41
|
* @remarks
|
|
36
|
-
* The end time of the deployment task execution
|
|
42
|
+
* The end time of the deployment task execution. The value is a UNIX timestamp in seconds.
|
|
37
43
|
*
|
|
38
44
|
* @example
|
|
39
45
|
* 1606482979000
|
|
@@ -41,7 +47,7 @@ export declare class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
41
47
|
endTime?: string;
|
|
42
48
|
/**
|
|
43
49
|
* @remarks
|
|
44
|
-
* The time
|
|
50
|
+
* The creation time of the deployment task. The value is a UNIX timestamp in seconds.
|
|
45
51
|
*
|
|
46
52
|
* @example
|
|
47
53
|
* 1624343180000
|
|
@@ -49,7 +55,7 @@ export declare class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
49
55
|
gmtCreate?: string;
|
|
50
56
|
/**
|
|
51
57
|
* @remarks
|
|
52
|
-
* The time
|
|
58
|
+
* The last modification time of the deployment task. The value is a UNIX timestamp in seconds.
|
|
53
59
|
*
|
|
54
60
|
* @example
|
|
55
61
|
* 1606482979000
|
|
@@ -57,7 +63,7 @@ export declare class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
57
63
|
gmtModified?: string;
|
|
58
64
|
/**
|
|
59
65
|
* @remarks
|
|
60
|
-
* The deployment task ID. You can use this ID to query the
|
|
66
|
+
* The deployment task ID. You can use this ID to query the details and status of the deployment task.
|
|
61
67
|
*
|
|
62
68
|
* @example
|
|
63
69
|
* 19975
|
|
@@ -73,10 +79,9 @@ export declare class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
73
79
|
instanceId?: string;
|
|
74
80
|
/**
|
|
75
81
|
* @remarks
|
|
76
|
-
* The task type.
|
|
77
|
-
*
|
|
78
|
-
* - **
|
|
79
|
-
* - **user**: cloud service deployment task (excluding ECS instances).
|
|
82
|
+
* The task type.
|
|
83
|
+
* - **cloud**: multi-cloud deployment task
|
|
84
|
+
* - **user**: cloud service deployment task (excluding ECS instances)
|
|
80
85
|
*
|
|
81
86
|
* @example
|
|
82
87
|
* user
|
|
@@ -100,10 +105,9 @@ export declare class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
100
105
|
productName?: string;
|
|
101
106
|
/**
|
|
102
107
|
* @remarks
|
|
103
|
-
* Indicates whether the task contains a rollback worker. For example, if a cloud service in the task has been rolled back, the value **1** is returned.
|
|
104
|
-
*
|
|
105
|
-
* - **
|
|
106
|
-
* - **1**: contains a rollback worker.
|
|
108
|
+
* Indicates whether the task contains a rollback worker. For example, if a cloud service in the task has been rolled back, the value **1** is returned.
|
|
109
|
+
* - **0**: The task does not contain a rollback worker.
|
|
110
|
+
* - **1**: The task contains a rollback worker.
|
|
107
111
|
*
|
|
108
112
|
* @example
|
|
109
113
|
* 1
|
|
@@ -111,7 +115,7 @@ export declare class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
111
115
|
rollback?: number;
|
|
112
116
|
/**
|
|
113
117
|
* @remarks
|
|
114
|
-
* The
|
|
118
|
+
* The scheduling time of the task. The value is a UNIX timestamp in seconds.
|
|
115
119
|
*
|
|
116
120
|
* @example
|
|
117
121
|
* 1606482979000
|
|
@@ -119,7 +123,7 @@ export declare class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
119
123
|
scheduleTime?: string;
|
|
120
124
|
/**
|
|
121
125
|
* @remarks
|
|
122
|
-
* The start time of the deployment task execution
|
|
126
|
+
* The start time of the deployment task execution. The value is a UNIX timestamp in seconds.
|
|
123
127
|
*
|
|
124
128
|
* @example
|
|
125
129
|
* 1606482979000
|
|
@@ -127,14 +131,13 @@ export declare class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
127
131
|
startTime?: string;
|
|
128
132
|
/**
|
|
129
133
|
* @remarks
|
|
130
|
-
* The deployment task status.
|
|
131
|
-
*
|
|
132
|
-
* - **
|
|
133
|
-
* - **
|
|
134
|
-
* - **
|
|
135
|
-
* - **
|
|
136
|
-
* - **
|
|
137
|
-
* - **success**: deployment succeeded.
|
|
134
|
+
* The deployment task status.
|
|
135
|
+
* - **pending**: pending
|
|
136
|
+
* - **editing**: editing
|
|
137
|
+
* - **scheduling**: scheduling
|
|
138
|
+
* - **processing**: deploying
|
|
139
|
+
* - **error**: deployment failed
|
|
140
|
+
* - **success**: deployment successful
|
|
138
141
|
*
|
|
139
142
|
* @example
|
|
140
143
|
* scheduling
|
|
@@ -170,12 +173,12 @@ export declare class ListDeploymentJobResponseBody extends $dara.Model {
|
|
|
170
173
|
currentPage?: number;
|
|
171
174
|
/**
|
|
172
175
|
* @remarks
|
|
173
|
-
* The data returned
|
|
176
|
+
* The data returned in the response.
|
|
174
177
|
*/
|
|
175
178
|
data?: ListDeploymentJobResponseBodyData[];
|
|
176
179
|
/**
|
|
177
180
|
* @remarks
|
|
178
|
-
* The request ID.
|
|
181
|
+
* The request ID. This ID is generated by Alibaba Cloud for the request and can be used to troubleshoot and locate issues.
|
|
179
182
|
*
|
|
180
183
|
* @example
|
|
181
184
|
* 12345678-1234-1234-1234-123456789ABC
|
|
@@ -183,7 +186,7 @@ export declare class ListDeploymentJobResponseBody extends $dara.Model {
|
|
|
183
186
|
requestId?: string;
|
|
184
187
|
/**
|
|
185
188
|
* @remarks
|
|
186
|
-
* The number of deployment tasks
|
|
189
|
+
* The number of deployment tasks returned on each page. Default value: **50**.
|
|
187
190
|
*
|
|
188
191
|
* @example
|
|
189
192
|
* 50
|
|
@@ -191,7 +194,7 @@ export declare class ListDeploymentJobResponseBody extends $dara.Model {
|
|
|
191
194
|
showSize?: number;
|
|
192
195
|
/**
|
|
193
196
|
* @remarks
|
|
194
|
-
* The total number of deployment tasks
|
|
197
|
+
* The total number of deployment tasks queried.
|
|
195
198
|
*
|
|
196
199
|
* @example
|
|
197
200
|
* 7
|
|
@@ -41,6 +41,7 @@ class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
41
41
|
return {
|
|
42
42
|
certDomain: 'CertDomain',
|
|
43
43
|
certType: 'CertType',
|
|
44
|
+
certificates: 'Certificates',
|
|
44
45
|
del: 'Del',
|
|
45
46
|
endTime: 'EndTime',
|
|
46
47
|
gmtCreate: 'GmtCreate',
|
|
@@ -61,6 +62,7 @@ class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
61
62
|
return {
|
|
62
63
|
certDomain: 'string',
|
|
63
64
|
certType: 'string',
|
|
65
|
+
certificates: 'any',
|
|
64
66
|
del: 'number',
|
|
65
67
|
endTime: 'string',
|
|
66
68
|
gmtCreate: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListDeploymentJobResponseBody.js","sourceRoot":"","sources":["../../src/models/ListDeploymentJobResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ListDeploymentJobResponseBody.js","sourceRoot":"","sources":["../../src/models/ListDeploymentJobResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAwJhE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,YAAY,EAAE,cAAc;YAC5B,GAAG,EAAE,KAAK;YACV,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;YAC1B,EAAE,EAAE,IAAI;YACR,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,YAAY,EAAE,KAAK;YACnB,GAAG,EAAE,QAAQ;YACb,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;YACrB,EAAE,EAAE,QAAQ;YACZ,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3MD,8EA2MC;AAED,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAsC5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,iCAAiC,EAAE;YACxE,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,sEAoEC"}
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2194,9 +2194,9 @@ export default class Client extends OpenApi {
|
|
|
2194
2194
|
* Retrieves the number of certificate resource plans.
|
|
2195
2195
|
*
|
|
2196
2196
|
* @remarks
|
|
2197
|
-
*
|
|
2198
|
-
* ##
|
|
2199
|
-
* The
|
|
2197
|
+
* This operation queries the number of CA certificates that you have created, including root CA certificates and subordinate CA certificates.
|
|
2198
|
+
* ## Rate limit
|
|
2199
|
+
* The rate limit for this operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation as needed.
|
|
2200
2200
|
*
|
|
2201
2201
|
* @param request - GetCertificatePackageCountRequest
|
|
2202
2202
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2223,9 +2223,9 @@ export default class Client extends OpenApi {
|
|
|
2223
2223
|
* Retrieves the number of certificate resource plans.
|
|
2224
2224
|
*
|
|
2225
2225
|
* @remarks
|
|
2226
|
-
*
|
|
2227
|
-
* ##
|
|
2228
|
-
* The
|
|
2226
|
+
* This operation queries the number of CA certificates that you have created, including root CA certificates and subordinate CA certificates.
|
|
2227
|
+
* ## Rate limit
|
|
2228
|
+
* The rate limit for this operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation as needed.
|
|
2229
2229
|
*
|
|
2230
2230
|
* @param request - GetCertificatePackageCountRequest
|
|
2231
2231
|
* @returns GetCertificatePackageCountResponse
|
|
@@ -3229,7 +3229,10 @@ export default class Client extends OpenApi {
|
|
|
3229
3229
|
}
|
|
3230
3230
|
|
|
3231
3231
|
/**
|
|
3232
|
-
*
|
|
3232
|
+
* Queries the list of deployment tasks.
|
|
3233
|
+
*
|
|
3234
|
+
* @remarks
|
|
3235
|
+
* After a task is created, it is in the editing state. You must call the UpdateDeploymentJobStatus operation to change the state to pending. Otherwise, the task will not be executed.
|
|
3233
3236
|
*
|
|
3234
3237
|
* @param request - ListDeploymentJobRequest
|
|
3235
3238
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3238,10 +3241,18 @@ export default class Client extends OpenApi {
|
|
|
3238
3241
|
async listDeploymentJobWithOptions(request: $_model.ListDeploymentJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListDeploymentJobResponse> {
|
|
3239
3242
|
request.validate();
|
|
3240
3243
|
let query = { };
|
|
3244
|
+
if (!$dara.isNull(request.certId)) {
|
|
3245
|
+
query["CertId"] = request.certId;
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3241
3248
|
if (!$dara.isNull(request.currentPage)) {
|
|
3242
3249
|
query["CurrentPage"] = request.currentPage;
|
|
3243
3250
|
}
|
|
3244
3251
|
|
|
3252
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
3253
|
+
query["InstanceId"] = request.instanceId;
|
|
3254
|
+
}
|
|
3255
|
+
|
|
3245
3256
|
if (!$dara.isNull(request.jobType)) {
|
|
3246
3257
|
query["JobType"] = request.jobType;
|
|
3247
3258
|
}
|
|
@@ -3272,7 +3283,10 @@ export default class Client extends OpenApi {
|
|
|
3272
3283
|
}
|
|
3273
3284
|
|
|
3274
3285
|
/**
|
|
3275
|
-
*
|
|
3286
|
+
* Queries the list of deployment tasks.
|
|
3287
|
+
*
|
|
3288
|
+
* @remarks
|
|
3289
|
+
* After a task is created, it is in the editing state. You must call the UpdateDeploymentJobStatus operation to change the state to pending. Otherwise, the task will not be executed.
|
|
3276
3290
|
*
|
|
3277
3291
|
* @param request - ListDeploymentJobRequest
|
|
3278
3292
|
* @returns ListDeploymentJobResponse
|
|
@@ -13,7 +13,7 @@ export class GetCertificatePackageCountResponseBody extends $dara.Model {
|
|
|
13
13
|
noticeCountDetail?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The details of certificate
|
|
16
|
+
* The product details of certificate brands.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* [
|
|
@@ -32,7 +32,7 @@ export class GetCertificatePackageCountResponseBody extends $dara.Model {
|
|
|
32
32
|
productCountList?: string;
|
|
33
33
|
/**
|
|
34
34
|
* @remarks
|
|
35
|
-
* The acceleration gateway
|
|
35
|
+
* The forwarding quota of the acceleration gateway.
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
38
38
|
* {TotalCount=116900, RemainCount=90448, AutoPay=0, AutoPayCount=5000, UsedCount=26452}
|
|
@@ -40,7 +40,7 @@ export class GetCertificatePackageCountResponseBody extends $dara.Model {
|
|
|
40
40
|
proxyCountDetail?: string;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The request
|
|
43
|
+
* The ID of the request.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* 08F45EA0-66A7-4504-9B31-3589F5CE308D
|
|
@@ -48,7 +48,7 @@ export class GetCertificatePackageCountResponseBody extends $dara.Model {
|
|
|
48
48
|
requestId?: string;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The total number of domain names bound to certificates.
|
|
51
|
+
* The total number of domain names bound to the certificates.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* {TotalCount=573, RemainCount=243, FreeQuota=10, UsedCount=330}
|
|
@@ -5,12 +5,29 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListDeploymentJobRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The certificate ID.
|
|
9
|
+
* > You can obtain this ID by calling the [ListUserCertificateOrder](https://help.aliyun.com/document_detail/455804.html) operation.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 23982365
|
|
13
|
+
*/
|
|
14
|
+
certId?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The current page number. Default value: 1.
|
|
9
18
|
*
|
|
10
19
|
* @example
|
|
11
20
|
* 1
|
|
12
21
|
*/
|
|
13
22
|
currentPage?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The instance ID.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* cas-ivauto-hqito6
|
|
29
|
+
*/
|
|
30
|
+
instanceId?: string;
|
|
14
31
|
/**
|
|
15
32
|
* @remarks
|
|
16
33
|
* The task type.
|
|
@@ -21,7 +38,7 @@ export class ListDeploymentJobRequest extends $dara.Model {
|
|
|
21
38
|
jobType?: string;
|
|
22
39
|
/**
|
|
23
40
|
* @remarks
|
|
24
|
-
* The number of certificates to
|
|
41
|
+
* The paging Settings for the number of certificates to return on each page during a paged query. Default value: **50**.
|
|
25
42
|
*
|
|
26
43
|
* @example
|
|
27
44
|
* 50
|
|
@@ -37,7 +54,9 @@ export class ListDeploymentJobRequest extends $dara.Model {
|
|
|
37
54
|
status?: string;
|
|
38
55
|
static names(): { [key: string]: string } {
|
|
39
56
|
return {
|
|
57
|
+
certId: 'CertId',
|
|
40
58
|
currentPage: 'CurrentPage',
|
|
59
|
+
instanceId: 'InstanceId',
|
|
41
60
|
jobType: 'JobType',
|
|
42
61
|
showSize: 'ShowSize',
|
|
43
62
|
status: 'Status',
|
|
@@ -46,7 +65,9 @@ export class ListDeploymentJobRequest extends $dara.Model {
|
|
|
46
65
|
|
|
47
66
|
static types(): { [key: string]: any } {
|
|
48
67
|
return {
|
|
68
|
+
certId: 'number',
|
|
49
69
|
currentPage: 'number',
|
|
70
|
+
instanceId: 'string',
|
|
50
71
|
jobType: 'string',
|
|
51
72
|
showSize: 'number',
|
|
52
73
|
status: 'string',
|
|
@@ -13,8 +13,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
13
13
|
certDomain?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The certificate type.
|
|
17
|
-
*
|
|
16
|
+
* The certificate type.
|
|
18
17
|
* - **upload**: uploaded certificate
|
|
19
18
|
* - **buy**: purchased certificate
|
|
20
19
|
* - **free**: personal test certificate (supported only on the China site)
|
|
@@ -25,10 +24,17 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
25
24
|
certType?: string;
|
|
26
25
|
/**
|
|
27
26
|
* @remarks
|
|
28
|
-
* The
|
|
27
|
+
* The list of SSL certificates.
|
|
29
28
|
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
29
|
+
* @example
|
|
30
|
+
* [{\\"Type\\": \\"Server\\", \\"Id\\": \\"22803164-cn-hangzhou\\"}]
|
|
31
|
+
*/
|
|
32
|
+
certificates?: any;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The deletion flag. This field has no practical meaning.
|
|
36
|
+
* - **0**: not deleted
|
|
37
|
+
* - **1**: deleted
|
|
32
38
|
*
|
|
33
39
|
* @example
|
|
34
40
|
* 1
|
|
@@ -36,7 +42,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
36
42
|
del?: number;
|
|
37
43
|
/**
|
|
38
44
|
* @remarks
|
|
39
|
-
* The end time of the deployment task execution
|
|
45
|
+
* The end time of the deployment task execution. The value is a UNIX timestamp in seconds.
|
|
40
46
|
*
|
|
41
47
|
* @example
|
|
42
48
|
* 1606482979000
|
|
@@ -44,7 +50,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
44
50
|
endTime?: string;
|
|
45
51
|
/**
|
|
46
52
|
* @remarks
|
|
47
|
-
* The time
|
|
53
|
+
* The creation time of the deployment task. The value is a UNIX timestamp in seconds.
|
|
48
54
|
*
|
|
49
55
|
* @example
|
|
50
56
|
* 1624343180000
|
|
@@ -52,7 +58,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
52
58
|
gmtCreate?: string;
|
|
53
59
|
/**
|
|
54
60
|
* @remarks
|
|
55
|
-
* The time
|
|
61
|
+
* The last modification time of the deployment task. The value is a UNIX timestamp in seconds.
|
|
56
62
|
*
|
|
57
63
|
* @example
|
|
58
64
|
* 1606482979000
|
|
@@ -60,7 +66,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
60
66
|
gmtModified?: string;
|
|
61
67
|
/**
|
|
62
68
|
* @remarks
|
|
63
|
-
* The deployment task ID. You can use this ID to query the
|
|
69
|
+
* The deployment task ID. You can use this ID to query the details and status of the deployment task.
|
|
64
70
|
*
|
|
65
71
|
* @example
|
|
66
72
|
* 19975
|
|
@@ -76,10 +82,9 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
76
82
|
instanceId?: string;
|
|
77
83
|
/**
|
|
78
84
|
* @remarks
|
|
79
|
-
* The task type.
|
|
80
|
-
*
|
|
81
|
-
* - **
|
|
82
|
-
* - **user**: cloud service deployment task (excluding ECS instances).
|
|
85
|
+
* The task type.
|
|
86
|
+
* - **cloud**: multi-cloud deployment task
|
|
87
|
+
* - **user**: cloud service deployment task (excluding ECS instances)
|
|
83
88
|
*
|
|
84
89
|
* @example
|
|
85
90
|
* user
|
|
@@ -103,10 +108,9 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
103
108
|
productName?: string;
|
|
104
109
|
/**
|
|
105
110
|
* @remarks
|
|
106
|
-
* Indicates whether the task contains a rollback worker. For example, if a cloud service in the task has been rolled back, the value **1** is returned.
|
|
107
|
-
*
|
|
108
|
-
* - **
|
|
109
|
-
* - **1**: contains a rollback worker.
|
|
111
|
+
* Indicates whether the task contains a rollback worker. For example, if a cloud service in the task has been rolled back, the value **1** is returned.
|
|
112
|
+
* - **0**: The task does not contain a rollback worker.
|
|
113
|
+
* - **1**: The task contains a rollback worker.
|
|
110
114
|
*
|
|
111
115
|
* @example
|
|
112
116
|
* 1
|
|
@@ -114,7 +118,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
114
118
|
rollback?: number;
|
|
115
119
|
/**
|
|
116
120
|
* @remarks
|
|
117
|
-
* The
|
|
121
|
+
* The scheduling time of the task. The value is a UNIX timestamp in seconds.
|
|
118
122
|
*
|
|
119
123
|
* @example
|
|
120
124
|
* 1606482979000
|
|
@@ -122,7 +126,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
122
126
|
scheduleTime?: string;
|
|
123
127
|
/**
|
|
124
128
|
* @remarks
|
|
125
|
-
* The start time of the deployment task execution
|
|
129
|
+
* The start time of the deployment task execution. The value is a UNIX timestamp in seconds.
|
|
126
130
|
*
|
|
127
131
|
* @example
|
|
128
132
|
* 1606482979000
|
|
@@ -130,14 +134,13 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
130
134
|
startTime?: string;
|
|
131
135
|
/**
|
|
132
136
|
* @remarks
|
|
133
|
-
* The deployment task status.
|
|
134
|
-
*
|
|
135
|
-
* - **
|
|
136
|
-
* - **
|
|
137
|
-
* - **
|
|
138
|
-
* - **
|
|
139
|
-
* - **
|
|
140
|
-
* - **success**: deployment succeeded.
|
|
137
|
+
* The deployment task status.
|
|
138
|
+
* - **pending**: pending
|
|
139
|
+
* - **editing**: editing
|
|
140
|
+
* - **scheduling**: scheduling
|
|
141
|
+
* - **processing**: deploying
|
|
142
|
+
* - **error**: deployment failed
|
|
143
|
+
* - **success**: deployment successful
|
|
141
144
|
*
|
|
142
145
|
* @example
|
|
143
146
|
* scheduling
|
|
@@ -155,6 +158,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
155
158
|
return {
|
|
156
159
|
certDomain: 'CertDomain',
|
|
157
160
|
certType: 'CertType',
|
|
161
|
+
certificates: 'Certificates',
|
|
158
162
|
del: 'Del',
|
|
159
163
|
endTime: 'EndTime',
|
|
160
164
|
gmtCreate: 'GmtCreate',
|
|
@@ -176,6 +180,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
|
|
|
176
180
|
return {
|
|
177
181
|
certDomain: 'string',
|
|
178
182
|
certType: 'string',
|
|
183
|
+
certificates: 'any',
|
|
179
184
|
del: 'number',
|
|
180
185
|
endTime: 'string',
|
|
181
186
|
gmtCreate: 'string',
|
|
@@ -213,12 +218,12 @@ export class ListDeploymentJobResponseBody extends $dara.Model {
|
|
|
213
218
|
currentPage?: number;
|
|
214
219
|
/**
|
|
215
220
|
* @remarks
|
|
216
|
-
* The data returned
|
|
221
|
+
* The data returned in the response.
|
|
217
222
|
*/
|
|
218
223
|
data?: ListDeploymentJobResponseBodyData[];
|
|
219
224
|
/**
|
|
220
225
|
* @remarks
|
|
221
|
-
* The request ID.
|
|
226
|
+
* The request ID. This ID is generated by Alibaba Cloud for the request and can be used to troubleshoot and locate issues.
|
|
222
227
|
*
|
|
223
228
|
* @example
|
|
224
229
|
* 12345678-1234-1234-1234-123456789ABC
|
|
@@ -226,7 +231,7 @@ export class ListDeploymentJobResponseBody extends $dara.Model {
|
|
|
226
231
|
requestId?: string;
|
|
227
232
|
/**
|
|
228
233
|
* @remarks
|
|
229
|
-
* The number of deployment tasks
|
|
234
|
+
* The number of deployment tasks returned on each page. Default value: **50**.
|
|
230
235
|
*
|
|
231
236
|
* @example
|
|
232
237
|
* 50
|
|
@@ -234,7 +239,7 @@ export class ListDeploymentJobResponseBody extends $dara.Model {
|
|
|
234
239
|
showSize?: number;
|
|
235
240
|
/**
|
|
236
241
|
* @remarks
|
|
237
|
-
* The total number of deployment tasks
|
|
242
|
+
* The total number of deployment tasks queried.
|
|
238
243
|
*
|
|
239
244
|
* @example
|
|
240
245
|
* 7
|