@alicloud/esa20240910 2.31.0 → 2.32.0
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 +75 -0
- package/dist/client.js +235 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateRecordRequest.d.ts +2 -0
- package/dist/models/CreateRecordRequest.js.map +1 -1
- package/dist/models/CreateRecordShrinkRequest.d.ts +2 -0
- package/dist/models/CreateRecordShrinkRequest.js.map +1 -1
- package/dist/models/CreateTransportLayerApplicationRequest.d.ts +98 -0
- package/dist/models/CreateTransportLayerApplicationRequest.js +102 -0
- package/dist/models/CreateTransportLayerApplicationRequest.js.map +1 -0
- package/dist/models/CreateTransportLayerApplicationResponse.d.ts +19 -0
- package/dist/models/CreateTransportLayerApplicationResponse.js +69 -0
- package/dist/models/CreateTransportLayerApplicationResponse.js.map +1 -0
- package/dist/models/CreateTransportLayerApplicationResponseBody.d.ts +23 -0
- package/dist/models/CreateTransportLayerApplicationResponseBody.js +60 -0
- package/dist/models/CreateTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.d.ts +37 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.js +68 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.js.map +1 -0
- package/dist/models/DeleteRecordRequest.d.ts +1 -0
- package/dist/models/DeleteRecordRequest.js +2 -0
- package/dist/models/DeleteRecordRequest.js.map +1 -1
- package/dist/models/DeleteTransportLayerApplicationRequest.d.ts +29 -0
- package/dist/models/DeleteTransportLayerApplicationRequest.js +60 -0
- package/dist/models/DeleteTransportLayerApplicationRequest.js.map +1 -0
- package/dist/models/DeleteTransportLayerApplicationResponse.d.ts +19 -0
- package/dist/models/DeleteTransportLayerApplicationResponse.js +69 -0
- package/dist/models/DeleteTransportLayerApplicationResponse.js.map +1 -0
- package/dist/models/DeleteTransportLayerApplicationResponseBody.d.ts +18 -0
- package/dist/models/DeleteTransportLayerApplicationResponseBody.js +58 -0
- package/dist/models/DeleteTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/GetTransportLayerApplicationRequest.d.ts +29 -0
- package/dist/models/GetTransportLayerApplicationRequest.js +60 -0
- package/dist/models/GetTransportLayerApplicationRequest.js.map +1 -0
- package/dist/models/GetTransportLayerApplicationResponse.d.ts +19 -0
- package/dist/models/GetTransportLayerApplicationResponse.js +69 -0
- package/dist/models/GetTransportLayerApplicationResponse.js.map +1 -0
- package/dist/models/GetTransportLayerApplicationResponseBody.d.ts +99 -0
- package/dist/models/GetTransportLayerApplicationResponseBody.js +114 -0
- package/dist/models/GetTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/ListTransportLayerApplicationsRequest.d.ts +41 -0
- package/dist/models/ListTransportLayerApplicationsRequest.js +66 -0
- package/dist/models/ListTransportLayerApplicationsRequest.js.map +1 -0
- package/dist/models/ListTransportLayerApplicationsResponse.d.ts +19 -0
- package/dist/models/ListTransportLayerApplicationsResponse.js +69 -0
- package/dist/models/ListTransportLayerApplicationsResponse.js.map +1 -0
- package/dist/models/ListTransportLayerApplicationsResponseBody.d.ts +124 -0
- package/dist/models/ListTransportLayerApplicationsResponseBody.js +142 -0
- package/dist/models/ListTransportLayerApplicationsResponseBody.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationRequest.d.ts +80 -0
- package/dist/models/UpdateTransportLayerApplicationRequest.js +102 -0
- package/dist/models/UpdateTransportLayerApplicationRequest.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationResponse.d.ts +19 -0
- package/dist/models/UpdateTransportLayerApplicationResponse.js +69 -0
- package/dist/models/UpdateTransportLayerApplicationResponse.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationResponseBody.d.ts +18 -0
- package/dist/models/UpdateTransportLayerApplicationResponseBody.js +58 -0
- package/dist/models/UpdateTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.d.ts +33 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js +68 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +22 -0
- package/dist/models/model.js +72 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +262 -0
- package/src/models/CreateRecordRequest.ts +2 -0
- package/src/models/CreateRecordShrinkRequest.ts +2 -0
- package/src/models/CreateTransportLayerApplicationRequest.ts +146 -0
- package/src/models/CreateTransportLayerApplicationResponse.ts +40 -0
- package/src/models/CreateTransportLayerApplicationResponseBody.ts +38 -0
- package/src/models/CreateTransportLayerApplicationShrinkRequest.ts +60 -0
- package/src/models/DeleteRecordRequest.ts +3 -0
- package/src/models/DeleteTransportLayerApplicationRequest.ts +44 -0
- package/src/models/DeleteTransportLayerApplicationResponse.ts +40 -0
- package/src/models/DeleteTransportLayerApplicationResponseBody.ts +31 -0
- package/src/models/GetTransportLayerApplicationRequest.ts +44 -0
- package/src/models/GetTransportLayerApplicationResponse.ts +40 -0
- package/src/models/GetTransportLayerApplicationResponseBody.ts +159 -0
- package/src/models/ListTransportLayerApplicationsRequest.ts +62 -0
- package/src/models/ListTransportLayerApplicationsResponse.ts +40 -0
- package/src/models/ListTransportLayerApplicationsResponseBody.ts +203 -0
- package/src/models/UpdateTransportLayerApplicationRequest.ts +128 -0
- package/src/models/UpdateTransportLayerApplicationResponse.ts +40 -0
- package/src/models/UpdateTransportLayerApplicationResponseBody.ts +31 -0
- package/src/models/UpdateTransportLayerApplicationShrinkRequest.ts +56 -0
- package/src/models/model.ts +22 -0
package/dist/client.d.ts
CHANGED
|
@@ -1008,6 +1008,21 @@ export default class Client extends OpenApi {
|
|
|
1008
1008
|
* @returns CreateSlrRoleForRealtimeLogResponse
|
|
1009
1009
|
*/
|
|
1010
1010
|
createSlrRoleForRealtimeLog(): Promise<$_model.CreateSlrRoleForRealtimeLogResponse>;
|
|
1011
|
+
/**
|
|
1012
|
+
* 创建四层应用
|
|
1013
|
+
*
|
|
1014
|
+
* @param tmpReq - CreateTransportLayerApplicationRequest
|
|
1015
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1016
|
+
* @returns CreateTransportLayerApplicationResponse
|
|
1017
|
+
*/
|
|
1018
|
+
createTransportLayerApplicationWithOptions(tmpReq: $_model.CreateTransportLayerApplicationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateTransportLayerApplicationResponse>;
|
|
1019
|
+
/**
|
|
1020
|
+
* 创建四层应用
|
|
1021
|
+
*
|
|
1022
|
+
* @param request - CreateTransportLayerApplicationRequest
|
|
1023
|
+
* @returns CreateTransportLayerApplicationResponse
|
|
1024
|
+
*/
|
|
1025
|
+
createTransportLayerApplication(request: $_model.CreateTransportLayerApplicationRequest): Promise<$_model.CreateTransportLayerApplicationResponse>;
|
|
1011
1026
|
/**
|
|
1012
1027
|
* 创建网页监测配置
|
|
1013
1028
|
*
|
|
@@ -1762,6 +1777,21 @@ export default class Client extends OpenApi {
|
|
|
1762
1777
|
* @returns DeleteSiteOriginClientCertificateResponse
|
|
1763
1778
|
*/
|
|
1764
1779
|
deleteSiteOriginClientCertificate(request: $_model.DeleteSiteOriginClientCertificateRequest): Promise<$_model.DeleteSiteOriginClientCertificateResponse>;
|
|
1780
|
+
/**
|
|
1781
|
+
* 删除四层应用
|
|
1782
|
+
*
|
|
1783
|
+
* @param request - DeleteTransportLayerApplicationRequest
|
|
1784
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1785
|
+
* @returns DeleteTransportLayerApplicationResponse
|
|
1786
|
+
*/
|
|
1787
|
+
deleteTransportLayerApplicationWithOptions(request: $_model.DeleteTransportLayerApplicationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteTransportLayerApplicationResponse>;
|
|
1788
|
+
/**
|
|
1789
|
+
* 删除四层应用
|
|
1790
|
+
*
|
|
1791
|
+
* @param request - DeleteTransportLayerApplicationRequest
|
|
1792
|
+
* @returns DeleteTransportLayerApplicationResponse
|
|
1793
|
+
*/
|
|
1794
|
+
deleteTransportLayerApplication(request: $_model.DeleteTransportLayerApplicationRequest): Promise<$_model.DeleteTransportLayerApplicationResponse>;
|
|
1765
1795
|
/**
|
|
1766
1796
|
* 删除网页监测配置
|
|
1767
1797
|
*
|
|
@@ -3222,6 +3252,21 @@ export default class Client extends OpenApi {
|
|
|
3222
3252
|
* @returns GetTieredCacheResponse
|
|
3223
3253
|
*/
|
|
3224
3254
|
getTieredCache(request: $_model.GetTieredCacheRequest): Promise<$_model.GetTieredCacheResponse>;
|
|
3255
|
+
/**
|
|
3256
|
+
* 查询四层应用详情
|
|
3257
|
+
*
|
|
3258
|
+
* @param request - GetTransportLayerApplicationRequest
|
|
3259
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3260
|
+
* @returns GetTransportLayerApplicationResponse
|
|
3261
|
+
*/
|
|
3262
|
+
getTransportLayerApplicationWithOptions(request: $_model.GetTransportLayerApplicationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetTransportLayerApplicationResponse>;
|
|
3263
|
+
/**
|
|
3264
|
+
* 查询四层应用详情
|
|
3265
|
+
*
|
|
3266
|
+
* @param request - GetTransportLayerApplicationRequest
|
|
3267
|
+
* @returns GetTransportLayerApplicationResponse
|
|
3268
|
+
*/
|
|
3269
|
+
getTransportLayerApplication(request: $_model.GetTransportLayerApplicationRequest): Promise<$_model.GetTransportLayerApplicationResponse>;
|
|
3225
3270
|
/**
|
|
3226
3271
|
* Queries the execution status and running information of a file upload task based on the task ID.
|
|
3227
3272
|
*
|
|
@@ -4134,6 +4179,21 @@ export default class Client extends OpenApi {
|
|
|
4134
4179
|
* @returns ListTagResourcesResponse
|
|
4135
4180
|
*/
|
|
4136
4181
|
listTagResources(request: $_model.ListTagResourcesRequest): Promise<$_model.ListTagResourcesResponse>;
|
|
4182
|
+
/**
|
|
4183
|
+
* 查询四层应用列表
|
|
4184
|
+
*
|
|
4185
|
+
* @param request - ListTransportLayerApplicationsRequest
|
|
4186
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4187
|
+
* @returns ListTransportLayerApplicationsResponse
|
|
4188
|
+
*/
|
|
4189
|
+
listTransportLayerApplicationsWithOptions(request: $_model.ListTransportLayerApplicationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListTransportLayerApplicationsResponse>;
|
|
4190
|
+
/**
|
|
4191
|
+
* 查询四层应用列表
|
|
4192
|
+
*
|
|
4193
|
+
* @param request - ListTransportLayerApplicationsRequest
|
|
4194
|
+
* @returns ListTransportLayerApplicationsResponse
|
|
4195
|
+
*/
|
|
4196
|
+
listTransportLayerApplications(request: $_model.ListTransportLayerApplicationsRequest): Promise<$_model.ListTransportLayerApplicationsResponse>;
|
|
4137
4197
|
/**
|
|
4138
4198
|
* Queries the execution status and running information of file upload tasks based on the task time and type.
|
|
4139
4199
|
*
|
|
@@ -5471,6 +5531,21 @@ export default class Client extends OpenApi {
|
|
|
5471
5531
|
* @returns UpdateTieredCacheResponse
|
|
5472
5532
|
*/
|
|
5473
5533
|
updateTieredCache(request: $_model.UpdateTieredCacheRequest): Promise<$_model.UpdateTieredCacheResponse>;
|
|
5534
|
+
/**
|
|
5535
|
+
* 修改四层应用
|
|
5536
|
+
*
|
|
5537
|
+
* @param tmpReq - UpdateTransportLayerApplicationRequest
|
|
5538
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5539
|
+
* @returns UpdateTransportLayerApplicationResponse
|
|
5540
|
+
*/
|
|
5541
|
+
updateTransportLayerApplicationWithOptions(tmpReq: $_model.UpdateTransportLayerApplicationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateTransportLayerApplicationResponse>;
|
|
5542
|
+
/**
|
|
5543
|
+
* 修改四层应用
|
|
5544
|
+
*
|
|
5545
|
+
* @param request - UpdateTransportLayerApplicationRequest
|
|
5546
|
+
* @returns UpdateTransportLayerApplicationResponse
|
|
5547
|
+
*/
|
|
5548
|
+
updateTransportLayerApplication(request: $_model.UpdateTransportLayerApplicationRequest): Promise<$_model.UpdateTransportLayerApplicationResponse>;
|
|
5474
5549
|
/**
|
|
5475
5550
|
* 更新网页监测配置
|
|
5476
5551
|
*
|
package/dist/client.js
CHANGED
|
@@ -3453,6 +3453,65 @@ class Client extends openapi_core_1.default {
|
|
|
3453
3453
|
let runtime = new $dara.RuntimeOptions({});
|
|
3454
3454
|
return await this.createSlrRoleForRealtimeLogWithOptions(runtime);
|
|
3455
3455
|
}
|
|
3456
|
+
/**
|
|
3457
|
+
* 创建四层应用
|
|
3458
|
+
*
|
|
3459
|
+
* @param tmpReq - CreateTransportLayerApplicationRequest
|
|
3460
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3461
|
+
* @returns CreateTransportLayerApplicationResponse
|
|
3462
|
+
*/
|
|
3463
|
+
async createTransportLayerApplicationWithOptions(tmpReq, runtime) {
|
|
3464
|
+
tmpReq.validate();
|
|
3465
|
+
let request = new $_model.CreateTransportLayerApplicationShrinkRequest({});
|
|
3466
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3467
|
+
if (!$dara.isNull(tmpReq.rules)) {
|
|
3468
|
+
request.rulesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
3469
|
+
}
|
|
3470
|
+
let query = {};
|
|
3471
|
+
if (!$dara.isNull(request.crossBorderOptimization)) {
|
|
3472
|
+
query["CrossBorderOptimization"] = request.crossBorderOptimization;
|
|
3473
|
+
}
|
|
3474
|
+
if (!$dara.isNull(request.ipAccessRule)) {
|
|
3475
|
+
query["IpAccessRule"] = request.ipAccessRule;
|
|
3476
|
+
}
|
|
3477
|
+
if (!$dara.isNull(request.ipv6)) {
|
|
3478
|
+
query["Ipv6"] = request.ipv6;
|
|
3479
|
+
}
|
|
3480
|
+
if (!$dara.isNull(request.recordName)) {
|
|
3481
|
+
query["RecordName"] = request.recordName;
|
|
3482
|
+
}
|
|
3483
|
+
if (!$dara.isNull(request.rulesShrink)) {
|
|
3484
|
+
query["Rules"] = request.rulesShrink;
|
|
3485
|
+
}
|
|
3486
|
+
if (!$dara.isNull(request.siteId)) {
|
|
3487
|
+
query["SiteId"] = request.siteId;
|
|
3488
|
+
}
|
|
3489
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3490
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3491
|
+
});
|
|
3492
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3493
|
+
action: "CreateTransportLayerApplication",
|
|
3494
|
+
version: "2024-09-10",
|
|
3495
|
+
protocol: "HTTPS",
|
|
3496
|
+
pathname: "/",
|
|
3497
|
+
method: "POST",
|
|
3498
|
+
authType: "AK",
|
|
3499
|
+
style: "RPC",
|
|
3500
|
+
reqBodyType: "formData",
|
|
3501
|
+
bodyType: "json",
|
|
3502
|
+
});
|
|
3503
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateTransportLayerApplicationResponse({}));
|
|
3504
|
+
}
|
|
3505
|
+
/**
|
|
3506
|
+
* 创建四层应用
|
|
3507
|
+
*
|
|
3508
|
+
* @param request - CreateTransportLayerApplicationRequest
|
|
3509
|
+
* @returns CreateTransportLayerApplicationResponse
|
|
3510
|
+
*/
|
|
3511
|
+
async createTransportLayerApplication(request) {
|
|
3512
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3513
|
+
return await this.createTransportLayerApplicationWithOptions(request, runtime);
|
|
3514
|
+
}
|
|
3456
3515
|
/**
|
|
3457
3516
|
* 创建网页监测配置
|
|
3458
3517
|
*
|
|
@@ -5178,6 +5237,9 @@ class Client extends openapi_core_1.default {
|
|
|
5178
5237
|
if (!$dara.isNull(request.recordId)) {
|
|
5179
5238
|
query["RecordId"] = request.recordId;
|
|
5180
5239
|
}
|
|
5240
|
+
if (!$dara.isNull(request.securityToken)) {
|
|
5241
|
+
query["SecurityToken"] = request.securityToken;
|
|
5242
|
+
}
|
|
5181
5243
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5182
5244
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5183
5245
|
});
|
|
@@ -5662,6 +5724,48 @@ class Client extends openapi_core_1.default {
|
|
|
5662
5724
|
let runtime = new $dara.RuntimeOptions({});
|
|
5663
5725
|
return await this.deleteSiteOriginClientCertificateWithOptions(request, runtime);
|
|
5664
5726
|
}
|
|
5727
|
+
/**
|
|
5728
|
+
* 删除四层应用
|
|
5729
|
+
*
|
|
5730
|
+
* @param request - DeleteTransportLayerApplicationRequest
|
|
5731
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5732
|
+
* @returns DeleteTransportLayerApplicationResponse
|
|
5733
|
+
*/
|
|
5734
|
+
async deleteTransportLayerApplicationWithOptions(request, runtime) {
|
|
5735
|
+
request.validate();
|
|
5736
|
+
let query = {};
|
|
5737
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
5738
|
+
query["ApplicationId"] = request.applicationId;
|
|
5739
|
+
}
|
|
5740
|
+
if (!$dara.isNull(request.siteId)) {
|
|
5741
|
+
query["SiteId"] = request.siteId;
|
|
5742
|
+
}
|
|
5743
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5744
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5745
|
+
});
|
|
5746
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5747
|
+
action: "DeleteTransportLayerApplication",
|
|
5748
|
+
version: "2024-09-10",
|
|
5749
|
+
protocol: "HTTPS",
|
|
5750
|
+
pathname: "/",
|
|
5751
|
+
method: "POST",
|
|
5752
|
+
authType: "AK",
|
|
5753
|
+
style: "RPC",
|
|
5754
|
+
reqBodyType: "formData",
|
|
5755
|
+
bodyType: "json",
|
|
5756
|
+
});
|
|
5757
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteTransportLayerApplicationResponse({}));
|
|
5758
|
+
}
|
|
5759
|
+
/**
|
|
5760
|
+
* 删除四层应用
|
|
5761
|
+
*
|
|
5762
|
+
* @param request - DeleteTransportLayerApplicationRequest
|
|
5763
|
+
* @returns DeleteTransportLayerApplicationResponse
|
|
5764
|
+
*/
|
|
5765
|
+
async deleteTransportLayerApplication(request) {
|
|
5766
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5767
|
+
return await this.deleteTransportLayerApplicationWithOptions(request, runtime);
|
|
5768
|
+
}
|
|
5665
5769
|
/**
|
|
5666
5770
|
* 删除网页监测配置
|
|
5667
5771
|
*
|
|
@@ -9328,6 +9432,42 @@ class Client extends openapi_core_1.default {
|
|
|
9328
9432
|
let runtime = new $dara.RuntimeOptions({});
|
|
9329
9433
|
return await this.getTieredCacheWithOptions(request, runtime);
|
|
9330
9434
|
}
|
|
9435
|
+
/**
|
|
9436
|
+
* 查询四层应用详情
|
|
9437
|
+
*
|
|
9438
|
+
* @param request - GetTransportLayerApplicationRequest
|
|
9439
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9440
|
+
* @returns GetTransportLayerApplicationResponse
|
|
9441
|
+
*/
|
|
9442
|
+
async getTransportLayerApplicationWithOptions(request, runtime) {
|
|
9443
|
+
request.validate();
|
|
9444
|
+
let query = openapi_core_2.OpenApiUtil.query(request.toMap());
|
|
9445
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9446
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
9447
|
+
});
|
|
9448
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9449
|
+
action: "GetTransportLayerApplication",
|
|
9450
|
+
version: "2024-09-10",
|
|
9451
|
+
protocol: "HTTPS",
|
|
9452
|
+
pathname: "/",
|
|
9453
|
+
method: "GET",
|
|
9454
|
+
authType: "AK",
|
|
9455
|
+
style: "RPC",
|
|
9456
|
+
reqBodyType: "formData",
|
|
9457
|
+
bodyType: "json",
|
|
9458
|
+
});
|
|
9459
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTransportLayerApplicationResponse({}));
|
|
9460
|
+
}
|
|
9461
|
+
/**
|
|
9462
|
+
* 查询四层应用详情
|
|
9463
|
+
*
|
|
9464
|
+
* @param request - GetTransportLayerApplicationRequest
|
|
9465
|
+
* @returns GetTransportLayerApplicationResponse
|
|
9466
|
+
*/
|
|
9467
|
+
async getTransportLayerApplication(request) {
|
|
9468
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9469
|
+
return await this.getTransportLayerApplicationWithOptions(request, runtime);
|
|
9470
|
+
}
|
|
9331
9471
|
/**
|
|
9332
9472
|
* Queries the execution status and running information of a file upload task based on the task ID.
|
|
9333
9473
|
*
|
|
@@ -11614,6 +11754,42 @@ class Client extends openapi_core_1.default {
|
|
|
11614
11754
|
let runtime = new $dara.RuntimeOptions({});
|
|
11615
11755
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
11616
11756
|
}
|
|
11757
|
+
/**
|
|
11758
|
+
* 查询四层应用列表
|
|
11759
|
+
*
|
|
11760
|
+
* @param request - ListTransportLayerApplicationsRequest
|
|
11761
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11762
|
+
* @returns ListTransportLayerApplicationsResponse
|
|
11763
|
+
*/
|
|
11764
|
+
async listTransportLayerApplicationsWithOptions(request, runtime) {
|
|
11765
|
+
request.validate();
|
|
11766
|
+
let query = openapi_core_2.OpenApiUtil.query(request.toMap());
|
|
11767
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11768
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11769
|
+
});
|
|
11770
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11771
|
+
action: "ListTransportLayerApplications",
|
|
11772
|
+
version: "2024-09-10",
|
|
11773
|
+
protocol: "HTTPS",
|
|
11774
|
+
pathname: "/",
|
|
11775
|
+
method: "GET",
|
|
11776
|
+
authType: "AK",
|
|
11777
|
+
style: "RPC",
|
|
11778
|
+
reqBodyType: "formData",
|
|
11779
|
+
bodyType: "json",
|
|
11780
|
+
});
|
|
11781
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTransportLayerApplicationsResponse({}));
|
|
11782
|
+
}
|
|
11783
|
+
/**
|
|
11784
|
+
* 查询四层应用列表
|
|
11785
|
+
*
|
|
11786
|
+
* @param request - ListTransportLayerApplicationsRequest
|
|
11787
|
+
* @returns ListTransportLayerApplicationsResponse
|
|
11788
|
+
*/
|
|
11789
|
+
async listTransportLayerApplications(request) {
|
|
11790
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11791
|
+
return await this.listTransportLayerApplicationsWithOptions(request, runtime);
|
|
11792
|
+
}
|
|
11617
11793
|
/**
|
|
11618
11794
|
* Queries the execution status and running information of file upload tasks based on the task time and type.
|
|
11619
11795
|
*
|
|
@@ -16078,6 +16254,65 @@ class Client extends openapi_core_1.default {
|
|
|
16078
16254
|
let runtime = new $dara.RuntimeOptions({});
|
|
16079
16255
|
return await this.updateTieredCacheWithOptions(request, runtime);
|
|
16080
16256
|
}
|
|
16257
|
+
/**
|
|
16258
|
+
* 修改四层应用
|
|
16259
|
+
*
|
|
16260
|
+
* @param tmpReq - UpdateTransportLayerApplicationRequest
|
|
16261
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16262
|
+
* @returns UpdateTransportLayerApplicationResponse
|
|
16263
|
+
*/
|
|
16264
|
+
async updateTransportLayerApplicationWithOptions(tmpReq, runtime) {
|
|
16265
|
+
tmpReq.validate();
|
|
16266
|
+
let request = new $_model.UpdateTransportLayerApplicationShrinkRequest({});
|
|
16267
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
16268
|
+
if (!$dara.isNull(tmpReq.rules)) {
|
|
16269
|
+
request.rulesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
16270
|
+
}
|
|
16271
|
+
let query = {};
|
|
16272
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
16273
|
+
query["ApplicationId"] = request.applicationId;
|
|
16274
|
+
}
|
|
16275
|
+
if (!$dara.isNull(request.crossBorderOptimization)) {
|
|
16276
|
+
query["CrossBorderOptimization"] = request.crossBorderOptimization;
|
|
16277
|
+
}
|
|
16278
|
+
if (!$dara.isNull(request.ipAccessRule)) {
|
|
16279
|
+
query["IpAccessRule"] = request.ipAccessRule;
|
|
16280
|
+
}
|
|
16281
|
+
if (!$dara.isNull(request.ipv6)) {
|
|
16282
|
+
query["Ipv6"] = request.ipv6;
|
|
16283
|
+
}
|
|
16284
|
+
if (!$dara.isNull(request.rulesShrink)) {
|
|
16285
|
+
query["Rules"] = request.rulesShrink;
|
|
16286
|
+
}
|
|
16287
|
+
if (!$dara.isNull(request.siteId)) {
|
|
16288
|
+
query["SiteId"] = request.siteId;
|
|
16289
|
+
}
|
|
16290
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
16291
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
16292
|
+
});
|
|
16293
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
16294
|
+
action: "UpdateTransportLayerApplication",
|
|
16295
|
+
version: "2024-09-10",
|
|
16296
|
+
protocol: "HTTPS",
|
|
16297
|
+
pathname: "/",
|
|
16298
|
+
method: "POST",
|
|
16299
|
+
authType: "AK",
|
|
16300
|
+
style: "RPC",
|
|
16301
|
+
reqBodyType: "formData",
|
|
16302
|
+
bodyType: "json",
|
|
16303
|
+
});
|
|
16304
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateTransportLayerApplicationResponse({}));
|
|
16305
|
+
}
|
|
16306
|
+
/**
|
|
16307
|
+
* 修改四层应用
|
|
16308
|
+
*
|
|
16309
|
+
* @param request - UpdateTransportLayerApplicationRequest
|
|
16310
|
+
* @returns UpdateTransportLayerApplicationResponse
|
|
16311
|
+
*/
|
|
16312
|
+
async updateTransportLayerApplication(request) {
|
|
16313
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
16314
|
+
return await this.updateTransportLayerApplicationWithOptions(request, runtime);
|
|
16315
|
+
}
|
|
16081
16316
|
/**
|
|
16082
16317
|
* 更新网页监测配置
|
|
16083
16318
|
*
|