@alicloud/ddosbgp20180720 2.0.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +579 -121
- package/dist/client.js +950 -92
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1331 -283
package/dist/client.js
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
2
14
|
var __importStar = (this && this.__importStar) || function (mod) {
|
|
3
15
|
if (mod && mod.__esModule) return mod;
|
|
4
16
|
var result = {};
|
|
5
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result
|
|
6
|
-
result
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
7
19
|
return result;
|
|
8
20
|
};
|
|
9
21
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10
22
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
11
23
|
};
|
|
12
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.TagResourcesRequestTag = exports.QuerySchedruleOnDemandResponseBodyRuleStatus = exports.QuerySchedruleOnDemandResponseBodyRuleConfig = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesResponseBodyTagResourcesTagResource = exports.ListTagResourcesRequestTag = exports.ListTagKeysResponseBodyTagKeys = exports.ListOpenedAccessLogInstancesResponseBodySlsConfigStatus = exports.DettachAssetGroupToInstanceRequestAssetGroupList = exports.DescribeTrafficResponseBodyFlowList = exports.DescribeRegionsResponseBodyRegions = exports.DescribePackIpListResponseBodyIpList = exports.DescribeOpEntitiesResponseBodyOpEntities = exports.DescribeOnDemandInstanceStatusResponseBodyInstances = exports.DescribeOnDemandDdosEventResponseBodyEvents = exports.DescribeInstanceSpecsResponseBodyInstanceSpecs = exports.DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig = exports.DescribeInstanceListResponseBodyInstanceList = exports.DescribeInstanceListResponseBodyInstanceListAutoProtectCondition = exports.DescribeInstanceListRequestTag = exports.DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList = exports.DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList = exports.DescribeDdosOriginInstanceBillResponseBodyFlowList = exports.DescribeDdosEventResponseBodyEvents = exports.DescribeAssetGroupToInstanceResponseBodyDataList = exports.DescribeAssetGroupResponseBodyAssetGroupList = exports.AttachAssetGroupToInstanceRequestAssetGroupList = 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.ListTagResourcesResponse = exports.ListTagResourcesResponseBody = exports.ListTagResourcesRequest = exports.ListTagKeysResponse = exports.ListTagKeysResponseBody = exports.ListTagKeysRequest = exports.ListOpenedAccessLogInstancesResponse = exports.ListOpenedAccessLogInstancesResponseBody = exports.ListOpenedAccessLogInstancesRequest = exports.GetSlsOpenStatusResponse = exports.GetSlsOpenStatusResponseBody = exports.GetSlsOpenStatusRequest = exports.DettachAssetGroupToInstanceResponse = exports.DettachAssetGroupToInstanceResponseBody = exports.DettachAssetGroupToInstanceShrinkRequest = exports.DettachAssetGroupToInstanceRequest = exports.DescribeTrafficResponse = exports.DescribeTrafficResponseBody = exports.DescribeTrafficRequest = exports.DescribeRegionsResponse = exports.DescribeRegionsResponseBody = exports.DescribeRegionsRequest = 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 = exports.DescribeAssetGroupToInstanceRequest = exports.DescribeAssetGroupResponse = exports.DescribeAssetGroupResponseBody = exports.DescribeAssetGroupRequest = exports.DeleteSchedruleOnDemandResponse = exports.DeleteSchedruleOnDemandResponseBody = exports.DeleteSchedruleOnDemandRequest = exports.DeleteIpResponse = exports.DeleteIpResponseBody = exports.DeleteIpRequest = exports.DeleteBlackholeResponse = exports.DeleteBlackholeResponseBody = exports.DeleteBlackholeRequest = exports.CreateSchedruleOnDemandResponse = exports.CreateSchedruleOnDemandResponseBody = exports.CreateSchedruleOnDemandRequest = exports.ConfigSchedruleOnDemandResponse = exports.ConfigSchedruleOnDemandResponseBody = exports.ConfigSchedruleOnDemandRequest = exports.CheckGrantResponse = exports.CheckGrantResponseBody = exports.CheckGrantRequest = exports.CheckAccessLogAuthResponse = exports.CheckAccessLogAuthResponseBody = exports.CheckAccessLogAuthRequest = exports.AttachAssetGroupToInstanceResponse = exports.AttachAssetGroupToInstanceResponseBody = exports.AttachAssetGroupToInstanceShrinkRequest = exports.AttachAssetGroupToInstanceRequest = exports.AddIpResponse = exports.AddIpResponseBody = exports.AddIpRequest = void 0;
|
|
13
26
|
// This file is auto-generated, don't edit it
|
|
14
27
|
/**
|
|
15
28
|
*
|
|
@@ -77,6 +90,86 @@ class AddIpResponse extends $tea.Model {
|
|
|
77
90
|
}
|
|
78
91
|
}
|
|
79
92
|
exports.AddIpResponse = AddIpResponse;
|
|
93
|
+
class AttachAssetGroupToInstanceRequest extends $tea.Model {
|
|
94
|
+
constructor(map) {
|
|
95
|
+
super(map);
|
|
96
|
+
}
|
|
97
|
+
static names() {
|
|
98
|
+
return {
|
|
99
|
+
assetGroupList: 'AssetGroupList',
|
|
100
|
+
instanceId: 'InstanceId',
|
|
101
|
+
regionId: 'RegionId',
|
|
102
|
+
sourceIp: 'SourceIp',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
static types() {
|
|
106
|
+
return {
|
|
107
|
+
assetGroupList: { 'type': 'array', 'itemType': AttachAssetGroupToInstanceRequestAssetGroupList },
|
|
108
|
+
instanceId: 'string',
|
|
109
|
+
regionId: 'string',
|
|
110
|
+
sourceIp: 'string',
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.AttachAssetGroupToInstanceRequest = AttachAssetGroupToInstanceRequest;
|
|
115
|
+
class AttachAssetGroupToInstanceShrinkRequest extends $tea.Model {
|
|
116
|
+
constructor(map) {
|
|
117
|
+
super(map);
|
|
118
|
+
}
|
|
119
|
+
static names() {
|
|
120
|
+
return {
|
|
121
|
+
assetGroupListShrink: 'AssetGroupList',
|
|
122
|
+
instanceId: 'InstanceId',
|
|
123
|
+
regionId: 'RegionId',
|
|
124
|
+
sourceIp: 'SourceIp',
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
static types() {
|
|
128
|
+
return {
|
|
129
|
+
assetGroupListShrink: 'string',
|
|
130
|
+
instanceId: 'string',
|
|
131
|
+
regionId: 'string',
|
|
132
|
+
sourceIp: 'string',
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.AttachAssetGroupToInstanceShrinkRequest = AttachAssetGroupToInstanceShrinkRequest;
|
|
137
|
+
class AttachAssetGroupToInstanceResponseBody extends $tea.Model {
|
|
138
|
+
constructor(map) {
|
|
139
|
+
super(map);
|
|
140
|
+
}
|
|
141
|
+
static names() {
|
|
142
|
+
return {
|
|
143
|
+
requestId: 'RequestId',
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
static types() {
|
|
147
|
+
return {
|
|
148
|
+
requestId: 'string',
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
exports.AttachAssetGroupToInstanceResponseBody = AttachAssetGroupToInstanceResponseBody;
|
|
153
|
+
class AttachAssetGroupToInstanceResponse extends $tea.Model {
|
|
154
|
+
constructor(map) {
|
|
155
|
+
super(map);
|
|
156
|
+
}
|
|
157
|
+
static names() {
|
|
158
|
+
return {
|
|
159
|
+
headers: 'headers',
|
|
160
|
+
statusCode: 'statusCode',
|
|
161
|
+
body: 'body',
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
static types() {
|
|
165
|
+
return {
|
|
166
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
167
|
+
statusCode: 'number',
|
|
168
|
+
body: AttachAssetGroupToInstanceResponseBody,
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
exports.AttachAssetGroupToInstanceResponse = AttachAssetGroupToInstanceResponse;
|
|
80
173
|
class CheckAccessLogAuthRequest extends $tea.Model {
|
|
81
174
|
constructor(map) {
|
|
82
175
|
super(map);
|
|
@@ -511,6 +604,138 @@ class DeleteSchedruleOnDemandResponse extends $tea.Model {
|
|
|
511
604
|
}
|
|
512
605
|
}
|
|
513
606
|
exports.DeleteSchedruleOnDemandResponse = DeleteSchedruleOnDemandResponse;
|
|
607
|
+
class DescribeAssetGroupRequest extends $tea.Model {
|
|
608
|
+
constructor(map) {
|
|
609
|
+
super(map);
|
|
610
|
+
}
|
|
611
|
+
static names() {
|
|
612
|
+
return {
|
|
613
|
+
name: 'Name',
|
|
614
|
+
region: 'Region',
|
|
615
|
+
regionId: 'RegionId',
|
|
616
|
+
sourceIp: 'SourceIp',
|
|
617
|
+
type: 'Type',
|
|
618
|
+
};
|
|
619
|
+
}
|
|
620
|
+
static types() {
|
|
621
|
+
return {
|
|
622
|
+
name: 'string',
|
|
623
|
+
region: 'string',
|
|
624
|
+
regionId: 'string',
|
|
625
|
+
sourceIp: 'string',
|
|
626
|
+
type: 'string',
|
|
627
|
+
};
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
exports.DescribeAssetGroupRequest = DescribeAssetGroupRequest;
|
|
631
|
+
class DescribeAssetGroupResponseBody extends $tea.Model {
|
|
632
|
+
constructor(map) {
|
|
633
|
+
super(map);
|
|
634
|
+
}
|
|
635
|
+
static names() {
|
|
636
|
+
return {
|
|
637
|
+
assetGroupList: 'AssetGroupList',
|
|
638
|
+
requestId: 'RequestId',
|
|
639
|
+
total: 'Total',
|
|
640
|
+
};
|
|
641
|
+
}
|
|
642
|
+
static types() {
|
|
643
|
+
return {
|
|
644
|
+
assetGroupList: { 'type': 'array', 'itemType': DescribeAssetGroupResponseBodyAssetGroupList },
|
|
645
|
+
requestId: 'string',
|
|
646
|
+
total: 'number',
|
|
647
|
+
};
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
exports.DescribeAssetGroupResponseBody = DescribeAssetGroupResponseBody;
|
|
651
|
+
class DescribeAssetGroupResponse extends $tea.Model {
|
|
652
|
+
constructor(map) {
|
|
653
|
+
super(map);
|
|
654
|
+
}
|
|
655
|
+
static names() {
|
|
656
|
+
return {
|
|
657
|
+
headers: 'headers',
|
|
658
|
+
statusCode: 'statusCode',
|
|
659
|
+
body: 'body',
|
|
660
|
+
};
|
|
661
|
+
}
|
|
662
|
+
static types() {
|
|
663
|
+
return {
|
|
664
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
665
|
+
statusCode: 'number',
|
|
666
|
+
body: DescribeAssetGroupResponseBody,
|
|
667
|
+
};
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
exports.DescribeAssetGroupResponse = DescribeAssetGroupResponse;
|
|
671
|
+
class DescribeAssetGroupToInstanceRequest extends $tea.Model {
|
|
672
|
+
constructor(map) {
|
|
673
|
+
super(map);
|
|
674
|
+
}
|
|
675
|
+
static names() {
|
|
676
|
+
return {
|
|
677
|
+
instanceId: 'InstanceId',
|
|
678
|
+
memberUid: 'MemberUid',
|
|
679
|
+
name: 'Name',
|
|
680
|
+
region: 'Region',
|
|
681
|
+
regionId: 'RegionId',
|
|
682
|
+
sourceIp: 'SourceIp',
|
|
683
|
+
type: 'Type',
|
|
684
|
+
};
|
|
685
|
+
}
|
|
686
|
+
static types() {
|
|
687
|
+
return {
|
|
688
|
+
instanceId: 'string',
|
|
689
|
+
memberUid: 'string',
|
|
690
|
+
name: 'string',
|
|
691
|
+
region: 'string',
|
|
692
|
+
regionId: 'string',
|
|
693
|
+
sourceIp: 'string',
|
|
694
|
+
type: 'string',
|
|
695
|
+
};
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
exports.DescribeAssetGroupToInstanceRequest = DescribeAssetGroupToInstanceRequest;
|
|
699
|
+
class DescribeAssetGroupToInstanceResponseBody extends $tea.Model {
|
|
700
|
+
constructor(map) {
|
|
701
|
+
super(map);
|
|
702
|
+
}
|
|
703
|
+
static names() {
|
|
704
|
+
return {
|
|
705
|
+
dataList: 'DataList',
|
|
706
|
+
requestId: 'RequestId',
|
|
707
|
+
total: 'Total',
|
|
708
|
+
};
|
|
709
|
+
}
|
|
710
|
+
static types() {
|
|
711
|
+
return {
|
|
712
|
+
dataList: { 'type': 'array', 'itemType': DescribeAssetGroupToInstanceResponseBodyDataList },
|
|
713
|
+
requestId: 'string',
|
|
714
|
+
total: 'number',
|
|
715
|
+
};
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
exports.DescribeAssetGroupToInstanceResponseBody = DescribeAssetGroupToInstanceResponseBody;
|
|
719
|
+
class DescribeAssetGroupToInstanceResponse extends $tea.Model {
|
|
720
|
+
constructor(map) {
|
|
721
|
+
super(map);
|
|
722
|
+
}
|
|
723
|
+
static names() {
|
|
724
|
+
return {
|
|
725
|
+
headers: 'headers',
|
|
726
|
+
statusCode: 'statusCode',
|
|
727
|
+
body: 'body',
|
|
728
|
+
};
|
|
729
|
+
}
|
|
730
|
+
static types() {
|
|
731
|
+
return {
|
|
732
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
733
|
+
statusCode: 'number',
|
|
734
|
+
body: DescribeAssetGroupToInstanceResponseBody,
|
|
735
|
+
};
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
exports.DescribeAssetGroupToInstanceResponse = DescribeAssetGroupToInstanceResponse;
|
|
514
739
|
class DescribeDdosEventRequest extends $tea.Model {
|
|
515
740
|
constructor(map) {
|
|
516
741
|
super(map);
|
|
@@ -581,6 +806,92 @@ class DescribeDdosEventResponse extends $tea.Model {
|
|
|
581
806
|
}
|
|
582
807
|
}
|
|
583
808
|
exports.DescribeDdosEventResponse = DescribeDdosEventResponse;
|
|
809
|
+
class DescribeDdosOriginInstanceBillRequest extends $tea.Model {
|
|
810
|
+
constructor(map) {
|
|
811
|
+
super(map);
|
|
812
|
+
}
|
|
813
|
+
static names() {
|
|
814
|
+
return {
|
|
815
|
+
endTime: 'EndTime',
|
|
816
|
+
isShowList: 'IsShowList',
|
|
817
|
+
startTime: 'StartTime',
|
|
818
|
+
type: 'Type',
|
|
819
|
+
};
|
|
820
|
+
}
|
|
821
|
+
static types() {
|
|
822
|
+
return {
|
|
823
|
+
endTime: 'number',
|
|
824
|
+
isShowList: 'boolean',
|
|
825
|
+
startTime: 'number',
|
|
826
|
+
type: 'string',
|
|
827
|
+
};
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
exports.DescribeDdosOriginInstanceBillRequest = DescribeDdosOriginInstanceBillRequest;
|
|
831
|
+
class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
|
|
832
|
+
constructor(map) {
|
|
833
|
+
super(map);
|
|
834
|
+
}
|
|
835
|
+
static names() {
|
|
836
|
+
return {
|
|
837
|
+
debtStatus: 'DebtStatus',
|
|
838
|
+
flowList: 'FlowList',
|
|
839
|
+
flowRegion: 'FlowRegion',
|
|
840
|
+
instanceId: 'InstanceId',
|
|
841
|
+
ipCount: 'IpCount',
|
|
842
|
+
ipCountOrFunctionList: 'IpCountOrFunctionList',
|
|
843
|
+
ipInfo: 'IpInfo',
|
|
844
|
+
requestId: 'RequestId',
|
|
845
|
+
standardAssetsFlowList: 'StandardAssetsFlowList',
|
|
846
|
+
standardAssetsFlowRegion: 'StandardAssetsFlowRegion',
|
|
847
|
+
standardAssetsTotalFlowCn: 'StandardAssetsTotalFlowCn',
|
|
848
|
+
standardAssetsTotalFlowOv: 'StandardAssetsTotalFlowOv',
|
|
849
|
+
status: 'Status',
|
|
850
|
+
totalFlowCn: 'TotalFlowCn',
|
|
851
|
+
totalFlowOv: 'TotalFlowOv',
|
|
852
|
+
};
|
|
853
|
+
}
|
|
854
|
+
static types() {
|
|
855
|
+
return {
|
|
856
|
+
debtStatus: 'number',
|
|
857
|
+
flowList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyFlowList },
|
|
858
|
+
flowRegion: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
859
|
+
instanceId: 'string',
|
|
860
|
+
ipCount: 'number',
|
|
861
|
+
ipCountOrFunctionList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList },
|
|
862
|
+
ipInfo: 'string',
|
|
863
|
+
requestId: 'string',
|
|
864
|
+
standardAssetsFlowList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList },
|
|
865
|
+
standardAssetsFlowRegion: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
866
|
+
standardAssetsTotalFlowCn: 'number',
|
|
867
|
+
standardAssetsTotalFlowOv: 'number',
|
|
868
|
+
status: 'number',
|
|
869
|
+
totalFlowCn: 'number',
|
|
870
|
+
totalFlowOv: 'number',
|
|
871
|
+
};
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
exports.DescribeDdosOriginInstanceBillResponseBody = DescribeDdosOriginInstanceBillResponseBody;
|
|
875
|
+
class DescribeDdosOriginInstanceBillResponse extends $tea.Model {
|
|
876
|
+
constructor(map) {
|
|
877
|
+
super(map);
|
|
878
|
+
}
|
|
879
|
+
static names() {
|
|
880
|
+
return {
|
|
881
|
+
headers: 'headers',
|
|
882
|
+
statusCode: 'statusCode',
|
|
883
|
+
body: 'body',
|
|
884
|
+
};
|
|
885
|
+
}
|
|
886
|
+
static types() {
|
|
887
|
+
return {
|
|
888
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
889
|
+
statusCode: 'number',
|
|
890
|
+
body: DescribeDdosOriginInstanceBillResponseBody,
|
|
891
|
+
};
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
exports.DescribeDdosOriginInstanceBillResponse = DescribeDdosOriginInstanceBillResponse;
|
|
584
895
|
class DescribeExcpetionCountRequest extends $tea.Model {
|
|
585
896
|
constructor(map) {
|
|
586
897
|
super(map);
|
|
@@ -1179,6 +1490,86 @@ class DescribeTrafficResponse extends $tea.Model {
|
|
|
1179
1490
|
}
|
|
1180
1491
|
}
|
|
1181
1492
|
exports.DescribeTrafficResponse = DescribeTrafficResponse;
|
|
1493
|
+
class DettachAssetGroupToInstanceRequest extends $tea.Model {
|
|
1494
|
+
constructor(map) {
|
|
1495
|
+
super(map);
|
|
1496
|
+
}
|
|
1497
|
+
static names() {
|
|
1498
|
+
return {
|
|
1499
|
+
assetGroupList: 'AssetGroupList',
|
|
1500
|
+
instanceId: 'InstanceId',
|
|
1501
|
+
regionId: 'RegionId',
|
|
1502
|
+
sourceIp: 'SourceIp',
|
|
1503
|
+
};
|
|
1504
|
+
}
|
|
1505
|
+
static types() {
|
|
1506
|
+
return {
|
|
1507
|
+
assetGroupList: { 'type': 'array', 'itemType': DettachAssetGroupToInstanceRequestAssetGroupList },
|
|
1508
|
+
instanceId: 'string',
|
|
1509
|
+
regionId: 'string',
|
|
1510
|
+
sourceIp: 'string',
|
|
1511
|
+
};
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
exports.DettachAssetGroupToInstanceRequest = DettachAssetGroupToInstanceRequest;
|
|
1515
|
+
class DettachAssetGroupToInstanceShrinkRequest extends $tea.Model {
|
|
1516
|
+
constructor(map) {
|
|
1517
|
+
super(map);
|
|
1518
|
+
}
|
|
1519
|
+
static names() {
|
|
1520
|
+
return {
|
|
1521
|
+
assetGroupListShrink: 'AssetGroupList',
|
|
1522
|
+
instanceId: 'InstanceId',
|
|
1523
|
+
regionId: 'RegionId',
|
|
1524
|
+
sourceIp: 'SourceIp',
|
|
1525
|
+
};
|
|
1526
|
+
}
|
|
1527
|
+
static types() {
|
|
1528
|
+
return {
|
|
1529
|
+
assetGroupListShrink: 'string',
|
|
1530
|
+
instanceId: 'string',
|
|
1531
|
+
regionId: 'string',
|
|
1532
|
+
sourceIp: 'string',
|
|
1533
|
+
};
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
exports.DettachAssetGroupToInstanceShrinkRequest = DettachAssetGroupToInstanceShrinkRequest;
|
|
1537
|
+
class DettachAssetGroupToInstanceResponseBody extends $tea.Model {
|
|
1538
|
+
constructor(map) {
|
|
1539
|
+
super(map);
|
|
1540
|
+
}
|
|
1541
|
+
static names() {
|
|
1542
|
+
return {
|
|
1543
|
+
requestId: 'RequestId',
|
|
1544
|
+
};
|
|
1545
|
+
}
|
|
1546
|
+
static types() {
|
|
1547
|
+
return {
|
|
1548
|
+
requestId: 'string',
|
|
1549
|
+
};
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
exports.DettachAssetGroupToInstanceResponseBody = DettachAssetGroupToInstanceResponseBody;
|
|
1553
|
+
class DettachAssetGroupToInstanceResponse extends $tea.Model {
|
|
1554
|
+
constructor(map) {
|
|
1555
|
+
super(map);
|
|
1556
|
+
}
|
|
1557
|
+
static names() {
|
|
1558
|
+
return {
|
|
1559
|
+
headers: 'headers',
|
|
1560
|
+
statusCode: 'statusCode',
|
|
1561
|
+
body: 'body',
|
|
1562
|
+
};
|
|
1563
|
+
}
|
|
1564
|
+
static types() {
|
|
1565
|
+
return {
|
|
1566
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1567
|
+
statusCode: 'number',
|
|
1568
|
+
body: DettachAssetGroupToInstanceResponseBody,
|
|
1569
|
+
};
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1572
|
+
exports.DettachAssetGroupToInstanceResponse = DettachAssetGroupToInstanceResponse;
|
|
1182
1573
|
class GetSlsOpenStatusRequest extends $tea.Model {
|
|
1183
1574
|
constructor(map) {
|
|
1184
1575
|
super(map);
|
|
@@ -1549,6 +1940,58 @@ class QuerySchedruleOnDemandResponse extends $tea.Model {
|
|
|
1549
1940
|
}
|
|
1550
1941
|
}
|
|
1551
1942
|
exports.QuerySchedruleOnDemandResponse = QuerySchedruleOnDemandResponse;
|
|
1943
|
+
class ReleaseDdosOriginInstanceRequest extends $tea.Model {
|
|
1944
|
+
constructor(map) {
|
|
1945
|
+
super(map);
|
|
1946
|
+
}
|
|
1947
|
+
static names() {
|
|
1948
|
+
return {
|
|
1949
|
+
instanceId: 'InstanceId',
|
|
1950
|
+
};
|
|
1951
|
+
}
|
|
1952
|
+
static types() {
|
|
1953
|
+
return {
|
|
1954
|
+
instanceId: 'string',
|
|
1955
|
+
};
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
exports.ReleaseDdosOriginInstanceRequest = ReleaseDdosOriginInstanceRequest;
|
|
1959
|
+
class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
|
|
1960
|
+
constructor(map) {
|
|
1961
|
+
super(map);
|
|
1962
|
+
}
|
|
1963
|
+
static names() {
|
|
1964
|
+
return {
|
|
1965
|
+
requestId: 'RequestId',
|
|
1966
|
+
};
|
|
1967
|
+
}
|
|
1968
|
+
static types() {
|
|
1969
|
+
return {
|
|
1970
|
+
requestId: 'string',
|
|
1971
|
+
};
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
exports.ReleaseDdosOriginInstanceResponseBody = ReleaseDdosOriginInstanceResponseBody;
|
|
1975
|
+
class ReleaseDdosOriginInstanceResponse extends $tea.Model {
|
|
1976
|
+
constructor(map) {
|
|
1977
|
+
super(map);
|
|
1978
|
+
}
|
|
1979
|
+
static names() {
|
|
1980
|
+
return {
|
|
1981
|
+
headers: 'headers',
|
|
1982
|
+
statusCode: 'statusCode',
|
|
1983
|
+
body: 'body',
|
|
1984
|
+
};
|
|
1985
|
+
}
|
|
1986
|
+
static types() {
|
|
1987
|
+
return {
|
|
1988
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1989
|
+
statusCode: 'number',
|
|
1990
|
+
body: ReleaseDdosOriginInstanceResponseBody,
|
|
1991
|
+
};
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
exports.ReleaseDdosOriginInstanceResponse = ReleaseDdosOriginInstanceResponse;
|
|
1552
1995
|
class SetInstanceModeOnDemandRequest extends $tea.Model {
|
|
1553
1996
|
constructor(map) {
|
|
1554
1997
|
super(map);
|
|
@@ -1658,127 +2101,279 @@ class TagResourcesResponse extends $tea.Model {
|
|
|
1658
2101
|
}
|
|
1659
2102
|
static types() {
|
|
1660
2103
|
return {
|
|
1661
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1662
|
-
statusCode: 'number',
|
|
1663
|
-
body: TagResourcesResponseBody,
|
|
2104
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2105
|
+
statusCode: 'number',
|
|
2106
|
+
body: TagResourcesResponseBody,
|
|
2107
|
+
};
|
|
2108
|
+
}
|
|
2109
|
+
}
|
|
2110
|
+
exports.TagResourcesResponse = TagResourcesResponse;
|
|
2111
|
+
class UntagResourcesRequest extends $tea.Model {
|
|
2112
|
+
constructor(map) {
|
|
2113
|
+
super(map);
|
|
2114
|
+
}
|
|
2115
|
+
static names() {
|
|
2116
|
+
return {
|
|
2117
|
+
all: 'All',
|
|
2118
|
+
regionId: 'RegionId',
|
|
2119
|
+
resourceGroupId: 'ResourceGroupId',
|
|
2120
|
+
resourceId: 'ResourceId',
|
|
2121
|
+
resourceType: 'ResourceType',
|
|
2122
|
+
tagKey: 'TagKey',
|
|
2123
|
+
};
|
|
2124
|
+
}
|
|
2125
|
+
static types() {
|
|
2126
|
+
return {
|
|
2127
|
+
all: 'boolean',
|
|
2128
|
+
regionId: 'string',
|
|
2129
|
+
resourceGroupId: 'string',
|
|
2130
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
2131
|
+
resourceType: 'string',
|
|
2132
|
+
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
2133
|
+
};
|
|
2134
|
+
}
|
|
2135
|
+
}
|
|
2136
|
+
exports.UntagResourcesRequest = UntagResourcesRequest;
|
|
2137
|
+
class UntagResourcesResponseBody extends $tea.Model {
|
|
2138
|
+
constructor(map) {
|
|
2139
|
+
super(map);
|
|
2140
|
+
}
|
|
2141
|
+
static names() {
|
|
2142
|
+
return {
|
|
2143
|
+
requestId: 'RequestId',
|
|
2144
|
+
};
|
|
2145
|
+
}
|
|
2146
|
+
static types() {
|
|
2147
|
+
return {
|
|
2148
|
+
requestId: 'string',
|
|
2149
|
+
};
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
exports.UntagResourcesResponseBody = UntagResourcesResponseBody;
|
|
2153
|
+
class UntagResourcesResponse extends $tea.Model {
|
|
2154
|
+
constructor(map) {
|
|
2155
|
+
super(map);
|
|
2156
|
+
}
|
|
2157
|
+
static names() {
|
|
2158
|
+
return {
|
|
2159
|
+
headers: 'headers',
|
|
2160
|
+
statusCode: 'statusCode',
|
|
2161
|
+
body: 'body',
|
|
2162
|
+
};
|
|
2163
|
+
}
|
|
2164
|
+
static types() {
|
|
2165
|
+
return {
|
|
2166
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2167
|
+
statusCode: 'number',
|
|
2168
|
+
body: UntagResourcesResponseBody,
|
|
2169
|
+
};
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
exports.UntagResourcesResponse = UntagResourcesResponse;
|
|
2173
|
+
class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
|
|
2174
|
+
constructor(map) {
|
|
2175
|
+
super(map);
|
|
2176
|
+
}
|
|
2177
|
+
static names() {
|
|
2178
|
+
return {
|
|
2179
|
+
memberUid: 'MemberUid',
|
|
2180
|
+
name: 'Name',
|
|
2181
|
+
region: 'Region',
|
|
2182
|
+
type: 'Type',
|
|
2183
|
+
};
|
|
2184
|
+
}
|
|
2185
|
+
static types() {
|
|
2186
|
+
return {
|
|
2187
|
+
memberUid: 'string',
|
|
2188
|
+
name: 'string',
|
|
2189
|
+
region: 'string',
|
|
2190
|
+
type: 'string',
|
|
2191
|
+
};
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
exports.AttachAssetGroupToInstanceRequestAssetGroupList = AttachAssetGroupToInstanceRequestAssetGroupList;
|
|
2195
|
+
class DescribeAssetGroupResponseBodyAssetGroupList extends $tea.Model {
|
|
2196
|
+
constructor(map) {
|
|
2197
|
+
super(map);
|
|
2198
|
+
}
|
|
2199
|
+
static names() {
|
|
2200
|
+
return {
|
|
2201
|
+
name: 'Name',
|
|
2202
|
+
region: 'Region',
|
|
2203
|
+
type: 'Type',
|
|
2204
|
+
};
|
|
2205
|
+
}
|
|
2206
|
+
static types() {
|
|
2207
|
+
return {
|
|
2208
|
+
name: 'string',
|
|
2209
|
+
region: 'string',
|
|
2210
|
+
type: 'string',
|
|
2211
|
+
};
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
exports.DescribeAssetGroupResponseBodyAssetGroupList = DescribeAssetGroupResponseBodyAssetGroupList;
|
|
2215
|
+
class DescribeAssetGroupToInstanceResponseBodyDataList extends $tea.Model {
|
|
2216
|
+
constructor(map) {
|
|
2217
|
+
super(map);
|
|
2218
|
+
}
|
|
2219
|
+
static names() {
|
|
2220
|
+
return {
|
|
2221
|
+
instanceId: 'InstanceId',
|
|
2222
|
+
memberUid: 'MemberUid',
|
|
2223
|
+
name: 'Name',
|
|
2224
|
+
region: 'Region',
|
|
2225
|
+
type: 'Type',
|
|
2226
|
+
};
|
|
2227
|
+
}
|
|
2228
|
+
static types() {
|
|
2229
|
+
return {
|
|
2230
|
+
instanceId: 'string',
|
|
2231
|
+
memberUid: 'string',
|
|
2232
|
+
name: 'string',
|
|
2233
|
+
region: 'string',
|
|
2234
|
+
type: 'string',
|
|
2235
|
+
};
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
exports.DescribeAssetGroupToInstanceResponseBodyDataList = DescribeAssetGroupToInstanceResponseBodyDataList;
|
|
2239
|
+
class DescribeDdosEventResponseBodyEvents extends $tea.Model {
|
|
2240
|
+
constructor(map) {
|
|
2241
|
+
super(map);
|
|
2242
|
+
}
|
|
2243
|
+
static names() {
|
|
2244
|
+
return {
|
|
2245
|
+
endTime: 'EndTime',
|
|
2246
|
+
ip: 'Ip',
|
|
2247
|
+
mbps: 'Mbps',
|
|
2248
|
+
pps: 'Pps',
|
|
2249
|
+
startTime: 'StartTime',
|
|
2250
|
+
status: 'Status',
|
|
2251
|
+
};
|
|
2252
|
+
}
|
|
2253
|
+
static types() {
|
|
2254
|
+
return {
|
|
2255
|
+
endTime: 'number',
|
|
2256
|
+
ip: 'string',
|
|
2257
|
+
mbps: 'number',
|
|
2258
|
+
pps: 'number',
|
|
2259
|
+
startTime: 'number',
|
|
2260
|
+
status: 'string',
|
|
1664
2261
|
};
|
|
1665
2262
|
}
|
|
1666
2263
|
}
|
|
1667
|
-
exports.
|
|
1668
|
-
class
|
|
2264
|
+
exports.DescribeDdosEventResponseBodyEvents = DescribeDdosEventResponseBodyEvents;
|
|
2265
|
+
class DescribeDdosOriginInstanceBillResponseBodyFlowList extends $tea.Model {
|
|
1669
2266
|
constructor(map) {
|
|
1670
2267
|
super(map);
|
|
1671
2268
|
}
|
|
1672
2269
|
static names() {
|
|
1673
2270
|
return {
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
resourceType: 'ResourceType',
|
|
1679
|
-
tagKey: 'TagKey',
|
|
2271
|
+
memberFlow: 'MemberFlow',
|
|
2272
|
+
regionFlow: 'RegionFlow',
|
|
2273
|
+
time: 'Time',
|
|
2274
|
+
totalFlow: 'TotalFlow',
|
|
1680
2275
|
};
|
|
1681
2276
|
}
|
|
1682
2277
|
static types() {
|
|
1683
2278
|
return {
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
resourceType: 'string',
|
|
1689
|
-
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
2279
|
+
memberFlow: 'string',
|
|
2280
|
+
regionFlow: 'string',
|
|
2281
|
+
time: 'number',
|
|
2282
|
+
totalFlow: 'number',
|
|
1690
2283
|
};
|
|
1691
2284
|
}
|
|
1692
2285
|
}
|
|
1693
|
-
exports.
|
|
1694
|
-
class
|
|
2286
|
+
exports.DescribeDdosOriginInstanceBillResponseBodyFlowList = DescribeDdosOriginInstanceBillResponseBodyFlowList;
|
|
2287
|
+
class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList extends $tea.Model {
|
|
1695
2288
|
constructor(map) {
|
|
1696
2289
|
super(map);
|
|
1697
2290
|
}
|
|
1698
2291
|
static names() {
|
|
1699
2292
|
return {
|
|
1700
|
-
|
|
2293
|
+
coverage: 'Coverage',
|
|
2294
|
+
ipCntCn: 'IpCntCn',
|
|
2295
|
+
ipCntOv: 'IpCntOv',
|
|
2296
|
+
memberIpCnt: 'MemberIpCnt',
|
|
2297
|
+
time: 'Time',
|
|
1701
2298
|
};
|
|
1702
2299
|
}
|
|
1703
2300
|
static types() {
|
|
1704
2301
|
return {
|
|
1705
|
-
|
|
2302
|
+
coverage: 'string',
|
|
2303
|
+
ipCntCn: 'number',
|
|
2304
|
+
ipCntOv: 'number',
|
|
2305
|
+
memberIpCnt: 'string',
|
|
2306
|
+
time: 'number',
|
|
1706
2307
|
};
|
|
1707
2308
|
}
|
|
1708
2309
|
}
|
|
1709
|
-
exports.
|
|
1710
|
-
class
|
|
2310
|
+
exports.DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList = DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList;
|
|
2311
|
+
class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
|
|
1711
2312
|
constructor(map) {
|
|
1712
2313
|
super(map);
|
|
1713
2314
|
}
|
|
1714
2315
|
static names() {
|
|
1715
2316
|
return {
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
2317
|
+
memberFlow: 'MemberFlow',
|
|
2318
|
+
regionFlow: 'RegionFlow',
|
|
2319
|
+
time: 'Time',
|
|
2320
|
+
totalFlow: 'TotalFlow',
|
|
1719
2321
|
};
|
|
1720
2322
|
}
|
|
1721
2323
|
static types() {
|
|
1722
2324
|
return {
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
2325
|
+
memberFlow: 'string',
|
|
2326
|
+
regionFlow: 'string',
|
|
2327
|
+
time: 'number',
|
|
2328
|
+
totalFlow: 'number',
|
|
1726
2329
|
};
|
|
1727
2330
|
}
|
|
1728
2331
|
}
|
|
1729
|
-
exports.
|
|
1730
|
-
class
|
|
2332
|
+
exports.DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList = DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList;
|
|
2333
|
+
class DescribeInstanceListRequestTag extends $tea.Model {
|
|
1731
2334
|
constructor(map) {
|
|
1732
2335
|
super(map);
|
|
1733
2336
|
}
|
|
1734
2337
|
static names() {
|
|
1735
2338
|
return {
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
mbps: 'Mbps',
|
|
1739
|
-
pps: 'Pps',
|
|
1740
|
-
startTime: 'StartTime',
|
|
1741
|
-
status: 'Status',
|
|
2339
|
+
key: 'Key',
|
|
2340
|
+
value: 'Value',
|
|
1742
2341
|
};
|
|
1743
2342
|
}
|
|
1744
2343
|
static types() {
|
|
1745
2344
|
return {
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
mbps: 'number',
|
|
1749
|
-
pps: 'number',
|
|
1750
|
-
startTime: 'number',
|
|
1751
|
-
status: 'string',
|
|
2345
|
+
key: 'string',
|
|
2346
|
+
value: 'string',
|
|
1752
2347
|
};
|
|
1753
2348
|
}
|
|
1754
2349
|
}
|
|
1755
|
-
exports.
|
|
1756
|
-
class
|
|
2350
|
+
exports.DescribeInstanceListRequestTag = DescribeInstanceListRequestTag;
|
|
2351
|
+
class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $tea.Model {
|
|
1757
2352
|
constructor(map) {
|
|
1758
2353
|
super(map);
|
|
1759
2354
|
}
|
|
1760
2355
|
static names() {
|
|
1761
2356
|
return {
|
|
1762
|
-
|
|
1763
|
-
value: 'Value',
|
|
2357
|
+
events: 'Events',
|
|
1764
2358
|
};
|
|
1765
2359
|
}
|
|
1766
2360
|
static types() {
|
|
1767
2361
|
return {
|
|
1768
|
-
|
|
1769
|
-
value: 'string',
|
|
2362
|
+
events: { 'type': 'array', 'itemType': 'string' },
|
|
1770
2363
|
};
|
|
1771
2364
|
}
|
|
1772
2365
|
}
|
|
1773
|
-
exports.
|
|
2366
|
+
exports.DescribeInstanceListResponseBodyInstanceListAutoProtectCondition = DescribeInstanceListResponseBodyInstanceListAutoProtectCondition;
|
|
1774
2367
|
class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
|
|
1775
2368
|
constructor(map) {
|
|
1776
2369
|
super(map);
|
|
1777
2370
|
}
|
|
1778
2371
|
static names() {
|
|
1779
2372
|
return {
|
|
2373
|
+
autoProtectCondition: 'AutoProtectCondition',
|
|
1780
2374
|
autoRenewal: 'AutoRenewal',
|
|
1781
2375
|
blackholdingCount: 'BlackholdingCount',
|
|
2376
|
+
commodityType: 'CommodityType',
|
|
1782
2377
|
coverageType: 'CoverageType',
|
|
1783
2378
|
expireTime: 'ExpireTime',
|
|
1784
2379
|
gmtCreate: 'GmtCreate',
|
|
@@ -1792,8 +2387,10 @@ class DescribeInstanceListResponseBodyInstanceList extends $tea.Model {
|
|
|
1792
2387
|
}
|
|
1793
2388
|
static types() {
|
|
1794
2389
|
return {
|
|
2390
|
+
autoProtectCondition: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition,
|
|
1795
2391
|
autoRenewal: 'boolean',
|
|
1796
2392
|
blackholdingCount: 'string',
|
|
2393
|
+
commodityType: 'string',
|
|
1797
2394
|
coverageType: 'number',
|
|
1798
2395
|
expireTime: 'number',
|
|
1799
2396
|
gmtCreate: 'number',
|
|
@@ -1845,6 +2442,7 @@ class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
|
1845
2442
|
return {
|
|
1846
2443
|
availableDefenseTimes: 'AvailableDefenseTimes',
|
|
1847
2444
|
availableDeleteBlackholeCount: 'AvailableDeleteBlackholeCount',
|
|
2445
|
+
defenseTimesPercent: 'DefenseTimesPercent',
|
|
1848
2446
|
instanceId: 'InstanceId',
|
|
1849
2447
|
isFullDefenseMode: 'IsFullDefenseMode',
|
|
1850
2448
|
packConfig: 'PackConfig',
|
|
@@ -1856,6 +2454,7 @@ class DescribeInstanceSpecsResponseBodyInstanceSpecs extends $tea.Model {
|
|
|
1856
2454
|
return {
|
|
1857
2455
|
availableDefenseTimes: 'number',
|
|
1858
2456
|
availableDeleteBlackholeCount: 'string',
|
|
2457
|
+
defenseTimesPercent: 'number',
|
|
1859
2458
|
instanceId: 'string',
|
|
1860
2459
|
isFullDefenseMode: 'number',
|
|
1861
2460
|
packConfig: DescribeInstanceSpecsResponseBodyInstanceSpecsPackConfig,
|
|
@@ -1953,6 +2552,7 @@ class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
|
1953
2552
|
return {
|
|
1954
2553
|
ip: 'Ip',
|
|
1955
2554
|
memberUid: 'MemberUid',
|
|
2555
|
+
nsmStatus: 'NsmStatus',
|
|
1956
2556
|
product: 'Product',
|
|
1957
2557
|
region: 'Region',
|
|
1958
2558
|
remark: 'Remark',
|
|
@@ -1963,6 +2563,7 @@ class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
|
1963
2563
|
return {
|
|
1964
2564
|
ip: 'string',
|
|
1965
2565
|
memberUid: 'string',
|
|
2566
|
+
nsmStatus: 'number',
|
|
1966
2567
|
product: 'string',
|
|
1967
2568
|
region: 'string',
|
|
1968
2569
|
remark: 'string',
|
|
@@ -2019,6 +2620,26 @@ class DescribeTrafficResponseBodyFlowList extends $tea.Model {
|
|
|
2019
2620
|
}
|
|
2020
2621
|
}
|
|
2021
2622
|
exports.DescribeTrafficResponseBodyFlowList = DescribeTrafficResponseBodyFlowList;
|
|
2623
|
+
class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
|
|
2624
|
+
constructor(map) {
|
|
2625
|
+
super(map);
|
|
2626
|
+
}
|
|
2627
|
+
static names() {
|
|
2628
|
+
return {
|
|
2629
|
+
name: 'Name',
|
|
2630
|
+
region: 'Region',
|
|
2631
|
+
type: 'Type',
|
|
2632
|
+
};
|
|
2633
|
+
}
|
|
2634
|
+
static types() {
|
|
2635
|
+
return {
|
|
2636
|
+
name: 'string',
|
|
2637
|
+
region: 'string',
|
|
2638
|
+
type: 'string',
|
|
2639
|
+
};
|
|
2640
|
+
}
|
|
2641
|
+
}
|
|
2642
|
+
exports.DettachAssetGroupToInstanceRequestAssetGroupList = DettachAssetGroupToInstanceRequestAssetGroupList;
|
|
2022
2643
|
class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $tea.Model {
|
|
2023
2644
|
constructor(map) {
|
|
2024
2645
|
super(map);
|
|
@@ -2254,6 +2875,46 @@ class Client extends openapi_client_1.default {
|
|
|
2254
2875
|
let runtime = new $Util.RuntimeOptions({});
|
|
2255
2876
|
return await this.addIpWithOptions(request, runtime);
|
|
2256
2877
|
}
|
|
2878
|
+
async attachAssetGroupToInstanceWithOptions(tmpReq, runtime) {
|
|
2879
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
2880
|
+
let request = new AttachAssetGroupToInstanceShrinkRequest({});
|
|
2881
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
2882
|
+
if (!tea_util_1.default.isUnset(tmpReq.assetGroupList)) {
|
|
2883
|
+
request.assetGroupListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.assetGroupList, "AssetGroupList", "json");
|
|
2884
|
+
}
|
|
2885
|
+
let query = {};
|
|
2886
|
+
if (!tea_util_1.default.isUnset(request.assetGroupListShrink)) {
|
|
2887
|
+
query["AssetGroupList"] = request.assetGroupListShrink;
|
|
2888
|
+
}
|
|
2889
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
2890
|
+
query["InstanceId"] = request.instanceId;
|
|
2891
|
+
}
|
|
2892
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
2893
|
+
query["RegionId"] = request.regionId;
|
|
2894
|
+
}
|
|
2895
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
2896
|
+
query["SourceIp"] = request.sourceIp;
|
|
2897
|
+
}
|
|
2898
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2899
|
+
query: openapi_util_1.default.query(query),
|
|
2900
|
+
});
|
|
2901
|
+
let params = new $OpenApi.Params({
|
|
2902
|
+
action: "AttachAssetGroupToInstance",
|
|
2903
|
+
version: "2018-07-20",
|
|
2904
|
+
protocol: "HTTPS",
|
|
2905
|
+
pathname: "/",
|
|
2906
|
+
method: "POST",
|
|
2907
|
+
authType: "AK",
|
|
2908
|
+
style: "RPC",
|
|
2909
|
+
reqBodyType: "formData",
|
|
2910
|
+
bodyType: "json",
|
|
2911
|
+
});
|
|
2912
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachAssetGroupToInstanceResponse({}));
|
|
2913
|
+
}
|
|
2914
|
+
async attachAssetGroupToInstance(request) {
|
|
2915
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2916
|
+
return await this.attachAssetGroupToInstanceWithOptions(request, runtime);
|
|
2917
|
+
}
|
|
2257
2918
|
async checkAccessLogAuthWithOptions(request, runtime) {
|
|
2258
2919
|
tea_util_1.default.validateModel(request);
|
|
2259
2920
|
let query = {};
|
|
@@ -2284,9 +2945,9 @@ class Client extends openapi_client_1.default {
|
|
|
2284
2945
|
return await this.checkAccessLogAuthWithOptions(request, runtime);
|
|
2285
2946
|
}
|
|
2286
2947
|
/**
|
|
2287
|
-
*
|
|
2288
|
-
*
|
|
2289
|
-
*
|
|
2948
|
+
* 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.
|
|
2949
|
+
* ### Limits
|
|
2950
|
+
* 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.
|
|
2290
2951
|
*
|
|
2291
2952
|
* @param request CheckGrantRequest
|
|
2292
2953
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2312,9 +2973,9 @@ class Client extends openapi_client_1.default {
|
|
|
2312
2973
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckGrantResponse({}));
|
|
2313
2974
|
}
|
|
2314
2975
|
/**
|
|
2315
|
-
*
|
|
2316
|
-
*
|
|
2317
|
-
*
|
|
2976
|
+
* 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.
|
|
2977
|
+
* ### Limits
|
|
2978
|
+
* 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.
|
|
2318
2979
|
*
|
|
2319
2980
|
* @param request CheckGrantRequest
|
|
2320
2981
|
* @return CheckGrantResponse
|
|
@@ -2496,8 +3157,7 @@ class Client extends openapi_client_1.default {
|
|
|
2496
3157
|
return await this.deleteBlackholeWithOptions(request, runtime);
|
|
2497
3158
|
}
|
|
2498
3159
|
/**
|
|
2499
|
-
* The
|
|
2500
|
-
* > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin Enterprise instances.
|
|
3160
|
+
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
2501
3161
|
*
|
|
2502
3162
|
* @param request DeleteIpRequest
|
|
2503
3163
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2535,8 +3195,7 @@ class Client extends openapi_client_1.default {
|
|
|
2535
3195
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteIpResponse({}));
|
|
2536
3196
|
}
|
|
2537
3197
|
/**
|
|
2538
|
-
* The
|
|
2539
|
-
* > You can call the [DescribeInstanceList](~~118698~~) operation to query the IDs of all Anti-DDoS Origin Enterprise instances.
|
|
3198
|
+
* The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
2540
3199
|
*
|
|
2541
3200
|
* @param request DeleteIpRequest
|
|
2542
3201
|
* @return DeleteIpResponse
|
|
@@ -2577,8 +3236,92 @@ class Client extends openapi_client_1.default {
|
|
|
2577
3236
|
let runtime = new $Util.RuntimeOptions({});
|
|
2578
3237
|
return await this.deleteSchedruleOnDemandWithOptions(request, runtime);
|
|
2579
3238
|
}
|
|
3239
|
+
async describeAssetGroupWithOptions(request, runtime) {
|
|
3240
|
+
tea_util_1.default.validateModel(request);
|
|
3241
|
+
let query = {};
|
|
3242
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
3243
|
+
query["Name"] = request.name;
|
|
3244
|
+
}
|
|
3245
|
+
if (!tea_util_1.default.isUnset(request.region)) {
|
|
3246
|
+
query["Region"] = request.region;
|
|
3247
|
+
}
|
|
3248
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3249
|
+
query["RegionId"] = request.regionId;
|
|
3250
|
+
}
|
|
3251
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
3252
|
+
query["SourceIp"] = request.sourceIp;
|
|
3253
|
+
}
|
|
3254
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
3255
|
+
query["Type"] = request.type;
|
|
3256
|
+
}
|
|
3257
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3258
|
+
query: openapi_util_1.default.query(query),
|
|
3259
|
+
});
|
|
3260
|
+
let params = new $OpenApi.Params({
|
|
3261
|
+
action: "DescribeAssetGroup",
|
|
3262
|
+
version: "2018-07-20",
|
|
3263
|
+
protocol: "HTTPS",
|
|
3264
|
+
pathname: "/",
|
|
3265
|
+
method: "POST",
|
|
3266
|
+
authType: "AK",
|
|
3267
|
+
style: "RPC",
|
|
3268
|
+
reqBodyType: "formData",
|
|
3269
|
+
bodyType: "json",
|
|
3270
|
+
});
|
|
3271
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAssetGroupResponse({}));
|
|
3272
|
+
}
|
|
3273
|
+
async describeAssetGroup(request) {
|
|
3274
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3275
|
+
return await this.describeAssetGroupWithOptions(request, runtime);
|
|
3276
|
+
}
|
|
3277
|
+
async describeAssetGroupToInstanceWithOptions(request, runtime) {
|
|
3278
|
+
tea_util_1.default.validateModel(request);
|
|
3279
|
+
let query = {};
|
|
3280
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
3281
|
+
query["InstanceId"] = request.instanceId;
|
|
3282
|
+
}
|
|
3283
|
+
if (!tea_util_1.default.isUnset(request.memberUid)) {
|
|
3284
|
+
query["MemberUid"] = request.memberUid;
|
|
3285
|
+
}
|
|
3286
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
3287
|
+
query["Name"] = request.name;
|
|
3288
|
+
}
|
|
3289
|
+
if (!tea_util_1.default.isUnset(request.region)) {
|
|
3290
|
+
query["Region"] = request.region;
|
|
3291
|
+
}
|
|
3292
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3293
|
+
query["RegionId"] = request.regionId;
|
|
3294
|
+
}
|
|
3295
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
3296
|
+
query["SourceIp"] = request.sourceIp;
|
|
3297
|
+
}
|
|
3298
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
3299
|
+
query["Type"] = request.type;
|
|
3300
|
+
}
|
|
3301
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3302
|
+
query: openapi_util_1.default.query(query),
|
|
3303
|
+
});
|
|
3304
|
+
let params = new $OpenApi.Params({
|
|
3305
|
+
action: "DescribeAssetGroupToInstance",
|
|
3306
|
+
version: "2018-07-20",
|
|
3307
|
+
protocol: "HTTPS",
|
|
3308
|
+
pathname: "/",
|
|
3309
|
+
method: "POST",
|
|
3310
|
+
authType: "AK",
|
|
3311
|
+
style: "RPC",
|
|
3312
|
+
reqBodyType: "formData",
|
|
3313
|
+
bodyType: "json",
|
|
3314
|
+
});
|
|
3315
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAssetGroupToInstanceResponse({}));
|
|
3316
|
+
}
|
|
3317
|
+
async describeAssetGroupToInstance(request) {
|
|
3318
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3319
|
+
return await this.describeAssetGroupToInstanceWithOptions(request, runtime);
|
|
3320
|
+
}
|
|
2580
3321
|
/**
|
|
2581
|
-
*
|
|
3322
|
+
* You can call the DescribeDdosEvent operation to query the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance by page. The details include the start time, end time, attacked IP address, and status of each event.
|
|
3323
|
+
* ## Limits
|
|
3324
|
+
* 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.
|
|
2582
3325
|
*
|
|
2583
3326
|
* @param request DescribeDdosEventRequest
|
|
2584
3327
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2628,7 +3371,9 @@ class Client extends openapi_client_1.default {
|
|
|
2628
3371
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDdosEventResponse({}));
|
|
2629
3372
|
}
|
|
2630
3373
|
/**
|
|
2631
|
-
*
|
|
3374
|
+
* You can call the DescribeDdosEvent operation to query the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance by page. The details include the start time, end time, attacked IP address, and status of each event.
|
|
3375
|
+
* ## Limits
|
|
3376
|
+
* 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.
|
|
2632
3377
|
*
|
|
2633
3378
|
* @param request DescribeDdosEventRequest
|
|
2634
3379
|
* @return DescribeDdosEventResponse
|
|
@@ -2637,8 +3382,44 @@ class Client extends openapi_client_1.default {
|
|
|
2637
3382
|
let runtime = new $Util.RuntimeOptions({});
|
|
2638
3383
|
return await this.describeDdosEventWithOptions(request, runtime);
|
|
2639
3384
|
}
|
|
3385
|
+
async describeDdosOriginInstanceBillWithOptions(request, runtime) {
|
|
3386
|
+
tea_util_1.default.validateModel(request);
|
|
3387
|
+
let query = {};
|
|
3388
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
3389
|
+
query["EndTime"] = request.endTime;
|
|
3390
|
+
}
|
|
3391
|
+
if (!tea_util_1.default.isUnset(request.isShowList)) {
|
|
3392
|
+
query["IsShowList"] = request.isShowList;
|
|
3393
|
+
}
|
|
3394
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
3395
|
+
query["StartTime"] = request.startTime;
|
|
3396
|
+
}
|
|
3397
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
3398
|
+
query["Type"] = request.type;
|
|
3399
|
+
}
|
|
3400
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3401
|
+
query: openapi_util_1.default.query(query),
|
|
3402
|
+
});
|
|
3403
|
+
let params = new $OpenApi.Params({
|
|
3404
|
+
action: "DescribeDdosOriginInstanceBill",
|
|
3405
|
+
version: "2018-07-20",
|
|
3406
|
+
protocol: "HTTPS",
|
|
3407
|
+
pathname: "/",
|
|
3408
|
+
method: "POST",
|
|
3409
|
+
authType: "AK",
|
|
3410
|
+
style: "RPC",
|
|
3411
|
+
reqBodyType: "formData",
|
|
3412
|
+
bodyType: "json",
|
|
3413
|
+
});
|
|
3414
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDdosOriginInstanceBillResponse({}));
|
|
3415
|
+
}
|
|
3416
|
+
async describeDdosOriginInstanceBill(request) {
|
|
3417
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3418
|
+
return await this.describeDdosOriginInstanceBillWithOptions(request, runtime);
|
|
3419
|
+
}
|
|
2640
3420
|
/**
|
|
2641
|
-
*
|
|
3421
|
+
* ## Usage notes
|
|
3422
|
+
* 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.
|
|
2642
3423
|
*
|
|
2643
3424
|
* @param request DescribeExcpetionCountRequest
|
|
2644
3425
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2670,7 +3451,8 @@ class Client extends openapi_client_1.default {
|
|
|
2670
3451
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeExcpetionCountResponse({}));
|
|
2671
3452
|
}
|
|
2672
3453
|
/**
|
|
2673
|
-
*
|
|
3454
|
+
* ## Usage notes
|
|
3455
|
+
* 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.
|
|
2674
3456
|
*
|
|
2675
3457
|
* @param request DescribeExcpetionCountRequest
|
|
2676
3458
|
* @return DescribeExcpetionCountResponse
|
|
@@ -2680,10 +3462,9 @@ class Client extends openapi_client_1.default {
|
|
|
2680
3462
|
return await this.describeExcpetionCountWithOptions(request, runtime);
|
|
2681
3463
|
}
|
|
2682
3464
|
/**
|
|
2683
|
-
* The status of
|
|
2684
|
-
*
|
|
2685
|
-
*
|
|
2686
|
-
* * **3**: released
|
|
3465
|
+
* 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.
|
|
3466
|
+
* ## Limits
|
|
3467
|
+
* 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.
|
|
2687
3468
|
*
|
|
2688
3469
|
* @param request DescribeInstanceListRequest
|
|
2689
3470
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2748,10 +3529,9 @@ class Client extends openapi_client_1.default {
|
|
|
2748
3529
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceListResponse({}));
|
|
2749
3530
|
}
|
|
2750
3531
|
/**
|
|
2751
|
-
* The status of
|
|
2752
|
-
*
|
|
2753
|
-
*
|
|
2754
|
-
* * **3**: released
|
|
3532
|
+
* 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.
|
|
3533
|
+
* ## Limits
|
|
3534
|
+
* 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.
|
|
2755
3535
|
*
|
|
2756
3536
|
* @param request DescribeInstanceListRequest
|
|
2757
3537
|
* @return DescribeInstanceListResponse
|
|
@@ -2793,7 +3573,7 @@ class Client extends openapi_client_1.default {
|
|
|
2793
3573
|
return await this.describeInstanceSpecsWithOptions(request, runtime);
|
|
2794
3574
|
}
|
|
2795
3575
|
/**
|
|
2796
|
-
*
|
|
3576
|
+
* > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
|
|
2797
3577
|
*
|
|
2798
3578
|
* @param request DescribeOnDemandDdosEventRequest
|
|
2799
3579
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2843,7 +3623,7 @@ class Client extends openapi_client_1.default {
|
|
|
2843
3623
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOnDemandDdosEventResponse({}));
|
|
2844
3624
|
}
|
|
2845
3625
|
/**
|
|
2846
|
-
*
|
|
3626
|
+
* > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
|
|
2847
3627
|
*
|
|
2848
3628
|
* @param request DescribeOnDemandDdosEventRequest
|
|
2849
3629
|
* @return DescribeOnDemandDdosEventResponse
|
|
@@ -2945,7 +3725,9 @@ class Client extends openapi_client_1.default {
|
|
|
2945
3725
|
return await this.describeOpEntitiesWithOptions(request, runtime);
|
|
2946
3726
|
}
|
|
2947
3727
|
/**
|
|
2948
|
-
*
|
|
3728
|
+
* 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.
|
|
3729
|
+
* ## Limits
|
|
3730
|
+
* 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.
|
|
2949
3731
|
*
|
|
2950
3732
|
* @param request DescribePackIpListRequest
|
|
2951
3733
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -2995,7 +3777,9 @@ class Client extends openapi_client_1.default {
|
|
|
2995
3777
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePackIpListResponse({}));
|
|
2996
3778
|
}
|
|
2997
3779
|
/**
|
|
2998
|
-
*
|
|
3780
|
+
* 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.
|
|
3781
|
+
* ## Limits
|
|
3782
|
+
* 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.
|
|
2999
3783
|
*
|
|
3000
3784
|
* @param request DescribePackIpListRequest
|
|
3001
3785
|
* @return DescribePackIpListResponse
|
|
@@ -3034,8 +3818,10 @@ class Client extends openapi_client_1.default {
|
|
|
3034
3818
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
3035
3819
|
}
|
|
3036
3820
|
/**
|
|
3037
|
-
*
|
|
3038
|
-
* >
|
|
3821
|
+
* You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
3822
|
+
* > 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.
|
|
3823
|
+
* ## Limits
|
|
3824
|
+
* 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.
|
|
3039
3825
|
*
|
|
3040
3826
|
* @param request DescribeTrafficRequest
|
|
3041
3827
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3088,8 +3874,10 @@ class Client extends openapi_client_1.default {
|
|
|
3088
3874
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrafficResponse({}));
|
|
3089
3875
|
}
|
|
3090
3876
|
/**
|
|
3091
|
-
*
|
|
3092
|
-
* >
|
|
3877
|
+
* You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
3878
|
+
* > 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.
|
|
3879
|
+
* ## Limits
|
|
3880
|
+
* 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.
|
|
3093
3881
|
*
|
|
3094
3882
|
* @param request DescribeTrafficRequest
|
|
3095
3883
|
* @return DescribeTrafficResponse
|
|
@@ -3098,6 +3886,46 @@ class Client extends openapi_client_1.default {
|
|
|
3098
3886
|
let runtime = new $Util.RuntimeOptions({});
|
|
3099
3887
|
return await this.describeTrafficWithOptions(request, runtime);
|
|
3100
3888
|
}
|
|
3889
|
+
async dettachAssetGroupToInstanceWithOptions(tmpReq, runtime) {
|
|
3890
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3891
|
+
let request = new DettachAssetGroupToInstanceShrinkRequest({});
|
|
3892
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3893
|
+
if (!tea_util_1.default.isUnset(tmpReq.assetGroupList)) {
|
|
3894
|
+
request.assetGroupListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.assetGroupList, "AssetGroupList", "json");
|
|
3895
|
+
}
|
|
3896
|
+
let query = {};
|
|
3897
|
+
if (!tea_util_1.default.isUnset(request.assetGroupListShrink)) {
|
|
3898
|
+
query["AssetGroupList"] = request.assetGroupListShrink;
|
|
3899
|
+
}
|
|
3900
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
3901
|
+
query["InstanceId"] = request.instanceId;
|
|
3902
|
+
}
|
|
3903
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3904
|
+
query["RegionId"] = request.regionId;
|
|
3905
|
+
}
|
|
3906
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
3907
|
+
query["SourceIp"] = request.sourceIp;
|
|
3908
|
+
}
|
|
3909
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3910
|
+
query: openapi_util_1.default.query(query),
|
|
3911
|
+
});
|
|
3912
|
+
let params = new $OpenApi.Params({
|
|
3913
|
+
action: "DettachAssetGroupToInstance",
|
|
3914
|
+
version: "2018-07-20",
|
|
3915
|
+
protocol: "HTTPS",
|
|
3916
|
+
pathname: "/",
|
|
3917
|
+
method: "POST",
|
|
3918
|
+
authType: "AK",
|
|
3919
|
+
style: "RPC",
|
|
3920
|
+
reqBodyType: "formData",
|
|
3921
|
+
bodyType: "json",
|
|
3922
|
+
});
|
|
3923
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DettachAssetGroupToInstanceResponse({}));
|
|
3924
|
+
}
|
|
3925
|
+
async dettachAssetGroupToInstance(request) {
|
|
3926
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3927
|
+
return await this.dettachAssetGroupToInstanceWithOptions(request, runtime);
|
|
3928
|
+
}
|
|
3101
3929
|
async getSlsOpenStatusWithOptions(request, runtime) {
|
|
3102
3930
|
tea_util_1.default.validateModel(request);
|
|
3103
3931
|
let query = {};
|
|
@@ -3198,8 +4026,7 @@ class Client extends openapi_client_1.default {
|
|
|
3198
4026
|
return await this.listTagKeysWithOptions(request, runtime);
|
|
3199
4027
|
}
|
|
3200
4028
|
/**
|
|
3201
|
-
*
|
|
3202
|
-
* > You can call the [DescribeRegions](~~118703~~) operation to query the most recent region list.
|
|
4029
|
+
* You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
|
|
3203
4030
|
*
|
|
3204
4031
|
* @param request ListTagResourcesRequest
|
|
3205
4032
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3243,8 +4070,7 @@ class Client extends openapi_client_1.default {
|
|
|
3243
4070
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
3244
4071
|
}
|
|
3245
4072
|
/**
|
|
3246
|
-
*
|
|
3247
|
-
* > You can call the [DescribeRegions](~~118703~~) operation to query the most recent region list.
|
|
4073
|
+
* You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
|
|
3248
4074
|
*
|
|
3249
4075
|
* @param request ListTagResourcesRequest
|
|
3250
4076
|
* @return ListTagResourcesResponse
|
|
@@ -3254,7 +4080,9 @@ class Client extends openapi_client_1.default {
|
|
|
3254
4080
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
3255
4081
|
}
|
|
3256
4082
|
/**
|
|
3257
|
-
*
|
|
4083
|
+
* You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
4084
|
+
* ## Limits
|
|
4085
|
+
* 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.
|
|
3258
4086
|
*
|
|
3259
4087
|
* @param request ModifyRemarkRequest
|
|
3260
4088
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3292,7 +4120,9 @@ class Client extends openapi_client_1.default {
|
|
|
3292
4120
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyRemarkResponse({}));
|
|
3293
4121
|
}
|
|
3294
4122
|
/**
|
|
3295
|
-
*
|
|
4123
|
+
* You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
4124
|
+
* ## Limits
|
|
4125
|
+
* 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.
|
|
3296
4126
|
*
|
|
3297
4127
|
* @param request ModifyRemarkRequest
|
|
3298
4128
|
* @return ModifyRemarkResponse
|
|
@@ -3330,6 +4160,32 @@ class Client extends openapi_client_1.default {
|
|
|
3330
4160
|
let runtime = new $Util.RuntimeOptions({});
|
|
3331
4161
|
return await this.querySchedruleOnDemandWithOptions(request, runtime);
|
|
3332
4162
|
}
|
|
4163
|
+
async releaseDdosOriginInstanceWithOptions(request, runtime) {
|
|
4164
|
+
tea_util_1.default.validateModel(request);
|
|
4165
|
+
let query = {};
|
|
4166
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
4167
|
+
query["InstanceId"] = request.instanceId;
|
|
4168
|
+
}
|
|
4169
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4170
|
+
query: openapi_util_1.default.query(query),
|
|
4171
|
+
});
|
|
4172
|
+
let params = new $OpenApi.Params({
|
|
4173
|
+
action: "ReleaseDdosOriginInstance",
|
|
4174
|
+
version: "2018-07-20",
|
|
4175
|
+
protocol: "HTTPS",
|
|
4176
|
+
pathname: "/",
|
|
4177
|
+
method: "POST",
|
|
4178
|
+
authType: "AK",
|
|
4179
|
+
style: "RPC",
|
|
4180
|
+
reqBodyType: "formData",
|
|
4181
|
+
bodyType: "json",
|
|
4182
|
+
});
|
|
4183
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ReleaseDdosOriginInstanceResponse({}));
|
|
4184
|
+
}
|
|
4185
|
+
async releaseDdosOriginInstance(request) {
|
|
4186
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4187
|
+
return await this.releaseDdosOriginInstanceWithOptions(request, runtime);
|
|
4188
|
+
}
|
|
3333
4189
|
async setInstanceModeOnDemandWithOptions(request, runtime) {
|
|
3334
4190
|
tea_util_1.default.validateModel(request);
|
|
3335
4191
|
let query = {};
|
|
@@ -3363,8 +4219,9 @@ class Client extends openapi_client_1.default {
|
|
|
3363
4219
|
return await this.setInstanceModeOnDemandWithOptions(request, runtime);
|
|
3364
4220
|
}
|
|
3365
4221
|
/**
|
|
3366
|
-
*
|
|
3367
|
-
*
|
|
4222
|
+
* You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
|
|
4223
|
+
* ## Limits
|
|
4224
|
+
* 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.
|
|
3368
4225
|
*
|
|
3369
4226
|
* @param request TagResourcesRequest
|
|
3370
4227
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -3405,8 +4262,9 @@ class Client extends openapi_client_1.default {
|
|
|
3405
4262
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
3406
4263
|
}
|
|
3407
4264
|
/**
|
|
3408
|
-
*
|
|
3409
|
-
*
|
|
4265
|
+
* You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
|
|
4266
|
+
* ## Limits
|
|
4267
|
+
* 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.
|
|
3410
4268
|
*
|
|
3411
4269
|
* @param request TagResourcesRequest
|
|
3412
4270
|
* @return TagResourcesResponse
|