@alicloud/sae20190506 2.7.1 → 2.8.1
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 +18 -0
- package/dist/client.js +48 -0
- package/dist/client.js.map +1 -1
- package/dist/models/BatchRestartApplicationsRequest.d.ts +29 -0
- package/dist/models/BatchRestartApplicationsRequest.js +60 -0
- package/dist/models/BatchRestartApplicationsRequest.js.map +1 -0
- package/dist/models/BatchRestartApplicationsResponse.d.ts +19 -0
- package/dist/models/BatchRestartApplicationsResponse.js +69 -0
- package/dist/models/BatchRestartApplicationsResponse.js.map +1 -0
- package/dist/models/BatchRestartApplicationsResponseBody.d.ts +57 -0
- package/dist/models/BatchRestartApplicationsResponseBody.js +92 -0
- package/dist/models/BatchRestartApplicationsResponseBody.js.map +1 -0
- package/dist/models/DeployApplicationRequest.d.ts +1 -0
- package/dist/models/DeployApplicationRequest.js +2 -0
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +1 -0
- package/dist/models/DeployApplicationShrinkRequest.js +2 -0
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationConfigResponseBody.d.ts +1 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js +2 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +26 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +53 -0
- package/src/models/BatchRestartApplicationsRequest.ts +44 -0
- package/src/models/BatchRestartApplicationsResponse.ts +40 -0
- package/src/models/BatchRestartApplicationsResponseBody.ts +95 -0
- package/src/models/DeployApplicationRequest.ts +3 -0
- package/src/models/DeployApplicationShrinkRequest.ts +3 -0
- package/src/models/DescribeApplicationConfigResponseBody.ts +3 -0
- package/src/models/model.ts +4 -0
package/dist/client.d.ts
CHANGED
|
@@ -44,6 +44,24 @@ export default class Client extends OpenApi {
|
|
|
44
44
|
* @returns AbortChangeOrderResponse
|
|
45
45
|
*/
|
|
46
46
|
abortChangeOrder(request: $_model.AbortChangeOrderRequest): Promise<$_model.AbortChangeOrderResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* 批量重启应用
|
|
49
|
+
*
|
|
50
|
+
* @param request - BatchRestartApplicationsRequest
|
|
51
|
+
* @param headers - map
|
|
52
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
53
|
+
* @returns BatchRestartApplicationsResponse
|
|
54
|
+
*/
|
|
55
|
+
batchRestartApplicationsWithOptions(request: $_model.BatchRestartApplicationsRequest, headers: {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.BatchRestartApplicationsResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* 批量重启应用
|
|
60
|
+
*
|
|
61
|
+
* @param request - BatchRestartApplicationsRequest
|
|
62
|
+
* @returns BatchRestartApplicationsResponse
|
|
63
|
+
*/
|
|
64
|
+
batchRestartApplications(request: $_model.BatchRestartApplicationsRequest): Promise<$_model.BatchRestartApplicationsResponse>;
|
|
47
65
|
/**
|
|
48
66
|
* Starts multiple applications at a time.
|
|
49
67
|
*
|
package/dist/client.js
CHANGED
|
@@ -148,6 +148,51 @@ class Client extends openapi_core_1.default {
|
|
|
148
148
|
let headers = {};
|
|
149
149
|
return await this.abortChangeOrderWithOptions(request, headers, runtime);
|
|
150
150
|
}
|
|
151
|
+
/**
|
|
152
|
+
* 批量重启应用
|
|
153
|
+
*
|
|
154
|
+
* @param request - BatchRestartApplicationsRequest
|
|
155
|
+
* @param headers - map
|
|
156
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
157
|
+
* @returns BatchRestartApplicationsResponse
|
|
158
|
+
*/
|
|
159
|
+
async batchRestartApplicationsWithOptions(request, headers, runtime) {
|
|
160
|
+
request.validate();
|
|
161
|
+
let query = {};
|
|
162
|
+
if (!$dara.isNull(request.appIds)) {
|
|
163
|
+
query["AppIds"] = request.appIds;
|
|
164
|
+
}
|
|
165
|
+
if (!$dara.isNull(request.namespaceId)) {
|
|
166
|
+
query["NamespaceId"] = request.namespaceId;
|
|
167
|
+
}
|
|
168
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
169
|
+
headers: headers,
|
|
170
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
171
|
+
});
|
|
172
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
173
|
+
action: "BatchRestartApplications",
|
|
174
|
+
version: "2019-05-06",
|
|
175
|
+
protocol: "HTTPS",
|
|
176
|
+
pathname: `/pop/v1/sam/app/batchRestartApplications`,
|
|
177
|
+
method: "PUT",
|
|
178
|
+
authType: "AK",
|
|
179
|
+
style: "ROA",
|
|
180
|
+
reqBodyType: "json",
|
|
181
|
+
bodyType: "json",
|
|
182
|
+
});
|
|
183
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchRestartApplicationsResponse({}));
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* 批量重启应用
|
|
187
|
+
*
|
|
188
|
+
* @param request - BatchRestartApplicationsRequest
|
|
189
|
+
* @returns BatchRestartApplicationsResponse
|
|
190
|
+
*/
|
|
191
|
+
async batchRestartApplications(request) {
|
|
192
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
193
|
+
let headers = {};
|
|
194
|
+
return await this.batchRestartApplicationsWithOptions(request, headers, runtime);
|
|
195
|
+
}
|
|
151
196
|
/**
|
|
152
197
|
* Starts multiple applications at a time.
|
|
153
198
|
*
|
|
@@ -2196,6 +2241,9 @@ class Client extends openapi_core_1.default {
|
|
|
2196
2241
|
if (!$dara.isNull(request.acrAssumeRoleArn)) {
|
|
2197
2242
|
query["AcrAssumeRoleArn"] = request.acrAssumeRoleArn;
|
|
2198
2243
|
}
|
|
2244
|
+
if (!$dara.isNull(request.albIngressReadinessGate)) {
|
|
2245
|
+
query["AlbIngressReadinessGate"] = request.albIngressReadinessGate;
|
|
2246
|
+
}
|
|
2199
2247
|
if (!$dara.isNull(request.appId)) {
|
|
2200
2248
|
query["AppId"] = request.appId;
|
|
2201
2249
|
}
|