@alicloud/ddosbgp20180720 2.6.0 → 2.6.2
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 +5698 -359
- package/dist/client.js +433 -348
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +5802 -451
package/dist/client.js
CHANGED
|
@@ -32,7 +32,6 @@ exports.DescribeDdosEventResponseBodyEvents = exports.DescribeAssetGroupToInstan
|
|
|
32
32
|
exports.TagResourcesRequestTag = exports.QuerySchedruleOnDemandResponseBodyRuleStatus = exports.QuerySchedruleOnDemandResponseBodyRuleConfig = exports.ModifyPolicyContentRequestContent = exports.ModifyPolicyContentRequestContentSourceLimit = exports.ModifyPolicyContentRequestContentSourceBlockList = exports.ModifyPolicyContentRequestContentPortRuleList = exports.ModifyPolicyContentRequestContentL4RuleList = exports.ModifyPolicyContentRequestContentL4RuleListConditionList = exports.ModifyPolicyContentRequestContentFingerPrintRuleList = exports.ModifyPolicyRequestContent = exports.ModifyPolicyRequestContentSourceLimit = exports.ModifyPolicyRequestContentSourceBlockList = exports.ModifyPolicyRequestContentPortRuleList = exports.ModifyPolicyRequestContentL4RuleList = exports.ModifyPolicyRequestContentL4RuleListConditionList = exports.ModifyPolicyRequestContentFingerPrintRuleList = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesResponseBodyTagResourcesTagResource = exports.ListTagResourcesRequestTag = exports.ListTagKeysResponseBodyTagKeys = exports.ListPolicyAttachmentResponseBodyAttachmentList = exports.ListPolicyAttachmentRequestIpPortProtocolList = exports.ListPolicyResponseBodyPolicyList = exports.ListPolicyResponseBodyPolicyListContent = exports.ListPolicyResponseBodyPolicyListContentSourceLimit = exports.ListPolicyResponseBodyPolicyListContentSourceBlockList = exports.ListPolicyResponseBodyPolicyListContentPortRuleList = exports.ListPolicyResponseBodyPolicyListContentL4RuleList = exports.ListPolicyResponseBodyPolicyListContentL4RuleListConditionList = exports.ListPolicyResponseBodyPolicyListContentFingerPrintRuleList = exports.ListOpenedAccessLogInstancesResponseBodySlsConfigStatus = exports.DettachAssetGroupToInstanceRequestAssetGroupList = exports.DetachFromPolicyRequestIpPortProtocolList = exports.DescribeTrafficResponseBodyFlowList = exports.DescribeRegionsResponseBodyRegions = exports.DescribeRdMemberListResponseBodyMemberList = exports.DescribePackIpListResponseBodyIpList = exports.DescribeOpEntitiesResponseBodyOpEntities = exports.DescribeOnDemandInstanceStatusResponseBodyInstances = exports.DescribeOnDemandDdosEventResponseBodyEvents = exports.DescribeInstanceSpecsResponseBodyInstanceSpecs = exports.DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig = exports.DescribeInstanceListResponseBodyInstanceList = exports.DescribeInstanceListResponseBodyInstanceListAutoProtectCondition = exports.DescribeInstanceListRequestTag = exports.DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList = exports.DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList = exports.DescribeDdosOriginInstanceBillResponseBodyFlowList = void 0;
|
|
33
33
|
// This file is auto-generated, don't edit it
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
36
35
|
*/
|
|
37
36
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
38
37
|
const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
|
|
@@ -1146,6 +1145,7 @@ exports.DescribeDdosOriginInstanceBillRequest = DescribeDdosOriginInstanceBillRe
|
|
|
1146
1145
|
class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
|
|
1147
1146
|
static names() {
|
|
1148
1147
|
return {
|
|
1148
|
+
assetStatus: 'AssetStatus',
|
|
1149
1149
|
debtStatus: 'DebtStatus',
|
|
1150
1150
|
flowList: 'FlowList',
|
|
1151
1151
|
flowRegion: 'FlowRegion',
|
|
@@ -1165,6 +1165,7 @@ class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
|
|
|
1165
1165
|
}
|
|
1166
1166
|
static types() {
|
|
1167
1167
|
return {
|
|
1168
|
+
assetStatus: 'number',
|
|
1168
1169
|
debtStatus: 'number',
|
|
1169
1170
|
flowList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyFlowList },
|
|
1170
1171
|
flowRegion: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
@@ -2187,6 +2188,7 @@ class ListPolicyRequest extends $tea.Model {
|
|
|
2187
2188
|
name: 'Name',
|
|
2188
2189
|
pageNo: 'PageNo',
|
|
2189
2190
|
pageSize: 'PageSize',
|
|
2191
|
+
productType: 'ProductType',
|
|
2190
2192
|
type: 'Type',
|
|
2191
2193
|
};
|
|
2192
2194
|
}
|
|
@@ -2195,6 +2197,7 @@ class ListPolicyRequest extends $tea.Model {
|
|
|
2195
2197
|
name: 'string',
|
|
2196
2198
|
pageNo: 'number',
|
|
2197
2199
|
pageSize: 'number',
|
|
2200
|
+
productType: 'string',
|
|
2198
2201
|
type: 'string',
|
|
2199
2202
|
};
|
|
2200
2203
|
}
|
|
@@ -3766,6 +3769,7 @@ class ListPolicyResponseBodyPolicyList extends $tea.Model {
|
|
|
3766
3769
|
content: 'Content',
|
|
3767
3770
|
id: 'Id',
|
|
3768
3771
|
name: 'Name',
|
|
3772
|
+
remark: 'Remark',
|
|
3769
3773
|
type: 'Type',
|
|
3770
3774
|
};
|
|
3771
3775
|
}
|
|
@@ -3775,6 +3779,7 @@ class ListPolicyResponseBodyPolicyList extends $tea.Model {
|
|
|
3775
3779
|
content: ListPolicyResponseBodyPolicyListContent,
|
|
3776
3780
|
id: 'string',
|
|
3777
3781
|
name: 'string',
|
|
3782
|
+
remark: 'string',
|
|
3778
3783
|
type: 'string',
|
|
3779
3784
|
};
|
|
3780
3785
|
}
|
|
@@ -3810,6 +3815,7 @@ class ListPolicyAttachmentResponseBodyAttachmentList extends $tea.Model {
|
|
|
3810
3815
|
memberUid: 'MemberUid',
|
|
3811
3816
|
policyId: 'PolicyId',
|
|
3812
3817
|
policyName: 'PolicyName',
|
|
3818
|
+
policyRemark: 'PolicyRemark',
|
|
3813
3819
|
policyType: 'PolicyType',
|
|
3814
3820
|
port: 'Port',
|
|
3815
3821
|
protocol: 'Protocol',
|
|
@@ -3822,6 +3828,7 @@ class ListPolicyAttachmentResponseBodyAttachmentList extends $tea.Model {
|
|
|
3822
3828
|
memberUid: 'string',
|
|
3823
3829
|
policyId: 'string',
|
|
3824
3830
|
policyName: 'string',
|
|
3831
|
+
policyRemark: 'string',
|
|
3825
3832
|
policyType: 'string',
|
|
3826
3833
|
port: 'number',
|
|
3827
3834
|
protocol: 'string',
|
|
@@ -4428,11 +4435,11 @@ class Client extends openapi_client_1.default {
|
|
|
4428
4435
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
4429
4436
|
}
|
|
4430
4437
|
/**
|
|
4431
|
-
*
|
|
4438
|
+
* Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
|
|
4432
4439
|
*
|
|
4433
|
-
* @param request AddIpRequest
|
|
4434
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4435
|
-
* @
|
|
4440
|
+
* @param request - AddIpRequest
|
|
4441
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4442
|
+
* @returns AddIpResponse
|
|
4436
4443
|
*/
|
|
4437
4444
|
async addIpWithOptions(request, runtime) {
|
|
4438
4445
|
tea_util_1.default.validateModel(request);
|
|
@@ -4466,21 +4473,24 @@ class Client extends openapi_client_1.default {
|
|
|
4466
4473
|
return $tea.cast(await this.callApi(params, req, runtime), new AddIpResponse({}));
|
|
4467
4474
|
}
|
|
4468
4475
|
/**
|
|
4469
|
-
*
|
|
4476
|
+
* Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
|
|
4470
4477
|
*
|
|
4471
|
-
* @param request AddIpRequest
|
|
4472
|
-
* @
|
|
4478
|
+
* @param request - AddIpRequest
|
|
4479
|
+
* @returns AddIpResponse
|
|
4473
4480
|
*/
|
|
4474
4481
|
async addIp(request) {
|
|
4475
4482
|
let runtime = new $Util.RuntimeOptions({});
|
|
4476
4483
|
return await this.addIpWithOptions(request, runtime);
|
|
4477
4484
|
}
|
|
4478
4485
|
/**
|
|
4479
|
-
*
|
|
4486
|
+
* Adds members to a resource directory.
|
|
4487
|
+
*
|
|
4488
|
+
* @remarks
|
|
4489
|
+
* Only a delegated administrator account or the management account of a resource directory can be used to add members to the resource directory.
|
|
4480
4490
|
*
|
|
4481
|
-
* @param tmpReq AddRdMemberListRequest
|
|
4482
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4483
|
-
* @
|
|
4491
|
+
* @param tmpReq - AddRdMemberListRequest
|
|
4492
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4493
|
+
* @returns AddRdMemberListResponse
|
|
4484
4494
|
*/
|
|
4485
4495
|
async addRdMemberListWithOptions(tmpReq, runtime) {
|
|
4486
4496
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -4510,21 +4520,24 @@ class Client extends openapi_client_1.default {
|
|
|
4510
4520
|
return $tea.cast(await this.callApi(params, req, runtime), new AddRdMemberListResponse({}));
|
|
4511
4521
|
}
|
|
4512
4522
|
/**
|
|
4513
|
-
*
|
|
4523
|
+
* Adds members to a resource directory.
|
|
4514
4524
|
*
|
|
4515
|
-
* @
|
|
4516
|
-
*
|
|
4525
|
+
* @remarks
|
|
4526
|
+
* Only a delegated administrator account or the management account of a resource directory can be used to add members to the resource directory.
|
|
4527
|
+
*
|
|
4528
|
+
* @param request - AddRdMemberListRequest
|
|
4529
|
+
* @returns AddRdMemberListResponse
|
|
4517
4530
|
*/
|
|
4518
4531
|
async addRdMemberList(request) {
|
|
4519
4532
|
let runtime = new $Util.RuntimeOptions({});
|
|
4520
4533
|
return await this.addRdMemberListWithOptions(request, runtime);
|
|
4521
4534
|
}
|
|
4522
4535
|
/**
|
|
4523
|
-
*
|
|
4536
|
+
* Associates an asset with an Anti-DDoS Origin instance of a paid edition.
|
|
4524
4537
|
*
|
|
4525
|
-
* @param tmpReq AttachAssetGroupToInstanceRequest
|
|
4526
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4527
|
-
* @
|
|
4538
|
+
* @param tmpReq - AttachAssetGroupToInstanceRequest
|
|
4539
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4540
|
+
* @returns AttachAssetGroupToInstanceResponse
|
|
4528
4541
|
*/
|
|
4529
4542
|
async attachAssetGroupToInstanceWithOptions(tmpReq, runtime) {
|
|
4530
4543
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -4560,21 +4573,21 @@ class Client extends openapi_client_1.default {
|
|
|
4560
4573
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachAssetGroupToInstanceResponse({}));
|
|
4561
4574
|
}
|
|
4562
4575
|
/**
|
|
4563
|
-
*
|
|
4576
|
+
* Associates an asset with an Anti-DDoS Origin instance of a paid edition.
|
|
4564
4577
|
*
|
|
4565
|
-
* @param request AttachAssetGroupToInstanceRequest
|
|
4566
|
-
* @
|
|
4578
|
+
* @param request - AttachAssetGroupToInstanceRequest
|
|
4579
|
+
* @returns AttachAssetGroupToInstanceResponse
|
|
4567
4580
|
*/
|
|
4568
4581
|
async attachAssetGroupToInstance(request) {
|
|
4569
4582
|
let runtime = new $Util.RuntimeOptions({});
|
|
4570
4583
|
return await this.attachAssetGroupToInstanceWithOptions(request, runtime);
|
|
4571
4584
|
}
|
|
4572
4585
|
/**
|
|
4573
|
-
*
|
|
4586
|
+
* Associates a mitigation policy to a protected object.
|
|
4574
4587
|
*
|
|
4575
|
-
* @param tmpReq AttachToPolicyRequest
|
|
4576
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4577
|
-
* @
|
|
4588
|
+
* @param tmpReq - AttachToPolicyRequest
|
|
4589
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4590
|
+
* @returns AttachToPolicyResponse
|
|
4578
4591
|
*/
|
|
4579
4592
|
async attachToPolicyWithOptions(tmpReq, runtime) {
|
|
4580
4593
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -4607,21 +4620,21 @@ class Client extends openapi_client_1.default {
|
|
|
4607
4620
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachToPolicyResponse({}));
|
|
4608
4621
|
}
|
|
4609
4622
|
/**
|
|
4610
|
-
*
|
|
4623
|
+
* Associates a mitigation policy to a protected object.
|
|
4611
4624
|
*
|
|
4612
|
-
* @param request AttachToPolicyRequest
|
|
4613
|
-
* @
|
|
4625
|
+
* @param request - AttachToPolicyRequest
|
|
4626
|
+
* @returns AttachToPolicyResponse
|
|
4614
4627
|
*/
|
|
4615
4628
|
async attachToPolicy(request) {
|
|
4616
4629
|
let runtime = new $Util.RuntimeOptions({});
|
|
4617
4630
|
return await this.attachToPolicyWithOptions(request, runtime);
|
|
4618
4631
|
}
|
|
4619
4632
|
/**
|
|
4620
|
-
*
|
|
4633
|
+
* Queries whether Anti-DDoS Origin is authorized to access Simple Log Service.
|
|
4621
4634
|
*
|
|
4622
|
-
* @param request CheckAccessLogAuthRequest
|
|
4623
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4624
|
-
* @
|
|
4635
|
+
* @param request - CheckAccessLogAuthRequest
|
|
4636
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4637
|
+
* @returns CheckAccessLogAuthResponse
|
|
4625
4638
|
*/
|
|
4626
4639
|
async checkAccessLogAuthWithOptions(request, runtime) {
|
|
4627
4640
|
tea_util_1.default.validateModel(request);
|
|
@@ -4649,25 +4662,26 @@ class Client extends openapi_client_1.default {
|
|
|
4649
4662
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckAccessLogAuthResponse({}));
|
|
4650
4663
|
}
|
|
4651
4664
|
/**
|
|
4652
|
-
*
|
|
4665
|
+
* Queries whether Anti-DDoS Origin is authorized to access Simple Log Service.
|
|
4653
4666
|
*
|
|
4654
|
-
* @param request CheckAccessLogAuthRequest
|
|
4655
|
-
* @
|
|
4667
|
+
* @param request - CheckAccessLogAuthRequest
|
|
4668
|
+
* @returns CheckAccessLogAuthResponse
|
|
4656
4669
|
*/
|
|
4657
4670
|
async checkAccessLogAuth(request) {
|
|
4658
4671
|
let runtime = new $Util.RuntimeOptions({});
|
|
4659
4672
|
return await this.checkAccessLogAuthWithOptions(request, runtime);
|
|
4660
4673
|
}
|
|
4661
4674
|
/**
|
|
4662
|
-
*
|
|
4675
|
+
* Queries whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
4663
4676
|
*
|
|
4664
|
-
* @
|
|
4677
|
+
* @remarks
|
|
4678
|
+
* 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.
|
|
4665
4679
|
* ### Limits
|
|
4666
4680
|
* 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.
|
|
4667
4681
|
*
|
|
4668
|
-
* @param request CheckGrantRequest
|
|
4669
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4670
|
-
* @
|
|
4682
|
+
* @param request - CheckGrantRequest
|
|
4683
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4684
|
+
* @returns CheckGrantResponse
|
|
4671
4685
|
*/
|
|
4672
4686
|
async checkGrantWithOptions(request, runtime) {
|
|
4673
4687
|
tea_util_1.default.validateModel(request);
|
|
@@ -4689,23 +4703,26 @@ class Client extends openapi_client_1.default {
|
|
|
4689
4703
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckGrantResponse({}));
|
|
4690
4704
|
}
|
|
4691
4705
|
/**
|
|
4692
|
-
*
|
|
4706
|
+
* Queries whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
4693
4707
|
*
|
|
4694
|
-
* @
|
|
4708
|
+
* @remarks
|
|
4709
|
+
* 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.
|
|
4695
4710
|
* ### Limits
|
|
4696
4711
|
* 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.
|
|
4697
4712
|
*
|
|
4698
|
-
* @param request CheckGrantRequest
|
|
4699
|
-
* @
|
|
4713
|
+
* @param request - CheckGrantRequest
|
|
4714
|
+
* @returns CheckGrantResponse
|
|
4700
4715
|
*/
|
|
4701
4716
|
async checkGrant(request) {
|
|
4702
4717
|
let runtime = new $Util.RuntimeOptions({});
|
|
4703
4718
|
return await this.checkGrantWithOptions(request, runtime);
|
|
4704
4719
|
}
|
|
4705
4720
|
/**
|
|
4706
|
-
*
|
|
4707
|
-
*
|
|
4708
|
-
* @
|
|
4721
|
+
* Modifies a scheduling rule of an on-demand instance.
|
|
4722
|
+
*
|
|
4723
|
+
* @param request - ConfigSchedruleOnDemandRequest
|
|
4724
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4725
|
+
* @returns ConfigSchedruleOnDemandResponse
|
|
4709
4726
|
*/
|
|
4710
4727
|
async configSchedruleOnDemandWithOptions(request, runtime) {
|
|
4711
4728
|
tea_util_1.default.validateModel(request);
|
|
@@ -4763,19 +4780,21 @@ class Client extends openapi_client_1.default {
|
|
|
4763
4780
|
return $tea.cast(await this.callApi(params, req, runtime), new ConfigSchedruleOnDemandResponse({}));
|
|
4764
4781
|
}
|
|
4765
4782
|
/**
|
|
4766
|
-
*
|
|
4767
|
-
*
|
|
4783
|
+
* Modifies a scheduling rule of an on-demand instance.
|
|
4784
|
+
*
|
|
4785
|
+
* @param request - ConfigSchedruleOnDemandRequest
|
|
4786
|
+
* @returns ConfigSchedruleOnDemandResponse
|
|
4768
4787
|
*/
|
|
4769
4788
|
async configSchedruleOnDemand(request) {
|
|
4770
4789
|
let runtime = new $Util.RuntimeOptions({});
|
|
4771
4790
|
return await this.configSchedruleOnDemandWithOptions(request, runtime);
|
|
4772
4791
|
}
|
|
4773
4792
|
/**
|
|
4774
|
-
*
|
|
4793
|
+
* Creates a mitigation policy.
|
|
4775
4794
|
*
|
|
4776
|
-
* @param request CreatePolicyRequest
|
|
4777
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4778
|
-
* @
|
|
4795
|
+
* @param request - CreatePolicyRequest
|
|
4796
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4797
|
+
* @returns CreatePolicyResponse
|
|
4779
4798
|
*/
|
|
4780
4799
|
async createPolicyWithOptions(request, runtime) {
|
|
4781
4800
|
tea_util_1.default.validateModel(request);
|
|
@@ -4803,21 +4822,21 @@ class Client extends openapi_client_1.default {
|
|
|
4803
4822
|
return $tea.cast(await this.callApi(params, req, runtime), new CreatePolicyResponse({}));
|
|
4804
4823
|
}
|
|
4805
4824
|
/**
|
|
4806
|
-
*
|
|
4825
|
+
* Creates a mitigation policy.
|
|
4807
4826
|
*
|
|
4808
|
-
* @param request CreatePolicyRequest
|
|
4809
|
-
* @
|
|
4827
|
+
* @param request - CreatePolicyRequest
|
|
4828
|
+
* @returns CreatePolicyResponse
|
|
4810
4829
|
*/
|
|
4811
4830
|
async createPolicy(request) {
|
|
4812
4831
|
let runtime = new $Util.RuntimeOptions({});
|
|
4813
4832
|
return await this.createPolicyWithOptions(request, runtime);
|
|
4814
4833
|
}
|
|
4815
4834
|
/**
|
|
4816
|
-
*
|
|
4835
|
+
* Creates a scheduling rule for an on-demand instance.
|
|
4817
4836
|
*
|
|
4818
|
-
* @param request CreateSchedruleOnDemandRequest
|
|
4819
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4820
|
-
* @
|
|
4837
|
+
* @param request - CreateSchedruleOnDemandRequest
|
|
4838
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4839
|
+
* @returns CreateSchedruleOnDemandResponse
|
|
4821
4840
|
*/
|
|
4822
4841
|
async createSchedruleOnDemandWithOptions(request, runtime) {
|
|
4823
4842
|
tea_util_1.default.validateModel(request);
|
|
@@ -4875,26 +4894,27 @@ class Client extends openapi_client_1.default {
|
|
|
4875
4894
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateSchedruleOnDemandResponse({}));
|
|
4876
4895
|
}
|
|
4877
4896
|
/**
|
|
4878
|
-
*
|
|
4897
|
+
* Creates a scheduling rule for an on-demand instance.
|
|
4879
4898
|
*
|
|
4880
|
-
* @param request CreateSchedruleOnDemandRequest
|
|
4881
|
-
* @
|
|
4899
|
+
* @param request - CreateSchedruleOnDemandRequest
|
|
4900
|
+
* @returns CreateSchedruleOnDemandResponse
|
|
4882
4901
|
*/
|
|
4883
4902
|
async createSchedruleOnDemand(request) {
|
|
4884
4903
|
let runtime = new $Util.RuntimeOptions({});
|
|
4885
4904
|
return await this.createSchedruleOnDemandWithOptions(request, runtime);
|
|
4886
4905
|
}
|
|
4887
4906
|
/**
|
|
4888
|
-
*
|
|
4907
|
+
* Deactivates blackhole filtering for a protected IP address.
|
|
4889
4908
|
*
|
|
4890
|
-
* @
|
|
4909
|
+
* @remarks
|
|
4910
|
+
* You can call the DeleteBlackhole operation to deactivate blackhole filtering for a protected IP address.
|
|
4891
4911
|
* 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.
|
|
4892
|
-
* ### Limits
|
|
4893
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
4912
|
+
* ### [](#qps-)Limits
|
|
4913
|
+
* You can call this operation up to 10 times per second per account. If the number of 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.
|
|
4894
4914
|
*
|
|
4895
|
-
* @param request DeleteBlackholeRequest
|
|
4896
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4897
|
-
* @
|
|
4915
|
+
* @param request - DeleteBlackholeRequest
|
|
4916
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4917
|
+
* @returns DeleteBlackholeResponse
|
|
4898
4918
|
*/
|
|
4899
4919
|
async deleteBlackholeWithOptions(request, runtime) {
|
|
4900
4920
|
tea_util_1.default.validateModel(request);
|
|
@@ -4928,28 +4948,30 @@ class Client extends openapi_client_1.default {
|
|
|
4928
4948
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteBlackholeResponse({}));
|
|
4929
4949
|
}
|
|
4930
4950
|
/**
|
|
4931
|
-
*
|
|
4951
|
+
* Deactivates blackhole filtering for a protected IP address.
|
|
4932
4952
|
*
|
|
4933
|
-
* @
|
|
4953
|
+
* @remarks
|
|
4954
|
+
* You can call the DeleteBlackhole operation to deactivate blackhole filtering for a protected IP address.
|
|
4934
4955
|
* 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.
|
|
4935
|
-
* ### Limits
|
|
4936
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
4956
|
+
* ### [](#qps-)Limits
|
|
4957
|
+
* You can call this operation up to 10 times per second per account. If the number of 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.
|
|
4937
4958
|
*
|
|
4938
|
-
* @param request DeleteBlackholeRequest
|
|
4939
|
-
* @
|
|
4959
|
+
* @param request - DeleteBlackholeRequest
|
|
4960
|
+
* @returns DeleteBlackholeResponse
|
|
4940
4961
|
*/
|
|
4941
4962
|
async deleteBlackhole(request) {
|
|
4942
4963
|
let runtime = new $Util.RuntimeOptions({});
|
|
4943
4964
|
return await this.deleteBlackholeWithOptions(request, runtime);
|
|
4944
4965
|
}
|
|
4945
4966
|
/**
|
|
4946
|
-
*
|
|
4967
|
+
* Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
|
|
4947
4968
|
*
|
|
4948
|
-
* @
|
|
4969
|
+
* @remarks
|
|
4970
|
+
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
4949
4971
|
*
|
|
4950
|
-
* @param request DeleteIpRequest
|
|
4951
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4952
|
-
* @
|
|
4972
|
+
* @param request - DeleteIpRequest
|
|
4973
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4974
|
+
* @returns DeleteIpResponse
|
|
4953
4975
|
*/
|
|
4954
4976
|
async deleteIpWithOptions(request, runtime) {
|
|
4955
4977
|
tea_util_1.default.validateModel(request);
|
|
@@ -4983,23 +5005,27 @@ class Client extends openapi_client_1.default {
|
|
|
4983
5005
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteIpResponse({}));
|
|
4984
5006
|
}
|
|
4985
5007
|
/**
|
|
4986
|
-
*
|
|
5008
|
+
* Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
|
|
4987
5009
|
*
|
|
4988
|
-
* @
|
|
5010
|
+
* @remarks
|
|
5011
|
+
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
4989
5012
|
*
|
|
4990
|
-
* @param request DeleteIpRequest
|
|
4991
|
-
* @
|
|
5013
|
+
* @param request - DeleteIpRequest
|
|
5014
|
+
* @returns DeleteIpResponse
|
|
4992
5015
|
*/
|
|
4993
5016
|
async deleteIp(request) {
|
|
4994
5017
|
let runtime = new $Util.RuntimeOptions({});
|
|
4995
5018
|
return await this.deleteIpWithOptions(request, runtime);
|
|
4996
5019
|
}
|
|
4997
5020
|
/**
|
|
4998
|
-
*
|
|
5021
|
+
* Deletes a mitigation policy.
|
|
5022
|
+
*
|
|
5023
|
+
* @remarks
|
|
5024
|
+
* You cannot delete a mitigation policy to which a protected object is added.
|
|
4999
5025
|
*
|
|
5000
|
-
* @param request DeletePolicyRequest
|
|
5001
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5002
|
-
* @
|
|
5026
|
+
* @param request - DeletePolicyRequest
|
|
5027
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5028
|
+
* @returns DeletePolicyResponse
|
|
5003
5029
|
*/
|
|
5004
5030
|
async deletePolicyWithOptions(request, runtime) {
|
|
5005
5031
|
tea_util_1.default.validateModel(request);
|
|
@@ -5024,21 +5050,27 @@ class Client extends openapi_client_1.default {
|
|
|
5024
5050
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePolicyResponse({}));
|
|
5025
5051
|
}
|
|
5026
5052
|
/**
|
|
5027
|
-
*
|
|
5053
|
+
* Deletes a mitigation policy.
|
|
5054
|
+
*
|
|
5055
|
+
* @remarks
|
|
5056
|
+
* You cannot delete a mitigation policy to which a protected object is added.
|
|
5028
5057
|
*
|
|
5029
|
-
* @param request DeletePolicyRequest
|
|
5030
|
-
* @
|
|
5058
|
+
* @param request - DeletePolicyRequest
|
|
5059
|
+
* @returns DeletePolicyResponse
|
|
5031
5060
|
*/
|
|
5032
5061
|
async deletePolicy(request) {
|
|
5033
5062
|
let runtime = new $Util.RuntimeOptions({});
|
|
5034
5063
|
return await this.deletePolicyWithOptions(request, runtime);
|
|
5035
5064
|
}
|
|
5036
5065
|
/**
|
|
5037
|
-
*
|
|
5066
|
+
* Deletes members.
|
|
5038
5067
|
*
|
|
5039
|
-
* @
|
|
5040
|
-
*
|
|
5041
|
-
*
|
|
5068
|
+
* @remarks
|
|
5069
|
+
* Only a delegated administrator account or the management account of a resource directory can be used to delete members.
|
|
5070
|
+
*
|
|
5071
|
+
* @param tmpReq - DeleteRdMemberListRequest
|
|
5072
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5073
|
+
* @returns DeleteRdMemberListResponse
|
|
5042
5074
|
*/
|
|
5043
5075
|
async deleteRdMemberListWithOptions(tmpReq, runtime) {
|
|
5044
5076
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -5068,19 +5100,24 @@ class Client extends openapi_client_1.default {
|
|
|
5068
5100
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteRdMemberListResponse({}));
|
|
5069
5101
|
}
|
|
5070
5102
|
/**
|
|
5071
|
-
*
|
|
5103
|
+
* Deletes members.
|
|
5104
|
+
*
|
|
5105
|
+
* @remarks
|
|
5106
|
+
* Only a delegated administrator account or the management account of a resource directory can be used to delete members.
|
|
5072
5107
|
*
|
|
5073
|
-
* @param request DeleteRdMemberListRequest
|
|
5074
|
-
* @
|
|
5108
|
+
* @param request - DeleteRdMemberListRequest
|
|
5109
|
+
* @returns DeleteRdMemberListResponse
|
|
5075
5110
|
*/
|
|
5076
5111
|
async deleteRdMemberList(request) {
|
|
5077
5112
|
let runtime = new $Util.RuntimeOptions({});
|
|
5078
5113
|
return await this.deleteRdMemberListWithOptions(request, runtime);
|
|
5079
5114
|
}
|
|
5080
5115
|
/**
|
|
5081
|
-
*
|
|
5082
|
-
*
|
|
5083
|
-
* @
|
|
5116
|
+
* Deletes a scheduling rule of an anti-DDoS diversion instance.
|
|
5117
|
+
*
|
|
5118
|
+
* @param request - DeleteSchedruleOnDemandRequest
|
|
5119
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5120
|
+
* @returns DeleteSchedruleOnDemandResponse
|
|
5084
5121
|
*/
|
|
5085
5122
|
async deleteSchedruleOnDemandWithOptions(request, runtime) {
|
|
5086
5123
|
tea_util_1.default.validateModel(request);
|
|
@@ -5111,19 +5148,21 @@ class Client extends openapi_client_1.default {
|
|
|
5111
5148
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSchedruleOnDemandResponse({}));
|
|
5112
5149
|
}
|
|
5113
5150
|
/**
|
|
5114
|
-
*
|
|
5115
|
-
*
|
|
5151
|
+
* Deletes a scheduling rule of an anti-DDoS diversion instance.
|
|
5152
|
+
*
|
|
5153
|
+
* @param request - DeleteSchedruleOnDemandRequest
|
|
5154
|
+
* @returns DeleteSchedruleOnDemandResponse
|
|
5116
5155
|
*/
|
|
5117
5156
|
async deleteSchedruleOnDemand(request) {
|
|
5118
5157
|
let runtime = new $Util.RuntimeOptions({});
|
|
5119
5158
|
return await this.deleteSchedruleOnDemandWithOptions(request, runtime);
|
|
5120
5159
|
}
|
|
5121
5160
|
/**
|
|
5122
|
-
*
|
|
5161
|
+
* Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
5123
5162
|
*
|
|
5124
|
-
* @param request DescribeAssetGroupRequest
|
|
5125
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5126
|
-
* @
|
|
5163
|
+
* @param request - DescribeAssetGroupRequest
|
|
5164
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5165
|
+
* @returns DescribeAssetGroupResponse
|
|
5127
5166
|
*/
|
|
5128
5167
|
async describeAssetGroupWithOptions(request, runtime) {
|
|
5129
5168
|
tea_util_1.default.validateModel(request);
|
|
@@ -5157,21 +5196,21 @@ class Client extends openapi_client_1.default {
|
|
|
5157
5196
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAssetGroupResponse({}));
|
|
5158
5197
|
}
|
|
5159
5198
|
/**
|
|
5160
|
-
*
|
|
5199
|
+
* Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
5161
5200
|
*
|
|
5162
|
-
* @param request DescribeAssetGroupRequest
|
|
5163
|
-
* @
|
|
5201
|
+
* @param request - DescribeAssetGroupRequest
|
|
5202
|
+
* @returns DescribeAssetGroupResponse
|
|
5164
5203
|
*/
|
|
5165
5204
|
async describeAssetGroup(request) {
|
|
5166
5205
|
let runtime = new $Util.RuntimeOptions({});
|
|
5167
5206
|
return await this.describeAssetGroupWithOptions(request, runtime);
|
|
5168
5207
|
}
|
|
5169
5208
|
/**
|
|
5170
|
-
*
|
|
5209
|
+
* Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
5171
5210
|
*
|
|
5172
|
-
* @param request DescribeAssetGroupToInstanceRequest
|
|
5173
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5174
|
-
* @
|
|
5211
|
+
* @param request - DescribeAssetGroupToInstanceRequest
|
|
5212
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5213
|
+
* @returns DescribeAssetGroupToInstanceResponse
|
|
5175
5214
|
*/
|
|
5176
5215
|
async describeAssetGroupToInstanceWithOptions(request, runtime) {
|
|
5177
5216
|
tea_util_1.default.validateModel(request);
|
|
@@ -5211,25 +5250,26 @@ class Client extends openapi_client_1.default {
|
|
|
5211
5250
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAssetGroupToInstanceResponse({}));
|
|
5212
5251
|
}
|
|
5213
5252
|
/**
|
|
5214
|
-
*
|
|
5253
|
+
* Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
5215
5254
|
*
|
|
5216
|
-
* @param request DescribeAssetGroupToInstanceRequest
|
|
5217
|
-
* @
|
|
5255
|
+
* @param request - DescribeAssetGroupToInstanceRequest
|
|
5256
|
+
* @returns DescribeAssetGroupToInstanceResponse
|
|
5218
5257
|
*/
|
|
5219
5258
|
async describeAssetGroupToInstance(request) {
|
|
5220
5259
|
let runtime = new $Util.RuntimeOptions({});
|
|
5221
5260
|
return await this.describeAssetGroupToInstanceWithOptions(request, runtime);
|
|
5222
5261
|
}
|
|
5223
5262
|
/**
|
|
5224
|
-
*
|
|
5263
|
+
* Queries the details about the DDoS attack events that occurred on an Anti-DDoS Origin instance.
|
|
5225
5264
|
*
|
|
5226
|
-
* @
|
|
5227
|
-
*
|
|
5265
|
+
* @remarks
|
|
5266
|
+
* You can call the DescribeDdosEvent operation to query the details about the DDoS attack events that occurred on an Anti-DDoS Origin instance by page. The details include the start time, end time, attacked IP address, and status of each event.
|
|
5267
|
+
* ### [](#qps-)Limits
|
|
5228
5268
|
* 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.
|
|
5229
5269
|
*
|
|
5230
|
-
* @param request DescribeDdosEventRequest
|
|
5231
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5232
|
-
* @
|
|
5270
|
+
* @param request - DescribeDdosEventRequest
|
|
5271
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5272
|
+
* @returns DescribeDdosEventResponse
|
|
5233
5273
|
*/
|
|
5234
5274
|
async describeDdosEventWithOptions(request, runtime) {
|
|
5235
5275
|
tea_util_1.default.validateModel(request);
|
|
@@ -5275,25 +5315,26 @@ class Client extends openapi_client_1.default {
|
|
|
5275
5315
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDdosEventResponse({}));
|
|
5276
5316
|
}
|
|
5277
5317
|
/**
|
|
5278
|
-
*
|
|
5318
|
+
* Queries the details about the DDoS attack events that occurred on an Anti-DDoS Origin instance.
|
|
5279
5319
|
*
|
|
5280
|
-
* @
|
|
5281
|
-
*
|
|
5320
|
+
* @remarks
|
|
5321
|
+
* You can call the DescribeDdosEvent operation to query the details about the DDoS attack events that occurred on an Anti-DDoS Origin instance by page. The details include the start time, end time, attacked IP address, and status of each event.
|
|
5322
|
+
* ### [](#qps-)Limits
|
|
5282
5323
|
* 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.
|
|
5283
5324
|
*
|
|
5284
|
-
* @param request DescribeDdosEventRequest
|
|
5285
|
-
* @
|
|
5325
|
+
* @param request - DescribeDdosEventRequest
|
|
5326
|
+
* @returns DescribeDdosEventResponse
|
|
5286
5327
|
*/
|
|
5287
5328
|
async describeDdosEvent(request) {
|
|
5288
5329
|
let runtime = new $Util.RuntimeOptions({});
|
|
5289
5330
|
return await this.describeDdosEventWithOptions(request, runtime);
|
|
5290
5331
|
}
|
|
5291
5332
|
/**
|
|
5292
|
-
*
|
|
5333
|
+
* Queries the bill of an Anti-DDoS Origin (Pay-as-you-go) instance.
|
|
5293
5334
|
*
|
|
5294
|
-
* @param request DescribeDdosOriginInstanceBillRequest
|
|
5295
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5296
|
-
* @
|
|
5335
|
+
* @param request - DescribeDdosOriginInstanceBillRequest
|
|
5336
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5337
|
+
* @returns DescribeDdosOriginInstanceBillResponse
|
|
5297
5338
|
*/
|
|
5298
5339
|
async describeDdosOriginInstanceBillWithOptions(request, runtime) {
|
|
5299
5340
|
tea_util_1.default.validateModel(request);
|
|
@@ -5327,27 +5368,25 @@ class Client extends openapi_client_1.default {
|
|
|
5327
5368
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDdosOriginInstanceBillResponse({}));
|
|
5328
5369
|
}
|
|
5329
5370
|
/**
|
|
5330
|
-
*
|
|
5371
|
+
* Queries the bill of an Anti-DDoS Origin (Pay-as-you-go) instance.
|
|
5331
5372
|
*
|
|
5332
|
-
* @param request DescribeDdosOriginInstanceBillRequest
|
|
5333
|
-
* @
|
|
5373
|
+
* @param request - DescribeDdosOriginInstanceBillRequest
|
|
5374
|
+
* @returns DescribeDdosOriginInstanceBillResponse
|
|
5334
5375
|
*/
|
|
5335
5376
|
async describeDdosOriginInstanceBill(request) {
|
|
5336
5377
|
let runtime = new $Util.RuntimeOptions({});
|
|
5337
5378
|
return await this.describeDdosOriginInstanceBillWithOptions(request, runtime);
|
|
5338
5379
|
}
|
|
5339
5380
|
/**
|
|
5340
|
-
*
|
|
5341
|
-
* Origin instances that are about to expire in a specific region. The assets can be
|
|
5342
|
-
* elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS)
|
|
5343
|
-
* instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
|
|
5381
|
+
* Queries the number of assets that are in an abnormal state and the number of Anti-DDoS Origin instances that are about to expire. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
|
|
5344
5382
|
*
|
|
5345
|
-
* @
|
|
5383
|
+
* @remarks
|
|
5384
|
+
* ## Usage notes
|
|
5346
5385
|
* 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.
|
|
5347
5386
|
*
|
|
5348
|
-
* @param request DescribeExcpetionCountRequest
|
|
5349
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5350
|
-
* @
|
|
5387
|
+
* @param request - DescribeExcpetionCountRequest
|
|
5388
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5389
|
+
* @returns DescribeExcpetionCountResponse
|
|
5351
5390
|
*/
|
|
5352
5391
|
async describeExcpetionCountWithOptions(request, runtime) {
|
|
5353
5392
|
tea_util_1.default.validateModel(request);
|
|
@@ -5375,31 +5414,30 @@ class Client extends openapi_client_1.default {
|
|
|
5375
5414
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeExcpetionCountResponse({}));
|
|
5376
5415
|
}
|
|
5377
5416
|
/**
|
|
5378
|
-
*
|
|
5379
|
-
* Origin instances that are about to expire in a specific region. The assets can be
|
|
5380
|
-
* elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS)
|
|
5381
|
-
* instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
|
|
5417
|
+
* Queries the number of assets that are in an abnormal state and the number of Anti-DDoS Origin instances that are about to expire. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
|
|
5382
5418
|
*
|
|
5383
|
-
* @
|
|
5419
|
+
* @remarks
|
|
5420
|
+
* ## Usage notes
|
|
5384
5421
|
* 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.
|
|
5385
5422
|
*
|
|
5386
|
-
* @param request DescribeExcpetionCountRequest
|
|
5387
|
-
* @
|
|
5423
|
+
* @param request - DescribeExcpetionCountRequest
|
|
5424
|
+
* @returns DescribeExcpetionCountResponse
|
|
5388
5425
|
*/
|
|
5389
5426
|
async describeExcpetionCount(request) {
|
|
5390
5427
|
let runtime = new $Util.RuntimeOptions({});
|
|
5391
5428
|
return await this.describeExcpetionCountWithOptions(request, runtime);
|
|
5392
5429
|
}
|
|
5393
5430
|
/**
|
|
5394
|
-
*
|
|
5431
|
+
* Queries the details of all Anti-DDoS Origin instances.
|
|
5395
5432
|
*
|
|
5396
|
-
* @
|
|
5433
|
+
* @remarks
|
|
5434
|
+
* 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.
|
|
5397
5435
|
* ## Limits
|
|
5398
5436
|
* 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.
|
|
5399
5437
|
*
|
|
5400
|
-
* @param request DescribeInstanceListRequest
|
|
5401
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5402
|
-
* @
|
|
5438
|
+
* @param request - DescribeInstanceListRequest
|
|
5439
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5440
|
+
* @returns DescribeInstanceListResponse
|
|
5403
5441
|
*/
|
|
5404
5442
|
async describeInstanceListWithOptions(request, runtime) {
|
|
5405
5443
|
tea_util_1.default.validateModel(request);
|
|
@@ -5460,23 +5498,24 @@ class Client extends openapi_client_1.default {
|
|
|
5460
5498
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceListResponse({}));
|
|
5461
5499
|
}
|
|
5462
5500
|
/**
|
|
5463
|
-
*
|
|
5501
|
+
* Queries the details of all Anti-DDoS Origin instances.
|
|
5464
5502
|
*
|
|
5465
|
-
* @
|
|
5503
|
+
* @remarks
|
|
5504
|
+
* 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.
|
|
5466
5505
|
* ## Limits
|
|
5467
5506
|
* 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.
|
|
5468
5507
|
*
|
|
5469
|
-
* @param request DescribeInstanceListRequest
|
|
5470
|
-
* @
|
|
5508
|
+
* @param request - DescribeInstanceListRequest
|
|
5509
|
+
* @returns DescribeInstanceListResponse
|
|
5471
5510
|
*/
|
|
5472
5511
|
async describeInstanceList(request) {
|
|
5473
5512
|
let runtime = new $Util.RuntimeOptions({});
|
|
5474
5513
|
return await this.describeInstanceListWithOptions(request, runtime);
|
|
5475
5514
|
}
|
|
5476
5515
|
/**
|
|
5477
|
-
* @param request DescribeInstanceSpecsRequest
|
|
5478
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5479
|
-
* @
|
|
5516
|
+
* @param request - DescribeInstanceSpecsRequest
|
|
5517
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5518
|
+
* @returns DescribeInstanceSpecsResponse
|
|
5480
5519
|
*/
|
|
5481
5520
|
async describeInstanceSpecsWithOptions(request, runtime) {
|
|
5482
5521
|
tea_util_1.default.validateModel(request);
|
|
@@ -5507,21 +5546,24 @@ class Client extends openapi_client_1.default {
|
|
|
5507
5546
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceSpecsResponse({}));
|
|
5508
5547
|
}
|
|
5509
5548
|
/**
|
|
5510
|
-
* @param request DescribeInstanceSpecsRequest
|
|
5511
|
-
* @
|
|
5549
|
+
* @param request - DescribeInstanceSpecsRequest
|
|
5550
|
+
* @returns DescribeInstanceSpecsResponse
|
|
5512
5551
|
*/
|
|
5513
5552
|
async describeInstanceSpecs(request) {
|
|
5514
5553
|
let runtime = new $Util.RuntimeOptions({});
|
|
5515
5554
|
return await this.describeInstanceSpecsWithOptions(request, runtime);
|
|
5516
5555
|
}
|
|
5517
5556
|
/**
|
|
5518
|
-
*
|
|
5557
|
+
* Queries the DDoS attack events recorded for the IP address of an anti-DDoS diversion instance of Anti-DDoS Origin.
|
|
5519
5558
|
*
|
|
5520
|
-
* @
|
|
5559
|
+
* @remarks
|
|
5560
|
+
* You can use this operation to query the details about the DDoS attack events that occurred on the IP address of an anti-DDoS diversion instance of Anti-DDoS Origin by page. The details include the start time, end time, volume of attack traffic, and status of each event.
|
|
5561
|
+
* ### [](#qps-)Limits
|
|
5562
|
+
* 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.
|
|
5521
5563
|
*
|
|
5522
|
-
* @param request DescribeOnDemandDdosEventRequest
|
|
5523
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5524
|
-
* @
|
|
5564
|
+
* @param request - DescribeOnDemandDdosEventRequest
|
|
5565
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5566
|
+
* @returns DescribeOnDemandDdosEventResponse
|
|
5525
5567
|
*/
|
|
5526
5568
|
async describeOnDemandDdosEventWithOptions(request, runtime) {
|
|
5527
5569
|
tea_util_1.default.validateModel(request);
|
|
@@ -5567,21 +5609,26 @@ class Client extends openapi_client_1.default {
|
|
|
5567
5609
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOnDemandDdosEventResponse({}));
|
|
5568
5610
|
}
|
|
5569
5611
|
/**
|
|
5570
|
-
*
|
|
5612
|
+
* Queries the DDoS attack events recorded for the IP address of an anti-DDoS diversion instance of Anti-DDoS Origin.
|
|
5571
5613
|
*
|
|
5572
|
-
* @
|
|
5614
|
+
* @remarks
|
|
5615
|
+
* You can use this operation to query the details about the DDoS attack events that occurred on the IP address of an anti-DDoS diversion instance of Anti-DDoS Origin by page. The details include the start time, end time, volume of attack traffic, and status of each event.
|
|
5616
|
+
* ### [](#qps-)Limits
|
|
5617
|
+
* 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.
|
|
5573
5618
|
*
|
|
5574
|
-
* @param request DescribeOnDemandDdosEventRequest
|
|
5575
|
-
* @
|
|
5619
|
+
* @param request - DescribeOnDemandDdosEventRequest
|
|
5620
|
+
* @returns DescribeOnDemandDdosEventResponse
|
|
5576
5621
|
*/
|
|
5577
5622
|
async describeOnDemandDdosEvent(request) {
|
|
5578
5623
|
let runtime = new $Util.RuntimeOptions({});
|
|
5579
5624
|
return await this.describeOnDemandDdosEventWithOptions(request, runtime);
|
|
5580
5625
|
}
|
|
5581
5626
|
/**
|
|
5582
|
-
*
|
|
5583
|
-
*
|
|
5584
|
-
* @
|
|
5627
|
+
* Queries the details of anti-DDoS diversion instances.
|
|
5628
|
+
*
|
|
5629
|
+
* @param request - DescribeOnDemandInstanceStatusRequest
|
|
5630
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5631
|
+
* @returns DescribeOnDemandInstanceStatusResponse
|
|
5585
5632
|
*/
|
|
5586
5633
|
async describeOnDemandInstanceStatusWithOptions(request, runtime) {
|
|
5587
5634
|
tea_util_1.default.validateModel(request);
|
|
@@ -5609,21 +5656,26 @@ class Client extends openapi_client_1.default {
|
|
|
5609
5656
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOnDemandInstanceStatusResponse({}));
|
|
5610
5657
|
}
|
|
5611
5658
|
/**
|
|
5612
|
-
*
|
|
5613
|
-
*
|
|
5659
|
+
* Queries the details of anti-DDoS diversion instances.
|
|
5660
|
+
*
|
|
5661
|
+
* @param request - DescribeOnDemandInstanceStatusRequest
|
|
5662
|
+
* @returns DescribeOnDemandInstanceStatusResponse
|
|
5614
5663
|
*/
|
|
5615
5664
|
async describeOnDemandInstanceStatus(request) {
|
|
5616
5665
|
let runtime = new $Util.RuntimeOptions({});
|
|
5617
5666
|
return await this.describeOnDemandInstanceStatusWithOptions(request, runtime);
|
|
5618
5667
|
}
|
|
5619
5668
|
/**
|
|
5620
|
-
*
|
|
5669
|
+
* Queries the operation logs of an Anti-DDoS Origin instance.
|
|
5621
5670
|
*
|
|
5622
|
-
* @
|
|
5671
|
+
* @remarks
|
|
5672
|
+
* You can call the DescribeOpEntities operation to query the operation logs of an instance by page.
|
|
5673
|
+
* ### Limit
|
|
5674
|
+
* You can call this operation up to 10 times per second per account. If the number of 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.
|
|
5623
5675
|
*
|
|
5624
|
-
* @param request DescribeOpEntitiesRequest
|
|
5625
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5626
|
-
* @
|
|
5676
|
+
* @param request - DescribeOpEntitiesRequest
|
|
5677
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5678
|
+
* @returns DescribeOpEntitiesResponse
|
|
5627
5679
|
*/
|
|
5628
5680
|
async describeOpEntitiesWithOptions(request, runtime) {
|
|
5629
5681
|
tea_util_1.default.validateModel(request);
|
|
@@ -5672,27 +5724,31 @@ class Client extends openapi_client_1.default {
|
|
|
5672
5724
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOpEntitiesResponse({}));
|
|
5673
5725
|
}
|
|
5674
5726
|
/**
|
|
5675
|
-
*
|
|
5727
|
+
* Queries the operation logs of an Anti-DDoS Origin instance.
|
|
5676
5728
|
*
|
|
5677
|
-
* @
|
|
5729
|
+
* @remarks
|
|
5730
|
+
* You can call the DescribeOpEntities operation to query the operation logs of an instance by page.
|
|
5731
|
+
* ### Limit
|
|
5732
|
+
* You can call this operation up to 10 times per second per account. If the number of 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.
|
|
5678
5733
|
*
|
|
5679
|
-
* @param request DescribeOpEntitiesRequest
|
|
5680
|
-
* @
|
|
5734
|
+
* @param request - DescribeOpEntitiesRequest
|
|
5735
|
+
* @returns DescribeOpEntitiesResponse
|
|
5681
5736
|
*/
|
|
5682
5737
|
async describeOpEntities(request) {
|
|
5683
5738
|
let runtime = new $Util.RuntimeOptions({});
|
|
5684
5739
|
return await this.describeOpEntitiesWithOptions(request, runtime);
|
|
5685
5740
|
}
|
|
5686
5741
|
/**
|
|
5687
|
-
*
|
|
5742
|
+
* Queries the IP addresses that are protected by a specific Anti-DDoS Origin instance.
|
|
5688
5743
|
*
|
|
5689
|
-
* @
|
|
5744
|
+
* @remarks
|
|
5745
|
+
* 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.
|
|
5690
5746
|
* ## Limits
|
|
5691
5747
|
* 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.
|
|
5692
5748
|
*
|
|
5693
|
-
* @param request DescribePackIpListRequest
|
|
5694
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5695
|
-
* @
|
|
5749
|
+
* @param request - DescribePackIpListRequest
|
|
5750
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5751
|
+
* @returns DescribePackIpListResponse
|
|
5696
5752
|
*/
|
|
5697
5753
|
async describePackIpListWithOptions(request, runtime) {
|
|
5698
5754
|
tea_util_1.default.validateModel(request);
|
|
@@ -5738,25 +5794,26 @@ class Client extends openapi_client_1.default {
|
|
|
5738
5794
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePackIpListResponse({}));
|
|
5739
5795
|
}
|
|
5740
5796
|
/**
|
|
5741
|
-
*
|
|
5797
|
+
* Queries the IP addresses that are protected by a specific Anti-DDoS Origin instance.
|
|
5742
5798
|
*
|
|
5743
|
-
* @
|
|
5799
|
+
* @remarks
|
|
5800
|
+
* 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.
|
|
5744
5801
|
* ## Limits
|
|
5745
5802
|
* 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.
|
|
5746
5803
|
*
|
|
5747
|
-
* @param request DescribePackIpListRequest
|
|
5748
|
-
* @
|
|
5804
|
+
* @param request - DescribePackIpListRequest
|
|
5805
|
+
* @returns DescribePackIpListResponse
|
|
5749
5806
|
*/
|
|
5750
5807
|
async describePackIpList(request) {
|
|
5751
5808
|
let runtime = new $Util.RuntimeOptions({});
|
|
5752
5809
|
return await this.describePackIpListWithOptions(request, runtime);
|
|
5753
5810
|
}
|
|
5754
5811
|
/**
|
|
5755
|
-
*
|
|
5812
|
+
* Queries members that are managed by using the multi-account management feature.
|
|
5756
5813
|
*
|
|
5757
|
-
* @param request DescribeRdMemberListRequest
|
|
5758
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5759
|
-
* @
|
|
5814
|
+
* @param request - DescribeRdMemberListRequest
|
|
5815
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5816
|
+
* @returns DescribeRdMemberListResponse
|
|
5760
5817
|
*/
|
|
5761
5818
|
async describeRdMemberListWithOptions(request, runtime) {
|
|
5762
5819
|
tea_util_1.default.validateModel(request);
|
|
@@ -5787,21 +5844,21 @@ class Client extends openapi_client_1.default {
|
|
|
5787
5844
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRdMemberListResponse({}));
|
|
5788
5845
|
}
|
|
5789
5846
|
/**
|
|
5790
|
-
*
|
|
5847
|
+
* Queries members that are managed by using the multi-account management feature.
|
|
5791
5848
|
*
|
|
5792
|
-
* @param request DescribeRdMemberListRequest
|
|
5793
|
-
* @
|
|
5849
|
+
* @param request - DescribeRdMemberListRequest
|
|
5850
|
+
* @returns DescribeRdMemberListResponse
|
|
5794
5851
|
*/
|
|
5795
5852
|
async describeRdMemberList(request) {
|
|
5796
5853
|
let runtime = new $Util.RuntimeOptions({});
|
|
5797
5854
|
return await this.describeRdMemberListWithOptions(request, runtime);
|
|
5798
5855
|
}
|
|
5799
5856
|
/**
|
|
5800
|
-
*
|
|
5857
|
+
* Queries the status of the multi-account management feature.
|
|
5801
5858
|
*
|
|
5802
|
-
* @param request DescribeRdStatusRequest
|
|
5803
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5804
|
-
* @
|
|
5859
|
+
* @param request - DescribeRdStatusRequest
|
|
5860
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5861
|
+
* @returns DescribeRdStatusResponse
|
|
5805
5862
|
*/
|
|
5806
5863
|
async describeRdStatusWithOptions(runtime) {
|
|
5807
5864
|
let req = new $OpenApi.OpenApiRequest({});
|
|
@@ -5819,20 +5876,19 @@ class Client extends openapi_client_1.default {
|
|
|
5819
5876
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRdStatusResponse({}));
|
|
5820
5877
|
}
|
|
5821
5878
|
/**
|
|
5822
|
-
*
|
|
5823
|
-
*
|
|
5824
|
-
* @return DescribeRdStatusResponse
|
|
5879
|
+
* Queries the status of the multi-account management feature.
|
|
5880
|
+
* @returns DescribeRdStatusResponse
|
|
5825
5881
|
*/
|
|
5826
5882
|
async describeRdStatus() {
|
|
5827
5883
|
let runtime = new $Util.RuntimeOptions({});
|
|
5828
5884
|
return await this.describeRdStatusWithOptions(runtime);
|
|
5829
5885
|
}
|
|
5830
5886
|
/**
|
|
5831
|
-
*
|
|
5887
|
+
* Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
|
|
5832
5888
|
*
|
|
5833
|
-
* @param request DescribeRegionsRequest
|
|
5834
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5835
|
-
* @
|
|
5889
|
+
* @param request - DescribeRegionsRequest
|
|
5890
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5891
|
+
* @returns DescribeRegionsResponse
|
|
5836
5892
|
*/
|
|
5837
5893
|
async describeRegionsWithOptions(request, runtime) {
|
|
5838
5894
|
tea_util_1.default.validateModel(request);
|
|
@@ -5860,26 +5916,27 @@ class Client extends openapi_client_1.default {
|
|
|
5860
5916
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
5861
5917
|
}
|
|
5862
5918
|
/**
|
|
5863
|
-
*
|
|
5919
|
+
* Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
|
|
5864
5920
|
*
|
|
5865
|
-
* @param request DescribeRegionsRequest
|
|
5866
|
-
* @
|
|
5921
|
+
* @param request - DescribeRegionsRequest
|
|
5922
|
+
* @returns DescribeRegionsResponse
|
|
5867
5923
|
*/
|
|
5868
5924
|
async describeRegions(request) {
|
|
5869
5925
|
let runtime = new $Util.RuntimeOptions({});
|
|
5870
5926
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
5871
5927
|
}
|
|
5872
5928
|
/**
|
|
5873
|
-
*
|
|
5929
|
+
* Queries traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5874
5930
|
*
|
|
5875
|
-
* @
|
|
5931
|
+
* @remarks
|
|
5932
|
+
* You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5876
5933
|
* > 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.
|
|
5877
5934
|
* ## Limits
|
|
5878
5935
|
* 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.
|
|
5879
5936
|
*
|
|
5880
|
-
* @param request DescribeTrafficRequest
|
|
5881
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5882
|
-
* @
|
|
5937
|
+
* @param request - DescribeTrafficRequest
|
|
5938
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5939
|
+
* @returns DescribeTrafficResponse
|
|
5883
5940
|
*/
|
|
5884
5941
|
async describeTrafficWithOptions(request, runtime) {
|
|
5885
5942
|
tea_util_1.default.validateModel(request);
|
|
@@ -5928,26 +5985,27 @@ class Client extends openapi_client_1.default {
|
|
|
5928
5985
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrafficResponse({}));
|
|
5929
5986
|
}
|
|
5930
5987
|
/**
|
|
5931
|
-
*
|
|
5988
|
+
* Queries traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5932
5989
|
*
|
|
5933
|
-
* @
|
|
5990
|
+
* @remarks
|
|
5991
|
+
* You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5934
5992
|
* > 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.
|
|
5935
5993
|
* ## Limits
|
|
5936
5994
|
* 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.
|
|
5937
5995
|
*
|
|
5938
|
-
* @param request DescribeTrafficRequest
|
|
5939
|
-
* @
|
|
5996
|
+
* @param request - DescribeTrafficRequest
|
|
5997
|
+
* @returns DescribeTrafficResponse
|
|
5940
5998
|
*/
|
|
5941
5999
|
async describeTraffic(request) {
|
|
5942
6000
|
let runtime = new $Util.RuntimeOptions({});
|
|
5943
6001
|
return await this.describeTrafficWithOptions(request, runtime);
|
|
5944
6002
|
}
|
|
5945
6003
|
/**
|
|
5946
|
-
*
|
|
6004
|
+
* Removes protected objects from a mitigation policy.
|
|
5947
6005
|
*
|
|
5948
|
-
* @param tmpReq DetachFromPolicyRequest
|
|
5949
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5950
|
-
* @
|
|
6006
|
+
* @param tmpReq - DetachFromPolicyRequest
|
|
6007
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6008
|
+
* @returns DetachFromPolicyResponse
|
|
5951
6009
|
*/
|
|
5952
6010
|
async detachFromPolicyWithOptions(tmpReq, runtime) {
|
|
5953
6011
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -5980,21 +6038,21 @@ class Client extends openapi_client_1.default {
|
|
|
5980
6038
|
return $tea.cast(await this.callApi(params, req, runtime), new DetachFromPolicyResponse({}));
|
|
5981
6039
|
}
|
|
5982
6040
|
/**
|
|
5983
|
-
*
|
|
6041
|
+
* Removes protected objects from a mitigation policy.
|
|
5984
6042
|
*
|
|
5985
|
-
* @param request DetachFromPolicyRequest
|
|
5986
|
-
* @
|
|
6043
|
+
* @param request - DetachFromPolicyRequest
|
|
6044
|
+
* @returns DetachFromPolicyResponse
|
|
5987
6045
|
*/
|
|
5988
6046
|
async detachFromPolicy(request) {
|
|
5989
6047
|
let runtime = new $Util.RuntimeOptions({});
|
|
5990
6048
|
return await this.detachFromPolicyWithOptions(request, runtime);
|
|
5991
6049
|
}
|
|
5992
6050
|
/**
|
|
5993
|
-
*
|
|
6051
|
+
* Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
|
|
5994
6052
|
*
|
|
5995
|
-
* @param tmpReq DettachAssetGroupToInstanceRequest
|
|
5996
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5997
|
-
* @
|
|
6053
|
+
* @param tmpReq - DettachAssetGroupToInstanceRequest
|
|
6054
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6055
|
+
* @returns DettachAssetGroupToInstanceResponse
|
|
5998
6056
|
*/
|
|
5999
6057
|
async dettachAssetGroupToInstanceWithOptions(tmpReq, runtime) {
|
|
6000
6058
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6030,21 +6088,21 @@ class Client extends openapi_client_1.default {
|
|
|
6030
6088
|
return $tea.cast(await this.callApi(params, req, runtime), new DettachAssetGroupToInstanceResponse({}));
|
|
6031
6089
|
}
|
|
6032
6090
|
/**
|
|
6033
|
-
*
|
|
6091
|
+
* Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
|
|
6034
6092
|
*
|
|
6035
|
-
* @param request DettachAssetGroupToInstanceRequest
|
|
6036
|
-
* @
|
|
6093
|
+
* @param request - DettachAssetGroupToInstanceRequest
|
|
6094
|
+
* @returns DettachAssetGroupToInstanceResponse
|
|
6037
6095
|
*/
|
|
6038
6096
|
async dettachAssetGroupToInstance(request) {
|
|
6039
6097
|
let runtime = new $Util.RuntimeOptions({});
|
|
6040
6098
|
return await this.dettachAssetGroupToInstanceWithOptions(request, runtime);
|
|
6041
6099
|
}
|
|
6042
6100
|
/**
|
|
6043
|
-
*
|
|
6101
|
+
* Queries whether Simple Log Service is activated.
|
|
6044
6102
|
*
|
|
6045
|
-
* @param request GetSlsOpenStatusRequest
|
|
6046
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6047
|
-
* @
|
|
6103
|
+
* @param request - GetSlsOpenStatusRequest
|
|
6104
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6105
|
+
* @returns GetSlsOpenStatusResponse
|
|
6048
6106
|
*/
|
|
6049
6107
|
async getSlsOpenStatusWithOptions(request, runtime) {
|
|
6050
6108
|
tea_util_1.default.validateModel(request);
|
|
@@ -6072,21 +6130,21 @@ class Client extends openapi_client_1.default {
|
|
|
6072
6130
|
return $tea.cast(await this.callApi(params, req, runtime), new GetSlsOpenStatusResponse({}));
|
|
6073
6131
|
}
|
|
6074
6132
|
/**
|
|
6075
|
-
*
|
|
6133
|
+
* Queries whether Simple Log Service is activated.
|
|
6076
6134
|
*
|
|
6077
|
-
* @param request GetSlsOpenStatusRequest
|
|
6078
|
-
* @
|
|
6135
|
+
* @param request - GetSlsOpenStatusRequest
|
|
6136
|
+
* @returns GetSlsOpenStatusResponse
|
|
6079
6137
|
*/
|
|
6080
6138
|
async getSlsOpenStatus(request) {
|
|
6081
6139
|
let runtime = new $Util.RuntimeOptions({});
|
|
6082
6140
|
return await this.getSlsOpenStatusWithOptions(request, runtime);
|
|
6083
6141
|
}
|
|
6084
6142
|
/**
|
|
6085
|
-
*
|
|
6143
|
+
* Queries the Anti-DDoS Origin instances for which log analysis is enabled.
|
|
6086
6144
|
*
|
|
6087
|
-
* @param request ListOpenedAccessLogInstancesRequest
|
|
6088
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6089
|
-
* @
|
|
6145
|
+
* @param request - ListOpenedAccessLogInstancesRequest
|
|
6146
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6147
|
+
* @returns ListOpenedAccessLogInstancesResponse
|
|
6090
6148
|
*/
|
|
6091
6149
|
async listOpenedAccessLogInstancesWithOptions(request, runtime) {
|
|
6092
6150
|
tea_util_1.default.validateModel(request);
|
|
@@ -6117,21 +6175,21 @@ class Client extends openapi_client_1.default {
|
|
|
6117
6175
|
return $tea.cast(await this.callApi(params, req, runtime), new ListOpenedAccessLogInstancesResponse({}));
|
|
6118
6176
|
}
|
|
6119
6177
|
/**
|
|
6120
|
-
*
|
|
6178
|
+
* Queries the Anti-DDoS Origin instances for which log analysis is enabled.
|
|
6121
6179
|
*
|
|
6122
|
-
* @param request ListOpenedAccessLogInstancesRequest
|
|
6123
|
-
* @
|
|
6180
|
+
* @param request - ListOpenedAccessLogInstancesRequest
|
|
6181
|
+
* @returns ListOpenedAccessLogInstancesResponse
|
|
6124
6182
|
*/
|
|
6125
6183
|
async listOpenedAccessLogInstances(request) {
|
|
6126
6184
|
let runtime = new $Util.RuntimeOptions({});
|
|
6127
6185
|
return await this.listOpenedAccessLogInstancesWithOptions(request, runtime);
|
|
6128
6186
|
}
|
|
6129
6187
|
/**
|
|
6130
|
-
*
|
|
6188
|
+
* Queries mitigation policies.
|
|
6131
6189
|
*
|
|
6132
|
-
* @param request ListPolicyRequest
|
|
6133
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6134
|
-
* @
|
|
6190
|
+
* @param request - ListPolicyRequest
|
|
6191
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6192
|
+
* @returns ListPolicyResponse
|
|
6135
6193
|
*/
|
|
6136
6194
|
async listPolicyWithOptions(request, runtime) {
|
|
6137
6195
|
tea_util_1.default.validateModel(request);
|
|
@@ -6145,6 +6203,9 @@ class Client extends openapi_client_1.default {
|
|
|
6145
6203
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
6146
6204
|
query["PageSize"] = request.pageSize;
|
|
6147
6205
|
}
|
|
6206
|
+
if (!tea_util_1.default.isUnset(request.productType)) {
|
|
6207
|
+
query["ProductType"] = request.productType;
|
|
6208
|
+
}
|
|
6148
6209
|
if (!tea_util_1.default.isUnset(request.type)) {
|
|
6149
6210
|
query["Type"] = request.type;
|
|
6150
6211
|
}
|
|
@@ -6165,21 +6226,21 @@ class Client extends openapi_client_1.default {
|
|
|
6165
6226
|
return $tea.cast(await this.callApi(params, req, runtime), new ListPolicyResponse({}));
|
|
6166
6227
|
}
|
|
6167
6228
|
/**
|
|
6168
|
-
*
|
|
6229
|
+
* Queries mitigation policies.
|
|
6169
6230
|
*
|
|
6170
|
-
* @param request ListPolicyRequest
|
|
6171
|
-
* @
|
|
6231
|
+
* @param request - ListPolicyRequest
|
|
6232
|
+
* @returns ListPolicyResponse
|
|
6172
6233
|
*/
|
|
6173
6234
|
async listPolicy(request) {
|
|
6174
6235
|
let runtime = new $Util.RuntimeOptions({});
|
|
6175
6236
|
return await this.listPolicyWithOptions(request, runtime);
|
|
6176
6237
|
}
|
|
6177
6238
|
/**
|
|
6178
|
-
*
|
|
6239
|
+
* Queries attachments to mitigation policies.
|
|
6179
6240
|
*
|
|
6180
|
-
* @param tmpReq ListPolicyAttachmentRequest
|
|
6181
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6182
|
-
* @
|
|
6241
|
+
* @param tmpReq - ListPolicyAttachmentRequest
|
|
6242
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6243
|
+
* @returns ListPolicyAttachmentResponse
|
|
6183
6244
|
*/
|
|
6184
6245
|
async listPolicyAttachmentWithOptions(tmpReq, runtime) {
|
|
6185
6246
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6221,21 +6282,21 @@ class Client extends openapi_client_1.default {
|
|
|
6221
6282
|
return $tea.cast(await this.callApi(params, req, runtime), new ListPolicyAttachmentResponse({}));
|
|
6222
6283
|
}
|
|
6223
6284
|
/**
|
|
6224
|
-
*
|
|
6285
|
+
* Queries attachments to mitigation policies.
|
|
6225
6286
|
*
|
|
6226
|
-
* @param request ListPolicyAttachmentRequest
|
|
6227
|
-
* @
|
|
6287
|
+
* @param request - ListPolicyAttachmentRequest
|
|
6288
|
+
* @returns ListPolicyAttachmentResponse
|
|
6228
6289
|
*/
|
|
6229
6290
|
async listPolicyAttachment(request) {
|
|
6230
6291
|
let runtime = new $Util.RuntimeOptions({});
|
|
6231
6292
|
return await this.listPolicyAttachmentWithOptions(request, runtime);
|
|
6232
6293
|
}
|
|
6233
6294
|
/**
|
|
6234
|
-
*
|
|
6295
|
+
* Queries all tags.
|
|
6235
6296
|
*
|
|
6236
|
-
* @param request ListTagKeysRequest
|
|
6237
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6238
|
-
* @
|
|
6297
|
+
* @param request - ListTagKeysRequest
|
|
6298
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6299
|
+
* @returns ListTagKeysResponse
|
|
6239
6300
|
*/
|
|
6240
6301
|
async listTagKeysWithOptions(request, runtime) {
|
|
6241
6302
|
tea_util_1.default.validateModel(request);
|
|
@@ -6272,21 +6333,26 @@ class Client extends openapi_client_1.default {
|
|
|
6272
6333
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
|
|
6273
6334
|
}
|
|
6274
6335
|
/**
|
|
6275
|
-
*
|
|
6336
|
+
* Queries all tags.
|
|
6276
6337
|
*
|
|
6277
|
-
* @param request ListTagKeysRequest
|
|
6278
|
-
* @
|
|
6338
|
+
* @param request - ListTagKeysRequest
|
|
6339
|
+
* @returns ListTagKeysResponse
|
|
6279
6340
|
*/
|
|
6280
6341
|
async listTagKeys(request) {
|
|
6281
6342
|
let runtime = new $Util.RuntimeOptions({});
|
|
6282
6343
|
return await this.listTagKeysWithOptions(request, runtime);
|
|
6283
6344
|
}
|
|
6284
6345
|
/**
|
|
6285
|
-
*
|
|
6346
|
+
* Queries the relationship between Anti-DDoS Origin instances and tags.
|
|
6347
|
+
*
|
|
6348
|
+
* @remarks
|
|
6349
|
+
* You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
|
|
6350
|
+
* ### [](#qps-)Limits
|
|
6351
|
+
* You can call this API operation up to 10 times per second per account. If the number of 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.
|
|
6286
6352
|
*
|
|
6287
|
-
* @param request ListTagResourcesRequest
|
|
6288
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6289
|
-
* @
|
|
6353
|
+
* @param request - ListTagResourcesRequest
|
|
6354
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6355
|
+
* @returns ListTagResourcesResponse
|
|
6290
6356
|
*/
|
|
6291
6357
|
async listTagResourcesWithOptions(request, runtime) {
|
|
6292
6358
|
tea_util_1.default.validateModel(request);
|
|
@@ -6326,21 +6392,26 @@ class Client extends openapi_client_1.default {
|
|
|
6326
6392
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
6327
6393
|
}
|
|
6328
6394
|
/**
|
|
6329
|
-
*
|
|
6395
|
+
* Queries the relationship between Anti-DDoS Origin instances and tags.
|
|
6330
6396
|
*
|
|
6331
|
-
* @
|
|
6332
|
-
*
|
|
6397
|
+
* @remarks
|
|
6398
|
+
* You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
|
|
6399
|
+
* ### [](#qps-)Limits
|
|
6400
|
+
* You can call this API operation up to 10 times per second per account. If the number of 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.
|
|
6401
|
+
*
|
|
6402
|
+
* @param request - ListTagResourcesRequest
|
|
6403
|
+
* @returns ListTagResourcesResponse
|
|
6333
6404
|
*/
|
|
6334
6405
|
async listTagResources(request) {
|
|
6335
6406
|
let runtime = new $Util.RuntimeOptions({});
|
|
6336
6407
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
6337
6408
|
}
|
|
6338
6409
|
/**
|
|
6339
|
-
*
|
|
6410
|
+
* Modifies a mitigation policy.
|
|
6340
6411
|
*
|
|
6341
|
-
* @param tmpReq ModifyPolicyRequest
|
|
6342
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6343
|
-
* @
|
|
6412
|
+
* @param tmpReq - ModifyPolicyRequest
|
|
6413
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6414
|
+
* @returns ModifyPolicyResponse
|
|
6344
6415
|
*/
|
|
6345
6416
|
async modifyPolicyWithOptions(tmpReq, runtime) {
|
|
6346
6417
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6379,21 +6450,24 @@ class Client extends openapi_client_1.default {
|
|
|
6379
6450
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPolicyResponse({}));
|
|
6380
6451
|
}
|
|
6381
6452
|
/**
|
|
6382
|
-
*
|
|
6453
|
+
* Modifies a mitigation policy.
|
|
6383
6454
|
*
|
|
6384
|
-
* @param request ModifyPolicyRequest
|
|
6385
|
-
* @
|
|
6455
|
+
* @param request - ModifyPolicyRequest
|
|
6456
|
+
* @returns ModifyPolicyResponse
|
|
6386
6457
|
*/
|
|
6387
6458
|
async modifyPolicy(request) {
|
|
6388
6459
|
let runtime = new $Util.RuntimeOptions({});
|
|
6389
6460
|
return await this.modifyPolicyWithOptions(request, runtime);
|
|
6390
6461
|
}
|
|
6391
6462
|
/**
|
|
6392
|
-
*
|
|
6463
|
+
* Modifies the content of the mitigation policy.
|
|
6464
|
+
*
|
|
6465
|
+
* @remarks
|
|
6466
|
+
* Make sure that all request parameters are configured when you call this operation. If any parameter is left empty, the configuration is deleted.
|
|
6393
6467
|
*
|
|
6394
|
-
* @param tmpReq ModifyPolicyContentRequest
|
|
6395
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6396
|
-
* @
|
|
6468
|
+
* @param tmpReq - ModifyPolicyContentRequest
|
|
6469
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6470
|
+
* @returns ModifyPolicyContentResponse
|
|
6397
6471
|
*/
|
|
6398
6472
|
async modifyPolicyContentWithOptions(tmpReq, runtime) {
|
|
6399
6473
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6429,25 +6503,29 @@ class Client extends openapi_client_1.default {
|
|
|
6429
6503
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPolicyContentResponse({}));
|
|
6430
6504
|
}
|
|
6431
6505
|
/**
|
|
6432
|
-
*
|
|
6506
|
+
* Modifies the content of the mitigation policy.
|
|
6433
6507
|
*
|
|
6434
|
-
* @
|
|
6435
|
-
*
|
|
6508
|
+
* @remarks
|
|
6509
|
+
* Make sure that all request parameters are configured when you call this operation. If any parameter is left empty, the configuration is deleted.
|
|
6510
|
+
*
|
|
6511
|
+
* @param request - ModifyPolicyContentRequest
|
|
6512
|
+
* @returns ModifyPolicyContentResponse
|
|
6436
6513
|
*/
|
|
6437
6514
|
async modifyPolicyContent(request) {
|
|
6438
6515
|
let runtime = new $Util.RuntimeOptions({});
|
|
6439
6516
|
return await this.modifyPolicyContentWithOptions(request, runtime);
|
|
6440
6517
|
}
|
|
6441
6518
|
/**
|
|
6442
|
-
*
|
|
6519
|
+
* Adds remarks for a single Anti-DDoS Origin instance.
|
|
6443
6520
|
*
|
|
6444
|
-
* @
|
|
6445
|
-
*
|
|
6521
|
+
* @remarks
|
|
6522
|
+
* You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
6523
|
+
* ### [](#qps-)Limits
|
|
6446
6524
|
* 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.
|
|
6447
6525
|
*
|
|
6448
|
-
* @param request ModifyRemarkRequest
|
|
6449
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6450
|
-
* @
|
|
6526
|
+
* @param request - ModifyRemarkRequest
|
|
6527
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6528
|
+
* @returns ModifyRemarkResponse
|
|
6451
6529
|
*/
|
|
6452
6530
|
async modifyRemarkWithOptions(request, runtime) {
|
|
6453
6531
|
tea_util_1.default.validateModel(request);
|
|
@@ -6481,25 +6559,26 @@ class Client extends openapi_client_1.default {
|
|
|
6481
6559
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyRemarkResponse({}));
|
|
6482
6560
|
}
|
|
6483
6561
|
/**
|
|
6484
|
-
*
|
|
6562
|
+
* Adds remarks for a single Anti-DDoS Origin instance.
|
|
6485
6563
|
*
|
|
6486
|
-
* @
|
|
6487
|
-
*
|
|
6564
|
+
* @remarks
|
|
6565
|
+
* You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
6566
|
+
* ### [](#qps-)Limits
|
|
6488
6567
|
* 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.
|
|
6489
6568
|
*
|
|
6490
|
-
* @param request ModifyRemarkRequest
|
|
6491
|
-
* @
|
|
6569
|
+
* @param request - ModifyRemarkRequest
|
|
6570
|
+
* @returns ModifyRemarkResponse
|
|
6492
6571
|
*/
|
|
6493
6572
|
async modifyRemark(request) {
|
|
6494
6573
|
let runtime = new $Util.RuntimeOptions({});
|
|
6495
6574
|
return await this.modifyRemarkWithOptions(request, runtime);
|
|
6496
6575
|
}
|
|
6497
6576
|
/**
|
|
6498
|
-
*
|
|
6577
|
+
* Queries the scheduling rule of an on-demand instance.
|
|
6499
6578
|
*
|
|
6500
|
-
* @param request QuerySchedruleOnDemandRequest
|
|
6501
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6502
|
-
* @
|
|
6579
|
+
* @param request - QuerySchedruleOnDemandRequest
|
|
6580
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6581
|
+
* @returns QuerySchedruleOnDemandResponse
|
|
6503
6582
|
*/
|
|
6504
6583
|
async querySchedruleOnDemandWithOptions(request, runtime) {
|
|
6505
6584
|
tea_util_1.default.validateModel(request);
|
|
@@ -6527,21 +6606,21 @@ class Client extends openapi_client_1.default {
|
|
|
6527
6606
|
return $tea.cast(await this.callApi(params, req, runtime), new QuerySchedruleOnDemandResponse({}));
|
|
6528
6607
|
}
|
|
6529
6608
|
/**
|
|
6530
|
-
*
|
|
6609
|
+
* Queries the scheduling rule of an on-demand instance.
|
|
6531
6610
|
*
|
|
6532
|
-
* @param request QuerySchedruleOnDemandRequest
|
|
6533
|
-
* @
|
|
6611
|
+
* @param request - QuerySchedruleOnDemandRequest
|
|
6612
|
+
* @returns QuerySchedruleOnDemandResponse
|
|
6534
6613
|
*/
|
|
6535
6614
|
async querySchedruleOnDemand(request) {
|
|
6536
6615
|
let runtime = new $Util.RuntimeOptions({});
|
|
6537
6616
|
return await this.querySchedruleOnDemandWithOptions(request, runtime);
|
|
6538
6617
|
}
|
|
6539
6618
|
/**
|
|
6540
|
-
*
|
|
6619
|
+
* Releases a pay-as-you-go Anti-DDoS Origin instance.
|
|
6541
6620
|
*
|
|
6542
|
-
* @param request ReleaseDdosOriginInstanceRequest
|
|
6543
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6544
|
-
* @
|
|
6621
|
+
* @param request - ReleaseDdosOriginInstanceRequest
|
|
6622
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6623
|
+
* @returns ReleaseDdosOriginInstanceResponse
|
|
6545
6624
|
*/
|
|
6546
6625
|
async releaseDdosOriginInstanceWithOptions(request, runtime) {
|
|
6547
6626
|
tea_util_1.default.validateModel(request);
|
|
@@ -6566,19 +6645,21 @@ class Client extends openapi_client_1.default {
|
|
|
6566
6645
|
return $tea.cast(await this.callApi(params, req, runtime), new ReleaseDdosOriginInstanceResponse({}));
|
|
6567
6646
|
}
|
|
6568
6647
|
/**
|
|
6569
|
-
*
|
|
6648
|
+
* Releases a pay-as-you-go Anti-DDoS Origin instance.
|
|
6570
6649
|
*
|
|
6571
|
-
* @param request ReleaseDdosOriginInstanceRequest
|
|
6572
|
-
* @
|
|
6650
|
+
* @param request - ReleaseDdosOriginInstanceRequest
|
|
6651
|
+
* @returns ReleaseDdosOriginInstanceResponse
|
|
6573
6652
|
*/
|
|
6574
6653
|
async releaseDdosOriginInstance(request) {
|
|
6575
6654
|
let runtime = new $Util.RuntimeOptions({});
|
|
6576
6655
|
return await this.releaseDdosOriginInstanceWithOptions(request, runtime);
|
|
6577
6656
|
}
|
|
6578
6657
|
/**
|
|
6579
|
-
*
|
|
6580
|
-
*
|
|
6581
|
-
* @
|
|
6658
|
+
* Specifies the scheduling mode for on-demand instances.
|
|
6659
|
+
*
|
|
6660
|
+
* @param request - SetInstanceModeOnDemandRequest
|
|
6661
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6662
|
+
* @returns SetInstanceModeOnDemandResponse
|
|
6582
6663
|
*/
|
|
6583
6664
|
async setInstanceModeOnDemandWithOptions(request, runtime) {
|
|
6584
6665
|
tea_util_1.default.validateModel(request);
|
|
@@ -6609,23 +6690,26 @@ class Client extends openapi_client_1.default {
|
|
|
6609
6690
|
return $tea.cast(await this.callApi(params, req, runtime), new SetInstanceModeOnDemandResponse({}));
|
|
6610
6691
|
}
|
|
6611
6692
|
/**
|
|
6612
|
-
*
|
|
6613
|
-
*
|
|
6693
|
+
* Specifies the scheduling mode for on-demand instances.
|
|
6694
|
+
*
|
|
6695
|
+
* @param request - SetInstanceModeOnDemandRequest
|
|
6696
|
+
* @returns SetInstanceModeOnDemandResponse
|
|
6614
6697
|
*/
|
|
6615
6698
|
async setInstanceModeOnDemand(request) {
|
|
6616
6699
|
let runtime = new $Util.RuntimeOptions({});
|
|
6617
6700
|
return await this.setInstanceModeOnDemandWithOptions(request, runtime);
|
|
6618
6701
|
}
|
|
6619
6702
|
/**
|
|
6620
|
-
*
|
|
6703
|
+
* Add tags to Anti-DDoS Origin instances.
|
|
6621
6704
|
*
|
|
6622
|
-
* @
|
|
6623
|
-
*
|
|
6624
|
-
*
|
|
6705
|
+
* @remarks
|
|
6706
|
+
* You can call the TagResources operation to add tags to instances.
|
|
6707
|
+
* ### Limit
|
|
6708
|
+
* You can call this operation up to 10 times per second per account. If the number of 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.
|
|
6625
6709
|
*
|
|
6626
|
-
* @param request TagResourcesRequest
|
|
6627
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6628
|
-
* @
|
|
6710
|
+
* @param request - TagResourcesRequest
|
|
6711
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6712
|
+
* @returns TagResourcesResponse
|
|
6629
6713
|
*/
|
|
6630
6714
|
async tagResourcesWithOptions(request, runtime) {
|
|
6631
6715
|
tea_util_1.default.validateModel(request);
|
|
@@ -6662,25 +6746,26 @@ class Client extends openapi_client_1.default {
|
|
|
6662
6746
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
6663
6747
|
}
|
|
6664
6748
|
/**
|
|
6665
|
-
*
|
|
6749
|
+
* Add tags to Anti-DDoS Origin instances.
|
|
6666
6750
|
*
|
|
6667
|
-
* @
|
|
6668
|
-
*
|
|
6669
|
-
*
|
|
6751
|
+
* @remarks
|
|
6752
|
+
* You can call the TagResources operation to add tags to instances.
|
|
6753
|
+
* ### Limit
|
|
6754
|
+
* You can call this operation up to 10 times per second per account. If the number of 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.
|
|
6670
6755
|
*
|
|
6671
|
-
* @param request TagResourcesRequest
|
|
6672
|
-
* @
|
|
6756
|
+
* @param request - TagResourcesRequest
|
|
6757
|
+
* @returns TagResourcesResponse
|
|
6673
6758
|
*/
|
|
6674
6759
|
async tagResources(request) {
|
|
6675
6760
|
let runtime = new $Util.RuntimeOptions({});
|
|
6676
6761
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
6677
6762
|
}
|
|
6678
6763
|
/**
|
|
6679
|
-
*
|
|
6764
|
+
* Removes tags from Anti-DDoS Origin instances.
|
|
6680
6765
|
*
|
|
6681
|
-
* @param request UntagResourcesRequest
|
|
6682
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6683
|
-
* @
|
|
6766
|
+
* @param request - UntagResourcesRequest
|
|
6767
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6768
|
+
* @returns UntagResourcesResponse
|
|
6684
6769
|
*/
|
|
6685
6770
|
async untagResourcesWithOptions(request, runtime) {
|
|
6686
6771
|
tea_util_1.default.validateModel(request);
|
|
@@ -6720,10 +6805,10 @@ class Client extends openapi_client_1.default {
|
|
|
6720
6805
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
6721
6806
|
}
|
|
6722
6807
|
/**
|
|
6723
|
-
*
|
|
6808
|
+
* Removes tags from Anti-DDoS Origin instances.
|
|
6724
6809
|
*
|
|
6725
|
-
* @param request UntagResourcesRequest
|
|
6726
|
-
* @
|
|
6810
|
+
* @param request - UntagResourcesRequest
|
|
6811
|
+
* @returns UntagResourcesResponse
|
|
6727
6812
|
*/
|
|
6728
6813
|
async untagResources(request) {
|
|
6729
6814
|
let runtime = new $Util.RuntimeOptions({});
|