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