@alicloud/ddosbgp20180720 2.5.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 +5777 -356
- package/dist/client.js +567 -345
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +5962 -449
package/dist/client.js
CHANGED
|
@@ -26,13 +26,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
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 = void 0;
|
|
29
|
+
exports.DescribeAssetGroupToInstanceRequest = exports.DescribeAssetGroupResponse = exports.DescribeAssetGroupResponseBody = exports.DescribeAssetGroupRequest = exports.DeleteSchedruleOnDemandResponse = exports.DeleteSchedruleOnDemandResponseBody = exports.DeleteSchedruleOnDemandRequest = exports.DeleteRdMemberListResponse = exports.DeleteRdMemberListResponseBody = exports.DeleteRdMemberListShrinkRequest = exports.DeleteRdMemberListRequest = exports.DeletePolicyResponse = exports.DeletePolicyResponseBody = exports.DeletePolicyRequest = exports.DeleteIpResponse = exports.DeleteIpResponseBody = exports.DeleteIpRequest = exports.DeleteBlackholeResponse = exports.DeleteBlackholeResponseBody = exports.DeleteBlackholeRequest = exports.CreateSchedruleOnDemandResponse = exports.CreateSchedruleOnDemandResponseBody = exports.CreateSchedruleOnDemandRequest = exports.CreatePolicyResponse = exports.CreatePolicyResponseBody = exports.CreatePolicyRequest = exports.ConfigSchedruleOnDemandResponse = exports.ConfigSchedruleOnDemandResponseBody = exports.ConfigSchedruleOnDemandRequest = exports.CheckGrantResponse = exports.CheckGrantResponseBody = exports.CheckGrantRequest = exports.CheckAccessLogAuthResponse = exports.CheckAccessLogAuthResponseBody = exports.CheckAccessLogAuthRequest = exports.AttachToPolicyResponse = exports.AttachToPolicyResponseBody = exports.AttachToPolicyShrinkRequest = exports.AttachToPolicyRequest = exports.AttachAssetGroupToInstanceResponse = exports.AttachAssetGroupToInstanceResponseBody = exports.AttachAssetGroupToInstanceShrinkRequest = exports.AttachAssetGroupToInstanceRequest = exports.AddRdMemberListResponse = exports.AddRdMemberListResponseBody = exports.AddRdMemberListShrinkRequest = exports.AddRdMemberListRequest = exports.AddIpResponse = exports.AddIpResponseBody = exports.AddIpRequest = void 0;
|
|
30
|
+
exports.GetSlsOpenStatusResponseBody = exports.GetSlsOpenStatusRequest = exports.DettachAssetGroupToInstanceResponse = exports.DettachAssetGroupToInstanceResponseBody = exports.DettachAssetGroupToInstanceShrinkRequest = exports.DettachAssetGroupToInstanceRequest = exports.DetachFromPolicyResponse = exports.DetachFromPolicyResponseBody = exports.DetachFromPolicyShrinkRequest = exports.DetachFromPolicyRequest = exports.DescribeTrafficResponse = exports.DescribeTrafficResponseBody = exports.DescribeTrafficRequest = exports.DescribeRegionsResponse = exports.DescribeRegionsResponseBody = exports.DescribeRegionsRequest = exports.DescribeRdStatusResponse = exports.DescribeRdStatusResponseBody = exports.DescribeRdMemberListResponse = exports.DescribeRdMemberListResponseBody = exports.DescribeRdMemberListRequest = exports.DescribePackIpListResponse = exports.DescribePackIpListResponseBody = exports.DescribePackIpListRequest = exports.DescribeOpEntitiesResponse = exports.DescribeOpEntitiesResponseBody = exports.DescribeOpEntitiesRequest = exports.DescribeOnDemandInstanceStatusResponse = exports.DescribeOnDemandInstanceStatusResponseBody = exports.DescribeOnDemandInstanceStatusRequest = exports.DescribeOnDemandDdosEventResponse = exports.DescribeOnDemandDdosEventResponseBody = exports.DescribeOnDemandDdosEventRequest = exports.DescribeInstanceSpecsResponse = exports.DescribeInstanceSpecsResponseBody = exports.DescribeInstanceSpecsRequest = exports.DescribeInstanceListResponse = exports.DescribeInstanceListResponseBody = exports.DescribeInstanceListRequest = exports.DescribeExcpetionCountResponse = exports.DescribeExcpetionCountResponseBody = exports.DescribeExcpetionCountRequest = exports.DescribeDdosOriginInstanceBillResponse = exports.DescribeDdosOriginInstanceBillResponseBody = exports.DescribeDdosOriginInstanceBillRequest = exports.DescribeDdosEventResponse = exports.DescribeDdosEventResponseBody = exports.DescribeDdosEventRequest = exports.DescribeAssetGroupToInstanceResponse = exports.DescribeAssetGroupToInstanceResponseBody = void 0;
|
|
31
|
+
exports.DescribeDdosEventResponseBodyEvents = exports.DescribeAssetGroupToInstanceResponseBodyDataList = exports.DescribeAssetGroupResponseBodyAssetGroupList = exports.DeleteRdMemberListRequestMemberList = exports.AttachToPolicyRequestIpPortProtocolList = exports.AttachAssetGroupToInstanceRequestAssetGroupList = exports.AddRdMemberListRequestMemberList = exports.UntagResourcesResponse = exports.UntagResourcesResponseBody = exports.UntagResourcesRequest = exports.TagResourcesResponse = exports.TagResourcesResponseBody = exports.TagResourcesRequest = exports.SetInstanceModeOnDemandResponse = exports.SetInstanceModeOnDemandResponseBody = exports.SetInstanceModeOnDemandRequest = exports.ReleaseDdosOriginInstanceResponse = exports.ReleaseDdosOriginInstanceResponseBody = exports.ReleaseDdosOriginInstanceRequest = exports.QuerySchedruleOnDemandResponse = exports.QuerySchedruleOnDemandResponseBody = exports.QuerySchedruleOnDemandRequest = exports.ModifyRemarkResponse = exports.ModifyRemarkResponseBody = exports.ModifyRemarkRequest = exports.ModifyPolicyContentResponse = exports.ModifyPolicyContentResponseBody = exports.ModifyPolicyContentShrinkRequest = exports.ModifyPolicyContentRequest = exports.ModifyPolicyResponse = exports.ModifyPolicyResponseBody = exports.ModifyPolicyShrinkRequest = exports.ModifyPolicyRequest = exports.ListTagResourcesResponse = exports.ListTagResourcesResponseBody = exports.ListTagResourcesRequest = exports.ListTagKeysResponse = exports.ListTagKeysResponseBody = exports.ListTagKeysRequest = exports.ListPolicyAttachmentResponse = exports.ListPolicyAttachmentResponseBody = exports.ListPolicyAttachmentShrinkRequest = exports.ListPolicyAttachmentRequest = exports.ListPolicyResponse = exports.ListPolicyResponseBody = exports.ListPolicyRequest = exports.ListOpenedAccessLogInstancesResponse = exports.ListOpenedAccessLogInstancesResponseBody = exports.ListOpenedAccessLogInstancesRequest = exports.GetSlsOpenStatusResponse = void 0;
|
|
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;
|
|
@@ -241,6 +240,78 @@ class AttachAssetGroupToInstanceResponse extends $tea.Model {
|
|
|
241
240
|
}
|
|
242
241
|
}
|
|
243
242
|
exports.AttachAssetGroupToInstanceResponse = AttachAssetGroupToInstanceResponse;
|
|
243
|
+
class AttachToPolicyRequest extends $tea.Model {
|
|
244
|
+
static names() {
|
|
245
|
+
return {
|
|
246
|
+
ipPortProtocolList: 'IpPortProtocolList',
|
|
247
|
+
policyId: 'PolicyId',
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
static types() {
|
|
251
|
+
return {
|
|
252
|
+
ipPortProtocolList: { 'type': 'array', 'itemType': AttachToPolicyRequestIpPortProtocolList },
|
|
253
|
+
policyId: 'string',
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
constructor(map) {
|
|
257
|
+
super(map);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
exports.AttachToPolicyRequest = AttachToPolicyRequest;
|
|
261
|
+
class AttachToPolicyShrinkRequest extends $tea.Model {
|
|
262
|
+
static names() {
|
|
263
|
+
return {
|
|
264
|
+
ipPortProtocolListShrink: 'IpPortProtocolList',
|
|
265
|
+
policyId: 'PolicyId',
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
static types() {
|
|
269
|
+
return {
|
|
270
|
+
ipPortProtocolListShrink: 'string',
|
|
271
|
+
policyId: 'string',
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
constructor(map) {
|
|
275
|
+
super(map);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
exports.AttachToPolicyShrinkRequest = AttachToPolicyShrinkRequest;
|
|
279
|
+
class AttachToPolicyResponseBody extends $tea.Model {
|
|
280
|
+
static names() {
|
|
281
|
+
return {
|
|
282
|
+
requestId: 'RequestId',
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
static types() {
|
|
286
|
+
return {
|
|
287
|
+
requestId: 'string',
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
constructor(map) {
|
|
291
|
+
super(map);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
exports.AttachToPolicyResponseBody = AttachToPolicyResponseBody;
|
|
295
|
+
class AttachToPolicyResponse extends $tea.Model {
|
|
296
|
+
static names() {
|
|
297
|
+
return {
|
|
298
|
+
headers: 'headers',
|
|
299
|
+
statusCode: 'statusCode',
|
|
300
|
+
body: 'body',
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
static types() {
|
|
304
|
+
return {
|
|
305
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
306
|
+
statusCode: 'number',
|
|
307
|
+
body: AttachToPolicyResponseBody,
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
constructor(map) {
|
|
311
|
+
super(map);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
exports.AttachToPolicyResponse = AttachToPolicyResponse;
|
|
244
315
|
class CheckAccessLogAuthRequest extends $tea.Model {
|
|
245
316
|
static names() {
|
|
246
317
|
return {
|
|
@@ -2115,6 +2186,7 @@ class ListPolicyRequest extends $tea.Model {
|
|
|
2115
2186
|
name: 'Name',
|
|
2116
2187
|
pageNo: 'PageNo',
|
|
2117
2188
|
pageSize: 'PageSize',
|
|
2189
|
+
productType: 'ProductType',
|
|
2118
2190
|
type: 'Type',
|
|
2119
2191
|
};
|
|
2120
2192
|
}
|
|
@@ -2123,6 +2195,7 @@ class ListPolicyRequest extends $tea.Model {
|
|
|
2123
2195
|
name: 'string',
|
|
2124
2196
|
pageNo: 'number',
|
|
2125
2197
|
pageSize: 'number',
|
|
2198
|
+
productType: 'string',
|
|
2126
2199
|
type: 'string',
|
|
2127
2200
|
};
|
|
2128
2201
|
}
|
|
@@ -2937,6 +3010,26 @@ class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
|
|
|
2937
3010
|
}
|
|
2938
3011
|
}
|
|
2939
3012
|
exports.AttachAssetGroupToInstanceRequestAssetGroupList = AttachAssetGroupToInstanceRequestAssetGroupList;
|
|
3013
|
+
class AttachToPolicyRequestIpPortProtocolList extends $tea.Model {
|
|
3014
|
+
static names() {
|
|
3015
|
+
return {
|
|
3016
|
+
ip: 'Ip',
|
|
3017
|
+
port: 'Port',
|
|
3018
|
+
protocol: 'Protocol',
|
|
3019
|
+
};
|
|
3020
|
+
}
|
|
3021
|
+
static types() {
|
|
3022
|
+
return {
|
|
3023
|
+
ip: 'string',
|
|
3024
|
+
port: 'number',
|
|
3025
|
+
protocol: 'string',
|
|
3026
|
+
};
|
|
3027
|
+
}
|
|
3028
|
+
constructor(map) {
|
|
3029
|
+
super(map);
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
exports.AttachToPolicyRequestIpPortProtocolList = AttachToPolicyRequestIpPortProtocolList;
|
|
2940
3033
|
class DeleteRdMemberListRequestMemberList extends $tea.Model {
|
|
2941
3034
|
static names() {
|
|
2942
3035
|
return {
|
|
@@ -3674,6 +3767,7 @@ class ListPolicyResponseBodyPolicyList extends $tea.Model {
|
|
|
3674
3767
|
content: 'Content',
|
|
3675
3768
|
id: 'Id',
|
|
3676
3769
|
name: 'Name',
|
|
3770
|
+
remark: 'Remark',
|
|
3677
3771
|
type: 'Type',
|
|
3678
3772
|
};
|
|
3679
3773
|
}
|
|
@@ -3683,6 +3777,7 @@ class ListPolicyResponseBodyPolicyList extends $tea.Model {
|
|
|
3683
3777
|
content: ListPolicyResponseBodyPolicyListContent,
|
|
3684
3778
|
id: 'string',
|
|
3685
3779
|
name: 'string',
|
|
3780
|
+
remark: 'string',
|
|
3686
3781
|
type: 'string',
|
|
3687
3782
|
};
|
|
3688
3783
|
}
|
|
@@ -3718,6 +3813,7 @@ class ListPolicyAttachmentResponseBodyAttachmentList extends $tea.Model {
|
|
|
3718
3813
|
memberUid: 'MemberUid',
|
|
3719
3814
|
policyId: 'PolicyId',
|
|
3720
3815
|
policyName: 'PolicyName',
|
|
3816
|
+
policyRemark: 'PolicyRemark',
|
|
3721
3817
|
policyType: 'PolicyType',
|
|
3722
3818
|
port: 'Port',
|
|
3723
3819
|
protocol: 'Protocol',
|
|
@@ -3730,6 +3826,7 @@ class ListPolicyAttachmentResponseBodyAttachmentList extends $tea.Model {
|
|
|
3730
3826
|
memberUid: 'string',
|
|
3731
3827
|
policyId: 'string',
|
|
3732
3828
|
policyName: 'string',
|
|
3829
|
+
policyRemark: 'string',
|
|
3733
3830
|
policyType: 'string',
|
|
3734
3831
|
port: 'number',
|
|
3735
3832
|
protocol: 'string',
|
|
@@ -4336,11 +4433,11 @@ class Client extends openapi_client_1.default {
|
|
|
4336
4433
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
4337
4434
|
}
|
|
4338
4435
|
/**
|
|
4339
|
-
*
|
|
4436
|
+
* Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
|
|
4340
4437
|
*
|
|
4341
|
-
* @param request AddIpRequest
|
|
4342
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4343
|
-
* @
|
|
4438
|
+
* @param request - AddIpRequest
|
|
4439
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4440
|
+
* @returns AddIpResponse
|
|
4344
4441
|
*/
|
|
4345
4442
|
async addIpWithOptions(request, runtime) {
|
|
4346
4443
|
tea_util_1.default.validateModel(request);
|
|
@@ -4374,21 +4471,24 @@ class Client extends openapi_client_1.default {
|
|
|
4374
4471
|
return $tea.cast(await this.callApi(params, req, runtime), new AddIpResponse({}));
|
|
4375
4472
|
}
|
|
4376
4473
|
/**
|
|
4377
|
-
*
|
|
4474
|
+
* Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
|
|
4378
4475
|
*
|
|
4379
|
-
* @param request AddIpRequest
|
|
4380
|
-
* @
|
|
4476
|
+
* @param request - AddIpRequest
|
|
4477
|
+
* @returns AddIpResponse
|
|
4381
4478
|
*/
|
|
4382
4479
|
async addIp(request) {
|
|
4383
4480
|
let runtime = new $Util.RuntimeOptions({});
|
|
4384
4481
|
return await this.addIpWithOptions(request, runtime);
|
|
4385
4482
|
}
|
|
4386
4483
|
/**
|
|
4387
|
-
*
|
|
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.
|
|
4388
4488
|
*
|
|
4389
|
-
* @param tmpReq AddRdMemberListRequest
|
|
4390
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4391
|
-
* @
|
|
4489
|
+
* @param tmpReq - AddRdMemberListRequest
|
|
4490
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4491
|
+
* @returns AddRdMemberListResponse
|
|
4392
4492
|
*/
|
|
4393
4493
|
async addRdMemberListWithOptions(tmpReq, runtime) {
|
|
4394
4494
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -4418,21 +4518,24 @@ class Client extends openapi_client_1.default {
|
|
|
4418
4518
|
return $tea.cast(await this.callApi(params, req, runtime), new AddRdMemberListResponse({}));
|
|
4419
4519
|
}
|
|
4420
4520
|
/**
|
|
4421
|
-
*
|
|
4521
|
+
* Adds members to a resource directory.
|
|
4422
4522
|
*
|
|
4423
|
-
* @
|
|
4424
|
-
*
|
|
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
|
|
4425
4528
|
*/
|
|
4426
4529
|
async addRdMemberList(request) {
|
|
4427
4530
|
let runtime = new $Util.RuntimeOptions({});
|
|
4428
4531
|
return await this.addRdMemberListWithOptions(request, runtime);
|
|
4429
4532
|
}
|
|
4430
4533
|
/**
|
|
4431
|
-
*
|
|
4534
|
+
* Associates an asset with an Anti-DDoS Origin instance of a paid edition.
|
|
4432
4535
|
*
|
|
4433
|
-
* @param tmpReq AttachAssetGroupToInstanceRequest
|
|
4434
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4435
|
-
* @
|
|
4536
|
+
* @param tmpReq - AttachAssetGroupToInstanceRequest
|
|
4537
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4538
|
+
* @returns AttachAssetGroupToInstanceResponse
|
|
4436
4539
|
*/
|
|
4437
4540
|
async attachAssetGroupToInstanceWithOptions(tmpReq, runtime) {
|
|
4438
4541
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -4468,21 +4571,68 @@ class Client extends openapi_client_1.default {
|
|
|
4468
4571
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachAssetGroupToInstanceResponse({}));
|
|
4469
4572
|
}
|
|
4470
4573
|
/**
|
|
4471
|
-
*
|
|
4574
|
+
* Associates an asset with an Anti-DDoS Origin instance of a paid edition.
|
|
4472
4575
|
*
|
|
4473
|
-
* @param request AttachAssetGroupToInstanceRequest
|
|
4474
|
-
* @
|
|
4576
|
+
* @param request - AttachAssetGroupToInstanceRequest
|
|
4577
|
+
* @returns AttachAssetGroupToInstanceResponse
|
|
4475
4578
|
*/
|
|
4476
4579
|
async attachAssetGroupToInstance(request) {
|
|
4477
4580
|
let runtime = new $Util.RuntimeOptions({});
|
|
4478
4581
|
return await this.attachAssetGroupToInstanceWithOptions(request, runtime);
|
|
4479
4582
|
}
|
|
4480
4583
|
/**
|
|
4481
|
-
*
|
|
4584
|
+
* Associates a mitigation policy to a protected object.
|
|
4585
|
+
*
|
|
4586
|
+
* @param tmpReq - AttachToPolicyRequest
|
|
4587
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4588
|
+
* @returns AttachToPolicyResponse
|
|
4589
|
+
*/
|
|
4590
|
+
async attachToPolicyWithOptions(tmpReq, runtime) {
|
|
4591
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
4592
|
+
let request = new AttachToPolicyShrinkRequest({});
|
|
4593
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
4594
|
+
if (!tea_util_1.default.isUnset(tmpReq.ipPortProtocolList)) {
|
|
4595
|
+
request.ipPortProtocolListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.ipPortProtocolList, "IpPortProtocolList", "json");
|
|
4596
|
+
}
|
|
4597
|
+
let query = {};
|
|
4598
|
+
if (!tea_util_1.default.isUnset(request.ipPortProtocolListShrink)) {
|
|
4599
|
+
query["IpPortProtocolList"] = request.ipPortProtocolListShrink;
|
|
4600
|
+
}
|
|
4601
|
+
if (!tea_util_1.default.isUnset(request.policyId)) {
|
|
4602
|
+
query["PolicyId"] = request.policyId;
|
|
4603
|
+
}
|
|
4604
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4605
|
+
query: openapi_util_1.default.query(query),
|
|
4606
|
+
});
|
|
4607
|
+
let params = new $OpenApi.Params({
|
|
4608
|
+
action: "AttachToPolicy",
|
|
4609
|
+
version: "2018-07-20",
|
|
4610
|
+
protocol: "HTTPS",
|
|
4611
|
+
pathname: "/",
|
|
4612
|
+
method: "POST",
|
|
4613
|
+
authType: "AK",
|
|
4614
|
+
style: "RPC",
|
|
4615
|
+
reqBodyType: "formData",
|
|
4616
|
+
bodyType: "json",
|
|
4617
|
+
});
|
|
4618
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachToPolicyResponse({}));
|
|
4619
|
+
}
|
|
4620
|
+
/**
|
|
4621
|
+
* Associates a mitigation policy to a protected object.
|
|
4482
4622
|
*
|
|
4483
|
-
* @param request
|
|
4484
|
-
* @
|
|
4485
|
-
|
|
4623
|
+
* @param request - AttachToPolicyRequest
|
|
4624
|
+
* @returns AttachToPolicyResponse
|
|
4625
|
+
*/
|
|
4626
|
+
async attachToPolicy(request) {
|
|
4627
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4628
|
+
return await this.attachToPolicyWithOptions(request, runtime);
|
|
4629
|
+
}
|
|
4630
|
+
/**
|
|
4631
|
+
* Queries whether Anti-DDoS Origin is authorized to access Simple Log Service.
|
|
4632
|
+
*
|
|
4633
|
+
* @param request - CheckAccessLogAuthRequest
|
|
4634
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4635
|
+
* @returns CheckAccessLogAuthResponse
|
|
4486
4636
|
*/
|
|
4487
4637
|
async checkAccessLogAuthWithOptions(request, runtime) {
|
|
4488
4638
|
tea_util_1.default.validateModel(request);
|
|
@@ -4510,25 +4660,26 @@ class Client extends openapi_client_1.default {
|
|
|
4510
4660
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckAccessLogAuthResponse({}));
|
|
4511
4661
|
}
|
|
4512
4662
|
/**
|
|
4513
|
-
*
|
|
4663
|
+
* Queries whether Anti-DDoS Origin is authorized to access Simple Log Service.
|
|
4514
4664
|
*
|
|
4515
|
-
* @param request CheckAccessLogAuthRequest
|
|
4516
|
-
* @
|
|
4665
|
+
* @param request - CheckAccessLogAuthRequest
|
|
4666
|
+
* @returns CheckAccessLogAuthResponse
|
|
4517
4667
|
*/
|
|
4518
4668
|
async checkAccessLogAuth(request) {
|
|
4519
4669
|
let runtime = new $Util.RuntimeOptions({});
|
|
4520
4670
|
return await this.checkAccessLogAuthWithOptions(request, runtime);
|
|
4521
4671
|
}
|
|
4522
4672
|
/**
|
|
4523
|
-
*
|
|
4673
|
+
* Queries whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
4524
4674
|
*
|
|
4525
|
-
* @
|
|
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.
|
|
4526
4677
|
* ### Limits
|
|
4527
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.
|
|
4528
4679
|
*
|
|
4529
|
-
* @param request CheckGrantRequest
|
|
4530
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4531
|
-
* @
|
|
4680
|
+
* @param request - CheckGrantRequest
|
|
4681
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4682
|
+
* @returns CheckGrantResponse
|
|
4532
4683
|
*/
|
|
4533
4684
|
async checkGrantWithOptions(request, runtime) {
|
|
4534
4685
|
tea_util_1.default.validateModel(request);
|
|
@@ -4550,23 +4701,26 @@ class Client extends openapi_client_1.default {
|
|
|
4550
4701
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckGrantResponse({}));
|
|
4551
4702
|
}
|
|
4552
4703
|
/**
|
|
4553
|
-
*
|
|
4704
|
+
* Queries whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
4554
4705
|
*
|
|
4555
|
-
* @
|
|
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.
|
|
4556
4708
|
* ### Limits
|
|
4557
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.
|
|
4558
4710
|
*
|
|
4559
|
-
* @param request CheckGrantRequest
|
|
4560
|
-
* @
|
|
4711
|
+
* @param request - CheckGrantRequest
|
|
4712
|
+
* @returns CheckGrantResponse
|
|
4561
4713
|
*/
|
|
4562
4714
|
async checkGrant(request) {
|
|
4563
4715
|
let runtime = new $Util.RuntimeOptions({});
|
|
4564
4716
|
return await this.checkGrantWithOptions(request, runtime);
|
|
4565
4717
|
}
|
|
4566
4718
|
/**
|
|
4567
|
-
*
|
|
4568
|
-
*
|
|
4569
|
-
* @
|
|
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
|
|
4570
4724
|
*/
|
|
4571
4725
|
async configSchedruleOnDemandWithOptions(request, runtime) {
|
|
4572
4726
|
tea_util_1.default.validateModel(request);
|
|
@@ -4624,19 +4778,21 @@ class Client extends openapi_client_1.default {
|
|
|
4624
4778
|
return $tea.cast(await this.callApi(params, req, runtime), new ConfigSchedruleOnDemandResponse({}));
|
|
4625
4779
|
}
|
|
4626
4780
|
/**
|
|
4627
|
-
*
|
|
4628
|
-
*
|
|
4781
|
+
* Modifies a scheduling rule of an on-demand instance.
|
|
4782
|
+
*
|
|
4783
|
+
* @param request - ConfigSchedruleOnDemandRequest
|
|
4784
|
+
* @returns ConfigSchedruleOnDemandResponse
|
|
4629
4785
|
*/
|
|
4630
4786
|
async configSchedruleOnDemand(request) {
|
|
4631
4787
|
let runtime = new $Util.RuntimeOptions({});
|
|
4632
4788
|
return await this.configSchedruleOnDemandWithOptions(request, runtime);
|
|
4633
4789
|
}
|
|
4634
4790
|
/**
|
|
4635
|
-
*
|
|
4791
|
+
* Creates a mitigation policy.
|
|
4636
4792
|
*
|
|
4637
|
-
* @param request CreatePolicyRequest
|
|
4638
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4639
|
-
* @
|
|
4793
|
+
* @param request - CreatePolicyRequest
|
|
4794
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4795
|
+
* @returns CreatePolicyResponse
|
|
4640
4796
|
*/
|
|
4641
4797
|
async createPolicyWithOptions(request, runtime) {
|
|
4642
4798
|
tea_util_1.default.validateModel(request);
|
|
@@ -4664,21 +4820,21 @@ class Client extends openapi_client_1.default {
|
|
|
4664
4820
|
return $tea.cast(await this.callApi(params, req, runtime), new CreatePolicyResponse({}));
|
|
4665
4821
|
}
|
|
4666
4822
|
/**
|
|
4667
|
-
*
|
|
4823
|
+
* Creates a mitigation policy.
|
|
4668
4824
|
*
|
|
4669
|
-
* @param request CreatePolicyRequest
|
|
4670
|
-
* @
|
|
4825
|
+
* @param request - CreatePolicyRequest
|
|
4826
|
+
* @returns CreatePolicyResponse
|
|
4671
4827
|
*/
|
|
4672
4828
|
async createPolicy(request) {
|
|
4673
4829
|
let runtime = new $Util.RuntimeOptions({});
|
|
4674
4830
|
return await this.createPolicyWithOptions(request, runtime);
|
|
4675
4831
|
}
|
|
4676
4832
|
/**
|
|
4677
|
-
*
|
|
4833
|
+
* Creates a scheduling rule for an on-demand instance.
|
|
4678
4834
|
*
|
|
4679
|
-
* @param request CreateSchedruleOnDemandRequest
|
|
4680
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4681
|
-
* @
|
|
4835
|
+
* @param request - CreateSchedruleOnDemandRequest
|
|
4836
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4837
|
+
* @returns CreateSchedruleOnDemandResponse
|
|
4682
4838
|
*/
|
|
4683
4839
|
async createSchedruleOnDemandWithOptions(request, runtime) {
|
|
4684
4840
|
tea_util_1.default.validateModel(request);
|
|
@@ -4736,26 +4892,27 @@ class Client extends openapi_client_1.default {
|
|
|
4736
4892
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateSchedruleOnDemandResponse({}));
|
|
4737
4893
|
}
|
|
4738
4894
|
/**
|
|
4739
|
-
*
|
|
4895
|
+
* Creates a scheduling rule for an on-demand instance.
|
|
4740
4896
|
*
|
|
4741
|
-
* @param request CreateSchedruleOnDemandRequest
|
|
4742
|
-
* @
|
|
4897
|
+
* @param request - CreateSchedruleOnDemandRequest
|
|
4898
|
+
* @returns CreateSchedruleOnDemandResponse
|
|
4743
4899
|
*/
|
|
4744
4900
|
async createSchedruleOnDemand(request) {
|
|
4745
4901
|
let runtime = new $Util.RuntimeOptions({});
|
|
4746
4902
|
return await this.createSchedruleOnDemandWithOptions(request, runtime);
|
|
4747
4903
|
}
|
|
4748
4904
|
/**
|
|
4749
|
-
*
|
|
4905
|
+
* Deactivates blackhole filtering for a protected IP address.
|
|
4750
4906
|
*
|
|
4751
|
-
* @
|
|
4907
|
+
* @remarks
|
|
4908
|
+
* You can call the DeleteBlackhole operation to deactivate blackhole filtering for a protected IP address.
|
|
4752
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.
|
|
4753
|
-
* ### Limits
|
|
4754
|
-
* 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.
|
|
4755
4912
|
*
|
|
4756
|
-
* @param request DeleteBlackholeRequest
|
|
4757
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4758
|
-
* @
|
|
4913
|
+
* @param request - DeleteBlackholeRequest
|
|
4914
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4915
|
+
* @returns DeleteBlackholeResponse
|
|
4759
4916
|
*/
|
|
4760
4917
|
async deleteBlackholeWithOptions(request, runtime) {
|
|
4761
4918
|
tea_util_1.default.validateModel(request);
|
|
@@ -4789,28 +4946,30 @@ class Client extends openapi_client_1.default {
|
|
|
4789
4946
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteBlackholeResponse({}));
|
|
4790
4947
|
}
|
|
4791
4948
|
/**
|
|
4792
|
-
*
|
|
4949
|
+
* Deactivates blackhole filtering for a protected IP address.
|
|
4793
4950
|
*
|
|
4794
|
-
* @
|
|
4951
|
+
* @remarks
|
|
4952
|
+
* You can call the DeleteBlackhole operation to deactivate blackhole filtering for a protected IP address.
|
|
4795
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.
|
|
4796
|
-
* ### Limits
|
|
4797
|
-
* 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.
|
|
4798
4956
|
*
|
|
4799
|
-
* @param request DeleteBlackholeRequest
|
|
4800
|
-
* @
|
|
4957
|
+
* @param request - DeleteBlackholeRequest
|
|
4958
|
+
* @returns DeleteBlackholeResponse
|
|
4801
4959
|
*/
|
|
4802
4960
|
async deleteBlackhole(request) {
|
|
4803
4961
|
let runtime = new $Util.RuntimeOptions({});
|
|
4804
4962
|
return await this.deleteBlackholeWithOptions(request, runtime);
|
|
4805
4963
|
}
|
|
4806
4964
|
/**
|
|
4807
|
-
*
|
|
4965
|
+
* Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
|
|
4808
4966
|
*
|
|
4809
|
-
* @
|
|
4967
|
+
* @remarks
|
|
4968
|
+
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
4810
4969
|
*
|
|
4811
|
-
* @param request DeleteIpRequest
|
|
4812
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4813
|
-
* @
|
|
4970
|
+
* @param request - DeleteIpRequest
|
|
4971
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4972
|
+
* @returns DeleteIpResponse
|
|
4814
4973
|
*/
|
|
4815
4974
|
async deleteIpWithOptions(request, runtime) {
|
|
4816
4975
|
tea_util_1.default.validateModel(request);
|
|
@@ -4844,23 +5003,27 @@ class Client extends openapi_client_1.default {
|
|
|
4844
5003
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteIpResponse({}));
|
|
4845
5004
|
}
|
|
4846
5005
|
/**
|
|
4847
|
-
*
|
|
5006
|
+
* Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
|
|
4848
5007
|
*
|
|
4849
|
-
* @
|
|
5008
|
+
* @remarks
|
|
5009
|
+
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
4850
5010
|
*
|
|
4851
|
-
* @param request DeleteIpRequest
|
|
4852
|
-
* @
|
|
5011
|
+
* @param request - DeleteIpRequest
|
|
5012
|
+
* @returns DeleteIpResponse
|
|
4853
5013
|
*/
|
|
4854
5014
|
async deleteIp(request) {
|
|
4855
5015
|
let runtime = new $Util.RuntimeOptions({});
|
|
4856
5016
|
return await this.deleteIpWithOptions(request, runtime);
|
|
4857
5017
|
}
|
|
4858
5018
|
/**
|
|
4859
|
-
*
|
|
5019
|
+
* Deletes a mitigation policy.
|
|
5020
|
+
*
|
|
5021
|
+
* @remarks
|
|
5022
|
+
* You cannot delete a mitigation policy to which a protected object is added.
|
|
4860
5023
|
*
|
|
4861
|
-
* @param request DeletePolicyRequest
|
|
4862
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4863
|
-
* @
|
|
5024
|
+
* @param request - DeletePolicyRequest
|
|
5025
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5026
|
+
* @returns DeletePolicyResponse
|
|
4864
5027
|
*/
|
|
4865
5028
|
async deletePolicyWithOptions(request, runtime) {
|
|
4866
5029
|
tea_util_1.default.validateModel(request);
|
|
@@ -4885,21 +5048,27 @@ class Client extends openapi_client_1.default {
|
|
|
4885
5048
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePolicyResponse({}));
|
|
4886
5049
|
}
|
|
4887
5050
|
/**
|
|
4888
|
-
*
|
|
5051
|
+
* Deletes a mitigation policy.
|
|
5052
|
+
*
|
|
5053
|
+
* @remarks
|
|
5054
|
+
* You cannot delete a mitigation policy to which a protected object is added.
|
|
4889
5055
|
*
|
|
4890
|
-
* @param request DeletePolicyRequest
|
|
4891
|
-
* @
|
|
5056
|
+
* @param request - DeletePolicyRequest
|
|
5057
|
+
* @returns DeletePolicyResponse
|
|
4892
5058
|
*/
|
|
4893
5059
|
async deletePolicy(request) {
|
|
4894
5060
|
let runtime = new $Util.RuntimeOptions({});
|
|
4895
5061
|
return await this.deletePolicyWithOptions(request, runtime);
|
|
4896
5062
|
}
|
|
4897
5063
|
/**
|
|
4898
|
-
*
|
|
5064
|
+
* Deletes members.
|
|
4899
5065
|
*
|
|
4900
|
-
* @
|
|
4901
|
-
*
|
|
4902
|
-
*
|
|
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
|
|
4903
5072
|
*/
|
|
4904
5073
|
async deleteRdMemberListWithOptions(tmpReq, runtime) {
|
|
4905
5074
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -4929,19 +5098,24 @@ class Client extends openapi_client_1.default {
|
|
|
4929
5098
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteRdMemberListResponse({}));
|
|
4930
5099
|
}
|
|
4931
5100
|
/**
|
|
4932
|
-
*
|
|
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.
|
|
4933
5105
|
*
|
|
4934
|
-
* @param request DeleteRdMemberListRequest
|
|
4935
|
-
* @
|
|
5106
|
+
* @param request - DeleteRdMemberListRequest
|
|
5107
|
+
* @returns DeleteRdMemberListResponse
|
|
4936
5108
|
*/
|
|
4937
5109
|
async deleteRdMemberList(request) {
|
|
4938
5110
|
let runtime = new $Util.RuntimeOptions({});
|
|
4939
5111
|
return await this.deleteRdMemberListWithOptions(request, runtime);
|
|
4940
5112
|
}
|
|
4941
5113
|
/**
|
|
4942
|
-
*
|
|
4943
|
-
*
|
|
4944
|
-
* @
|
|
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
|
|
4945
5119
|
*/
|
|
4946
5120
|
async deleteSchedruleOnDemandWithOptions(request, runtime) {
|
|
4947
5121
|
tea_util_1.default.validateModel(request);
|
|
@@ -4972,19 +5146,21 @@ class Client extends openapi_client_1.default {
|
|
|
4972
5146
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSchedruleOnDemandResponse({}));
|
|
4973
5147
|
}
|
|
4974
5148
|
/**
|
|
4975
|
-
*
|
|
4976
|
-
*
|
|
5149
|
+
* Deletes a scheduling rule of an anti-DDoS diversion instance.
|
|
5150
|
+
*
|
|
5151
|
+
* @param request - DeleteSchedruleOnDemandRequest
|
|
5152
|
+
* @returns DeleteSchedruleOnDemandResponse
|
|
4977
5153
|
*/
|
|
4978
5154
|
async deleteSchedruleOnDemand(request) {
|
|
4979
5155
|
let runtime = new $Util.RuntimeOptions({});
|
|
4980
5156
|
return await this.deleteSchedruleOnDemandWithOptions(request, runtime);
|
|
4981
5157
|
}
|
|
4982
5158
|
/**
|
|
4983
|
-
*
|
|
5159
|
+
* Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
4984
5160
|
*
|
|
4985
|
-
* @param request DescribeAssetGroupRequest
|
|
4986
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4987
|
-
* @
|
|
5161
|
+
* @param request - DescribeAssetGroupRequest
|
|
5162
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5163
|
+
* @returns DescribeAssetGroupResponse
|
|
4988
5164
|
*/
|
|
4989
5165
|
async describeAssetGroupWithOptions(request, runtime) {
|
|
4990
5166
|
tea_util_1.default.validateModel(request);
|
|
@@ -5018,21 +5194,21 @@ class Client extends openapi_client_1.default {
|
|
|
5018
5194
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAssetGroupResponse({}));
|
|
5019
5195
|
}
|
|
5020
5196
|
/**
|
|
5021
|
-
*
|
|
5197
|
+
* Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
5022
5198
|
*
|
|
5023
|
-
* @param request DescribeAssetGroupRequest
|
|
5024
|
-
* @
|
|
5199
|
+
* @param request - DescribeAssetGroupRequest
|
|
5200
|
+
* @returns DescribeAssetGroupResponse
|
|
5025
5201
|
*/
|
|
5026
5202
|
async describeAssetGroup(request) {
|
|
5027
5203
|
let runtime = new $Util.RuntimeOptions({});
|
|
5028
5204
|
return await this.describeAssetGroupWithOptions(request, runtime);
|
|
5029
5205
|
}
|
|
5030
5206
|
/**
|
|
5031
|
-
*
|
|
5207
|
+
* Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
5032
5208
|
*
|
|
5033
|
-
* @param request DescribeAssetGroupToInstanceRequest
|
|
5034
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5035
|
-
* @
|
|
5209
|
+
* @param request - DescribeAssetGroupToInstanceRequest
|
|
5210
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5211
|
+
* @returns DescribeAssetGroupToInstanceResponse
|
|
5036
5212
|
*/
|
|
5037
5213
|
async describeAssetGroupToInstanceWithOptions(request, runtime) {
|
|
5038
5214
|
tea_util_1.default.validateModel(request);
|
|
@@ -5072,25 +5248,26 @@ class Client extends openapi_client_1.default {
|
|
|
5072
5248
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAssetGroupToInstanceResponse({}));
|
|
5073
5249
|
}
|
|
5074
5250
|
/**
|
|
5075
|
-
*
|
|
5251
|
+
* Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
5076
5252
|
*
|
|
5077
|
-
* @param request DescribeAssetGroupToInstanceRequest
|
|
5078
|
-
* @
|
|
5253
|
+
* @param request - DescribeAssetGroupToInstanceRequest
|
|
5254
|
+
* @returns DescribeAssetGroupToInstanceResponse
|
|
5079
5255
|
*/
|
|
5080
5256
|
async describeAssetGroupToInstance(request) {
|
|
5081
5257
|
let runtime = new $Util.RuntimeOptions({});
|
|
5082
5258
|
return await this.describeAssetGroupToInstanceWithOptions(request, runtime);
|
|
5083
5259
|
}
|
|
5084
5260
|
/**
|
|
5085
|
-
*
|
|
5261
|
+
* Queries the details about the DDoS attack events that occurred on an Anti-DDoS Origin instance.
|
|
5086
5262
|
*
|
|
5087
|
-
* @
|
|
5088
|
-
*
|
|
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
|
|
5089
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.
|
|
5090
5267
|
*
|
|
5091
|
-
* @param request DescribeDdosEventRequest
|
|
5092
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5093
|
-
* @
|
|
5268
|
+
* @param request - DescribeDdosEventRequest
|
|
5269
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5270
|
+
* @returns DescribeDdosEventResponse
|
|
5094
5271
|
*/
|
|
5095
5272
|
async describeDdosEventWithOptions(request, runtime) {
|
|
5096
5273
|
tea_util_1.default.validateModel(request);
|
|
@@ -5136,25 +5313,26 @@ class Client extends openapi_client_1.default {
|
|
|
5136
5313
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDdosEventResponse({}));
|
|
5137
5314
|
}
|
|
5138
5315
|
/**
|
|
5139
|
-
*
|
|
5316
|
+
* Queries the details about the DDoS attack events that occurred on an Anti-DDoS Origin instance.
|
|
5140
5317
|
*
|
|
5141
|
-
* @
|
|
5142
|
-
*
|
|
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
|
|
5143
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.
|
|
5144
5322
|
*
|
|
5145
|
-
* @param request DescribeDdosEventRequest
|
|
5146
|
-
* @
|
|
5323
|
+
* @param request - DescribeDdosEventRequest
|
|
5324
|
+
* @returns DescribeDdosEventResponse
|
|
5147
5325
|
*/
|
|
5148
5326
|
async describeDdosEvent(request) {
|
|
5149
5327
|
let runtime = new $Util.RuntimeOptions({});
|
|
5150
5328
|
return await this.describeDdosEventWithOptions(request, runtime);
|
|
5151
5329
|
}
|
|
5152
5330
|
/**
|
|
5153
|
-
*
|
|
5331
|
+
* Queries the bill of an Anti-DDoS Origin (Pay-as-you-go) instance.
|
|
5154
5332
|
*
|
|
5155
|
-
* @param request DescribeDdosOriginInstanceBillRequest
|
|
5156
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5157
|
-
* @
|
|
5333
|
+
* @param request - DescribeDdosOriginInstanceBillRequest
|
|
5334
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5335
|
+
* @returns DescribeDdosOriginInstanceBillResponse
|
|
5158
5336
|
*/
|
|
5159
5337
|
async describeDdosOriginInstanceBillWithOptions(request, runtime) {
|
|
5160
5338
|
tea_util_1.default.validateModel(request);
|
|
@@ -5188,27 +5366,25 @@ class Client extends openapi_client_1.default {
|
|
|
5188
5366
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDdosOriginInstanceBillResponse({}));
|
|
5189
5367
|
}
|
|
5190
5368
|
/**
|
|
5191
|
-
*
|
|
5369
|
+
* Queries the bill of an Anti-DDoS Origin (Pay-as-you-go) instance.
|
|
5192
5370
|
*
|
|
5193
|
-
* @param request DescribeDdosOriginInstanceBillRequest
|
|
5194
|
-
* @
|
|
5371
|
+
* @param request - DescribeDdosOriginInstanceBillRequest
|
|
5372
|
+
* @returns DescribeDdosOriginInstanceBillResponse
|
|
5195
5373
|
*/
|
|
5196
5374
|
async describeDdosOriginInstanceBill(request) {
|
|
5197
5375
|
let runtime = new $Util.RuntimeOptions({});
|
|
5198
5376
|
return await this.describeDdosOriginInstanceBillWithOptions(request, runtime);
|
|
5199
5377
|
}
|
|
5200
5378
|
/**
|
|
5201
|
-
*
|
|
5202
|
-
* Origin instances that are about to expire in a specific region. The assets can be
|
|
5203
|
-
* elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS)
|
|
5204
|
-
* 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.
|
|
5205
5380
|
*
|
|
5206
|
-
* @
|
|
5381
|
+
* @remarks
|
|
5382
|
+
* ## Usage notes
|
|
5207
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.
|
|
5208
5384
|
*
|
|
5209
|
-
* @param request DescribeExcpetionCountRequest
|
|
5210
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5211
|
-
* @
|
|
5385
|
+
* @param request - DescribeExcpetionCountRequest
|
|
5386
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5387
|
+
* @returns DescribeExcpetionCountResponse
|
|
5212
5388
|
*/
|
|
5213
5389
|
async describeExcpetionCountWithOptions(request, runtime) {
|
|
5214
5390
|
tea_util_1.default.validateModel(request);
|
|
@@ -5236,31 +5412,30 @@ class Client extends openapi_client_1.default {
|
|
|
5236
5412
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeExcpetionCountResponse({}));
|
|
5237
5413
|
}
|
|
5238
5414
|
/**
|
|
5239
|
-
*
|
|
5240
|
-
* Origin instances that are about to expire in a specific region. The assets can be
|
|
5241
|
-
* elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS)
|
|
5242
|
-
* 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.
|
|
5243
5416
|
*
|
|
5244
|
-
* @
|
|
5417
|
+
* @remarks
|
|
5418
|
+
* ## Usage notes
|
|
5245
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.
|
|
5246
5420
|
*
|
|
5247
|
-
* @param request DescribeExcpetionCountRequest
|
|
5248
|
-
* @
|
|
5421
|
+
* @param request - DescribeExcpetionCountRequest
|
|
5422
|
+
* @returns DescribeExcpetionCountResponse
|
|
5249
5423
|
*/
|
|
5250
5424
|
async describeExcpetionCount(request) {
|
|
5251
5425
|
let runtime = new $Util.RuntimeOptions({});
|
|
5252
5426
|
return await this.describeExcpetionCountWithOptions(request, runtime);
|
|
5253
5427
|
}
|
|
5254
5428
|
/**
|
|
5255
|
-
*
|
|
5429
|
+
* Queries the details of all Anti-DDoS Origin instances.
|
|
5256
5430
|
*
|
|
5257
|
-
* @
|
|
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.
|
|
5258
5433
|
* ## Limits
|
|
5259
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.
|
|
5260
5435
|
*
|
|
5261
|
-
* @param request DescribeInstanceListRequest
|
|
5262
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5263
|
-
* @
|
|
5436
|
+
* @param request - DescribeInstanceListRequest
|
|
5437
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5438
|
+
* @returns DescribeInstanceListResponse
|
|
5264
5439
|
*/
|
|
5265
5440
|
async describeInstanceListWithOptions(request, runtime) {
|
|
5266
5441
|
tea_util_1.default.validateModel(request);
|
|
@@ -5321,23 +5496,24 @@ class Client extends openapi_client_1.default {
|
|
|
5321
5496
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceListResponse({}));
|
|
5322
5497
|
}
|
|
5323
5498
|
/**
|
|
5324
|
-
*
|
|
5499
|
+
* Queries the details of all Anti-DDoS Origin instances.
|
|
5325
5500
|
*
|
|
5326
|
-
* @
|
|
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.
|
|
5327
5503
|
* ## Limits
|
|
5328
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.
|
|
5329
5505
|
*
|
|
5330
|
-
* @param request DescribeInstanceListRequest
|
|
5331
|
-
* @
|
|
5506
|
+
* @param request - DescribeInstanceListRequest
|
|
5507
|
+
* @returns DescribeInstanceListResponse
|
|
5332
5508
|
*/
|
|
5333
5509
|
async describeInstanceList(request) {
|
|
5334
5510
|
let runtime = new $Util.RuntimeOptions({});
|
|
5335
5511
|
return await this.describeInstanceListWithOptions(request, runtime);
|
|
5336
5512
|
}
|
|
5337
5513
|
/**
|
|
5338
|
-
* @param request DescribeInstanceSpecsRequest
|
|
5339
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5340
|
-
* @
|
|
5514
|
+
* @param request - DescribeInstanceSpecsRequest
|
|
5515
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5516
|
+
* @returns DescribeInstanceSpecsResponse
|
|
5341
5517
|
*/
|
|
5342
5518
|
async describeInstanceSpecsWithOptions(request, runtime) {
|
|
5343
5519
|
tea_util_1.default.validateModel(request);
|
|
@@ -5368,21 +5544,24 @@ class Client extends openapi_client_1.default {
|
|
|
5368
5544
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceSpecsResponse({}));
|
|
5369
5545
|
}
|
|
5370
5546
|
/**
|
|
5371
|
-
* @param request DescribeInstanceSpecsRequest
|
|
5372
|
-
* @
|
|
5547
|
+
* @param request - DescribeInstanceSpecsRequest
|
|
5548
|
+
* @returns DescribeInstanceSpecsResponse
|
|
5373
5549
|
*/
|
|
5374
5550
|
async describeInstanceSpecs(request) {
|
|
5375
5551
|
let runtime = new $Util.RuntimeOptions({});
|
|
5376
5552
|
return await this.describeInstanceSpecsWithOptions(request, runtime);
|
|
5377
5553
|
}
|
|
5378
5554
|
/**
|
|
5379
|
-
*
|
|
5555
|
+
* Queries the DDoS attack events recorded for the IP address of an anti-DDoS diversion instance of Anti-DDoS Origin.
|
|
5380
5556
|
*
|
|
5381
|
-
* @
|
|
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.
|
|
5382
5561
|
*
|
|
5383
|
-
* @param request DescribeOnDemandDdosEventRequest
|
|
5384
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5385
|
-
* @
|
|
5562
|
+
* @param request - DescribeOnDemandDdosEventRequest
|
|
5563
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5564
|
+
* @returns DescribeOnDemandDdosEventResponse
|
|
5386
5565
|
*/
|
|
5387
5566
|
async describeOnDemandDdosEventWithOptions(request, runtime) {
|
|
5388
5567
|
tea_util_1.default.validateModel(request);
|
|
@@ -5428,21 +5607,26 @@ class Client extends openapi_client_1.default {
|
|
|
5428
5607
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOnDemandDdosEventResponse({}));
|
|
5429
5608
|
}
|
|
5430
5609
|
/**
|
|
5431
|
-
*
|
|
5610
|
+
* Queries the DDoS attack events recorded for the IP address of an anti-DDoS diversion instance of Anti-DDoS Origin.
|
|
5432
5611
|
*
|
|
5433
|
-
* @
|
|
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.
|
|
5434
5616
|
*
|
|
5435
|
-
* @param request DescribeOnDemandDdosEventRequest
|
|
5436
|
-
* @
|
|
5617
|
+
* @param request - DescribeOnDemandDdosEventRequest
|
|
5618
|
+
* @returns DescribeOnDemandDdosEventResponse
|
|
5437
5619
|
*/
|
|
5438
5620
|
async describeOnDemandDdosEvent(request) {
|
|
5439
5621
|
let runtime = new $Util.RuntimeOptions({});
|
|
5440
5622
|
return await this.describeOnDemandDdosEventWithOptions(request, runtime);
|
|
5441
5623
|
}
|
|
5442
5624
|
/**
|
|
5443
|
-
*
|
|
5444
|
-
*
|
|
5445
|
-
* @
|
|
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
|
|
5446
5630
|
*/
|
|
5447
5631
|
async describeOnDemandInstanceStatusWithOptions(request, runtime) {
|
|
5448
5632
|
tea_util_1.default.validateModel(request);
|
|
@@ -5470,21 +5654,26 @@ class Client extends openapi_client_1.default {
|
|
|
5470
5654
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOnDemandInstanceStatusResponse({}));
|
|
5471
5655
|
}
|
|
5472
5656
|
/**
|
|
5473
|
-
*
|
|
5474
|
-
*
|
|
5657
|
+
* Queries the details of anti-DDoS diversion instances.
|
|
5658
|
+
*
|
|
5659
|
+
* @param request - DescribeOnDemandInstanceStatusRequest
|
|
5660
|
+
* @returns DescribeOnDemandInstanceStatusResponse
|
|
5475
5661
|
*/
|
|
5476
5662
|
async describeOnDemandInstanceStatus(request) {
|
|
5477
5663
|
let runtime = new $Util.RuntimeOptions({});
|
|
5478
5664
|
return await this.describeOnDemandInstanceStatusWithOptions(request, runtime);
|
|
5479
5665
|
}
|
|
5480
5666
|
/**
|
|
5481
|
-
*
|
|
5667
|
+
* Queries the operation logs of an Anti-DDoS Origin instance.
|
|
5482
5668
|
*
|
|
5483
|
-
* @
|
|
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.
|
|
5484
5673
|
*
|
|
5485
|
-
* @param request DescribeOpEntitiesRequest
|
|
5486
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5487
|
-
* @
|
|
5674
|
+
* @param request - DescribeOpEntitiesRequest
|
|
5675
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5676
|
+
* @returns DescribeOpEntitiesResponse
|
|
5488
5677
|
*/
|
|
5489
5678
|
async describeOpEntitiesWithOptions(request, runtime) {
|
|
5490
5679
|
tea_util_1.default.validateModel(request);
|
|
@@ -5533,27 +5722,31 @@ class Client extends openapi_client_1.default {
|
|
|
5533
5722
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOpEntitiesResponse({}));
|
|
5534
5723
|
}
|
|
5535
5724
|
/**
|
|
5536
|
-
*
|
|
5725
|
+
* Queries the operation logs of an Anti-DDoS Origin instance.
|
|
5537
5726
|
*
|
|
5538
|
-
* @
|
|
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.
|
|
5539
5731
|
*
|
|
5540
|
-
* @param request DescribeOpEntitiesRequest
|
|
5541
|
-
* @
|
|
5732
|
+
* @param request - DescribeOpEntitiesRequest
|
|
5733
|
+
* @returns DescribeOpEntitiesResponse
|
|
5542
5734
|
*/
|
|
5543
5735
|
async describeOpEntities(request) {
|
|
5544
5736
|
let runtime = new $Util.RuntimeOptions({});
|
|
5545
5737
|
return await this.describeOpEntitiesWithOptions(request, runtime);
|
|
5546
5738
|
}
|
|
5547
5739
|
/**
|
|
5548
|
-
*
|
|
5740
|
+
* Queries the IP addresses that are protected by a specific Anti-DDoS Origin instance.
|
|
5549
5741
|
*
|
|
5550
|
-
* @
|
|
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.
|
|
5551
5744
|
* ## Limits
|
|
5552
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.
|
|
5553
5746
|
*
|
|
5554
|
-
* @param request DescribePackIpListRequest
|
|
5555
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5556
|
-
* @
|
|
5747
|
+
* @param request - DescribePackIpListRequest
|
|
5748
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5749
|
+
* @returns DescribePackIpListResponse
|
|
5557
5750
|
*/
|
|
5558
5751
|
async describePackIpListWithOptions(request, runtime) {
|
|
5559
5752
|
tea_util_1.default.validateModel(request);
|
|
@@ -5599,25 +5792,26 @@ class Client extends openapi_client_1.default {
|
|
|
5599
5792
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePackIpListResponse({}));
|
|
5600
5793
|
}
|
|
5601
5794
|
/**
|
|
5602
|
-
*
|
|
5795
|
+
* Queries the IP addresses that are protected by a specific Anti-DDoS Origin instance.
|
|
5603
5796
|
*
|
|
5604
|
-
* @
|
|
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.
|
|
5605
5799
|
* ## Limits
|
|
5606
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.
|
|
5607
5801
|
*
|
|
5608
|
-
* @param request DescribePackIpListRequest
|
|
5609
|
-
* @
|
|
5802
|
+
* @param request - DescribePackIpListRequest
|
|
5803
|
+
* @returns DescribePackIpListResponse
|
|
5610
5804
|
*/
|
|
5611
5805
|
async describePackIpList(request) {
|
|
5612
5806
|
let runtime = new $Util.RuntimeOptions({});
|
|
5613
5807
|
return await this.describePackIpListWithOptions(request, runtime);
|
|
5614
5808
|
}
|
|
5615
5809
|
/**
|
|
5616
|
-
*
|
|
5810
|
+
* Queries members that are managed by using the multi-account management feature.
|
|
5617
5811
|
*
|
|
5618
|
-
* @param request DescribeRdMemberListRequest
|
|
5619
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5620
|
-
* @
|
|
5812
|
+
* @param request - DescribeRdMemberListRequest
|
|
5813
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5814
|
+
* @returns DescribeRdMemberListResponse
|
|
5621
5815
|
*/
|
|
5622
5816
|
async describeRdMemberListWithOptions(request, runtime) {
|
|
5623
5817
|
tea_util_1.default.validateModel(request);
|
|
@@ -5648,21 +5842,21 @@ class Client extends openapi_client_1.default {
|
|
|
5648
5842
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRdMemberListResponse({}));
|
|
5649
5843
|
}
|
|
5650
5844
|
/**
|
|
5651
|
-
*
|
|
5845
|
+
* Queries members that are managed by using the multi-account management feature.
|
|
5652
5846
|
*
|
|
5653
|
-
* @param request DescribeRdMemberListRequest
|
|
5654
|
-
* @
|
|
5847
|
+
* @param request - DescribeRdMemberListRequest
|
|
5848
|
+
* @returns DescribeRdMemberListResponse
|
|
5655
5849
|
*/
|
|
5656
5850
|
async describeRdMemberList(request) {
|
|
5657
5851
|
let runtime = new $Util.RuntimeOptions({});
|
|
5658
5852
|
return await this.describeRdMemberListWithOptions(request, runtime);
|
|
5659
5853
|
}
|
|
5660
5854
|
/**
|
|
5661
|
-
*
|
|
5855
|
+
* Queries the status of the multi-account management feature.
|
|
5662
5856
|
*
|
|
5663
|
-
* @param request DescribeRdStatusRequest
|
|
5664
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5665
|
-
* @
|
|
5857
|
+
* @param request - DescribeRdStatusRequest
|
|
5858
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5859
|
+
* @returns DescribeRdStatusResponse
|
|
5666
5860
|
*/
|
|
5667
5861
|
async describeRdStatusWithOptions(runtime) {
|
|
5668
5862
|
let req = new $OpenApi.OpenApiRequest({});
|
|
@@ -5680,20 +5874,19 @@ class Client extends openapi_client_1.default {
|
|
|
5680
5874
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRdStatusResponse({}));
|
|
5681
5875
|
}
|
|
5682
5876
|
/**
|
|
5683
|
-
*
|
|
5684
|
-
*
|
|
5685
|
-
* @return DescribeRdStatusResponse
|
|
5877
|
+
* Queries the status of the multi-account management feature.
|
|
5878
|
+
* @returns DescribeRdStatusResponse
|
|
5686
5879
|
*/
|
|
5687
5880
|
async describeRdStatus() {
|
|
5688
5881
|
let runtime = new $Util.RuntimeOptions({});
|
|
5689
5882
|
return await this.describeRdStatusWithOptions(runtime);
|
|
5690
5883
|
}
|
|
5691
5884
|
/**
|
|
5692
|
-
*
|
|
5885
|
+
* Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
|
|
5693
5886
|
*
|
|
5694
|
-
* @param request DescribeRegionsRequest
|
|
5695
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5696
|
-
* @
|
|
5887
|
+
* @param request - DescribeRegionsRequest
|
|
5888
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5889
|
+
* @returns DescribeRegionsResponse
|
|
5697
5890
|
*/
|
|
5698
5891
|
async describeRegionsWithOptions(request, runtime) {
|
|
5699
5892
|
tea_util_1.default.validateModel(request);
|
|
@@ -5721,26 +5914,27 @@ class Client extends openapi_client_1.default {
|
|
|
5721
5914
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
5722
5915
|
}
|
|
5723
5916
|
/**
|
|
5724
|
-
*
|
|
5917
|
+
* Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
|
|
5725
5918
|
*
|
|
5726
|
-
* @param request DescribeRegionsRequest
|
|
5727
|
-
* @
|
|
5919
|
+
* @param request - DescribeRegionsRequest
|
|
5920
|
+
* @returns DescribeRegionsResponse
|
|
5728
5921
|
*/
|
|
5729
5922
|
async describeRegions(request) {
|
|
5730
5923
|
let runtime = new $Util.RuntimeOptions({});
|
|
5731
5924
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
5732
5925
|
}
|
|
5733
5926
|
/**
|
|
5734
|
-
*
|
|
5927
|
+
* Queries traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5735
5928
|
*
|
|
5736
|
-
* @
|
|
5929
|
+
* @remarks
|
|
5930
|
+
* You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5737
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.
|
|
5738
5932
|
* ## Limits
|
|
5739
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.
|
|
5740
5934
|
*
|
|
5741
|
-
* @param request DescribeTrafficRequest
|
|
5742
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5743
|
-
* @
|
|
5935
|
+
* @param request - DescribeTrafficRequest
|
|
5936
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5937
|
+
* @returns DescribeTrafficResponse
|
|
5744
5938
|
*/
|
|
5745
5939
|
async describeTrafficWithOptions(request, runtime) {
|
|
5746
5940
|
tea_util_1.default.validateModel(request);
|
|
@@ -5789,26 +5983,27 @@ class Client extends openapi_client_1.default {
|
|
|
5789
5983
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrafficResponse({}));
|
|
5790
5984
|
}
|
|
5791
5985
|
/**
|
|
5792
|
-
*
|
|
5986
|
+
* Queries traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5793
5987
|
*
|
|
5794
|
-
* @
|
|
5988
|
+
* @remarks
|
|
5989
|
+
* You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5795
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.
|
|
5796
5991
|
* ## Limits
|
|
5797
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.
|
|
5798
5993
|
*
|
|
5799
|
-
* @param request DescribeTrafficRequest
|
|
5800
|
-
* @
|
|
5994
|
+
* @param request - DescribeTrafficRequest
|
|
5995
|
+
* @returns DescribeTrafficResponse
|
|
5801
5996
|
*/
|
|
5802
5997
|
async describeTraffic(request) {
|
|
5803
5998
|
let runtime = new $Util.RuntimeOptions({});
|
|
5804
5999
|
return await this.describeTrafficWithOptions(request, runtime);
|
|
5805
6000
|
}
|
|
5806
6001
|
/**
|
|
5807
|
-
*
|
|
6002
|
+
* Removes protected objects from a mitigation policy.
|
|
5808
6003
|
*
|
|
5809
|
-
* @param tmpReq DetachFromPolicyRequest
|
|
5810
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5811
|
-
* @
|
|
6004
|
+
* @param tmpReq - DetachFromPolicyRequest
|
|
6005
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6006
|
+
* @returns DetachFromPolicyResponse
|
|
5812
6007
|
*/
|
|
5813
6008
|
async detachFromPolicyWithOptions(tmpReq, runtime) {
|
|
5814
6009
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -5841,21 +6036,21 @@ class Client extends openapi_client_1.default {
|
|
|
5841
6036
|
return $tea.cast(await this.callApi(params, req, runtime), new DetachFromPolicyResponse({}));
|
|
5842
6037
|
}
|
|
5843
6038
|
/**
|
|
5844
|
-
*
|
|
6039
|
+
* Removes protected objects from a mitigation policy.
|
|
5845
6040
|
*
|
|
5846
|
-
* @param request DetachFromPolicyRequest
|
|
5847
|
-
* @
|
|
6041
|
+
* @param request - DetachFromPolicyRequest
|
|
6042
|
+
* @returns DetachFromPolicyResponse
|
|
5848
6043
|
*/
|
|
5849
6044
|
async detachFromPolicy(request) {
|
|
5850
6045
|
let runtime = new $Util.RuntimeOptions({});
|
|
5851
6046
|
return await this.detachFromPolicyWithOptions(request, runtime);
|
|
5852
6047
|
}
|
|
5853
6048
|
/**
|
|
5854
|
-
*
|
|
6049
|
+
* Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
|
|
5855
6050
|
*
|
|
5856
|
-
* @param tmpReq DettachAssetGroupToInstanceRequest
|
|
5857
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5858
|
-
* @
|
|
6051
|
+
* @param tmpReq - DettachAssetGroupToInstanceRequest
|
|
6052
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6053
|
+
* @returns DettachAssetGroupToInstanceResponse
|
|
5859
6054
|
*/
|
|
5860
6055
|
async dettachAssetGroupToInstanceWithOptions(tmpReq, runtime) {
|
|
5861
6056
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -5891,21 +6086,21 @@ class Client extends openapi_client_1.default {
|
|
|
5891
6086
|
return $tea.cast(await this.callApi(params, req, runtime), new DettachAssetGroupToInstanceResponse({}));
|
|
5892
6087
|
}
|
|
5893
6088
|
/**
|
|
5894
|
-
*
|
|
6089
|
+
* Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
|
|
5895
6090
|
*
|
|
5896
|
-
* @param request DettachAssetGroupToInstanceRequest
|
|
5897
|
-
* @
|
|
6091
|
+
* @param request - DettachAssetGroupToInstanceRequest
|
|
6092
|
+
* @returns DettachAssetGroupToInstanceResponse
|
|
5898
6093
|
*/
|
|
5899
6094
|
async dettachAssetGroupToInstance(request) {
|
|
5900
6095
|
let runtime = new $Util.RuntimeOptions({});
|
|
5901
6096
|
return await this.dettachAssetGroupToInstanceWithOptions(request, runtime);
|
|
5902
6097
|
}
|
|
5903
6098
|
/**
|
|
5904
|
-
*
|
|
6099
|
+
* Queries whether Simple Log Service is activated.
|
|
5905
6100
|
*
|
|
5906
|
-
* @param request GetSlsOpenStatusRequest
|
|
5907
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5908
|
-
* @
|
|
6101
|
+
* @param request - GetSlsOpenStatusRequest
|
|
6102
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6103
|
+
* @returns GetSlsOpenStatusResponse
|
|
5909
6104
|
*/
|
|
5910
6105
|
async getSlsOpenStatusWithOptions(request, runtime) {
|
|
5911
6106
|
tea_util_1.default.validateModel(request);
|
|
@@ -5933,21 +6128,21 @@ class Client extends openapi_client_1.default {
|
|
|
5933
6128
|
return $tea.cast(await this.callApi(params, req, runtime), new GetSlsOpenStatusResponse({}));
|
|
5934
6129
|
}
|
|
5935
6130
|
/**
|
|
5936
|
-
*
|
|
6131
|
+
* Queries whether Simple Log Service is activated.
|
|
5937
6132
|
*
|
|
5938
|
-
* @param request GetSlsOpenStatusRequest
|
|
5939
|
-
* @
|
|
6133
|
+
* @param request - GetSlsOpenStatusRequest
|
|
6134
|
+
* @returns GetSlsOpenStatusResponse
|
|
5940
6135
|
*/
|
|
5941
6136
|
async getSlsOpenStatus(request) {
|
|
5942
6137
|
let runtime = new $Util.RuntimeOptions({});
|
|
5943
6138
|
return await this.getSlsOpenStatusWithOptions(request, runtime);
|
|
5944
6139
|
}
|
|
5945
6140
|
/**
|
|
5946
|
-
*
|
|
6141
|
+
* Queries the Anti-DDoS Origin instances for which log analysis is enabled.
|
|
5947
6142
|
*
|
|
5948
|
-
* @param request ListOpenedAccessLogInstancesRequest
|
|
5949
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5950
|
-
* @
|
|
6143
|
+
* @param request - ListOpenedAccessLogInstancesRequest
|
|
6144
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6145
|
+
* @returns ListOpenedAccessLogInstancesResponse
|
|
5951
6146
|
*/
|
|
5952
6147
|
async listOpenedAccessLogInstancesWithOptions(request, runtime) {
|
|
5953
6148
|
tea_util_1.default.validateModel(request);
|
|
@@ -5978,21 +6173,21 @@ class Client extends openapi_client_1.default {
|
|
|
5978
6173
|
return $tea.cast(await this.callApi(params, req, runtime), new ListOpenedAccessLogInstancesResponse({}));
|
|
5979
6174
|
}
|
|
5980
6175
|
/**
|
|
5981
|
-
*
|
|
6176
|
+
* Queries the Anti-DDoS Origin instances for which log analysis is enabled.
|
|
5982
6177
|
*
|
|
5983
|
-
* @param request ListOpenedAccessLogInstancesRequest
|
|
5984
|
-
* @
|
|
6178
|
+
* @param request - ListOpenedAccessLogInstancesRequest
|
|
6179
|
+
* @returns ListOpenedAccessLogInstancesResponse
|
|
5985
6180
|
*/
|
|
5986
6181
|
async listOpenedAccessLogInstances(request) {
|
|
5987
6182
|
let runtime = new $Util.RuntimeOptions({});
|
|
5988
6183
|
return await this.listOpenedAccessLogInstancesWithOptions(request, runtime);
|
|
5989
6184
|
}
|
|
5990
6185
|
/**
|
|
5991
|
-
*
|
|
6186
|
+
* Queries mitigation policies.
|
|
5992
6187
|
*
|
|
5993
|
-
* @param request ListPolicyRequest
|
|
5994
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5995
|
-
* @
|
|
6188
|
+
* @param request - ListPolicyRequest
|
|
6189
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6190
|
+
* @returns ListPolicyResponse
|
|
5996
6191
|
*/
|
|
5997
6192
|
async listPolicyWithOptions(request, runtime) {
|
|
5998
6193
|
tea_util_1.default.validateModel(request);
|
|
@@ -6006,6 +6201,9 @@ class Client extends openapi_client_1.default {
|
|
|
6006
6201
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
6007
6202
|
query["PageSize"] = request.pageSize;
|
|
6008
6203
|
}
|
|
6204
|
+
if (!tea_util_1.default.isUnset(request.productType)) {
|
|
6205
|
+
query["ProductType"] = request.productType;
|
|
6206
|
+
}
|
|
6009
6207
|
if (!tea_util_1.default.isUnset(request.type)) {
|
|
6010
6208
|
query["Type"] = request.type;
|
|
6011
6209
|
}
|
|
@@ -6026,21 +6224,21 @@ class Client extends openapi_client_1.default {
|
|
|
6026
6224
|
return $tea.cast(await this.callApi(params, req, runtime), new ListPolicyResponse({}));
|
|
6027
6225
|
}
|
|
6028
6226
|
/**
|
|
6029
|
-
*
|
|
6227
|
+
* Queries mitigation policies.
|
|
6030
6228
|
*
|
|
6031
|
-
* @param request ListPolicyRequest
|
|
6032
|
-
* @
|
|
6229
|
+
* @param request - ListPolicyRequest
|
|
6230
|
+
* @returns ListPolicyResponse
|
|
6033
6231
|
*/
|
|
6034
6232
|
async listPolicy(request) {
|
|
6035
6233
|
let runtime = new $Util.RuntimeOptions({});
|
|
6036
6234
|
return await this.listPolicyWithOptions(request, runtime);
|
|
6037
6235
|
}
|
|
6038
6236
|
/**
|
|
6039
|
-
*
|
|
6237
|
+
* Queries attachments to mitigation policies.
|
|
6040
6238
|
*
|
|
6041
|
-
* @param tmpReq ListPolicyAttachmentRequest
|
|
6042
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6043
|
-
* @
|
|
6239
|
+
* @param tmpReq - ListPolicyAttachmentRequest
|
|
6240
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6241
|
+
* @returns ListPolicyAttachmentResponse
|
|
6044
6242
|
*/
|
|
6045
6243
|
async listPolicyAttachmentWithOptions(tmpReq, runtime) {
|
|
6046
6244
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6082,21 +6280,21 @@ class Client extends openapi_client_1.default {
|
|
|
6082
6280
|
return $tea.cast(await this.callApi(params, req, runtime), new ListPolicyAttachmentResponse({}));
|
|
6083
6281
|
}
|
|
6084
6282
|
/**
|
|
6085
|
-
*
|
|
6283
|
+
* Queries attachments to mitigation policies.
|
|
6086
6284
|
*
|
|
6087
|
-
* @param request ListPolicyAttachmentRequest
|
|
6088
|
-
* @
|
|
6285
|
+
* @param request - ListPolicyAttachmentRequest
|
|
6286
|
+
* @returns ListPolicyAttachmentResponse
|
|
6089
6287
|
*/
|
|
6090
6288
|
async listPolicyAttachment(request) {
|
|
6091
6289
|
let runtime = new $Util.RuntimeOptions({});
|
|
6092
6290
|
return await this.listPolicyAttachmentWithOptions(request, runtime);
|
|
6093
6291
|
}
|
|
6094
6292
|
/**
|
|
6095
|
-
*
|
|
6293
|
+
* Queries all tags.
|
|
6096
6294
|
*
|
|
6097
|
-
* @param request ListTagKeysRequest
|
|
6098
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6099
|
-
* @
|
|
6295
|
+
* @param request - ListTagKeysRequest
|
|
6296
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6297
|
+
* @returns ListTagKeysResponse
|
|
6100
6298
|
*/
|
|
6101
6299
|
async listTagKeysWithOptions(request, runtime) {
|
|
6102
6300
|
tea_util_1.default.validateModel(request);
|
|
@@ -6133,21 +6331,26 @@ class Client extends openapi_client_1.default {
|
|
|
6133
6331
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
|
|
6134
6332
|
}
|
|
6135
6333
|
/**
|
|
6136
|
-
*
|
|
6334
|
+
* Queries all tags.
|
|
6137
6335
|
*
|
|
6138
|
-
* @param request ListTagKeysRequest
|
|
6139
|
-
* @
|
|
6336
|
+
* @param request - ListTagKeysRequest
|
|
6337
|
+
* @returns ListTagKeysResponse
|
|
6140
6338
|
*/
|
|
6141
6339
|
async listTagKeys(request) {
|
|
6142
6340
|
let runtime = new $Util.RuntimeOptions({});
|
|
6143
6341
|
return await this.listTagKeysWithOptions(request, runtime);
|
|
6144
6342
|
}
|
|
6145
6343
|
/**
|
|
6146
|
-
*
|
|
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.
|
|
6147
6350
|
*
|
|
6148
|
-
* @param request ListTagResourcesRequest
|
|
6149
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6150
|
-
* @
|
|
6351
|
+
* @param request - ListTagResourcesRequest
|
|
6352
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6353
|
+
* @returns ListTagResourcesResponse
|
|
6151
6354
|
*/
|
|
6152
6355
|
async listTagResourcesWithOptions(request, runtime) {
|
|
6153
6356
|
tea_util_1.default.validateModel(request);
|
|
@@ -6187,21 +6390,26 @@ class Client extends openapi_client_1.default {
|
|
|
6187
6390
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
6188
6391
|
}
|
|
6189
6392
|
/**
|
|
6190
|
-
*
|
|
6393
|
+
* Queries the relationship between Anti-DDoS Origin instances and tags.
|
|
6191
6394
|
*
|
|
6192
|
-
* @
|
|
6193
|
-
*
|
|
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
|
|
6194
6402
|
*/
|
|
6195
6403
|
async listTagResources(request) {
|
|
6196
6404
|
let runtime = new $Util.RuntimeOptions({});
|
|
6197
6405
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
6198
6406
|
}
|
|
6199
6407
|
/**
|
|
6200
|
-
*
|
|
6408
|
+
* Modifies a mitigation policy.
|
|
6201
6409
|
*
|
|
6202
|
-
* @param tmpReq ModifyPolicyRequest
|
|
6203
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6204
|
-
* @
|
|
6410
|
+
* @param tmpReq - ModifyPolicyRequest
|
|
6411
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6412
|
+
* @returns ModifyPolicyResponse
|
|
6205
6413
|
*/
|
|
6206
6414
|
async modifyPolicyWithOptions(tmpReq, runtime) {
|
|
6207
6415
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6240,21 +6448,24 @@ class Client extends openapi_client_1.default {
|
|
|
6240
6448
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPolicyResponse({}));
|
|
6241
6449
|
}
|
|
6242
6450
|
/**
|
|
6243
|
-
*
|
|
6451
|
+
* Modifies a mitigation policy.
|
|
6244
6452
|
*
|
|
6245
|
-
* @param request ModifyPolicyRequest
|
|
6246
|
-
* @
|
|
6453
|
+
* @param request - ModifyPolicyRequest
|
|
6454
|
+
* @returns ModifyPolicyResponse
|
|
6247
6455
|
*/
|
|
6248
6456
|
async modifyPolicy(request) {
|
|
6249
6457
|
let runtime = new $Util.RuntimeOptions({});
|
|
6250
6458
|
return await this.modifyPolicyWithOptions(request, runtime);
|
|
6251
6459
|
}
|
|
6252
6460
|
/**
|
|
6253
|
-
*
|
|
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.
|
|
6254
6465
|
*
|
|
6255
|
-
* @param tmpReq ModifyPolicyContentRequest
|
|
6256
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6257
|
-
* @
|
|
6466
|
+
* @param tmpReq - ModifyPolicyContentRequest
|
|
6467
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6468
|
+
* @returns ModifyPolicyContentResponse
|
|
6258
6469
|
*/
|
|
6259
6470
|
async modifyPolicyContentWithOptions(tmpReq, runtime) {
|
|
6260
6471
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6290,25 +6501,29 @@ class Client extends openapi_client_1.default {
|
|
|
6290
6501
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPolicyContentResponse({}));
|
|
6291
6502
|
}
|
|
6292
6503
|
/**
|
|
6293
|
-
*
|
|
6504
|
+
* Modifies the content of the mitigation policy.
|
|
6294
6505
|
*
|
|
6295
|
-
* @
|
|
6296
|
-
*
|
|
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
|
|
6297
6511
|
*/
|
|
6298
6512
|
async modifyPolicyContent(request) {
|
|
6299
6513
|
let runtime = new $Util.RuntimeOptions({});
|
|
6300
6514
|
return await this.modifyPolicyContentWithOptions(request, runtime);
|
|
6301
6515
|
}
|
|
6302
6516
|
/**
|
|
6303
|
-
*
|
|
6517
|
+
* Adds remarks for a single Anti-DDoS Origin instance.
|
|
6304
6518
|
*
|
|
6305
|
-
* @
|
|
6306
|
-
*
|
|
6519
|
+
* @remarks
|
|
6520
|
+
* You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
6521
|
+
* ### [](#qps-)Limits
|
|
6307
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.
|
|
6308
6523
|
*
|
|
6309
|
-
* @param request ModifyRemarkRequest
|
|
6310
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6311
|
-
* @
|
|
6524
|
+
* @param request - ModifyRemarkRequest
|
|
6525
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6526
|
+
* @returns ModifyRemarkResponse
|
|
6312
6527
|
*/
|
|
6313
6528
|
async modifyRemarkWithOptions(request, runtime) {
|
|
6314
6529
|
tea_util_1.default.validateModel(request);
|
|
@@ -6342,25 +6557,26 @@ class Client extends openapi_client_1.default {
|
|
|
6342
6557
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyRemarkResponse({}));
|
|
6343
6558
|
}
|
|
6344
6559
|
/**
|
|
6345
|
-
*
|
|
6560
|
+
* Adds remarks for a single Anti-DDoS Origin instance.
|
|
6346
6561
|
*
|
|
6347
|
-
* @
|
|
6348
|
-
*
|
|
6562
|
+
* @remarks
|
|
6563
|
+
* You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
6564
|
+
* ### [](#qps-)Limits
|
|
6349
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.
|
|
6350
6566
|
*
|
|
6351
|
-
* @param request ModifyRemarkRequest
|
|
6352
|
-
* @
|
|
6567
|
+
* @param request - ModifyRemarkRequest
|
|
6568
|
+
* @returns ModifyRemarkResponse
|
|
6353
6569
|
*/
|
|
6354
6570
|
async modifyRemark(request) {
|
|
6355
6571
|
let runtime = new $Util.RuntimeOptions({});
|
|
6356
6572
|
return await this.modifyRemarkWithOptions(request, runtime);
|
|
6357
6573
|
}
|
|
6358
6574
|
/**
|
|
6359
|
-
*
|
|
6575
|
+
* Queries the scheduling rule of an on-demand instance.
|
|
6360
6576
|
*
|
|
6361
|
-
* @param request QuerySchedruleOnDemandRequest
|
|
6362
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6363
|
-
* @
|
|
6577
|
+
* @param request - QuerySchedruleOnDemandRequest
|
|
6578
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6579
|
+
* @returns QuerySchedruleOnDemandResponse
|
|
6364
6580
|
*/
|
|
6365
6581
|
async querySchedruleOnDemandWithOptions(request, runtime) {
|
|
6366
6582
|
tea_util_1.default.validateModel(request);
|
|
@@ -6388,21 +6604,21 @@ class Client extends openapi_client_1.default {
|
|
|
6388
6604
|
return $tea.cast(await this.callApi(params, req, runtime), new QuerySchedruleOnDemandResponse({}));
|
|
6389
6605
|
}
|
|
6390
6606
|
/**
|
|
6391
|
-
*
|
|
6607
|
+
* Queries the scheduling rule of an on-demand instance.
|
|
6392
6608
|
*
|
|
6393
|
-
* @param request QuerySchedruleOnDemandRequest
|
|
6394
|
-
* @
|
|
6609
|
+
* @param request - QuerySchedruleOnDemandRequest
|
|
6610
|
+
* @returns QuerySchedruleOnDemandResponse
|
|
6395
6611
|
*/
|
|
6396
6612
|
async querySchedruleOnDemand(request) {
|
|
6397
6613
|
let runtime = new $Util.RuntimeOptions({});
|
|
6398
6614
|
return await this.querySchedruleOnDemandWithOptions(request, runtime);
|
|
6399
6615
|
}
|
|
6400
6616
|
/**
|
|
6401
|
-
*
|
|
6617
|
+
* Releases a pay-as-you-go Anti-DDoS Origin instance.
|
|
6402
6618
|
*
|
|
6403
|
-
* @param request ReleaseDdosOriginInstanceRequest
|
|
6404
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6405
|
-
* @
|
|
6619
|
+
* @param request - ReleaseDdosOriginInstanceRequest
|
|
6620
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6621
|
+
* @returns ReleaseDdosOriginInstanceResponse
|
|
6406
6622
|
*/
|
|
6407
6623
|
async releaseDdosOriginInstanceWithOptions(request, runtime) {
|
|
6408
6624
|
tea_util_1.default.validateModel(request);
|
|
@@ -6427,19 +6643,21 @@ class Client extends openapi_client_1.default {
|
|
|
6427
6643
|
return $tea.cast(await this.callApi(params, req, runtime), new ReleaseDdosOriginInstanceResponse({}));
|
|
6428
6644
|
}
|
|
6429
6645
|
/**
|
|
6430
|
-
*
|
|
6646
|
+
* Releases a pay-as-you-go Anti-DDoS Origin instance.
|
|
6431
6647
|
*
|
|
6432
|
-
* @param request ReleaseDdosOriginInstanceRequest
|
|
6433
|
-
* @
|
|
6648
|
+
* @param request - ReleaseDdosOriginInstanceRequest
|
|
6649
|
+
* @returns ReleaseDdosOriginInstanceResponse
|
|
6434
6650
|
*/
|
|
6435
6651
|
async releaseDdosOriginInstance(request) {
|
|
6436
6652
|
let runtime = new $Util.RuntimeOptions({});
|
|
6437
6653
|
return await this.releaseDdosOriginInstanceWithOptions(request, runtime);
|
|
6438
6654
|
}
|
|
6439
6655
|
/**
|
|
6440
|
-
*
|
|
6441
|
-
*
|
|
6442
|
-
* @
|
|
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
|
|
6443
6661
|
*/
|
|
6444
6662
|
async setInstanceModeOnDemandWithOptions(request, runtime) {
|
|
6445
6663
|
tea_util_1.default.validateModel(request);
|
|
@@ -6470,23 +6688,26 @@ class Client extends openapi_client_1.default {
|
|
|
6470
6688
|
return $tea.cast(await this.callApi(params, req, runtime), new SetInstanceModeOnDemandResponse({}));
|
|
6471
6689
|
}
|
|
6472
6690
|
/**
|
|
6473
|
-
*
|
|
6474
|
-
*
|
|
6691
|
+
* Specifies the scheduling mode for on-demand instances.
|
|
6692
|
+
*
|
|
6693
|
+
* @param request - SetInstanceModeOnDemandRequest
|
|
6694
|
+
* @returns SetInstanceModeOnDemandResponse
|
|
6475
6695
|
*/
|
|
6476
6696
|
async setInstanceModeOnDemand(request) {
|
|
6477
6697
|
let runtime = new $Util.RuntimeOptions({});
|
|
6478
6698
|
return await this.setInstanceModeOnDemandWithOptions(request, runtime);
|
|
6479
6699
|
}
|
|
6480
6700
|
/**
|
|
6481
|
-
*
|
|
6701
|
+
* Add tags to Anti-DDoS Origin instances.
|
|
6482
6702
|
*
|
|
6483
|
-
* @
|
|
6484
|
-
*
|
|
6485
|
-
*
|
|
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.
|
|
6486
6707
|
*
|
|
6487
|
-
* @param request TagResourcesRequest
|
|
6488
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6489
|
-
* @
|
|
6708
|
+
* @param request - TagResourcesRequest
|
|
6709
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6710
|
+
* @returns TagResourcesResponse
|
|
6490
6711
|
*/
|
|
6491
6712
|
async tagResourcesWithOptions(request, runtime) {
|
|
6492
6713
|
tea_util_1.default.validateModel(request);
|
|
@@ -6523,25 +6744,26 @@ class Client extends openapi_client_1.default {
|
|
|
6523
6744
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
6524
6745
|
}
|
|
6525
6746
|
/**
|
|
6526
|
-
*
|
|
6747
|
+
* Add tags to Anti-DDoS Origin instances.
|
|
6527
6748
|
*
|
|
6528
|
-
* @
|
|
6529
|
-
*
|
|
6530
|
-
*
|
|
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.
|
|
6531
6753
|
*
|
|
6532
|
-
* @param request TagResourcesRequest
|
|
6533
|
-
* @
|
|
6754
|
+
* @param request - TagResourcesRequest
|
|
6755
|
+
* @returns TagResourcesResponse
|
|
6534
6756
|
*/
|
|
6535
6757
|
async tagResources(request) {
|
|
6536
6758
|
let runtime = new $Util.RuntimeOptions({});
|
|
6537
6759
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
6538
6760
|
}
|
|
6539
6761
|
/**
|
|
6540
|
-
*
|
|
6762
|
+
* Removes tags from Anti-DDoS Origin instances.
|
|
6541
6763
|
*
|
|
6542
|
-
* @param request UntagResourcesRequest
|
|
6543
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6544
|
-
* @
|
|
6764
|
+
* @param request - UntagResourcesRequest
|
|
6765
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6766
|
+
* @returns UntagResourcesResponse
|
|
6545
6767
|
*/
|
|
6546
6768
|
async untagResourcesWithOptions(request, runtime) {
|
|
6547
6769
|
tea_util_1.default.validateModel(request);
|
|
@@ -6581,10 +6803,10 @@ class Client extends openapi_client_1.default {
|
|
|
6581
6803
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
6582
6804
|
}
|
|
6583
6805
|
/**
|
|
6584
|
-
*
|
|
6806
|
+
* Removes tags from Anti-DDoS Origin instances.
|
|
6585
6807
|
*
|
|
6586
|
-
* @param request UntagResourcesRequest
|
|
6587
|
-
* @
|
|
6808
|
+
* @param request - UntagResourcesRequest
|
|
6809
|
+
* @returns UntagResourcesResponse
|
|
6588
6810
|
*/
|
|
6589
6811
|
async untagResources(request) {
|
|
6590
6812
|
let runtime = new $Util.RuntimeOptions({});
|