@alicloud/esa20240910 2.31.0 → 2.32.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 +75 -0
- package/dist/client.js +241 -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 +170 -0
- package/dist/models/CreateTransportLayerApplicationRequest.js +104 -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 +29 -0
- package/dist/models/CreateTransportLayerApplicationResponseBody.js +60 -0
- package/dist/models/CreateTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.d.ts +70 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.js +70 -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 +33 -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 +21 -0
- package/dist/models/DeleteTransportLayerApplicationResponseBody.js +58 -0
- package/dist/models/DeleteTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/GetRoutineResponseBody.d.ts +0 -21
- package/dist/models/GetRoutineResponseBody.js +0 -9
- package/dist/models/GetRoutineResponseBody.js.map +1 -1
- package/dist/models/GetTransportLayerApplicationRequest.d.ts +33 -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 +216 -0
- package/dist/models/GetTransportLayerApplicationResponseBody.js +142 -0
- package/dist/models/GetTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/ListTransportLayerApplicationsRequest.d.ts +60 -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 +262 -0
- package/dist/models/ListTransportLayerApplicationsResponseBody.js +170 -0
- package/dist/models/ListTransportLayerApplicationsResponseBody.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationRequest.d.ts +156 -0
- package/dist/models/UpdateTransportLayerApplicationRequest.js +104 -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 +21 -0
- package/dist/models/UpdateTransportLayerApplicationResponseBody.js +58 -0
- package/dist/models/UpdateTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.d.ts +69 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js +70 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +24 -0
- package/dist/models/model.js +76 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +270 -0
- package/src/models/CreateRecordRequest.ts +2 -0
- package/src/models/CreateRecordShrinkRequest.ts +2 -0
- package/src/models/CreateTransportLayerApplicationRequest.ts +220 -0
- package/src/models/CreateTransportLayerApplicationResponse.ts +40 -0
- package/src/models/CreateTransportLayerApplicationResponseBody.ts +44 -0
- package/src/models/CreateTransportLayerApplicationShrinkRequest.ts +95 -0
- package/src/models/DeleteRecordRequest.ts +3 -0
- package/src/models/DeleteTransportLayerApplicationRequest.ts +48 -0
- package/src/models/DeleteTransportLayerApplicationResponse.ts +40 -0
- package/src/models/DeleteTransportLayerApplicationResponseBody.ts +34 -0
- package/src/models/GetRoutineResponseBody.ts +0 -30
- package/src/models/GetTransportLayerApplicationRequest.ts +48 -0
- package/src/models/GetTransportLayerApplicationResponse.ts +40 -0
- package/src/models/GetTransportLayerApplicationResponseBody.ts +295 -0
- package/src/models/ListTransportLayerApplicationsRequest.ts +81 -0
- package/src/models/ListTransportLayerApplicationsResponse.ts +40 -0
- package/src/models/ListTransportLayerApplicationsResponseBody.ts +360 -0
- package/src/models/UpdateTransportLayerApplicationRequest.ts +206 -0
- package/src/models/UpdateTransportLayerApplicationResponse.ts +40 -0
- package/src/models/UpdateTransportLayerApplicationResponseBody.ts +34 -0
- package/src/models/UpdateTransportLayerApplicationShrinkRequest.ts +94 -0
- package/src/models/model.ts +24 -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
|
+
* Create Transport Layer Application
|
|
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
|
+
* Create Transport Layer Application
|
|
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
|
+
* Delete Transport Layer Application
|
|
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
|
+
* Delete Transport Layer Application
|
|
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
|
+
* Query details of the transport layer application
|
|
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
|
+
* Query details of the transport layer application
|
|
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
|
+
* List of Transport Layer Applications
|
|
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
|
+
* List of Transport Layer Applications
|
|
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
|
+
* Modify Transport Layer Application
|
|
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
|
+
* Modify Transport Layer Application
|
|
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,68 @@ 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
|
+
* Create Transport Layer Application
|
|
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
|
+
if (!$dara.isNull(request.staticIp)) {
|
|
3490
|
+
query["StaticIp"] = request.staticIp;
|
|
3491
|
+
}
|
|
3492
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3493
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3494
|
+
});
|
|
3495
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3496
|
+
action: "CreateTransportLayerApplication",
|
|
3497
|
+
version: "2024-09-10",
|
|
3498
|
+
protocol: "HTTPS",
|
|
3499
|
+
pathname: "/",
|
|
3500
|
+
method: "POST",
|
|
3501
|
+
authType: "AK",
|
|
3502
|
+
style: "RPC",
|
|
3503
|
+
reqBodyType: "formData",
|
|
3504
|
+
bodyType: "json",
|
|
3505
|
+
});
|
|
3506
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateTransportLayerApplicationResponse({}));
|
|
3507
|
+
}
|
|
3508
|
+
/**
|
|
3509
|
+
* Create Transport Layer Application
|
|
3510
|
+
*
|
|
3511
|
+
* @param request - CreateTransportLayerApplicationRequest
|
|
3512
|
+
* @returns CreateTransportLayerApplicationResponse
|
|
3513
|
+
*/
|
|
3514
|
+
async createTransportLayerApplication(request) {
|
|
3515
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3516
|
+
return await this.createTransportLayerApplicationWithOptions(request, runtime);
|
|
3517
|
+
}
|
|
3456
3518
|
/**
|
|
3457
3519
|
* 创建网页监测配置
|
|
3458
3520
|
*
|
|
@@ -5178,6 +5240,9 @@ class Client extends openapi_core_1.default {
|
|
|
5178
5240
|
if (!$dara.isNull(request.recordId)) {
|
|
5179
5241
|
query["RecordId"] = request.recordId;
|
|
5180
5242
|
}
|
|
5243
|
+
if (!$dara.isNull(request.securityToken)) {
|
|
5244
|
+
query["SecurityToken"] = request.securityToken;
|
|
5245
|
+
}
|
|
5181
5246
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5182
5247
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5183
5248
|
});
|
|
@@ -5662,6 +5727,48 @@ class Client extends openapi_core_1.default {
|
|
|
5662
5727
|
let runtime = new $dara.RuntimeOptions({});
|
|
5663
5728
|
return await this.deleteSiteOriginClientCertificateWithOptions(request, runtime);
|
|
5664
5729
|
}
|
|
5730
|
+
/**
|
|
5731
|
+
* Delete Transport Layer Application
|
|
5732
|
+
*
|
|
5733
|
+
* @param request - DeleteTransportLayerApplicationRequest
|
|
5734
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5735
|
+
* @returns DeleteTransportLayerApplicationResponse
|
|
5736
|
+
*/
|
|
5737
|
+
async deleteTransportLayerApplicationWithOptions(request, runtime) {
|
|
5738
|
+
request.validate();
|
|
5739
|
+
let query = {};
|
|
5740
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
5741
|
+
query["ApplicationId"] = request.applicationId;
|
|
5742
|
+
}
|
|
5743
|
+
if (!$dara.isNull(request.siteId)) {
|
|
5744
|
+
query["SiteId"] = request.siteId;
|
|
5745
|
+
}
|
|
5746
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5747
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5748
|
+
});
|
|
5749
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5750
|
+
action: "DeleteTransportLayerApplication",
|
|
5751
|
+
version: "2024-09-10",
|
|
5752
|
+
protocol: "HTTPS",
|
|
5753
|
+
pathname: "/",
|
|
5754
|
+
method: "POST",
|
|
5755
|
+
authType: "AK",
|
|
5756
|
+
style: "RPC",
|
|
5757
|
+
reqBodyType: "formData",
|
|
5758
|
+
bodyType: "json",
|
|
5759
|
+
});
|
|
5760
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteTransportLayerApplicationResponse({}));
|
|
5761
|
+
}
|
|
5762
|
+
/**
|
|
5763
|
+
* Delete Transport Layer Application
|
|
5764
|
+
*
|
|
5765
|
+
* @param request - DeleteTransportLayerApplicationRequest
|
|
5766
|
+
* @returns DeleteTransportLayerApplicationResponse
|
|
5767
|
+
*/
|
|
5768
|
+
async deleteTransportLayerApplication(request) {
|
|
5769
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5770
|
+
return await this.deleteTransportLayerApplicationWithOptions(request, runtime);
|
|
5771
|
+
}
|
|
5665
5772
|
/**
|
|
5666
5773
|
* 删除网页监测配置
|
|
5667
5774
|
*
|
|
@@ -9328,6 +9435,42 @@ class Client extends openapi_core_1.default {
|
|
|
9328
9435
|
let runtime = new $dara.RuntimeOptions({});
|
|
9329
9436
|
return await this.getTieredCacheWithOptions(request, runtime);
|
|
9330
9437
|
}
|
|
9438
|
+
/**
|
|
9439
|
+
* Query details of the transport layer application
|
|
9440
|
+
*
|
|
9441
|
+
* @param request - GetTransportLayerApplicationRequest
|
|
9442
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9443
|
+
* @returns GetTransportLayerApplicationResponse
|
|
9444
|
+
*/
|
|
9445
|
+
async getTransportLayerApplicationWithOptions(request, runtime) {
|
|
9446
|
+
request.validate();
|
|
9447
|
+
let query = openapi_core_2.OpenApiUtil.query(request.toMap());
|
|
9448
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9449
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
9450
|
+
});
|
|
9451
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9452
|
+
action: "GetTransportLayerApplication",
|
|
9453
|
+
version: "2024-09-10",
|
|
9454
|
+
protocol: "HTTPS",
|
|
9455
|
+
pathname: "/",
|
|
9456
|
+
method: "GET",
|
|
9457
|
+
authType: "AK",
|
|
9458
|
+
style: "RPC",
|
|
9459
|
+
reqBodyType: "formData",
|
|
9460
|
+
bodyType: "json",
|
|
9461
|
+
});
|
|
9462
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTransportLayerApplicationResponse({}));
|
|
9463
|
+
}
|
|
9464
|
+
/**
|
|
9465
|
+
* Query details of the transport layer application
|
|
9466
|
+
*
|
|
9467
|
+
* @param request - GetTransportLayerApplicationRequest
|
|
9468
|
+
* @returns GetTransportLayerApplicationResponse
|
|
9469
|
+
*/
|
|
9470
|
+
async getTransportLayerApplication(request) {
|
|
9471
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9472
|
+
return await this.getTransportLayerApplicationWithOptions(request, runtime);
|
|
9473
|
+
}
|
|
9331
9474
|
/**
|
|
9332
9475
|
* Queries the execution status and running information of a file upload task based on the task ID.
|
|
9333
9476
|
*
|
|
@@ -11614,6 +11757,42 @@ class Client extends openapi_core_1.default {
|
|
|
11614
11757
|
let runtime = new $dara.RuntimeOptions({});
|
|
11615
11758
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
11616
11759
|
}
|
|
11760
|
+
/**
|
|
11761
|
+
* List of Transport Layer Applications
|
|
11762
|
+
*
|
|
11763
|
+
* @param request - ListTransportLayerApplicationsRequest
|
|
11764
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11765
|
+
* @returns ListTransportLayerApplicationsResponse
|
|
11766
|
+
*/
|
|
11767
|
+
async listTransportLayerApplicationsWithOptions(request, runtime) {
|
|
11768
|
+
request.validate();
|
|
11769
|
+
let query = openapi_core_2.OpenApiUtil.query(request.toMap());
|
|
11770
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11771
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11772
|
+
});
|
|
11773
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11774
|
+
action: "ListTransportLayerApplications",
|
|
11775
|
+
version: "2024-09-10",
|
|
11776
|
+
protocol: "HTTPS",
|
|
11777
|
+
pathname: "/",
|
|
11778
|
+
method: "GET",
|
|
11779
|
+
authType: "AK",
|
|
11780
|
+
style: "RPC",
|
|
11781
|
+
reqBodyType: "formData",
|
|
11782
|
+
bodyType: "json",
|
|
11783
|
+
});
|
|
11784
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTransportLayerApplicationsResponse({}));
|
|
11785
|
+
}
|
|
11786
|
+
/**
|
|
11787
|
+
* List of Transport Layer Applications
|
|
11788
|
+
*
|
|
11789
|
+
* @param request - ListTransportLayerApplicationsRequest
|
|
11790
|
+
* @returns ListTransportLayerApplicationsResponse
|
|
11791
|
+
*/
|
|
11792
|
+
async listTransportLayerApplications(request) {
|
|
11793
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11794
|
+
return await this.listTransportLayerApplicationsWithOptions(request, runtime);
|
|
11795
|
+
}
|
|
11617
11796
|
/**
|
|
11618
11797
|
* Queries the execution status and running information of file upload tasks based on the task time and type.
|
|
11619
11798
|
*
|
|
@@ -16078,6 +16257,68 @@ class Client extends openapi_core_1.default {
|
|
|
16078
16257
|
let runtime = new $dara.RuntimeOptions({});
|
|
16079
16258
|
return await this.updateTieredCacheWithOptions(request, runtime);
|
|
16080
16259
|
}
|
|
16260
|
+
/**
|
|
16261
|
+
* Modify Transport Layer Application
|
|
16262
|
+
*
|
|
16263
|
+
* @param tmpReq - UpdateTransportLayerApplicationRequest
|
|
16264
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16265
|
+
* @returns UpdateTransportLayerApplicationResponse
|
|
16266
|
+
*/
|
|
16267
|
+
async updateTransportLayerApplicationWithOptions(tmpReq, runtime) {
|
|
16268
|
+
tmpReq.validate();
|
|
16269
|
+
let request = new $_model.UpdateTransportLayerApplicationShrinkRequest({});
|
|
16270
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
16271
|
+
if (!$dara.isNull(tmpReq.rules)) {
|
|
16272
|
+
request.rulesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
16273
|
+
}
|
|
16274
|
+
let query = {};
|
|
16275
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
16276
|
+
query["ApplicationId"] = request.applicationId;
|
|
16277
|
+
}
|
|
16278
|
+
if (!$dara.isNull(request.crossBorderOptimization)) {
|
|
16279
|
+
query["CrossBorderOptimization"] = request.crossBorderOptimization;
|
|
16280
|
+
}
|
|
16281
|
+
if (!$dara.isNull(request.ipAccessRule)) {
|
|
16282
|
+
query["IpAccessRule"] = request.ipAccessRule;
|
|
16283
|
+
}
|
|
16284
|
+
if (!$dara.isNull(request.ipv6)) {
|
|
16285
|
+
query["Ipv6"] = request.ipv6;
|
|
16286
|
+
}
|
|
16287
|
+
if (!$dara.isNull(request.rulesShrink)) {
|
|
16288
|
+
query["Rules"] = request.rulesShrink;
|
|
16289
|
+
}
|
|
16290
|
+
if (!$dara.isNull(request.siteId)) {
|
|
16291
|
+
query["SiteId"] = request.siteId;
|
|
16292
|
+
}
|
|
16293
|
+
if (!$dara.isNull(request.staticIp)) {
|
|
16294
|
+
query["StaticIp"] = request.staticIp;
|
|
16295
|
+
}
|
|
16296
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
16297
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
16298
|
+
});
|
|
16299
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
16300
|
+
action: "UpdateTransportLayerApplication",
|
|
16301
|
+
version: "2024-09-10",
|
|
16302
|
+
protocol: "HTTPS",
|
|
16303
|
+
pathname: "/",
|
|
16304
|
+
method: "POST",
|
|
16305
|
+
authType: "AK",
|
|
16306
|
+
style: "RPC",
|
|
16307
|
+
reqBodyType: "formData",
|
|
16308
|
+
bodyType: "json",
|
|
16309
|
+
});
|
|
16310
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateTransportLayerApplicationResponse({}));
|
|
16311
|
+
}
|
|
16312
|
+
/**
|
|
16313
|
+
* Modify Transport Layer Application
|
|
16314
|
+
*
|
|
16315
|
+
* @param request - UpdateTransportLayerApplicationRequest
|
|
16316
|
+
* @returns UpdateTransportLayerApplicationResponse
|
|
16317
|
+
*/
|
|
16318
|
+
async updateTransportLayerApplication(request) {
|
|
16319
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
16320
|
+
return await this.updateTransportLayerApplicationWithOptions(request, runtime);
|
|
16321
|
+
}
|
|
16081
16322
|
/**
|
|
16082
16323
|
* 更新网页监测配置
|
|
16083
16324
|
*
|