@alicloud/ddosbgp20180720 2.3.0 → 2.4.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 +502 -155
- package/dist/client.js +504 -155
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +506 -155
package/dist/client.js
CHANGED
|
@@ -2835,6 +2835,8 @@ class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
|
2835
2835
|
return {
|
|
2836
2836
|
ip: 'Ip',
|
|
2837
2837
|
memberUid: 'MemberUid',
|
|
2838
|
+
nsmExpireAt: 'NsmExpireAt',
|
|
2839
|
+
nsmStartAt: 'NsmStartAt',
|
|
2838
2840
|
nsmStatus: 'NsmStatus',
|
|
2839
2841
|
product: 'Product',
|
|
2840
2842
|
region: 'Region',
|
|
@@ -2846,6 +2848,8 @@ class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
|
2846
2848
|
return {
|
|
2847
2849
|
ip: 'string',
|
|
2848
2850
|
memberUid: 'string',
|
|
2851
|
+
nsmExpireAt: 'number',
|
|
2852
|
+
nsmStartAt: 'number',
|
|
2849
2853
|
nsmStatus: 'number',
|
|
2850
2854
|
product: 'string',
|
|
2851
2855
|
region: 'string',
|
|
@@ -3146,6 +3150,13 @@ class Client extends openapi_client_1.default {
|
|
|
3146
3150
|
}
|
|
3147
3151
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
3148
3152
|
}
|
|
3153
|
+
/**
|
|
3154
|
+
* @summary Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
|
|
3155
|
+
*
|
|
3156
|
+
* @param request AddIpRequest
|
|
3157
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3158
|
+
* @return AddIpResponse
|
|
3159
|
+
*/
|
|
3149
3160
|
async addIpWithOptions(request, runtime) {
|
|
3150
3161
|
tea_util_1.default.validateModel(request);
|
|
3151
3162
|
let query = {};
|
|
@@ -3177,10 +3188,23 @@ class Client extends openapi_client_1.default {
|
|
|
3177
3188
|
});
|
|
3178
3189
|
return $tea.cast(await this.callApi(params, req, runtime), new AddIpResponse({}));
|
|
3179
3190
|
}
|
|
3191
|
+
/**
|
|
3192
|
+
* @summary Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
|
|
3193
|
+
*
|
|
3194
|
+
* @param request AddIpRequest
|
|
3195
|
+
* @return AddIpResponse
|
|
3196
|
+
*/
|
|
3180
3197
|
async addIp(request) {
|
|
3181
3198
|
let runtime = new $Util.RuntimeOptions({});
|
|
3182
3199
|
return await this.addIpWithOptions(request, runtime);
|
|
3183
3200
|
}
|
|
3201
|
+
/**
|
|
3202
|
+
* @summary 添加资源目录成员账号列表
|
|
3203
|
+
*
|
|
3204
|
+
* @param tmpReq AddRdMemberListRequest
|
|
3205
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3206
|
+
* @return AddRdMemberListResponse
|
|
3207
|
+
*/
|
|
3184
3208
|
async addRdMemberListWithOptions(tmpReq, runtime) {
|
|
3185
3209
|
tea_util_1.default.validateModel(tmpReq);
|
|
3186
3210
|
let request = new AddRdMemberListShrinkRequest({});
|
|
@@ -3208,10 +3232,23 @@ class Client extends openapi_client_1.default {
|
|
|
3208
3232
|
});
|
|
3209
3233
|
return $tea.cast(await this.callApi(params, req, runtime), new AddRdMemberListResponse({}));
|
|
3210
3234
|
}
|
|
3235
|
+
/**
|
|
3236
|
+
* @summary 添加资源目录成员账号列表
|
|
3237
|
+
*
|
|
3238
|
+
* @param request AddRdMemberListRequest
|
|
3239
|
+
* @return AddRdMemberListResponse
|
|
3240
|
+
*/
|
|
3211
3241
|
async addRdMemberList(request) {
|
|
3212
3242
|
let runtime = new $Util.RuntimeOptions({});
|
|
3213
3243
|
return await this.addRdMemberListWithOptions(request, runtime);
|
|
3214
3244
|
}
|
|
3245
|
+
/**
|
|
3246
|
+
* @summary Associates an asset with an Anti-DDoS Origin instance of a paid edition.
|
|
3247
|
+
*
|
|
3248
|
+
* @param tmpReq AttachAssetGroupToInstanceRequest
|
|
3249
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3250
|
+
* @return AttachAssetGroupToInstanceResponse
|
|
3251
|
+
*/
|
|
3215
3252
|
async attachAssetGroupToInstanceWithOptions(tmpReq, runtime) {
|
|
3216
3253
|
tea_util_1.default.validateModel(tmpReq);
|
|
3217
3254
|
let request = new AttachAssetGroupToInstanceShrinkRequest({});
|
|
@@ -3248,10 +3285,23 @@ class Client extends openapi_client_1.default {
|
|
|
3248
3285
|
});
|
|
3249
3286
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachAssetGroupToInstanceResponse({}));
|
|
3250
3287
|
}
|
|
3288
|
+
/**
|
|
3289
|
+
* @summary Associates an asset with an Anti-DDoS Origin instance of a paid edition.
|
|
3290
|
+
*
|
|
3291
|
+
* @param request AttachAssetGroupToInstanceRequest
|
|
3292
|
+
* @return AttachAssetGroupToInstanceResponse
|
|
3293
|
+
*/
|
|
3251
3294
|
async attachAssetGroupToInstance(request) {
|
|
3252
3295
|
let runtime = new $Util.RuntimeOptions({});
|
|
3253
3296
|
return await this.attachAssetGroupToInstanceWithOptions(request, runtime);
|
|
3254
3297
|
}
|
|
3298
|
+
/**
|
|
3299
|
+
* @summary Checks whether Anti-DDoS Origin is authorized to access Log Service.
|
|
3300
|
+
*
|
|
3301
|
+
* @param request CheckAccessLogAuthRequest
|
|
3302
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3303
|
+
* @return CheckAccessLogAuthResponse
|
|
3304
|
+
*/
|
|
3255
3305
|
async checkAccessLogAuthWithOptions(request, runtime) {
|
|
3256
3306
|
tea_util_1.default.validateModel(request);
|
|
3257
3307
|
let query = {};
|
|
@@ -3277,18 +3327,26 @@ class Client extends openapi_client_1.default {
|
|
|
3277
3327
|
});
|
|
3278
3328
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckAccessLogAuthResponse({}));
|
|
3279
3329
|
}
|
|
3330
|
+
/**
|
|
3331
|
+
* @summary Checks whether Anti-DDoS Origin is authorized to access Log Service.
|
|
3332
|
+
*
|
|
3333
|
+
* @param request CheckAccessLogAuthRequest
|
|
3334
|
+
* @return CheckAccessLogAuthResponse
|
|
3335
|
+
*/
|
|
3280
3336
|
async checkAccessLogAuth(request) {
|
|
3281
3337
|
let runtime = new $Util.RuntimeOptions({});
|
|
3282
3338
|
return await this.checkAccessLogAuthWithOptions(request, runtime);
|
|
3283
3339
|
}
|
|
3284
3340
|
/**
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3341
|
+
* @summary Queries whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
3342
|
+
*
|
|
3343
|
+
* @description You can call the CheckGrant operation to query whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
3344
|
+
* ### Limits
|
|
3345
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3346
|
+
*
|
|
3347
|
+
* @param request CheckGrantRequest
|
|
3348
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3349
|
+
* @return CheckGrantResponse
|
|
3292
3350
|
*/
|
|
3293
3351
|
async checkGrantWithOptions(request, runtime) {
|
|
3294
3352
|
tea_util_1.default.validateModel(request);
|
|
@@ -3310,17 +3368,24 @@ class Client extends openapi_client_1.default {
|
|
|
3310
3368
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckGrantResponse({}));
|
|
3311
3369
|
}
|
|
3312
3370
|
/**
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3371
|
+
* @summary Queries whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
3372
|
+
*
|
|
3373
|
+
* @description You can call the CheckGrant operation to query whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
3374
|
+
* ### Limits
|
|
3375
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3376
|
+
*
|
|
3377
|
+
* @param request CheckGrantRequest
|
|
3378
|
+
* @return CheckGrantResponse
|
|
3319
3379
|
*/
|
|
3320
3380
|
async checkGrant(request) {
|
|
3321
3381
|
let runtime = new $Util.RuntimeOptions({});
|
|
3322
3382
|
return await this.checkGrantWithOptions(request, runtime);
|
|
3323
3383
|
}
|
|
3384
|
+
/**
|
|
3385
|
+
* @param request ConfigSchedruleOnDemandRequest
|
|
3386
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3387
|
+
* @return ConfigSchedruleOnDemandResponse
|
|
3388
|
+
*/
|
|
3324
3389
|
async configSchedruleOnDemandWithOptions(request, runtime) {
|
|
3325
3390
|
tea_util_1.default.validateModel(request);
|
|
3326
3391
|
let query = {};
|
|
@@ -3376,10 +3441,21 @@ class Client extends openapi_client_1.default {
|
|
|
3376
3441
|
});
|
|
3377
3442
|
return $tea.cast(await this.callApi(params, req, runtime), new ConfigSchedruleOnDemandResponse({}));
|
|
3378
3443
|
}
|
|
3444
|
+
/**
|
|
3445
|
+
* @param request ConfigSchedruleOnDemandRequest
|
|
3446
|
+
* @return ConfigSchedruleOnDemandResponse
|
|
3447
|
+
*/
|
|
3379
3448
|
async configSchedruleOnDemand(request) {
|
|
3380
3449
|
let runtime = new $Util.RuntimeOptions({});
|
|
3381
3450
|
return await this.configSchedruleOnDemandWithOptions(request, runtime);
|
|
3382
3451
|
}
|
|
3452
|
+
/**
|
|
3453
|
+
* @summary Creates a scheduling rule for an on-demand instance.
|
|
3454
|
+
*
|
|
3455
|
+
* @param request CreateSchedruleOnDemandRequest
|
|
3456
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3457
|
+
* @return CreateSchedruleOnDemandResponse
|
|
3458
|
+
*/
|
|
3383
3459
|
async createSchedruleOnDemandWithOptions(request, runtime) {
|
|
3384
3460
|
tea_util_1.default.validateModel(request);
|
|
3385
3461
|
let query = {};
|
|
@@ -3435,19 +3511,27 @@ class Client extends openapi_client_1.default {
|
|
|
3435
3511
|
});
|
|
3436
3512
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateSchedruleOnDemandResponse({}));
|
|
3437
3513
|
}
|
|
3514
|
+
/**
|
|
3515
|
+
* @summary Creates a scheduling rule for an on-demand instance.
|
|
3516
|
+
*
|
|
3517
|
+
* @param request CreateSchedruleOnDemandRequest
|
|
3518
|
+
* @return CreateSchedruleOnDemandResponse
|
|
3519
|
+
*/
|
|
3438
3520
|
async createSchedruleOnDemand(request) {
|
|
3439
3521
|
let runtime = new $Util.RuntimeOptions({});
|
|
3440
3522
|
return await this.createSchedruleOnDemandWithOptions(request, runtime);
|
|
3441
3523
|
}
|
|
3442
3524
|
/**
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3525
|
+
* @summary Deactivates blackhole filtering for a protected IP address.
|
|
3526
|
+
*
|
|
3527
|
+
* @description You can call the DeleteBlackhole operation to deactivate blackhole filtering for a protected IP address.
|
|
3528
|
+
* Before you call this operation, you can call the [DescribePackIpList](https://help.aliyun.com/document_detail/118701.html) operation to query the protection status of the IP addresses that are protected by your Anti-DDoS Origin instance. For example, you can query whether blackhole filtering is triggered for an IP address.
|
|
3529
|
+
* ### Limits
|
|
3530
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3531
|
+
*
|
|
3532
|
+
* @param request DeleteBlackholeRequest
|
|
3533
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3534
|
+
* @return DeleteBlackholeResponse
|
|
3451
3535
|
*/
|
|
3452
3536
|
async deleteBlackholeWithOptions(request, runtime) {
|
|
3453
3537
|
tea_util_1.default.validateModel(request);
|
|
@@ -3481,24 +3565,28 @@ class Client extends openapi_client_1.default {
|
|
|
3481
3565
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteBlackholeResponse({}));
|
|
3482
3566
|
}
|
|
3483
3567
|
/**
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3568
|
+
* @summary Deactivates blackhole filtering for a protected IP address.
|
|
3569
|
+
*
|
|
3570
|
+
* @description You can call the DeleteBlackhole operation to deactivate blackhole filtering for a protected IP address.
|
|
3571
|
+
* Before you call this operation, you can call the [DescribePackIpList](https://help.aliyun.com/document_detail/118701.html) operation to query the protection status of the IP addresses that are protected by your Anti-DDoS Origin instance. For example, you can query whether blackhole filtering is triggered for an IP address.
|
|
3572
|
+
* ### Limits
|
|
3573
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3574
|
+
*
|
|
3575
|
+
* @param request DeleteBlackholeRequest
|
|
3576
|
+
* @return DeleteBlackholeResponse
|
|
3491
3577
|
*/
|
|
3492
3578
|
async deleteBlackhole(request) {
|
|
3493
3579
|
let runtime = new $Util.RuntimeOptions({});
|
|
3494
3580
|
return await this.deleteBlackholeWithOptions(request, runtime);
|
|
3495
3581
|
}
|
|
3496
3582
|
/**
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3583
|
+
* @summary Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
|
|
3584
|
+
*
|
|
3585
|
+
* @description The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
3586
|
+
*
|
|
3587
|
+
* @param request DeleteIpRequest
|
|
3588
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3589
|
+
* @return DeleteIpResponse
|
|
3502
3590
|
*/
|
|
3503
3591
|
async deleteIpWithOptions(request, runtime) {
|
|
3504
3592
|
tea_util_1.default.validateModel(request);
|
|
@@ -3532,15 +3620,24 @@ class Client extends openapi_client_1.default {
|
|
|
3532
3620
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteIpResponse({}));
|
|
3533
3621
|
}
|
|
3534
3622
|
/**
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3623
|
+
* @summary Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
|
|
3624
|
+
*
|
|
3625
|
+
* @description The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
3626
|
+
*
|
|
3627
|
+
* @param request DeleteIpRequest
|
|
3628
|
+
* @return DeleteIpResponse
|
|
3539
3629
|
*/
|
|
3540
3630
|
async deleteIp(request) {
|
|
3541
3631
|
let runtime = new $Util.RuntimeOptions({});
|
|
3542
3632
|
return await this.deleteIpWithOptions(request, runtime);
|
|
3543
3633
|
}
|
|
3634
|
+
/**
|
|
3635
|
+
* @summary 删除资源目录成员账号列表
|
|
3636
|
+
*
|
|
3637
|
+
* @param tmpReq DeleteRdMemberListRequest
|
|
3638
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3639
|
+
* @return DeleteRdMemberListResponse
|
|
3640
|
+
*/
|
|
3544
3641
|
async deleteRdMemberListWithOptions(tmpReq, runtime) {
|
|
3545
3642
|
tea_util_1.default.validateModel(tmpReq);
|
|
3546
3643
|
let request = new DeleteRdMemberListShrinkRequest({});
|
|
@@ -3568,10 +3665,21 @@ class Client extends openapi_client_1.default {
|
|
|
3568
3665
|
});
|
|
3569
3666
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteRdMemberListResponse({}));
|
|
3570
3667
|
}
|
|
3668
|
+
/**
|
|
3669
|
+
* @summary 删除资源目录成员账号列表
|
|
3670
|
+
*
|
|
3671
|
+
* @param request DeleteRdMemberListRequest
|
|
3672
|
+
* @return DeleteRdMemberListResponse
|
|
3673
|
+
*/
|
|
3571
3674
|
async deleteRdMemberList(request) {
|
|
3572
3675
|
let runtime = new $Util.RuntimeOptions({});
|
|
3573
3676
|
return await this.deleteRdMemberListWithOptions(request, runtime);
|
|
3574
3677
|
}
|
|
3678
|
+
/**
|
|
3679
|
+
* @param request DeleteSchedruleOnDemandRequest
|
|
3680
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3681
|
+
* @return DeleteSchedruleOnDemandResponse
|
|
3682
|
+
*/
|
|
3575
3683
|
async deleteSchedruleOnDemandWithOptions(request, runtime) {
|
|
3576
3684
|
tea_util_1.default.validateModel(request);
|
|
3577
3685
|
let query = {};
|
|
@@ -3600,10 +3708,21 @@ class Client extends openapi_client_1.default {
|
|
|
3600
3708
|
});
|
|
3601
3709
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSchedruleOnDemandResponse({}));
|
|
3602
3710
|
}
|
|
3711
|
+
/**
|
|
3712
|
+
* @param request DeleteSchedruleOnDemandRequest
|
|
3713
|
+
* @return DeleteSchedruleOnDemandResponse
|
|
3714
|
+
*/
|
|
3603
3715
|
async deleteSchedruleOnDemand(request) {
|
|
3604
3716
|
let runtime = new $Util.RuntimeOptions({});
|
|
3605
3717
|
return await this.deleteSchedruleOnDemandWithOptions(request, runtime);
|
|
3606
3718
|
}
|
|
3719
|
+
/**
|
|
3720
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
3721
|
+
*
|
|
3722
|
+
* @param request DescribeAssetGroupRequest
|
|
3723
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3724
|
+
* @return DescribeAssetGroupResponse
|
|
3725
|
+
*/
|
|
3607
3726
|
async describeAssetGroupWithOptions(request, runtime) {
|
|
3608
3727
|
tea_util_1.default.validateModel(request);
|
|
3609
3728
|
let query = {};
|
|
@@ -3638,10 +3757,23 @@ class Client extends openapi_client_1.default {
|
|
|
3638
3757
|
});
|
|
3639
3758
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAssetGroupResponse({}));
|
|
3640
3759
|
}
|
|
3760
|
+
/**
|
|
3761
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
3762
|
+
*
|
|
3763
|
+
* @param request DescribeAssetGroupRequest
|
|
3764
|
+
* @return DescribeAssetGroupResponse
|
|
3765
|
+
*/
|
|
3641
3766
|
async describeAssetGroup(request) {
|
|
3642
3767
|
let runtime = new $Util.RuntimeOptions({});
|
|
3643
3768
|
return await this.describeAssetGroupWithOptions(request, runtime);
|
|
3644
3769
|
}
|
|
3770
|
+
/**
|
|
3771
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
3772
|
+
*
|
|
3773
|
+
* @param request DescribeAssetGroupToInstanceRequest
|
|
3774
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3775
|
+
* @return DescribeAssetGroupToInstanceResponse
|
|
3776
|
+
*/
|
|
3645
3777
|
async describeAssetGroupToInstanceWithOptions(request, runtime) {
|
|
3646
3778
|
tea_util_1.default.validateModel(request);
|
|
3647
3779
|
let query = {};
|
|
@@ -3682,18 +3814,26 @@ class Client extends openapi_client_1.default {
|
|
|
3682
3814
|
});
|
|
3683
3815
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAssetGroupToInstanceResponse({}));
|
|
3684
3816
|
}
|
|
3817
|
+
/**
|
|
3818
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
3819
|
+
*
|
|
3820
|
+
* @param request DescribeAssetGroupToInstanceRequest
|
|
3821
|
+
* @return DescribeAssetGroupToInstanceResponse
|
|
3822
|
+
*/
|
|
3685
3823
|
async describeAssetGroupToInstance(request) {
|
|
3686
3824
|
let runtime = new $Util.RuntimeOptions({});
|
|
3687
3825
|
return await this.describeAssetGroupToInstanceWithOptions(request, runtime);
|
|
3688
3826
|
}
|
|
3689
3827
|
/**
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3828
|
+
* @summary Queries the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance.
|
|
3829
|
+
*
|
|
3830
|
+
* @description You can call the DescribeDdosEvent operation to query the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance by page. The details include the start time, end time, attacked IP address, and status of each event.
|
|
3831
|
+
* ## Limits
|
|
3832
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3833
|
+
*
|
|
3834
|
+
* @param request DescribeDdosEventRequest
|
|
3835
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3836
|
+
* @return DescribeDdosEventResponse
|
|
3697
3837
|
*/
|
|
3698
3838
|
async describeDdosEventWithOptions(request, runtime) {
|
|
3699
3839
|
tea_util_1.default.validateModel(request);
|
|
@@ -3739,17 +3879,26 @@ class Client extends openapi_client_1.default {
|
|
|
3739
3879
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDdosEventResponse({}));
|
|
3740
3880
|
}
|
|
3741
3881
|
/**
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3882
|
+
* @summary Queries the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance.
|
|
3883
|
+
*
|
|
3884
|
+
* @description You can call the DescribeDdosEvent operation to query the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance by page. The details include the start time, end time, attacked IP address, and status of each event.
|
|
3885
|
+
* ## Limits
|
|
3886
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3887
|
+
*
|
|
3888
|
+
* @param request DescribeDdosEventRequest
|
|
3889
|
+
* @return DescribeDdosEventResponse
|
|
3748
3890
|
*/
|
|
3749
3891
|
async describeDdosEvent(request) {
|
|
3750
3892
|
let runtime = new $Util.RuntimeOptions({});
|
|
3751
3893
|
return await this.describeDdosEventWithOptions(request, runtime);
|
|
3752
3894
|
}
|
|
3895
|
+
/**
|
|
3896
|
+
* @summary 查询账单
|
|
3897
|
+
*
|
|
3898
|
+
* @param request DescribeDdosOriginInstanceBillRequest
|
|
3899
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3900
|
+
* @return DescribeDdosOriginInstanceBillResponse
|
|
3901
|
+
*/
|
|
3753
3902
|
async describeDdosOriginInstanceBillWithOptions(request, runtime) {
|
|
3754
3903
|
tea_util_1.default.validateModel(request);
|
|
3755
3904
|
let query = {};
|
|
@@ -3781,17 +3930,28 @@ class Client extends openapi_client_1.default {
|
|
|
3781
3930
|
});
|
|
3782
3931
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDdosOriginInstanceBillResponse({}));
|
|
3783
3932
|
}
|
|
3933
|
+
/**
|
|
3934
|
+
* @summary 查询账单
|
|
3935
|
+
*
|
|
3936
|
+
* @param request DescribeDdosOriginInstanceBillRequest
|
|
3937
|
+
* @return DescribeDdosOriginInstanceBillResponse
|
|
3938
|
+
*/
|
|
3784
3939
|
async describeDdosOriginInstanceBill(request) {
|
|
3785
3940
|
let runtime = new $Util.RuntimeOptions({});
|
|
3786
3941
|
return await this.describeDdosOriginInstanceBillWithOptions(request, runtime);
|
|
3787
3942
|
}
|
|
3788
3943
|
/**
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3944
|
+
* @summary Queries the number of assets that are in an abnormal state and the number of Anti-DDoS
|
|
3945
|
+
* Origin instances that are about to expire in a specific region. The assets can be
|
|
3946
|
+
* elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS)
|
|
3947
|
+
* instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
|
|
3948
|
+
*
|
|
3949
|
+
* @description ## Usage notes
|
|
3950
|
+
* You can call the DescribeExcpetionCount operation to query the number of assets that are in an abnormal state and the number of Anti-DDoS Origin instances that are about to expire in a specific region. For example, if blackhole filtering is triggered for an IP address, the IP address is in an abnormal state. An instance whose remaining validity period is less than seven days is considered as an instance that is about to expire.
|
|
3951
|
+
*
|
|
3952
|
+
* @param request DescribeExcpetionCountRequest
|
|
3953
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3954
|
+
* @return DescribeExcpetionCountResponse
|
|
3795
3955
|
*/
|
|
3796
3956
|
async describeExcpetionCountWithOptions(request, runtime) {
|
|
3797
3957
|
tea_util_1.default.validateModel(request);
|
|
@@ -3819,24 +3979,31 @@ class Client extends openapi_client_1.default {
|
|
|
3819
3979
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeExcpetionCountResponse({}));
|
|
3820
3980
|
}
|
|
3821
3981
|
/**
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3982
|
+
* @summary Queries the number of assets that are in an abnormal state and the number of Anti-DDoS
|
|
3983
|
+
* Origin instances that are about to expire in a specific region. The assets can be
|
|
3984
|
+
* elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS)
|
|
3985
|
+
* instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
|
|
3986
|
+
*
|
|
3987
|
+
* @description ## Usage notes
|
|
3988
|
+
* You can call the DescribeExcpetionCount operation to query the number of assets that are in an abnormal state and the number of Anti-DDoS Origin instances that are about to expire in a specific region. For example, if blackhole filtering is triggered for an IP address, the IP address is in an abnormal state. An instance whose remaining validity period is less than seven days is considered as an instance that is about to expire.
|
|
3989
|
+
*
|
|
3990
|
+
* @param request DescribeExcpetionCountRequest
|
|
3991
|
+
* @return DescribeExcpetionCountResponse
|
|
3827
3992
|
*/
|
|
3828
3993
|
async describeExcpetionCount(request) {
|
|
3829
3994
|
let runtime = new $Util.RuntimeOptions({});
|
|
3830
3995
|
return await this.describeExcpetionCountWithOptions(request, runtime);
|
|
3831
3996
|
}
|
|
3832
3997
|
/**
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3998
|
+
* @summary Queries the details of all Anti-DDoS Origin instances.
|
|
3999
|
+
*
|
|
4000
|
+
* @description You can call the DescribeInstanceList operation to query the details of all Anti-DDoS Origin instances within your Alibaba Cloud account by page. The details include the ID, validity period, and status of each instance.
|
|
4001
|
+
* ## Limits
|
|
4002
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4003
|
+
*
|
|
4004
|
+
* @param request DescribeInstanceListRequest
|
|
4005
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4006
|
+
* @return DescribeInstanceListResponse
|
|
3840
4007
|
*/
|
|
3841
4008
|
async describeInstanceListWithOptions(request, runtime) {
|
|
3842
4009
|
tea_util_1.default.validateModel(request);
|
|
@@ -3897,17 +4064,24 @@ class Client extends openapi_client_1.default {
|
|
|
3897
4064
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceListResponse({}));
|
|
3898
4065
|
}
|
|
3899
4066
|
/**
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
4067
|
+
* @summary Queries the details of all Anti-DDoS Origin instances.
|
|
4068
|
+
*
|
|
4069
|
+
* @description You can call the DescribeInstanceList operation to query the details of all Anti-DDoS Origin instances within your Alibaba Cloud account by page. The details include the ID, validity period, and status of each instance.
|
|
4070
|
+
* ## Limits
|
|
4071
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4072
|
+
*
|
|
4073
|
+
* @param request DescribeInstanceListRequest
|
|
4074
|
+
* @return DescribeInstanceListResponse
|
|
3906
4075
|
*/
|
|
3907
4076
|
async describeInstanceList(request) {
|
|
3908
4077
|
let runtime = new $Util.RuntimeOptions({});
|
|
3909
4078
|
return await this.describeInstanceListWithOptions(request, runtime);
|
|
3910
4079
|
}
|
|
4080
|
+
/**
|
|
4081
|
+
* @param request DescribeInstanceSpecsRequest
|
|
4082
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4083
|
+
* @return DescribeInstanceSpecsResponse
|
|
4084
|
+
*/
|
|
3911
4085
|
async describeInstanceSpecsWithOptions(request, runtime) {
|
|
3912
4086
|
tea_util_1.default.validateModel(request);
|
|
3913
4087
|
let query = {};
|
|
@@ -3936,16 +4110,22 @@ class Client extends openapi_client_1.default {
|
|
|
3936
4110
|
});
|
|
3937
4111
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceSpecsResponse({}));
|
|
3938
4112
|
}
|
|
4113
|
+
/**
|
|
4114
|
+
* @param request DescribeInstanceSpecsRequest
|
|
4115
|
+
* @return DescribeInstanceSpecsResponse
|
|
4116
|
+
*/
|
|
3939
4117
|
async describeInstanceSpecs(request) {
|
|
3940
4118
|
let runtime = new $Util.RuntimeOptions({});
|
|
3941
4119
|
return await this.describeInstanceSpecsWithOptions(request, runtime);
|
|
3942
4120
|
}
|
|
3943
4121
|
/**
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
4122
|
+
* @summary Call the DescribeOnDemandDdosEvent operation to query the DDoS events recorded for the IP address of the Anti-DDoS on-demand instance.
|
|
4123
|
+
*
|
|
4124
|
+
* @description > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
|
|
4125
|
+
*
|
|
4126
|
+
* @param request DescribeOnDemandDdosEventRequest
|
|
4127
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4128
|
+
* @return DescribeOnDemandDdosEventResponse
|
|
3949
4129
|
*/
|
|
3950
4130
|
async describeOnDemandDdosEventWithOptions(request, runtime) {
|
|
3951
4131
|
tea_util_1.default.validateModel(request);
|
|
@@ -3991,15 +4171,22 @@ class Client extends openapi_client_1.default {
|
|
|
3991
4171
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOnDemandDdosEventResponse({}));
|
|
3992
4172
|
}
|
|
3993
4173
|
/**
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
4174
|
+
* @summary Call the DescribeOnDemandDdosEvent operation to query the DDoS events recorded for the IP address of the Anti-DDoS on-demand instance.
|
|
4175
|
+
*
|
|
4176
|
+
* @description > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
|
|
4177
|
+
*
|
|
4178
|
+
* @param request DescribeOnDemandDdosEventRequest
|
|
4179
|
+
* @return DescribeOnDemandDdosEventResponse
|
|
3998
4180
|
*/
|
|
3999
4181
|
async describeOnDemandDdosEvent(request) {
|
|
4000
4182
|
let runtime = new $Util.RuntimeOptions({});
|
|
4001
4183
|
return await this.describeOnDemandDdosEventWithOptions(request, runtime);
|
|
4002
4184
|
}
|
|
4185
|
+
/**
|
|
4186
|
+
* @param request DescribeOnDemandInstanceStatusRequest
|
|
4187
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4188
|
+
* @return DescribeOnDemandInstanceStatusResponse
|
|
4189
|
+
*/
|
|
4003
4190
|
async describeOnDemandInstanceStatusWithOptions(request, runtime) {
|
|
4004
4191
|
tea_util_1.default.validateModel(request);
|
|
4005
4192
|
let query = {};
|
|
@@ -4025,16 +4212,22 @@ class Client extends openapi_client_1.default {
|
|
|
4025
4212
|
});
|
|
4026
4213
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOnDemandInstanceStatusResponse({}));
|
|
4027
4214
|
}
|
|
4215
|
+
/**
|
|
4216
|
+
* @param request DescribeOnDemandInstanceStatusRequest
|
|
4217
|
+
* @return DescribeOnDemandInstanceStatusResponse
|
|
4218
|
+
*/
|
|
4028
4219
|
async describeOnDemandInstanceStatus(request) {
|
|
4029
4220
|
let runtime = new $Util.RuntimeOptions({});
|
|
4030
4221
|
return await this.describeOnDemandInstanceStatusWithOptions(request, runtime);
|
|
4031
4222
|
}
|
|
4032
4223
|
/**
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4224
|
+
* @summary The number of entries to return on each page.
|
|
4225
|
+
*
|
|
4226
|
+
* @description The start time. Operation logs that were generated after this time are queried.**** This value is a UNIX timestamp. Unit: milliseconds.
|
|
4227
|
+
*
|
|
4228
|
+
* @param request DescribeOpEntitiesRequest
|
|
4229
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4230
|
+
* @return DescribeOpEntitiesResponse
|
|
4038
4231
|
*/
|
|
4039
4232
|
async describeOpEntitiesWithOptions(request, runtime) {
|
|
4040
4233
|
tea_util_1.default.validateModel(request);
|
|
@@ -4083,23 +4276,27 @@ class Client extends openapi_client_1.default {
|
|
|
4083
4276
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOpEntitiesResponse({}));
|
|
4084
4277
|
}
|
|
4085
4278
|
/**
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4279
|
+
* @summary The number of entries to return on each page.
|
|
4280
|
+
*
|
|
4281
|
+
* @description The start time. Operation logs that were generated after this time are queried.**** This value is a UNIX timestamp. Unit: milliseconds.
|
|
4282
|
+
*
|
|
4283
|
+
* @param request DescribeOpEntitiesRequest
|
|
4284
|
+
* @return DescribeOpEntitiesResponse
|
|
4090
4285
|
*/
|
|
4091
4286
|
async describeOpEntities(request) {
|
|
4092
4287
|
let runtime = new $Util.RuntimeOptions({});
|
|
4093
4288
|
return await this.describeOpEntitiesWithOptions(request, runtime);
|
|
4094
4289
|
}
|
|
4095
4290
|
/**
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4291
|
+
* @summary Queries the IP addresses that are protected by a specific Anti-DDoS Origin instance.
|
|
4292
|
+
*
|
|
4293
|
+
* @description You can call the DescribePackIpList operation to query the details about each IP address that is protected by a specific Anti-DDoS Origin instance by page. The details include the IP address and the type of the cloud asset to which the IP address belongs. The details also include the status of the IP address, such as whether blackhole filtering is triggered for the IP address.
|
|
4294
|
+
* ## Limits
|
|
4295
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4296
|
+
*
|
|
4297
|
+
* @param request DescribePackIpListRequest
|
|
4298
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4299
|
+
* @return DescribePackIpListResponse
|
|
4103
4300
|
*/
|
|
4104
4301
|
async describePackIpListWithOptions(request, runtime) {
|
|
4105
4302
|
tea_util_1.default.validateModel(request);
|
|
@@ -4145,17 +4342,26 @@ class Client extends openapi_client_1.default {
|
|
|
4145
4342
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePackIpListResponse({}));
|
|
4146
4343
|
}
|
|
4147
4344
|
/**
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4345
|
+
* @summary Queries the IP addresses that are protected by a specific Anti-DDoS Origin instance.
|
|
4346
|
+
*
|
|
4347
|
+
* @description You can call the DescribePackIpList operation to query the details about each IP address that is protected by a specific Anti-DDoS Origin instance by page. The details include the IP address and the type of the cloud asset to which the IP address belongs. The details also include the status of the IP address, such as whether blackhole filtering is triggered for the IP address.
|
|
4348
|
+
* ## Limits
|
|
4349
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4350
|
+
*
|
|
4351
|
+
* @param request DescribePackIpListRequest
|
|
4352
|
+
* @return DescribePackIpListResponse
|
|
4154
4353
|
*/
|
|
4155
4354
|
async describePackIpList(request) {
|
|
4156
4355
|
let runtime = new $Util.RuntimeOptions({});
|
|
4157
4356
|
return await this.describePackIpListWithOptions(request, runtime);
|
|
4158
4357
|
}
|
|
4358
|
+
/**
|
|
4359
|
+
* @summary 查询资源目录成员账号列表
|
|
4360
|
+
*
|
|
4361
|
+
* @param request DescribeRdMemberListRequest
|
|
4362
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4363
|
+
* @return DescribeRdMemberListResponse
|
|
4364
|
+
*/
|
|
4159
4365
|
async describeRdMemberListWithOptions(request, runtime) {
|
|
4160
4366
|
tea_util_1.default.validateModel(request);
|
|
4161
4367
|
let query = {};
|
|
@@ -4184,10 +4390,23 @@ class Client extends openapi_client_1.default {
|
|
|
4184
4390
|
});
|
|
4185
4391
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRdMemberListResponse({}));
|
|
4186
4392
|
}
|
|
4393
|
+
/**
|
|
4394
|
+
* @summary 查询资源目录成员账号列表
|
|
4395
|
+
*
|
|
4396
|
+
* @param request DescribeRdMemberListRequest
|
|
4397
|
+
* @return DescribeRdMemberListResponse
|
|
4398
|
+
*/
|
|
4187
4399
|
async describeRdMemberList(request) {
|
|
4188
4400
|
let runtime = new $Util.RuntimeOptions({});
|
|
4189
4401
|
return await this.describeRdMemberListWithOptions(request, runtime);
|
|
4190
4402
|
}
|
|
4403
|
+
/**
|
|
4404
|
+
* @summary 查询RD状态
|
|
4405
|
+
*
|
|
4406
|
+
* @param request DescribeRdStatusRequest
|
|
4407
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4408
|
+
* @return DescribeRdStatusResponse
|
|
4409
|
+
*/
|
|
4191
4410
|
async describeRdStatusWithOptions(runtime) {
|
|
4192
4411
|
let req = new $OpenApi.OpenApiRequest({});
|
|
4193
4412
|
let params = new $OpenApi.Params({
|
|
@@ -4203,10 +4422,22 @@ class Client extends openapi_client_1.default {
|
|
|
4203
4422
|
});
|
|
4204
4423
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRdStatusResponse({}));
|
|
4205
4424
|
}
|
|
4425
|
+
/**
|
|
4426
|
+
* @summary 查询RD状态
|
|
4427
|
+
*
|
|
4428
|
+
* @return DescribeRdStatusResponse
|
|
4429
|
+
*/
|
|
4206
4430
|
async describeRdStatus() {
|
|
4207
4431
|
let runtime = new $Util.RuntimeOptions({});
|
|
4208
4432
|
return await this.describeRdStatusWithOptions(runtime);
|
|
4209
4433
|
}
|
|
4434
|
+
/**
|
|
4435
|
+
* @summary Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
|
|
4436
|
+
*
|
|
4437
|
+
* @param request DescribeRegionsRequest
|
|
4438
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4439
|
+
* @return DescribeRegionsResponse
|
|
4440
|
+
*/
|
|
4210
4441
|
async describeRegionsWithOptions(request, runtime) {
|
|
4211
4442
|
tea_util_1.default.validateModel(request);
|
|
4212
4443
|
let query = {};
|
|
@@ -4232,19 +4463,27 @@ class Client extends openapi_client_1.default {
|
|
|
4232
4463
|
});
|
|
4233
4464
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
4234
4465
|
}
|
|
4466
|
+
/**
|
|
4467
|
+
* @summary Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
|
|
4468
|
+
*
|
|
4469
|
+
* @param request DescribeRegionsRequest
|
|
4470
|
+
* @return DescribeRegionsResponse
|
|
4471
|
+
*/
|
|
4235
4472
|
async describeRegions(request) {
|
|
4236
4473
|
let runtime = new $Util.RuntimeOptions({});
|
|
4237
4474
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
4238
4475
|
}
|
|
4239
4476
|
/**
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4477
|
+
* @summary Queries traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
4478
|
+
*
|
|
4479
|
+
* @description You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
4480
|
+
* > When you call this operation, you must configure the **InstanceId** parameter to specify the Anti-DDoS Origin instance whose traffic statistics you want to query.
|
|
4481
|
+
* ## Limits
|
|
4482
|
+
* You can call this operation once per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4483
|
+
*
|
|
4484
|
+
* @param request DescribeTrafficRequest
|
|
4485
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4486
|
+
* @return DescribeTrafficResponse
|
|
4248
4487
|
*/
|
|
4249
4488
|
async describeTrafficWithOptions(request, runtime) {
|
|
4250
4489
|
tea_util_1.default.validateModel(request);
|
|
@@ -4293,18 +4532,27 @@ class Client extends openapi_client_1.default {
|
|
|
4293
4532
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrafficResponse({}));
|
|
4294
4533
|
}
|
|
4295
4534
|
/**
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4535
|
+
* @summary Queries traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
4536
|
+
*
|
|
4537
|
+
* @description You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
4538
|
+
* > When you call this operation, you must configure the **InstanceId** parameter to specify the Anti-DDoS Origin instance whose traffic statistics you want to query.
|
|
4539
|
+
* ## Limits
|
|
4540
|
+
* You can call this operation once per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4541
|
+
*
|
|
4542
|
+
* @param request DescribeTrafficRequest
|
|
4543
|
+
* @return DescribeTrafficResponse
|
|
4303
4544
|
*/
|
|
4304
4545
|
async describeTraffic(request) {
|
|
4305
4546
|
let runtime = new $Util.RuntimeOptions({});
|
|
4306
4547
|
return await this.describeTrafficWithOptions(request, runtime);
|
|
4307
4548
|
}
|
|
4549
|
+
/**
|
|
4550
|
+
* @summary Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
|
|
4551
|
+
*
|
|
4552
|
+
* @param tmpReq DettachAssetGroupToInstanceRequest
|
|
4553
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4554
|
+
* @return DettachAssetGroupToInstanceResponse
|
|
4555
|
+
*/
|
|
4308
4556
|
async dettachAssetGroupToInstanceWithOptions(tmpReq, runtime) {
|
|
4309
4557
|
tea_util_1.default.validateModel(tmpReq);
|
|
4310
4558
|
let request = new DettachAssetGroupToInstanceShrinkRequest({});
|
|
@@ -4341,10 +4589,23 @@ class Client extends openapi_client_1.default {
|
|
|
4341
4589
|
});
|
|
4342
4590
|
return $tea.cast(await this.callApi(params, req, runtime), new DettachAssetGroupToInstanceResponse({}));
|
|
4343
4591
|
}
|
|
4592
|
+
/**
|
|
4593
|
+
* @summary Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
|
|
4594
|
+
*
|
|
4595
|
+
* @param request DettachAssetGroupToInstanceRequest
|
|
4596
|
+
* @return DettachAssetGroupToInstanceResponse
|
|
4597
|
+
*/
|
|
4344
4598
|
async dettachAssetGroupToInstance(request) {
|
|
4345
4599
|
let runtime = new $Util.RuntimeOptions({});
|
|
4346
4600
|
return await this.dettachAssetGroupToInstanceWithOptions(request, runtime);
|
|
4347
4601
|
}
|
|
4602
|
+
/**
|
|
4603
|
+
* @summary Checks whether Log Service is activated.
|
|
4604
|
+
*
|
|
4605
|
+
* @param request GetSlsOpenStatusRequest
|
|
4606
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4607
|
+
* @return GetSlsOpenStatusResponse
|
|
4608
|
+
*/
|
|
4348
4609
|
async getSlsOpenStatusWithOptions(request, runtime) {
|
|
4349
4610
|
tea_util_1.default.validateModel(request);
|
|
4350
4611
|
let query = {};
|
|
@@ -4370,10 +4631,23 @@ class Client extends openapi_client_1.default {
|
|
|
4370
4631
|
});
|
|
4371
4632
|
return $tea.cast(await this.callApi(params, req, runtime), new GetSlsOpenStatusResponse({}));
|
|
4372
4633
|
}
|
|
4634
|
+
/**
|
|
4635
|
+
* @summary Checks whether Log Service is activated.
|
|
4636
|
+
*
|
|
4637
|
+
* @param request GetSlsOpenStatusRequest
|
|
4638
|
+
* @return GetSlsOpenStatusResponse
|
|
4639
|
+
*/
|
|
4373
4640
|
async getSlsOpenStatus(request) {
|
|
4374
4641
|
let runtime = new $Util.RuntimeOptions({});
|
|
4375
4642
|
return await this.getSlsOpenStatusWithOptions(request, runtime);
|
|
4376
4643
|
}
|
|
4644
|
+
/**
|
|
4645
|
+
* @summary Queries the Anti-DDoS Origin instances for which log analysis is enabled.
|
|
4646
|
+
*
|
|
4647
|
+
* @param request ListOpenedAccessLogInstancesRequest
|
|
4648
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4649
|
+
* @return ListOpenedAccessLogInstancesResponse
|
|
4650
|
+
*/
|
|
4377
4651
|
async listOpenedAccessLogInstancesWithOptions(request, runtime) {
|
|
4378
4652
|
tea_util_1.default.validateModel(request);
|
|
4379
4653
|
let query = {};
|
|
@@ -4402,10 +4676,23 @@ class Client extends openapi_client_1.default {
|
|
|
4402
4676
|
});
|
|
4403
4677
|
return $tea.cast(await this.callApi(params, req, runtime), new ListOpenedAccessLogInstancesResponse({}));
|
|
4404
4678
|
}
|
|
4679
|
+
/**
|
|
4680
|
+
* @summary Queries the Anti-DDoS Origin instances for which log analysis is enabled.
|
|
4681
|
+
*
|
|
4682
|
+
* @param request ListOpenedAccessLogInstancesRequest
|
|
4683
|
+
* @return ListOpenedAccessLogInstancesResponse
|
|
4684
|
+
*/
|
|
4405
4685
|
async listOpenedAccessLogInstances(request) {
|
|
4406
4686
|
let runtime = new $Util.RuntimeOptions({});
|
|
4407
4687
|
return await this.listOpenedAccessLogInstancesWithOptions(request, runtime);
|
|
4408
4688
|
}
|
|
4689
|
+
/**
|
|
4690
|
+
* @summary Queries all tags.
|
|
4691
|
+
*
|
|
4692
|
+
* @param request ListTagKeysRequest
|
|
4693
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4694
|
+
* @return ListTagKeysResponse
|
|
4695
|
+
*/
|
|
4409
4696
|
async listTagKeysWithOptions(request, runtime) {
|
|
4410
4697
|
tea_util_1.default.validateModel(request);
|
|
4411
4698
|
let query = {};
|
|
@@ -4440,16 +4727,22 @@ class Client extends openapi_client_1.default {
|
|
|
4440
4727
|
});
|
|
4441
4728
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
|
|
4442
4729
|
}
|
|
4730
|
+
/**
|
|
4731
|
+
* @summary Queries all tags.
|
|
4732
|
+
*
|
|
4733
|
+
* @param request ListTagKeysRequest
|
|
4734
|
+
* @return ListTagKeysResponse
|
|
4735
|
+
*/
|
|
4443
4736
|
async listTagKeys(request) {
|
|
4444
4737
|
let runtime = new $Util.RuntimeOptions({});
|
|
4445
4738
|
return await this.listTagKeysWithOptions(request, runtime);
|
|
4446
4739
|
}
|
|
4447
4740
|
/**
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4741
|
+
* @description You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
|
|
4742
|
+
*
|
|
4743
|
+
* @param request ListTagResourcesRequest
|
|
4744
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4745
|
+
* @return ListTagResourcesResponse
|
|
4453
4746
|
*/
|
|
4454
4747
|
async listTagResourcesWithOptions(request, runtime) {
|
|
4455
4748
|
tea_util_1.default.validateModel(request);
|
|
@@ -4489,23 +4782,25 @@ class Client extends openapi_client_1.default {
|
|
|
4489
4782
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
4490
4783
|
}
|
|
4491
4784
|
/**
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4785
|
+
* @description You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
|
|
4786
|
+
*
|
|
4787
|
+
* @param request ListTagResourcesRequest
|
|
4788
|
+
* @return ListTagResourcesResponse
|
|
4496
4789
|
*/
|
|
4497
4790
|
async listTagResources(request) {
|
|
4498
4791
|
let runtime = new $Util.RuntimeOptions({});
|
|
4499
4792
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
4500
4793
|
}
|
|
4501
4794
|
/**
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4795
|
+
* @summary Adds remarks for a specific Anti-DDoS Origin instance.
|
|
4796
|
+
*
|
|
4797
|
+
* @description You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
4798
|
+
* ## Limits
|
|
4799
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4800
|
+
*
|
|
4801
|
+
* @param request ModifyRemarkRequest
|
|
4802
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4803
|
+
* @return ModifyRemarkResponse
|
|
4509
4804
|
*/
|
|
4510
4805
|
async modifyRemarkWithOptions(request, runtime) {
|
|
4511
4806
|
tea_util_1.default.validateModel(request);
|
|
@@ -4539,17 +4834,26 @@ class Client extends openapi_client_1.default {
|
|
|
4539
4834
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyRemarkResponse({}));
|
|
4540
4835
|
}
|
|
4541
4836
|
/**
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4837
|
+
* @summary Adds remarks for a specific Anti-DDoS Origin instance.
|
|
4838
|
+
*
|
|
4839
|
+
* @description You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
4840
|
+
* ## Limits
|
|
4841
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4842
|
+
*
|
|
4843
|
+
* @param request ModifyRemarkRequest
|
|
4844
|
+
* @return ModifyRemarkResponse
|
|
4548
4845
|
*/
|
|
4549
4846
|
async modifyRemark(request) {
|
|
4550
4847
|
let runtime = new $Util.RuntimeOptions({});
|
|
4551
4848
|
return await this.modifyRemarkWithOptions(request, runtime);
|
|
4552
4849
|
}
|
|
4850
|
+
/**
|
|
4851
|
+
* @summary Queries the scheduling rule of an on-demand instance.
|
|
4852
|
+
*
|
|
4853
|
+
* @param request QuerySchedruleOnDemandRequest
|
|
4854
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4855
|
+
* @return QuerySchedruleOnDemandResponse
|
|
4856
|
+
*/
|
|
4553
4857
|
async querySchedruleOnDemandWithOptions(request, runtime) {
|
|
4554
4858
|
tea_util_1.default.validateModel(request);
|
|
4555
4859
|
let query = {};
|
|
@@ -4575,10 +4879,23 @@ class Client extends openapi_client_1.default {
|
|
|
4575
4879
|
});
|
|
4576
4880
|
return $tea.cast(await this.callApi(params, req, runtime), new QuerySchedruleOnDemandResponse({}));
|
|
4577
4881
|
}
|
|
4882
|
+
/**
|
|
4883
|
+
* @summary Queries the scheduling rule of an on-demand instance.
|
|
4884
|
+
*
|
|
4885
|
+
* @param request QuerySchedruleOnDemandRequest
|
|
4886
|
+
* @return QuerySchedruleOnDemandResponse
|
|
4887
|
+
*/
|
|
4578
4888
|
async querySchedruleOnDemand(request) {
|
|
4579
4889
|
let runtime = new $Util.RuntimeOptions({});
|
|
4580
4890
|
return await this.querySchedruleOnDemandWithOptions(request, runtime);
|
|
4581
4891
|
}
|
|
4892
|
+
/**
|
|
4893
|
+
* @summary 释放原生防护全局实例
|
|
4894
|
+
*
|
|
4895
|
+
* @param request ReleaseDdosOriginInstanceRequest
|
|
4896
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4897
|
+
* @return ReleaseDdosOriginInstanceResponse
|
|
4898
|
+
*/
|
|
4582
4899
|
async releaseDdosOriginInstanceWithOptions(request, runtime) {
|
|
4583
4900
|
tea_util_1.default.validateModel(request);
|
|
4584
4901
|
let query = {};
|
|
@@ -4601,10 +4918,21 @@ class Client extends openapi_client_1.default {
|
|
|
4601
4918
|
});
|
|
4602
4919
|
return $tea.cast(await this.callApi(params, req, runtime), new ReleaseDdosOriginInstanceResponse({}));
|
|
4603
4920
|
}
|
|
4921
|
+
/**
|
|
4922
|
+
* @summary 释放原生防护全局实例
|
|
4923
|
+
*
|
|
4924
|
+
* @param request ReleaseDdosOriginInstanceRequest
|
|
4925
|
+
* @return ReleaseDdosOriginInstanceResponse
|
|
4926
|
+
*/
|
|
4604
4927
|
async releaseDdosOriginInstance(request) {
|
|
4605
4928
|
let runtime = new $Util.RuntimeOptions({});
|
|
4606
4929
|
return await this.releaseDdosOriginInstanceWithOptions(request, runtime);
|
|
4607
4930
|
}
|
|
4931
|
+
/**
|
|
4932
|
+
* @param request SetInstanceModeOnDemandRequest
|
|
4933
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4934
|
+
* @return SetInstanceModeOnDemandResponse
|
|
4935
|
+
*/
|
|
4608
4936
|
async setInstanceModeOnDemandWithOptions(request, runtime) {
|
|
4609
4937
|
tea_util_1.default.validateModel(request);
|
|
4610
4938
|
let query = {};
|
|
@@ -4633,18 +4961,24 @@ class Client extends openapi_client_1.default {
|
|
|
4633
4961
|
});
|
|
4634
4962
|
return $tea.cast(await this.callApi(params, req, runtime), new SetInstanceModeOnDemandResponse({}));
|
|
4635
4963
|
}
|
|
4964
|
+
/**
|
|
4965
|
+
* @param request SetInstanceModeOnDemandRequest
|
|
4966
|
+
* @return SetInstanceModeOnDemandResponse
|
|
4967
|
+
*/
|
|
4636
4968
|
async setInstanceModeOnDemand(request) {
|
|
4637
4969
|
let runtime = new $Util.RuntimeOptions({});
|
|
4638
4970
|
return await this.setInstanceModeOnDemandWithOptions(request, runtime);
|
|
4639
4971
|
}
|
|
4640
4972
|
/**
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4973
|
+
* @summary Adds tags to Anti-DDoS Origin instances.
|
|
4974
|
+
*
|
|
4975
|
+
* @description You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
|
|
4976
|
+
* ## Limits
|
|
4977
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4978
|
+
*
|
|
4979
|
+
* @param request TagResourcesRequest
|
|
4980
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4981
|
+
* @return TagResourcesResponse
|
|
4648
4982
|
*/
|
|
4649
4983
|
async tagResourcesWithOptions(request, runtime) {
|
|
4650
4984
|
tea_util_1.default.validateModel(request);
|
|
@@ -4681,17 +5015,26 @@ class Client extends openapi_client_1.default {
|
|
|
4681
5015
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
4682
5016
|
}
|
|
4683
5017
|
/**
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
5018
|
+
* @summary Adds tags to Anti-DDoS Origin instances.
|
|
5019
|
+
*
|
|
5020
|
+
* @description You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
|
|
5021
|
+
* ## Limits
|
|
5022
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5023
|
+
*
|
|
5024
|
+
* @param request TagResourcesRequest
|
|
5025
|
+
* @return TagResourcesResponse
|
|
4690
5026
|
*/
|
|
4691
5027
|
async tagResources(request) {
|
|
4692
5028
|
let runtime = new $Util.RuntimeOptions({});
|
|
4693
5029
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
4694
5030
|
}
|
|
5031
|
+
/**
|
|
5032
|
+
* @summary Removes tags from Anti-DDoS Origin Enterprise instances.
|
|
5033
|
+
*
|
|
5034
|
+
* @param request UntagResourcesRequest
|
|
5035
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5036
|
+
* @return UntagResourcesResponse
|
|
5037
|
+
*/
|
|
4695
5038
|
async untagResourcesWithOptions(request, runtime) {
|
|
4696
5039
|
tea_util_1.default.validateModel(request);
|
|
4697
5040
|
let query = {};
|
|
@@ -4729,6 +5072,12 @@ class Client extends openapi_client_1.default {
|
|
|
4729
5072
|
});
|
|
4730
5073
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
4731
5074
|
}
|
|
5075
|
+
/**
|
|
5076
|
+
* @summary Removes tags from Anti-DDoS Origin Enterprise instances.
|
|
5077
|
+
*
|
|
5078
|
+
* @param request UntagResourcesRequest
|
|
5079
|
+
* @return UntagResourcesResponse
|
|
5080
|
+
*/
|
|
4732
5081
|
async untagResources(request) {
|
|
4733
5082
|
let runtime = new $Util.RuntimeOptions({});
|
|
4734
5083
|
return await this.untagResourcesWithOptions(request, runtime);
|