@alicloud/ddosbgp20180720 2.3.0 → 2.5.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 +1548 -290
- package/dist/client.js +2109 -252
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +2928 -693
package/dist/client.js
CHANGED
|
@@ -26,9 +26,10 @@ 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.
|
|
29
|
+
exports.DescribeDdosEventResponseBody = exports.DescribeDdosEventRequest = exports.DescribeAssetGroupToInstanceResponse = exports.DescribeAssetGroupToInstanceResponseBody = 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.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.ListOpenedAccessLogInstancesResponse = exports.ListOpenedAccessLogInstancesResponseBody = exports.ListOpenedAccessLogInstancesRequest = exports.GetSlsOpenStatusResponse = 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 = void 0;
|
|
31
|
+
exports.DescribeInstanceListResponseBodyInstanceListAutoProtectCondition = exports.DescribeInstanceListRequestTag = exports.DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList = exports.DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList = exports.DescribeDdosOriginInstanceBillResponseBodyFlowList = exports.DescribeDdosEventResponseBodyEvents = exports.DescribeAssetGroupToInstanceResponseBodyDataList = exports.DescribeAssetGroupResponseBodyAssetGroupList = exports.DeleteRdMemberListRequestMemberList = 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 = 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 = void 0;
|
|
32
33
|
// This file is auto-generated, don't edit it
|
|
33
34
|
/**
|
|
34
35
|
*
|
|
@@ -170,7 +171,6 @@ class AttachAssetGroupToInstanceRequest extends $tea.Model {
|
|
|
170
171
|
assetGroupList: 'AssetGroupList',
|
|
171
172
|
instanceId: 'InstanceId',
|
|
172
173
|
regionId: 'RegionId',
|
|
173
|
-
sourceIp: 'SourceIp',
|
|
174
174
|
};
|
|
175
175
|
}
|
|
176
176
|
static types() {
|
|
@@ -178,7 +178,6 @@ class AttachAssetGroupToInstanceRequest extends $tea.Model {
|
|
|
178
178
|
assetGroupList: { 'type': 'array', 'itemType': AttachAssetGroupToInstanceRequestAssetGroupList },
|
|
179
179
|
instanceId: 'string',
|
|
180
180
|
regionId: 'string',
|
|
181
|
-
sourceIp: 'string',
|
|
182
181
|
};
|
|
183
182
|
}
|
|
184
183
|
constructor(map) {
|
|
@@ -192,7 +191,6 @@ class AttachAssetGroupToInstanceShrinkRequest extends $tea.Model {
|
|
|
192
191
|
assetGroupListShrink: 'AssetGroupList',
|
|
193
192
|
instanceId: 'InstanceId',
|
|
194
193
|
regionId: 'RegionId',
|
|
195
|
-
sourceIp: 'SourceIp',
|
|
196
194
|
};
|
|
197
195
|
}
|
|
198
196
|
static types() {
|
|
@@ -200,7 +198,6 @@ class AttachAssetGroupToInstanceShrinkRequest extends $tea.Model {
|
|
|
200
198
|
assetGroupListShrink: 'string',
|
|
201
199
|
instanceId: 'string',
|
|
202
200
|
regionId: 'string',
|
|
203
|
-
sourceIp: 'string',
|
|
204
201
|
};
|
|
205
202
|
}
|
|
206
203
|
constructor(map) {
|
|
@@ -432,6 +429,62 @@ class ConfigSchedruleOnDemandResponse extends $tea.Model {
|
|
|
432
429
|
}
|
|
433
430
|
}
|
|
434
431
|
exports.ConfigSchedruleOnDemandResponse = ConfigSchedruleOnDemandResponse;
|
|
432
|
+
class CreatePolicyRequest extends $tea.Model {
|
|
433
|
+
static names() {
|
|
434
|
+
return {
|
|
435
|
+
name: 'Name',
|
|
436
|
+
type: 'Type',
|
|
437
|
+
};
|
|
438
|
+
}
|
|
439
|
+
static types() {
|
|
440
|
+
return {
|
|
441
|
+
name: 'string',
|
|
442
|
+
type: 'string',
|
|
443
|
+
};
|
|
444
|
+
}
|
|
445
|
+
constructor(map) {
|
|
446
|
+
super(map);
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
exports.CreatePolicyRequest = CreatePolicyRequest;
|
|
450
|
+
class CreatePolicyResponseBody extends $tea.Model {
|
|
451
|
+
static names() {
|
|
452
|
+
return {
|
|
453
|
+
id: 'Id',
|
|
454
|
+
requestId: 'RequestId',
|
|
455
|
+
};
|
|
456
|
+
}
|
|
457
|
+
static types() {
|
|
458
|
+
return {
|
|
459
|
+
id: 'string',
|
|
460
|
+
requestId: 'string',
|
|
461
|
+
};
|
|
462
|
+
}
|
|
463
|
+
constructor(map) {
|
|
464
|
+
super(map);
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
exports.CreatePolicyResponseBody = CreatePolicyResponseBody;
|
|
468
|
+
class CreatePolicyResponse extends $tea.Model {
|
|
469
|
+
static names() {
|
|
470
|
+
return {
|
|
471
|
+
headers: 'headers',
|
|
472
|
+
statusCode: 'statusCode',
|
|
473
|
+
body: 'body',
|
|
474
|
+
};
|
|
475
|
+
}
|
|
476
|
+
static types() {
|
|
477
|
+
return {
|
|
478
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
479
|
+
statusCode: 'number',
|
|
480
|
+
body: CreatePolicyResponseBody,
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
constructor(map) {
|
|
484
|
+
super(map);
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
exports.CreatePolicyResponse = CreatePolicyResponse;
|
|
435
488
|
class CreateSchedruleOnDemandRequest extends $tea.Model {
|
|
436
489
|
static names() {
|
|
437
490
|
return {
|
|
@@ -622,6 +675,58 @@ class DeleteIpResponse extends $tea.Model {
|
|
|
622
675
|
}
|
|
623
676
|
}
|
|
624
677
|
exports.DeleteIpResponse = DeleteIpResponse;
|
|
678
|
+
class DeletePolicyRequest extends $tea.Model {
|
|
679
|
+
static names() {
|
|
680
|
+
return {
|
|
681
|
+
id: 'Id',
|
|
682
|
+
};
|
|
683
|
+
}
|
|
684
|
+
static types() {
|
|
685
|
+
return {
|
|
686
|
+
id: 'string',
|
|
687
|
+
};
|
|
688
|
+
}
|
|
689
|
+
constructor(map) {
|
|
690
|
+
super(map);
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
exports.DeletePolicyRequest = DeletePolicyRequest;
|
|
694
|
+
class DeletePolicyResponseBody extends $tea.Model {
|
|
695
|
+
static names() {
|
|
696
|
+
return {
|
|
697
|
+
requestId: 'RequestId',
|
|
698
|
+
};
|
|
699
|
+
}
|
|
700
|
+
static types() {
|
|
701
|
+
return {
|
|
702
|
+
requestId: 'string',
|
|
703
|
+
};
|
|
704
|
+
}
|
|
705
|
+
constructor(map) {
|
|
706
|
+
super(map);
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
exports.DeletePolicyResponseBody = DeletePolicyResponseBody;
|
|
710
|
+
class DeletePolicyResponse extends $tea.Model {
|
|
711
|
+
static names() {
|
|
712
|
+
return {
|
|
713
|
+
headers: 'headers',
|
|
714
|
+
statusCode: 'statusCode',
|
|
715
|
+
body: 'body',
|
|
716
|
+
};
|
|
717
|
+
}
|
|
718
|
+
static types() {
|
|
719
|
+
return {
|
|
720
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
721
|
+
statusCode: 'number',
|
|
722
|
+
body: DeletePolicyResponseBody,
|
|
723
|
+
};
|
|
724
|
+
}
|
|
725
|
+
constructor(map) {
|
|
726
|
+
super(map);
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
exports.DeletePolicyResponse = DeletePolicyResponse;
|
|
625
730
|
class DeleteRdMemberListRequest extends $tea.Model {
|
|
626
731
|
static names() {
|
|
627
732
|
return {
|
|
@@ -752,7 +857,6 @@ class DescribeAssetGroupRequest extends $tea.Model {
|
|
|
752
857
|
name: 'Name',
|
|
753
858
|
region: 'Region',
|
|
754
859
|
regionId: 'RegionId',
|
|
755
|
-
sourceIp: 'SourceIp',
|
|
756
860
|
type: 'Type',
|
|
757
861
|
};
|
|
758
862
|
}
|
|
@@ -761,7 +865,6 @@ class DescribeAssetGroupRequest extends $tea.Model {
|
|
|
761
865
|
name: 'string',
|
|
762
866
|
region: 'string',
|
|
763
867
|
regionId: 'string',
|
|
764
|
-
sourceIp: 'string',
|
|
765
868
|
type: 'string',
|
|
766
869
|
};
|
|
767
870
|
}
|
|
@@ -818,7 +921,6 @@ class DescribeAssetGroupToInstanceRequest extends $tea.Model {
|
|
|
818
921
|
name: 'Name',
|
|
819
922
|
region: 'Region',
|
|
820
923
|
regionId: 'RegionId',
|
|
821
|
-
sourceIp: 'SourceIp',
|
|
822
924
|
type: 'Type',
|
|
823
925
|
};
|
|
824
926
|
}
|
|
@@ -829,7 +931,6 @@ class DescribeAssetGroupToInstanceRequest extends $tea.Model {
|
|
|
829
931
|
name: 'string',
|
|
830
932
|
region: 'string',
|
|
831
933
|
regionId: 'string',
|
|
832
|
-
sourceIp: 'string',
|
|
833
934
|
type: 'string',
|
|
834
935
|
};
|
|
835
936
|
}
|
|
@@ -1744,13 +1845,84 @@ class DescribeTrafficResponse extends $tea.Model {
|
|
|
1744
1845
|
}
|
|
1745
1846
|
}
|
|
1746
1847
|
exports.DescribeTrafficResponse = DescribeTrafficResponse;
|
|
1848
|
+
class DetachFromPolicyRequest extends $tea.Model {
|
|
1849
|
+
static names() {
|
|
1850
|
+
return {
|
|
1851
|
+
ipPortProtocolList: 'IpPortProtocolList',
|
|
1852
|
+
policyType: 'PolicyType',
|
|
1853
|
+
};
|
|
1854
|
+
}
|
|
1855
|
+
static types() {
|
|
1856
|
+
return {
|
|
1857
|
+
ipPortProtocolList: { 'type': 'array', 'itemType': DetachFromPolicyRequestIpPortProtocolList },
|
|
1858
|
+
policyType: 'string',
|
|
1859
|
+
};
|
|
1860
|
+
}
|
|
1861
|
+
constructor(map) {
|
|
1862
|
+
super(map);
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
exports.DetachFromPolicyRequest = DetachFromPolicyRequest;
|
|
1866
|
+
class DetachFromPolicyShrinkRequest extends $tea.Model {
|
|
1867
|
+
static names() {
|
|
1868
|
+
return {
|
|
1869
|
+
ipPortProtocolListShrink: 'IpPortProtocolList',
|
|
1870
|
+
policyType: 'PolicyType',
|
|
1871
|
+
};
|
|
1872
|
+
}
|
|
1873
|
+
static types() {
|
|
1874
|
+
return {
|
|
1875
|
+
ipPortProtocolListShrink: 'string',
|
|
1876
|
+
policyType: 'string',
|
|
1877
|
+
};
|
|
1878
|
+
}
|
|
1879
|
+
constructor(map) {
|
|
1880
|
+
super(map);
|
|
1881
|
+
}
|
|
1882
|
+
}
|
|
1883
|
+
exports.DetachFromPolicyShrinkRequest = DetachFromPolicyShrinkRequest;
|
|
1884
|
+
class DetachFromPolicyResponseBody extends $tea.Model {
|
|
1885
|
+
static names() {
|
|
1886
|
+
return {
|
|
1887
|
+
requestId: 'RequestId',
|
|
1888
|
+
};
|
|
1889
|
+
}
|
|
1890
|
+
static types() {
|
|
1891
|
+
return {
|
|
1892
|
+
requestId: 'string',
|
|
1893
|
+
};
|
|
1894
|
+
}
|
|
1895
|
+
constructor(map) {
|
|
1896
|
+
super(map);
|
|
1897
|
+
}
|
|
1898
|
+
}
|
|
1899
|
+
exports.DetachFromPolicyResponseBody = DetachFromPolicyResponseBody;
|
|
1900
|
+
class DetachFromPolicyResponse extends $tea.Model {
|
|
1901
|
+
static names() {
|
|
1902
|
+
return {
|
|
1903
|
+
headers: 'headers',
|
|
1904
|
+
statusCode: 'statusCode',
|
|
1905
|
+
body: 'body',
|
|
1906
|
+
};
|
|
1907
|
+
}
|
|
1908
|
+
static types() {
|
|
1909
|
+
return {
|
|
1910
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1911
|
+
statusCode: 'number',
|
|
1912
|
+
body: DetachFromPolicyResponseBody,
|
|
1913
|
+
};
|
|
1914
|
+
}
|
|
1915
|
+
constructor(map) {
|
|
1916
|
+
super(map);
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
exports.DetachFromPolicyResponse = DetachFromPolicyResponse;
|
|
1747
1920
|
class DettachAssetGroupToInstanceRequest extends $tea.Model {
|
|
1748
1921
|
static names() {
|
|
1749
1922
|
return {
|
|
1750
1923
|
assetGroupList: 'AssetGroupList',
|
|
1751
1924
|
instanceId: 'InstanceId',
|
|
1752
1925
|
regionId: 'RegionId',
|
|
1753
|
-
sourceIp: 'SourceIp',
|
|
1754
1926
|
};
|
|
1755
1927
|
}
|
|
1756
1928
|
static types() {
|
|
@@ -1758,7 +1930,6 @@ class DettachAssetGroupToInstanceRequest extends $tea.Model {
|
|
|
1758
1930
|
assetGroupList: { 'type': 'array', 'itemType': DettachAssetGroupToInstanceRequestAssetGroupList },
|
|
1759
1931
|
instanceId: 'string',
|
|
1760
1932
|
regionId: 'string',
|
|
1761
|
-
sourceIp: 'string',
|
|
1762
1933
|
};
|
|
1763
1934
|
}
|
|
1764
1935
|
constructor(map) {
|
|
@@ -1772,7 +1943,6 @@ class DettachAssetGroupToInstanceShrinkRequest extends $tea.Model {
|
|
|
1772
1943
|
assetGroupListShrink: 'AssetGroupList',
|
|
1773
1944
|
instanceId: 'InstanceId',
|
|
1774
1945
|
regionId: 'RegionId',
|
|
1775
|
-
sourceIp: 'SourceIp',
|
|
1776
1946
|
};
|
|
1777
1947
|
}
|
|
1778
1948
|
static types() {
|
|
@@ -1780,7 +1950,6 @@ class DettachAssetGroupToInstanceShrinkRequest extends $tea.Model {
|
|
|
1780
1950
|
assetGroupListShrink: 'string',
|
|
1781
1951
|
instanceId: 'string',
|
|
1782
1952
|
regionId: 'string',
|
|
1783
|
-
sourceIp: 'string',
|
|
1784
1953
|
};
|
|
1785
1954
|
}
|
|
1786
1955
|
constructor(map) {
|
|
@@ -1940,55 +2109,49 @@ class ListOpenedAccessLogInstancesResponse extends $tea.Model {
|
|
|
1940
2109
|
}
|
|
1941
2110
|
}
|
|
1942
2111
|
exports.ListOpenedAccessLogInstancesResponse = ListOpenedAccessLogInstancesResponse;
|
|
1943
|
-
class
|
|
2112
|
+
class ListPolicyRequest extends $tea.Model {
|
|
1944
2113
|
static names() {
|
|
1945
2114
|
return {
|
|
1946
|
-
|
|
2115
|
+
name: 'Name',
|
|
2116
|
+
pageNo: 'PageNo',
|
|
1947
2117
|
pageSize: 'PageSize',
|
|
1948
|
-
|
|
1949
|
-
resourceGroupId: 'ResourceGroupId',
|
|
1950
|
-
resourceType: 'ResourceType',
|
|
2118
|
+
type: 'Type',
|
|
1951
2119
|
};
|
|
1952
2120
|
}
|
|
1953
2121
|
static types() {
|
|
1954
2122
|
return {
|
|
1955
|
-
|
|
2123
|
+
name: 'string',
|
|
2124
|
+
pageNo: 'number',
|
|
1956
2125
|
pageSize: 'number',
|
|
1957
|
-
|
|
1958
|
-
resourceGroupId: 'string',
|
|
1959
|
-
resourceType: 'string',
|
|
2126
|
+
type: 'string',
|
|
1960
2127
|
};
|
|
1961
2128
|
}
|
|
1962
2129
|
constructor(map) {
|
|
1963
2130
|
super(map);
|
|
1964
2131
|
}
|
|
1965
2132
|
}
|
|
1966
|
-
exports.
|
|
1967
|
-
class
|
|
2133
|
+
exports.ListPolicyRequest = ListPolicyRequest;
|
|
2134
|
+
class ListPolicyResponseBody extends $tea.Model {
|
|
1968
2135
|
static names() {
|
|
1969
2136
|
return {
|
|
1970
|
-
|
|
1971
|
-
pageSize: 'PageSize',
|
|
2137
|
+
policyList: 'PolicyList',
|
|
1972
2138
|
requestId: 'RequestId',
|
|
1973
|
-
|
|
1974
|
-
totalCount: 'TotalCount',
|
|
2139
|
+
total: 'Total',
|
|
1975
2140
|
};
|
|
1976
2141
|
}
|
|
1977
2142
|
static types() {
|
|
1978
2143
|
return {
|
|
1979
|
-
|
|
1980
|
-
pageSize: 'number',
|
|
2144
|
+
policyList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyList },
|
|
1981
2145
|
requestId: 'string',
|
|
1982
|
-
|
|
1983
|
-
totalCount: 'number',
|
|
2146
|
+
total: 'number',
|
|
1984
2147
|
};
|
|
1985
2148
|
}
|
|
1986
2149
|
constructor(map) {
|
|
1987
2150
|
super(map);
|
|
1988
2151
|
}
|
|
1989
2152
|
}
|
|
1990
|
-
exports.
|
|
1991
|
-
class
|
|
2153
|
+
exports.ListPolicyResponseBody = ListPolicyResponseBody;
|
|
2154
|
+
class ListPolicyResponse extends $tea.Model {
|
|
1992
2155
|
static names() {
|
|
1993
2156
|
return {
|
|
1994
2157
|
headers: 'headers',
|
|
@@ -2000,61 +2163,83 @@ class ListTagKeysResponse extends $tea.Model {
|
|
|
2000
2163
|
return {
|
|
2001
2164
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2002
2165
|
statusCode: 'number',
|
|
2003
|
-
body:
|
|
2166
|
+
body: ListPolicyResponseBody,
|
|
2004
2167
|
};
|
|
2005
2168
|
}
|
|
2006
2169
|
constructor(map) {
|
|
2007
2170
|
super(map);
|
|
2008
2171
|
}
|
|
2009
2172
|
}
|
|
2010
|
-
exports.
|
|
2011
|
-
class
|
|
2173
|
+
exports.ListPolicyResponse = ListPolicyResponse;
|
|
2174
|
+
class ListPolicyAttachmentRequest extends $tea.Model {
|
|
2012
2175
|
static names() {
|
|
2013
2176
|
return {
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
tag: 'Tag',
|
|
2177
|
+
ipPortProtocolList: 'IpPortProtocolList',
|
|
2178
|
+
pageNo: 'PageNo',
|
|
2179
|
+
pageSize: 'PageSize',
|
|
2180
|
+
policyId: 'PolicyId',
|
|
2181
|
+
policyType: 'PolicyType',
|
|
2020
2182
|
};
|
|
2021
2183
|
}
|
|
2022
2184
|
static types() {
|
|
2023
2185
|
return {
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
|
|
2186
|
+
ipPortProtocolList: { 'type': 'array', 'itemType': ListPolicyAttachmentRequestIpPortProtocolList },
|
|
2187
|
+
pageNo: 'number',
|
|
2188
|
+
pageSize: 'number',
|
|
2189
|
+
policyId: 'string',
|
|
2190
|
+
policyType: 'string',
|
|
2030
2191
|
};
|
|
2031
2192
|
}
|
|
2032
2193
|
constructor(map) {
|
|
2033
2194
|
super(map);
|
|
2034
2195
|
}
|
|
2035
2196
|
}
|
|
2036
|
-
exports.
|
|
2037
|
-
class
|
|
2197
|
+
exports.ListPolicyAttachmentRequest = ListPolicyAttachmentRequest;
|
|
2198
|
+
class ListPolicyAttachmentShrinkRequest extends $tea.Model {
|
|
2038
2199
|
static names() {
|
|
2039
2200
|
return {
|
|
2040
|
-
|
|
2201
|
+
ipPortProtocolListShrink: 'IpPortProtocolList',
|
|
2202
|
+
pageNo: 'PageNo',
|
|
2203
|
+
pageSize: 'PageSize',
|
|
2204
|
+
policyId: 'PolicyId',
|
|
2205
|
+
policyType: 'PolicyType',
|
|
2206
|
+
};
|
|
2207
|
+
}
|
|
2208
|
+
static types() {
|
|
2209
|
+
return {
|
|
2210
|
+
ipPortProtocolListShrink: 'string',
|
|
2211
|
+
pageNo: 'number',
|
|
2212
|
+
pageSize: 'number',
|
|
2213
|
+
policyId: 'string',
|
|
2214
|
+
policyType: 'string',
|
|
2215
|
+
};
|
|
2216
|
+
}
|
|
2217
|
+
constructor(map) {
|
|
2218
|
+
super(map);
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
exports.ListPolicyAttachmentShrinkRequest = ListPolicyAttachmentShrinkRequest;
|
|
2222
|
+
class ListPolicyAttachmentResponseBody extends $tea.Model {
|
|
2223
|
+
static names() {
|
|
2224
|
+
return {
|
|
2225
|
+
attachmentList: 'AttachmentList',
|
|
2041
2226
|
requestId: 'RequestId',
|
|
2042
|
-
|
|
2227
|
+
total: 'Total',
|
|
2043
2228
|
};
|
|
2044
2229
|
}
|
|
2045
2230
|
static types() {
|
|
2046
2231
|
return {
|
|
2047
|
-
|
|
2232
|
+
attachmentList: { 'type': 'array', 'itemType': ListPolicyAttachmentResponseBodyAttachmentList },
|
|
2048
2233
|
requestId: 'string',
|
|
2049
|
-
|
|
2234
|
+
total: 'number',
|
|
2050
2235
|
};
|
|
2051
2236
|
}
|
|
2052
2237
|
constructor(map) {
|
|
2053
2238
|
super(map);
|
|
2054
2239
|
}
|
|
2055
2240
|
}
|
|
2056
|
-
exports.
|
|
2057
|
-
class
|
|
2241
|
+
exports.ListPolicyAttachmentResponseBody = ListPolicyAttachmentResponseBody;
|
|
2242
|
+
class ListPolicyAttachmentResponse extends $tea.Model {
|
|
2058
2243
|
static names() {
|
|
2059
2244
|
return {
|
|
2060
2245
|
headers: 'headers',
|
|
@@ -2066,53 +2251,63 @@ class ListTagResourcesResponse extends $tea.Model {
|
|
|
2066
2251
|
return {
|
|
2067
2252
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2068
2253
|
statusCode: 'number',
|
|
2069
|
-
body:
|
|
2254
|
+
body: ListPolicyAttachmentResponseBody,
|
|
2070
2255
|
};
|
|
2071
2256
|
}
|
|
2072
2257
|
constructor(map) {
|
|
2073
2258
|
super(map);
|
|
2074
2259
|
}
|
|
2075
2260
|
}
|
|
2076
|
-
exports.
|
|
2077
|
-
class
|
|
2261
|
+
exports.ListPolicyAttachmentResponse = ListPolicyAttachmentResponse;
|
|
2262
|
+
class ListTagKeysRequest extends $tea.Model {
|
|
2078
2263
|
static names() {
|
|
2079
2264
|
return {
|
|
2080
|
-
|
|
2265
|
+
currentPage: 'CurrentPage',
|
|
2266
|
+
pageSize: 'PageSize',
|
|
2081
2267
|
regionId: 'RegionId',
|
|
2082
|
-
remark: 'Remark',
|
|
2083
2268
|
resourceGroupId: 'ResourceGroupId',
|
|
2269
|
+
resourceType: 'ResourceType',
|
|
2084
2270
|
};
|
|
2085
2271
|
}
|
|
2086
2272
|
static types() {
|
|
2087
2273
|
return {
|
|
2088
|
-
|
|
2274
|
+
currentPage: 'number',
|
|
2275
|
+
pageSize: 'number',
|
|
2089
2276
|
regionId: 'string',
|
|
2090
|
-
remark: 'string',
|
|
2091
2277
|
resourceGroupId: 'string',
|
|
2278
|
+
resourceType: 'string',
|
|
2092
2279
|
};
|
|
2093
2280
|
}
|
|
2094
2281
|
constructor(map) {
|
|
2095
2282
|
super(map);
|
|
2096
2283
|
}
|
|
2097
2284
|
}
|
|
2098
|
-
exports.
|
|
2099
|
-
class
|
|
2285
|
+
exports.ListTagKeysRequest = ListTagKeysRequest;
|
|
2286
|
+
class ListTagKeysResponseBody extends $tea.Model {
|
|
2100
2287
|
static names() {
|
|
2101
2288
|
return {
|
|
2289
|
+
currentPage: 'CurrentPage',
|
|
2290
|
+
pageSize: 'PageSize',
|
|
2102
2291
|
requestId: 'RequestId',
|
|
2292
|
+
tagKeys: 'TagKeys',
|
|
2293
|
+
totalCount: 'TotalCount',
|
|
2103
2294
|
};
|
|
2104
2295
|
}
|
|
2105
2296
|
static types() {
|
|
2106
2297
|
return {
|
|
2298
|
+
currentPage: 'number',
|
|
2299
|
+
pageSize: 'number',
|
|
2107
2300
|
requestId: 'string',
|
|
2301
|
+
tagKeys: { 'type': 'array', 'itemType': ListTagKeysResponseBodyTagKeys },
|
|
2302
|
+
totalCount: 'number',
|
|
2108
2303
|
};
|
|
2109
2304
|
}
|
|
2110
2305
|
constructor(map) {
|
|
2111
2306
|
super(map);
|
|
2112
2307
|
}
|
|
2113
2308
|
}
|
|
2114
|
-
exports.
|
|
2115
|
-
class
|
|
2309
|
+
exports.ListTagKeysResponseBody = ListTagKeysResponseBody;
|
|
2310
|
+
class ListTagKeysResponse extends $tea.Model {
|
|
2116
2311
|
static names() {
|
|
2117
2312
|
return {
|
|
2118
2313
|
headers: 'headers',
|
|
@@ -2124,18 +2319,298 @@ class ModifyRemarkResponse extends $tea.Model {
|
|
|
2124
2319
|
return {
|
|
2125
2320
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2126
2321
|
statusCode: 'number',
|
|
2127
|
-
body:
|
|
2322
|
+
body: ListTagKeysResponseBody,
|
|
2128
2323
|
};
|
|
2129
2324
|
}
|
|
2130
2325
|
constructor(map) {
|
|
2131
2326
|
super(map);
|
|
2132
2327
|
}
|
|
2133
2328
|
}
|
|
2134
|
-
exports.
|
|
2135
|
-
class
|
|
2329
|
+
exports.ListTagKeysResponse = ListTagKeysResponse;
|
|
2330
|
+
class ListTagResourcesRequest extends $tea.Model {
|
|
2136
2331
|
static names() {
|
|
2137
2332
|
return {
|
|
2138
|
-
|
|
2333
|
+
nextToken: 'NextToken',
|
|
2334
|
+
regionId: 'RegionId',
|
|
2335
|
+
resourceGroupId: 'ResourceGroupId',
|
|
2336
|
+
resourceId: 'ResourceId',
|
|
2337
|
+
resourceType: 'ResourceType',
|
|
2338
|
+
tag: 'Tag',
|
|
2339
|
+
};
|
|
2340
|
+
}
|
|
2341
|
+
static types() {
|
|
2342
|
+
return {
|
|
2343
|
+
nextToken: 'string',
|
|
2344
|
+
regionId: 'string',
|
|
2345
|
+
resourceGroupId: 'string',
|
|
2346
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
2347
|
+
resourceType: 'string',
|
|
2348
|
+
tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
|
|
2349
|
+
};
|
|
2350
|
+
}
|
|
2351
|
+
constructor(map) {
|
|
2352
|
+
super(map);
|
|
2353
|
+
}
|
|
2354
|
+
}
|
|
2355
|
+
exports.ListTagResourcesRequest = ListTagResourcesRequest;
|
|
2356
|
+
class ListTagResourcesResponseBody extends $tea.Model {
|
|
2357
|
+
static names() {
|
|
2358
|
+
return {
|
|
2359
|
+
nextToken: 'NextToken',
|
|
2360
|
+
requestId: 'RequestId',
|
|
2361
|
+
tagResources: 'TagResources',
|
|
2362
|
+
};
|
|
2363
|
+
}
|
|
2364
|
+
static types() {
|
|
2365
|
+
return {
|
|
2366
|
+
nextToken: 'string',
|
|
2367
|
+
requestId: 'string',
|
|
2368
|
+
tagResources: ListTagResourcesResponseBodyTagResources,
|
|
2369
|
+
};
|
|
2370
|
+
}
|
|
2371
|
+
constructor(map) {
|
|
2372
|
+
super(map);
|
|
2373
|
+
}
|
|
2374
|
+
}
|
|
2375
|
+
exports.ListTagResourcesResponseBody = ListTagResourcesResponseBody;
|
|
2376
|
+
class ListTagResourcesResponse extends $tea.Model {
|
|
2377
|
+
static names() {
|
|
2378
|
+
return {
|
|
2379
|
+
headers: 'headers',
|
|
2380
|
+
statusCode: 'statusCode',
|
|
2381
|
+
body: 'body',
|
|
2382
|
+
};
|
|
2383
|
+
}
|
|
2384
|
+
static types() {
|
|
2385
|
+
return {
|
|
2386
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2387
|
+
statusCode: 'number',
|
|
2388
|
+
body: ListTagResourcesResponseBody,
|
|
2389
|
+
};
|
|
2390
|
+
}
|
|
2391
|
+
constructor(map) {
|
|
2392
|
+
super(map);
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
exports.ListTagResourcesResponse = ListTagResourcesResponse;
|
|
2396
|
+
class ModifyPolicyRequest extends $tea.Model {
|
|
2397
|
+
static names() {
|
|
2398
|
+
return {
|
|
2399
|
+
actionType: 'ActionType',
|
|
2400
|
+
content: 'Content',
|
|
2401
|
+
id: 'Id',
|
|
2402
|
+
name: 'Name',
|
|
2403
|
+
};
|
|
2404
|
+
}
|
|
2405
|
+
static types() {
|
|
2406
|
+
return {
|
|
2407
|
+
actionType: 'number',
|
|
2408
|
+
content: ModifyPolicyRequestContent,
|
|
2409
|
+
id: 'string',
|
|
2410
|
+
name: 'string',
|
|
2411
|
+
};
|
|
2412
|
+
}
|
|
2413
|
+
constructor(map) {
|
|
2414
|
+
super(map);
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2417
|
+
exports.ModifyPolicyRequest = ModifyPolicyRequest;
|
|
2418
|
+
class ModifyPolicyShrinkRequest extends $tea.Model {
|
|
2419
|
+
static names() {
|
|
2420
|
+
return {
|
|
2421
|
+
actionType: 'ActionType',
|
|
2422
|
+
contentShrink: 'Content',
|
|
2423
|
+
id: 'Id',
|
|
2424
|
+
name: 'Name',
|
|
2425
|
+
};
|
|
2426
|
+
}
|
|
2427
|
+
static types() {
|
|
2428
|
+
return {
|
|
2429
|
+
actionType: 'number',
|
|
2430
|
+
contentShrink: 'string',
|
|
2431
|
+
id: 'string',
|
|
2432
|
+
name: 'string',
|
|
2433
|
+
};
|
|
2434
|
+
}
|
|
2435
|
+
constructor(map) {
|
|
2436
|
+
super(map);
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
exports.ModifyPolicyShrinkRequest = ModifyPolicyShrinkRequest;
|
|
2440
|
+
class ModifyPolicyResponseBody extends $tea.Model {
|
|
2441
|
+
static names() {
|
|
2442
|
+
return {
|
|
2443
|
+
requestId: 'RequestId',
|
|
2444
|
+
};
|
|
2445
|
+
}
|
|
2446
|
+
static types() {
|
|
2447
|
+
return {
|
|
2448
|
+
requestId: 'string',
|
|
2449
|
+
};
|
|
2450
|
+
}
|
|
2451
|
+
constructor(map) {
|
|
2452
|
+
super(map);
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2455
|
+
exports.ModifyPolicyResponseBody = ModifyPolicyResponseBody;
|
|
2456
|
+
class ModifyPolicyResponse extends $tea.Model {
|
|
2457
|
+
static names() {
|
|
2458
|
+
return {
|
|
2459
|
+
headers: 'headers',
|
|
2460
|
+
statusCode: 'statusCode',
|
|
2461
|
+
body: 'body',
|
|
2462
|
+
};
|
|
2463
|
+
}
|
|
2464
|
+
static types() {
|
|
2465
|
+
return {
|
|
2466
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2467
|
+
statusCode: 'number',
|
|
2468
|
+
body: ModifyPolicyResponseBody,
|
|
2469
|
+
};
|
|
2470
|
+
}
|
|
2471
|
+
constructor(map) {
|
|
2472
|
+
super(map);
|
|
2473
|
+
}
|
|
2474
|
+
}
|
|
2475
|
+
exports.ModifyPolicyResponse = ModifyPolicyResponse;
|
|
2476
|
+
class ModifyPolicyContentRequest extends $tea.Model {
|
|
2477
|
+
static names() {
|
|
2478
|
+
return {
|
|
2479
|
+
content: 'Content',
|
|
2480
|
+
id: 'Id',
|
|
2481
|
+
name: 'Name',
|
|
2482
|
+
};
|
|
2483
|
+
}
|
|
2484
|
+
static types() {
|
|
2485
|
+
return {
|
|
2486
|
+
content: ModifyPolicyContentRequestContent,
|
|
2487
|
+
id: 'string',
|
|
2488
|
+
name: 'string',
|
|
2489
|
+
};
|
|
2490
|
+
}
|
|
2491
|
+
constructor(map) {
|
|
2492
|
+
super(map);
|
|
2493
|
+
}
|
|
2494
|
+
}
|
|
2495
|
+
exports.ModifyPolicyContentRequest = ModifyPolicyContentRequest;
|
|
2496
|
+
class ModifyPolicyContentShrinkRequest extends $tea.Model {
|
|
2497
|
+
static names() {
|
|
2498
|
+
return {
|
|
2499
|
+
contentShrink: 'Content',
|
|
2500
|
+
id: 'Id',
|
|
2501
|
+
name: 'Name',
|
|
2502
|
+
};
|
|
2503
|
+
}
|
|
2504
|
+
static types() {
|
|
2505
|
+
return {
|
|
2506
|
+
contentShrink: 'string',
|
|
2507
|
+
id: 'string',
|
|
2508
|
+
name: 'string',
|
|
2509
|
+
};
|
|
2510
|
+
}
|
|
2511
|
+
constructor(map) {
|
|
2512
|
+
super(map);
|
|
2513
|
+
}
|
|
2514
|
+
}
|
|
2515
|
+
exports.ModifyPolicyContentShrinkRequest = ModifyPolicyContentShrinkRequest;
|
|
2516
|
+
class ModifyPolicyContentResponseBody extends $tea.Model {
|
|
2517
|
+
static names() {
|
|
2518
|
+
return {
|
|
2519
|
+
requestId: 'RequestId',
|
|
2520
|
+
};
|
|
2521
|
+
}
|
|
2522
|
+
static types() {
|
|
2523
|
+
return {
|
|
2524
|
+
requestId: 'string',
|
|
2525
|
+
};
|
|
2526
|
+
}
|
|
2527
|
+
constructor(map) {
|
|
2528
|
+
super(map);
|
|
2529
|
+
}
|
|
2530
|
+
}
|
|
2531
|
+
exports.ModifyPolicyContentResponseBody = ModifyPolicyContentResponseBody;
|
|
2532
|
+
class ModifyPolicyContentResponse extends $tea.Model {
|
|
2533
|
+
static names() {
|
|
2534
|
+
return {
|
|
2535
|
+
headers: 'headers',
|
|
2536
|
+
statusCode: 'statusCode',
|
|
2537
|
+
body: 'body',
|
|
2538
|
+
};
|
|
2539
|
+
}
|
|
2540
|
+
static types() {
|
|
2541
|
+
return {
|
|
2542
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2543
|
+
statusCode: 'number',
|
|
2544
|
+
body: ModifyPolicyContentResponseBody,
|
|
2545
|
+
};
|
|
2546
|
+
}
|
|
2547
|
+
constructor(map) {
|
|
2548
|
+
super(map);
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
exports.ModifyPolicyContentResponse = ModifyPolicyContentResponse;
|
|
2552
|
+
class ModifyRemarkRequest extends $tea.Model {
|
|
2553
|
+
static names() {
|
|
2554
|
+
return {
|
|
2555
|
+
instanceId: 'InstanceId',
|
|
2556
|
+
regionId: 'RegionId',
|
|
2557
|
+
remark: 'Remark',
|
|
2558
|
+
resourceGroupId: 'ResourceGroupId',
|
|
2559
|
+
};
|
|
2560
|
+
}
|
|
2561
|
+
static types() {
|
|
2562
|
+
return {
|
|
2563
|
+
instanceId: 'string',
|
|
2564
|
+
regionId: 'string',
|
|
2565
|
+
remark: 'string',
|
|
2566
|
+
resourceGroupId: 'string',
|
|
2567
|
+
};
|
|
2568
|
+
}
|
|
2569
|
+
constructor(map) {
|
|
2570
|
+
super(map);
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2573
|
+
exports.ModifyRemarkRequest = ModifyRemarkRequest;
|
|
2574
|
+
class ModifyRemarkResponseBody extends $tea.Model {
|
|
2575
|
+
static names() {
|
|
2576
|
+
return {
|
|
2577
|
+
requestId: 'RequestId',
|
|
2578
|
+
};
|
|
2579
|
+
}
|
|
2580
|
+
static types() {
|
|
2581
|
+
return {
|
|
2582
|
+
requestId: 'string',
|
|
2583
|
+
};
|
|
2584
|
+
}
|
|
2585
|
+
constructor(map) {
|
|
2586
|
+
super(map);
|
|
2587
|
+
}
|
|
2588
|
+
}
|
|
2589
|
+
exports.ModifyRemarkResponseBody = ModifyRemarkResponseBody;
|
|
2590
|
+
class ModifyRemarkResponse extends $tea.Model {
|
|
2591
|
+
static names() {
|
|
2592
|
+
return {
|
|
2593
|
+
headers: 'headers',
|
|
2594
|
+
statusCode: 'statusCode',
|
|
2595
|
+
body: 'body',
|
|
2596
|
+
};
|
|
2597
|
+
}
|
|
2598
|
+
static types() {
|
|
2599
|
+
return {
|
|
2600
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2601
|
+
statusCode: 'number',
|
|
2602
|
+
body: ModifyRemarkResponseBody,
|
|
2603
|
+
};
|
|
2604
|
+
}
|
|
2605
|
+
constructor(map) {
|
|
2606
|
+
super(map);
|
|
2607
|
+
}
|
|
2608
|
+
}
|
|
2609
|
+
exports.ModifyRemarkResponse = ModifyRemarkResponse;
|
|
2610
|
+
class QuerySchedruleOnDemandRequest extends $tea.Model {
|
|
2611
|
+
static names() {
|
|
2612
|
+
return {
|
|
2613
|
+
instanceId: 'InstanceId',
|
|
2139
2614
|
regionId: 'RegionId',
|
|
2140
2615
|
};
|
|
2141
2616
|
}
|
|
@@ -2835,6 +3310,8 @@ class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
|
2835
3310
|
return {
|
|
2836
3311
|
ip: 'Ip',
|
|
2837
3312
|
memberUid: 'MemberUid',
|
|
3313
|
+
nsmExpireAt: 'NsmExpireAt',
|
|
3314
|
+
nsmStartAt: 'NsmStartAt',
|
|
2838
3315
|
nsmStatus: 'NsmStatus',
|
|
2839
3316
|
product: 'Product',
|
|
2840
3317
|
region: 'Region',
|
|
@@ -2846,6 +3323,8 @@ class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
|
2846
3323
|
return {
|
|
2847
3324
|
ip: 'string',
|
|
2848
3325
|
memberUid: 'string',
|
|
3326
|
+
nsmExpireAt: 'number',
|
|
3327
|
+
nsmStartAt: 'number',
|
|
2849
3328
|
nsmStatus: 'number',
|
|
2850
3329
|
product: 'string',
|
|
2851
3330
|
region: 'string',
|
|
@@ -2926,30 +3405,50 @@ class DescribeTrafficResponseBodyFlowList extends $tea.Model {
|
|
|
2926
3405
|
}
|
|
2927
3406
|
}
|
|
2928
3407
|
exports.DescribeTrafficResponseBodyFlowList = DescribeTrafficResponseBodyFlowList;
|
|
2929
|
-
class
|
|
3408
|
+
class DetachFromPolicyRequestIpPortProtocolList extends $tea.Model {
|
|
2930
3409
|
static names() {
|
|
2931
3410
|
return {
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
3411
|
+
ip: 'Ip',
|
|
3412
|
+
port: 'Port',
|
|
3413
|
+
protocol: 'Protocol',
|
|
2935
3414
|
};
|
|
2936
3415
|
}
|
|
2937
3416
|
static types() {
|
|
2938
3417
|
return {
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
3418
|
+
ip: 'string',
|
|
3419
|
+
port: 'number',
|
|
3420
|
+
protocol: 'string',
|
|
2942
3421
|
};
|
|
2943
3422
|
}
|
|
2944
3423
|
constructor(map) {
|
|
2945
3424
|
super(map);
|
|
2946
3425
|
}
|
|
2947
3426
|
}
|
|
2948
|
-
exports.
|
|
2949
|
-
class
|
|
3427
|
+
exports.DetachFromPolicyRequestIpPortProtocolList = DetachFromPolicyRequestIpPortProtocolList;
|
|
3428
|
+
class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
|
|
2950
3429
|
static names() {
|
|
2951
3430
|
return {
|
|
2952
|
-
|
|
3431
|
+
name: 'Name',
|
|
3432
|
+
region: 'Region',
|
|
3433
|
+
type: 'Type',
|
|
3434
|
+
};
|
|
3435
|
+
}
|
|
3436
|
+
static types() {
|
|
3437
|
+
return {
|
|
3438
|
+
name: 'string',
|
|
3439
|
+
region: 'string',
|
|
3440
|
+
type: 'string',
|
|
3441
|
+
};
|
|
3442
|
+
}
|
|
3443
|
+
constructor(map) {
|
|
3444
|
+
super(map);
|
|
3445
|
+
}
|
|
3446
|
+
}
|
|
3447
|
+
exports.DettachAssetGroupToInstanceRequestAssetGroupList = DettachAssetGroupToInstanceRequestAssetGroupList;
|
|
3448
|
+
class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $tea.Model {
|
|
3449
|
+
static names() {
|
|
3450
|
+
return {
|
|
3451
|
+
enable: 'Enable',
|
|
2953
3452
|
instanceId: 'InstanceId',
|
|
2954
3453
|
};
|
|
2955
3454
|
}
|
|
@@ -2964,6 +3463,284 @@ class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $tea.Model
|
|
|
2964
3463
|
}
|
|
2965
3464
|
}
|
|
2966
3465
|
exports.ListOpenedAccessLogInstancesResponseBodySlsConfigStatus = ListOpenedAccessLogInstancesResponseBodySlsConfigStatus;
|
|
3466
|
+
class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends $tea.Model {
|
|
3467
|
+
static names() {
|
|
3468
|
+
return {
|
|
3469
|
+
dstPortEnd: 'DstPortEnd',
|
|
3470
|
+
dstPortStart: 'DstPortStart',
|
|
3471
|
+
id: 'Id',
|
|
3472
|
+
matchAction: 'MatchAction',
|
|
3473
|
+
maxPktLen: 'MaxPktLen',
|
|
3474
|
+
minPktLen: 'MinPktLen',
|
|
3475
|
+
offset: 'Offset',
|
|
3476
|
+
payloadBytes: 'PayloadBytes',
|
|
3477
|
+
protocol: 'Protocol',
|
|
3478
|
+
rateValue: 'RateValue',
|
|
3479
|
+
seqNo: 'SeqNo',
|
|
3480
|
+
srcPortEnd: 'SrcPortEnd',
|
|
3481
|
+
srcPortStart: 'SrcPortStart',
|
|
3482
|
+
};
|
|
3483
|
+
}
|
|
3484
|
+
static types() {
|
|
3485
|
+
return {
|
|
3486
|
+
dstPortEnd: 'number',
|
|
3487
|
+
dstPortStart: 'number',
|
|
3488
|
+
id: 'string',
|
|
3489
|
+
matchAction: 'string',
|
|
3490
|
+
maxPktLen: 'number',
|
|
3491
|
+
minPktLen: 'number',
|
|
3492
|
+
offset: 'number',
|
|
3493
|
+
payloadBytes: 'string',
|
|
3494
|
+
protocol: 'string',
|
|
3495
|
+
rateValue: 'number',
|
|
3496
|
+
seqNo: 'number',
|
|
3497
|
+
srcPortEnd: 'number',
|
|
3498
|
+
srcPortStart: 'number',
|
|
3499
|
+
};
|
|
3500
|
+
}
|
|
3501
|
+
constructor(map) {
|
|
3502
|
+
super(map);
|
|
3503
|
+
}
|
|
3504
|
+
}
|
|
3505
|
+
exports.ListPolicyResponseBodyPolicyListContentFingerPrintRuleList = ListPolicyResponseBodyPolicyListContentFingerPrintRuleList;
|
|
3506
|
+
class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList extends $tea.Model {
|
|
3507
|
+
static names() {
|
|
3508
|
+
return {
|
|
3509
|
+
arg: 'Arg',
|
|
3510
|
+
depth: 'Depth',
|
|
3511
|
+
position: 'Position',
|
|
3512
|
+
};
|
|
3513
|
+
}
|
|
3514
|
+
static types() {
|
|
3515
|
+
return {
|
|
3516
|
+
arg: 'string',
|
|
3517
|
+
depth: 'number',
|
|
3518
|
+
position: 'number',
|
|
3519
|
+
};
|
|
3520
|
+
}
|
|
3521
|
+
constructor(map) {
|
|
3522
|
+
super(map);
|
|
3523
|
+
}
|
|
3524
|
+
}
|
|
3525
|
+
exports.ListPolicyResponseBodyPolicyListContentL4RuleListConditionList = ListPolicyResponseBodyPolicyListContentL4RuleListConditionList;
|
|
3526
|
+
class ListPolicyResponseBodyPolicyListContentL4RuleList extends $tea.Model {
|
|
3527
|
+
static names() {
|
|
3528
|
+
return {
|
|
3529
|
+
action: 'Action',
|
|
3530
|
+
conditionList: 'ConditionList',
|
|
3531
|
+
limited: 'Limited',
|
|
3532
|
+
match: 'Match',
|
|
3533
|
+
method: 'Method',
|
|
3534
|
+
name: 'Name',
|
|
3535
|
+
priority: 'Priority',
|
|
3536
|
+
};
|
|
3537
|
+
}
|
|
3538
|
+
static types() {
|
|
3539
|
+
return {
|
|
3540
|
+
action: 'string',
|
|
3541
|
+
conditionList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentL4RuleListConditionList },
|
|
3542
|
+
limited: 'number',
|
|
3543
|
+
match: 'string',
|
|
3544
|
+
method: 'string',
|
|
3545
|
+
name: 'string',
|
|
3546
|
+
priority: 'number',
|
|
3547
|
+
};
|
|
3548
|
+
}
|
|
3549
|
+
constructor(map) {
|
|
3550
|
+
super(map);
|
|
3551
|
+
}
|
|
3552
|
+
}
|
|
3553
|
+
exports.ListPolicyResponseBodyPolicyListContentL4RuleList = ListPolicyResponseBodyPolicyListContentL4RuleList;
|
|
3554
|
+
class ListPolicyResponseBodyPolicyListContentPortRuleList extends $tea.Model {
|
|
3555
|
+
static names() {
|
|
3556
|
+
return {
|
|
3557
|
+
dstPortEnd: 'DstPortEnd',
|
|
3558
|
+
dstPortStart: 'DstPortStart',
|
|
3559
|
+
id: 'Id',
|
|
3560
|
+
matchAction: 'MatchAction',
|
|
3561
|
+
protocol: 'Protocol',
|
|
3562
|
+
seqNo: 'SeqNo',
|
|
3563
|
+
srcPortEnd: 'SrcPortEnd',
|
|
3564
|
+
srcPortStart: 'SrcPortStart',
|
|
3565
|
+
};
|
|
3566
|
+
}
|
|
3567
|
+
static types() {
|
|
3568
|
+
return {
|
|
3569
|
+
dstPortEnd: 'number',
|
|
3570
|
+
dstPortStart: 'number',
|
|
3571
|
+
id: 'string',
|
|
3572
|
+
matchAction: 'string',
|
|
3573
|
+
protocol: 'string',
|
|
3574
|
+
seqNo: 'number',
|
|
3575
|
+
srcPortEnd: 'number',
|
|
3576
|
+
srcPortStart: 'number',
|
|
3577
|
+
};
|
|
3578
|
+
}
|
|
3579
|
+
constructor(map) {
|
|
3580
|
+
super(map);
|
|
3581
|
+
}
|
|
3582
|
+
}
|
|
3583
|
+
exports.ListPolicyResponseBodyPolicyListContentPortRuleList = ListPolicyResponseBodyPolicyListContentPortRuleList;
|
|
3584
|
+
class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $tea.Model {
|
|
3585
|
+
static names() {
|
|
3586
|
+
return {
|
|
3587
|
+
blockExpireSeconds: 'BlockExpireSeconds',
|
|
3588
|
+
everySeconds: 'EverySeconds',
|
|
3589
|
+
exceedLimitTimes: 'ExceedLimitTimes',
|
|
3590
|
+
type: 'Type',
|
|
3591
|
+
};
|
|
3592
|
+
}
|
|
3593
|
+
static types() {
|
|
3594
|
+
return {
|
|
3595
|
+
blockExpireSeconds: 'number',
|
|
3596
|
+
everySeconds: 'number',
|
|
3597
|
+
exceedLimitTimes: 'number',
|
|
3598
|
+
type: 'number',
|
|
3599
|
+
};
|
|
3600
|
+
}
|
|
3601
|
+
constructor(map) {
|
|
3602
|
+
super(map);
|
|
3603
|
+
}
|
|
3604
|
+
}
|
|
3605
|
+
exports.ListPolicyResponseBodyPolicyListContentSourceBlockList = ListPolicyResponseBodyPolicyListContentSourceBlockList;
|
|
3606
|
+
class ListPolicyResponseBodyPolicyListContentSourceLimit extends $tea.Model {
|
|
3607
|
+
static names() {
|
|
3608
|
+
return {
|
|
3609
|
+
bps: 'Bps',
|
|
3610
|
+
pps: 'Pps',
|
|
3611
|
+
synBps: 'SynBps',
|
|
3612
|
+
synPps: 'SynPps',
|
|
3613
|
+
};
|
|
3614
|
+
}
|
|
3615
|
+
static types() {
|
|
3616
|
+
return {
|
|
3617
|
+
bps: 'number',
|
|
3618
|
+
pps: 'number',
|
|
3619
|
+
synBps: 'number',
|
|
3620
|
+
synPps: 'number',
|
|
3621
|
+
};
|
|
3622
|
+
}
|
|
3623
|
+
constructor(map) {
|
|
3624
|
+
super(map);
|
|
3625
|
+
}
|
|
3626
|
+
}
|
|
3627
|
+
exports.ListPolicyResponseBodyPolicyListContentSourceLimit = ListPolicyResponseBodyPolicyListContentSourceLimit;
|
|
3628
|
+
class ListPolicyResponseBodyPolicyListContent extends $tea.Model {
|
|
3629
|
+
static names() {
|
|
3630
|
+
return {
|
|
3631
|
+
blackIpListExpireAt: 'BlackIpListExpireAt',
|
|
3632
|
+
enableDropIcmp: 'EnableDropIcmp',
|
|
3633
|
+
enableIntelligence: 'EnableIntelligence',
|
|
3634
|
+
enableL4Defense: 'EnableL4Defense',
|
|
3635
|
+
fingerPrintRuleList: 'FingerPrintRuleList',
|
|
3636
|
+
intelligenceLevel: 'IntelligenceLevel',
|
|
3637
|
+
l4RuleList: 'L4RuleList',
|
|
3638
|
+
portRuleList: 'PortRuleList',
|
|
3639
|
+
reflectBlockUdpPortList: 'ReflectBlockUdpPortList',
|
|
3640
|
+
regionBlockCountryList: 'RegionBlockCountryList',
|
|
3641
|
+
regionBlockProvinceList: 'RegionBlockProvinceList',
|
|
3642
|
+
sourceBlockList: 'SourceBlockList',
|
|
3643
|
+
sourceLimit: 'SourceLimit',
|
|
3644
|
+
whitenGfbrNets: 'WhitenGfbrNets',
|
|
3645
|
+
};
|
|
3646
|
+
}
|
|
3647
|
+
static types() {
|
|
3648
|
+
return {
|
|
3649
|
+
blackIpListExpireAt: 'number',
|
|
3650
|
+
enableDropIcmp: 'boolean',
|
|
3651
|
+
enableIntelligence: 'boolean',
|
|
3652
|
+
enableL4Defense: 'boolean',
|
|
3653
|
+
fingerPrintRuleList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentFingerPrintRuleList },
|
|
3654
|
+
intelligenceLevel: 'string',
|
|
3655
|
+
l4RuleList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentL4RuleList },
|
|
3656
|
+
portRuleList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentPortRuleList },
|
|
3657
|
+
reflectBlockUdpPortList: { 'type': 'array', 'itemType': 'number' },
|
|
3658
|
+
regionBlockCountryList: { 'type': 'array', 'itemType': 'number' },
|
|
3659
|
+
regionBlockProvinceList: { 'type': 'array', 'itemType': 'number' },
|
|
3660
|
+
sourceBlockList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentSourceBlockList },
|
|
3661
|
+
sourceLimit: ListPolicyResponseBodyPolicyListContentSourceLimit,
|
|
3662
|
+
whitenGfbrNets: 'boolean',
|
|
3663
|
+
};
|
|
3664
|
+
}
|
|
3665
|
+
constructor(map) {
|
|
3666
|
+
super(map);
|
|
3667
|
+
}
|
|
3668
|
+
}
|
|
3669
|
+
exports.ListPolicyResponseBodyPolicyListContent = ListPolicyResponseBodyPolicyListContent;
|
|
3670
|
+
class ListPolicyResponseBodyPolicyList extends $tea.Model {
|
|
3671
|
+
static names() {
|
|
3672
|
+
return {
|
|
3673
|
+
attachedCount: 'AttachedCount',
|
|
3674
|
+
content: 'Content',
|
|
3675
|
+
id: 'Id',
|
|
3676
|
+
name: 'Name',
|
|
3677
|
+
type: 'Type',
|
|
3678
|
+
};
|
|
3679
|
+
}
|
|
3680
|
+
static types() {
|
|
3681
|
+
return {
|
|
3682
|
+
attachedCount: 'number',
|
|
3683
|
+
content: ListPolicyResponseBodyPolicyListContent,
|
|
3684
|
+
id: 'string',
|
|
3685
|
+
name: 'string',
|
|
3686
|
+
type: 'string',
|
|
3687
|
+
};
|
|
3688
|
+
}
|
|
3689
|
+
constructor(map) {
|
|
3690
|
+
super(map);
|
|
3691
|
+
}
|
|
3692
|
+
}
|
|
3693
|
+
exports.ListPolicyResponseBodyPolicyList = ListPolicyResponseBodyPolicyList;
|
|
3694
|
+
class ListPolicyAttachmentRequestIpPortProtocolList extends $tea.Model {
|
|
3695
|
+
static names() {
|
|
3696
|
+
return {
|
|
3697
|
+
ip: 'Ip',
|
|
3698
|
+
port: 'Port',
|
|
3699
|
+
protocol: 'Protocol',
|
|
3700
|
+
};
|
|
3701
|
+
}
|
|
3702
|
+
static types() {
|
|
3703
|
+
return {
|
|
3704
|
+
ip: 'string',
|
|
3705
|
+
port: 'number',
|
|
3706
|
+
protocol: 'string',
|
|
3707
|
+
};
|
|
3708
|
+
}
|
|
3709
|
+
constructor(map) {
|
|
3710
|
+
super(map);
|
|
3711
|
+
}
|
|
3712
|
+
}
|
|
3713
|
+
exports.ListPolicyAttachmentRequestIpPortProtocolList = ListPolicyAttachmentRequestIpPortProtocolList;
|
|
3714
|
+
class ListPolicyAttachmentResponseBodyAttachmentList extends $tea.Model {
|
|
3715
|
+
static names() {
|
|
3716
|
+
return {
|
|
3717
|
+
ip: 'Ip',
|
|
3718
|
+
memberUid: 'MemberUid',
|
|
3719
|
+
policyId: 'PolicyId',
|
|
3720
|
+
policyName: 'PolicyName',
|
|
3721
|
+
policyType: 'PolicyType',
|
|
3722
|
+
port: 'Port',
|
|
3723
|
+
protocol: 'Protocol',
|
|
3724
|
+
region: 'Region',
|
|
3725
|
+
};
|
|
3726
|
+
}
|
|
3727
|
+
static types() {
|
|
3728
|
+
return {
|
|
3729
|
+
ip: 'string',
|
|
3730
|
+
memberUid: 'string',
|
|
3731
|
+
policyId: 'string',
|
|
3732
|
+
policyName: 'string',
|
|
3733
|
+
policyType: 'string',
|
|
3734
|
+
port: 'number',
|
|
3735
|
+
protocol: 'string',
|
|
3736
|
+
region: 'string',
|
|
3737
|
+
};
|
|
3738
|
+
}
|
|
3739
|
+
constructor(map) {
|
|
3740
|
+
super(map);
|
|
3741
|
+
}
|
|
3742
|
+
}
|
|
3743
|
+
exports.ListPolicyAttachmentResponseBodyAttachmentList = ListPolicyAttachmentResponseBodyAttachmentList;
|
|
2967
3744
|
class ListTagKeysResponseBodyTagKeys extends $tea.Model {
|
|
2968
3745
|
static names() {
|
|
2969
3746
|
return {
|
|
@@ -3038,6 +3815,418 @@ class ListTagResourcesResponseBodyTagResources extends $tea.Model {
|
|
|
3038
3815
|
}
|
|
3039
3816
|
}
|
|
3040
3817
|
exports.ListTagResourcesResponseBodyTagResources = ListTagResourcesResponseBodyTagResources;
|
|
3818
|
+
class ModifyPolicyRequestContentFingerPrintRuleList extends $tea.Model {
|
|
3819
|
+
static names() {
|
|
3820
|
+
return {
|
|
3821
|
+
dstPortEnd: 'DstPortEnd',
|
|
3822
|
+
dstPortStart: 'DstPortStart',
|
|
3823
|
+
id: 'Id',
|
|
3824
|
+
matchAction: 'MatchAction',
|
|
3825
|
+
maxPktLen: 'MaxPktLen',
|
|
3826
|
+
minPktLen: 'MinPktLen',
|
|
3827
|
+
offset: 'Offset',
|
|
3828
|
+
payloadBytes: 'PayloadBytes',
|
|
3829
|
+
protocol: 'Protocol',
|
|
3830
|
+
rateValue: 'RateValue',
|
|
3831
|
+
seqNo: 'SeqNo',
|
|
3832
|
+
srcPortEnd: 'SrcPortEnd',
|
|
3833
|
+
srcPortStart: 'SrcPortStart',
|
|
3834
|
+
};
|
|
3835
|
+
}
|
|
3836
|
+
static types() {
|
|
3837
|
+
return {
|
|
3838
|
+
dstPortEnd: 'number',
|
|
3839
|
+
dstPortStart: 'number',
|
|
3840
|
+
id: 'string',
|
|
3841
|
+
matchAction: 'string',
|
|
3842
|
+
maxPktLen: 'number',
|
|
3843
|
+
minPktLen: 'number',
|
|
3844
|
+
offset: 'number',
|
|
3845
|
+
payloadBytes: 'string',
|
|
3846
|
+
protocol: 'string',
|
|
3847
|
+
rateValue: 'number',
|
|
3848
|
+
seqNo: 'number',
|
|
3849
|
+
srcPortEnd: 'number',
|
|
3850
|
+
srcPortStart: 'number',
|
|
3851
|
+
};
|
|
3852
|
+
}
|
|
3853
|
+
constructor(map) {
|
|
3854
|
+
super(map);
|
|
3855
|
+
}
|
|
3856
|
+
}
|
|
3857
|
+
exports.ModifyPolicyRequestContentFingerPrintRuleList = ModifyPolicyRequestContentFingerPrintRuleList;
|
|
3858
|
+
class ModifyPolicyRequestContentL4RuleListConditionList extends $tea.Model {
|
|
3859
|
+
static names() {
|
|
3860
|
+
return {
|
|
3861
|
+
arg: 'Arg',
|
|
3862
|
+
depth: 'Depth',
|
|
3863
|
+
position: 'Position',
|
|
3864
|
+
};
|
|
3865
|
+
}
|
|
3866
|
+
static types() {
|
|
3867
|
+
return {
|
|
3868
|
+
arg: 'string',
|
|
3869
|
+
depth: 'number',
|
|
3870
|
+
position: 'number',
|
|
3871
|
+
};
|
|
3872
|
+
}
|
|
3873
|
+
constructor(map) {
|
|
3874
|
+
super(map);
|
|
3875
|
+
}
|
|
3876
|
+
}
|
|
3877
|
+
exports.ModifyPolicyRequestContentL4RuleListConditionList = ModifyPolicyRequestContentL4RuleListConditionList;
|
|
3878
|
+
class ModifyPolicyRequestContentL4RuleList extends $tea.Model {
|
|
3879
|
+
static names() {
|
|
3880
|
+
return {
|
|
3881
|
+
action: 'Action',
|
|
3882
|
+
conditionList: 'ConditionList',
|
|
3883
|
+
limited: 'Limited',
|
|
3884
|
+
match: 'Match',
|
|
3885
|
+
method: 'Method',
|
|
3886
|
+
name: 'Name',
|
|
3887
|
+
priority: 'Priority',
|
|
3888
|
+
};
|
|
3889
|
+
}
|
|
3890
|
+
static types() {
|
|
3891
|
+
return {
|
|
3892
|
+
action: 'string',
|
|
3893
|
+
conditionList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentL4RuleListConditionList },
|
|
3894
|
+
limited: 'number',
|
|
3895
|
+
match: 'string',
|
|
3896
|
+
method: 'string',
|
|
3897
|
+
name: 'string',
|
|
3898
|
+
priority: 'number',
|
|
3899
|
+
};
|
|
3900
|
+
}
|
|
3901
|
+
constructor(map) {
|
|
3902
|
+
super(map);
|
|
3903
|
+
}
|
|
3904
|
+
}
|
|
3905
|
+
exports.ModifyPolicyRequestContentL4RuleList = ModifyPolicyRequestContentL4RuleList;
|
|
3906
|
+
class ModifyPolicyRequestContentPortRuleList extends $tea.Model {
|
|
3907
|
+
static names() {
|
|
3908
|
+
return {
|
|
3909
|
+
dstPortEnd: 'DstPortEnd',
|
|
3910
|
+
dstPortStart: 'DstPortStart',
|
|
3911
|
+
id: 'Id',
|
|
3912
|
+
matchAction: 'MatchAction',
|
|
3913
|
+
protocol: 'Protocol',
|
|
3914
|
+
seqNo: 'SeqNo',
|
|
3915
|
+
srcPortEnd: 'SrcPortEnd',
|
|
3916
|
+
srcPortStart: 'SrcPortStart',
|
|
3917
|
+
};
|
|
3918
|
+
}
|
|
3919
|
+
static types() {
|
|
3920
|
+
return {
|
|
3921
|
+
dstPortEnd: 'number',
|
|
3922
|
+
dstPortStart: 'number',
|
|
3923
|
+
id: 'string',
|
|
3924
|
+
matchAction: 'string',
|
|
3925
|
+
protocol: 'string',
|
|
3926
|
+
seqNo: 'number',
|
|
3927
|
+
srcPortEnd: 'number',
|
|
3928
|
+
srcPortStart: 'number',
|
|
3929
|
+
};
|
|
3930
|
+
}
|
|
3931
|
+
constructor(map) {
|
|
3932
|
+
super(map);
|
|
3933
|
+
}
|
|
3934
|
+
}
|
|
3935
|
+
exports.ModifyPolicyRequestContentPortRuleList = ModifyPolicyRequestContentPortRuleList;
|
|
3936
|
+
class ModifyPolicyRequestContentSourceBlockList extends $tea.Model {
|
|
3937
|
+
static names() {
|
|
3938
|
+
return {
|
|
3939
|
+
blockExpireSeconds: 'BlockExpireSeconds',
|
|
3940
|
+
everySeconds: 'EverySeconds',
|
|
3941
|
+
exceedLimitTimes: 'ExceedLimitTimes',
|
|
3942
|
+
type: 'Type',
|
|
3943
|
+
};
|
|
3944
|
+
}
|
|
3945
|
+
static types() {
|
|
3946
|
+
return {
|
|
3947
|
+
blockExpireSeconds: 'number',
|
|
3948
|
+
everySeconds: 'number',
|
|
3949
|
+
exceedLimitTimes: 'number',
|
|
3950
|
+
type: 'number',
|
|
3951
|
+
};
|
|
3952
|
+
}
|
|
3953
|
+
constructor(map) {
|
|
3954
|
+
super(map);
|
|
3955
|
+
}
|
|
3956
|
+
}
|
|
3957
|
+
exports.ModifyPolicyRequestContentSourceBlockList = ModifyPolicyRequestContentSourceBlockList;
|
|
3958
|
+
class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
|
|
3959
|
+
static names() {
|
|
3960
|
+
return {
|
|
3961
|
+
bps: 'Bps',
|
|
3962
|
+
pps: 'Pps',
|
|
3963
|
+
synBps: 'SynBps',
|
|
3964
|
+
synPps: 'SynPps',
|
|
3965
|
+
};
|
|
3966
|
+
}
|
|
3967
|
+
static types() {
|
|
3968
|
+
return {
|
|
3969
|
+
bps: 'number',
|
|
3970
|
+
pps: 'number',
|
|
3971
|
+
synBps: 'number',
|
|
3972
|
+
synPps: 'number',
|
|
3973
|
+
};
|
|
3974
|
+
}
|
|
3975
|
+
constructor(map) {
|
|
3976
|
+
super(map);
|
|
3977
|
+
}
|
|
3978
|
+
}
|
|
3979
|
+
exports.ModifyPolicyRequestContentSourceLimit = ModifyPolicyRequestContentSourceLimit;
|
|
3980
|
+
class ModifyPolicyRequestContent extends $tea.Model {
|
|
3981
|
+
static names() {
|
|
3982
|
+
return {
|
|
3983
|
+
blackIpList: 'BlackIpList',
|
|
3984
|
+
blackIpListExpireAt: 'BlackIpListExpireAt',
|
|
3985
|
+
enableDropIcmp: 'EnableDropIcmp',
|
|
3986
|
+
enableIntelligence: 'EnableIntelligence',
|
|
3987
|
+
enableL4Defense: 'EnableL4Defense',
|
|
3988
|
+
fingerPrintRuleList: 'FingerPrintRuleList',
|
|
3989
|
+
intelligenceLevel: 'IntelligenceLevel',
|
|
3990
|
+
l4RuleList: 'L4RuleList',
|
|
3991
|
+
portRuleList: 'PortRuleList',
|
|
3992
|
+
reflectBlockUdpPortList: 'ReflectBlockUdpPortList',
|
|
3993
|
+
regionBlockCountryList: 'RegionBlockCountryList',
|
|
3994
|
+
regionBlockProvinceList: 'RegionBlockProvinceList',
|
|
3995
|
+
sourceBlockList: 'SourceBlockList',
|
|
3996
|
+
sourceLimit: 'SourceLimit',
|
|
3997
|
+
whiteIpList: 'WhiteIpList',
|
|
3998
|
+
whitenGfbrNets: 'WhitenGfbrNets',
|
|
3999
|
+
};
|
|
4000
|
+
}
|
|
4001
|
+
static types() {
|
|
4002
|
+
return {
|
|
4003
|
+
blackIpList: { 'type': 'array', 'itemType': 'string' },
|
|
4004
|
+
blackIpListExpireAt: 'number',
|
|
4005
|
+
enableDropIcmp: 'boolean',
|
|
4006
|
+
enableIntelligence: 'boolean',
|
|
4007
|
+
enableL4Defense: 'boolean',
|
|
4008
|
+
fingerPrintRuleList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentFingerPrintRuleList },
|
|
4009
|
+
intelligenceLevel: 'string',
|
|
4010
|
+
l4RuleList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentL4RuleList },
|
|
4011
|
+
portRuleList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentPortRuleList },
|
|
4012
|
+
reflectBlockUdpPortList: { 'type': 'array', 'itemType': 'number' },
|
|
4013
|
+
regionBlockCountryList: { 'type': 'array', 'itemType': 'number' },
|
|
4014
|
+
regionBlockProvinceList: { 'type': 'array', 'itemType': 'number' },
|
|
4015
|
+
sourceBlockList: { 'type': 'array', 'itemType': ModifyPolicyRequestContentSourceBlockList },
|
|
4016
|
+
sourceLimit: ModifyPolicyRequestContentSourceLimit,
|
|
4017
|
+
whiteIpList: { 'type': 'array', 'itemType': 'string' },
|
|
4018
|
+
whitenGfbrNets: 'boolean',
|
|
4019
|
+
};
|
|
4020
|
+
}
|
|
4021
|
+
constructor(map) {
|
|
4022
|
+
super(map);
|
|
4023
|
+
}
|
|
4024
|
+
}
|
|
4025
|
+
exports.ModifyPolicyRequestContent = ModifyPolicyRequestContent;
|
|
4026
|
+
class ModifyPolicyContentRequestContentFingerPrintRuleList extends $tea.Model {
|
|
4027
|
+
static names() {
|
|
4028
|
+
return {
|
|
4029
|
+
dstPortEnd: 'DstPortEnd',
|
|
4030
|
+
dstPortStart: 'DstPortStart',
|
|
4031
|
+
id: 'Id',
|
|
4032
|
+
matchAction: 'MatchAction',
|
|
4033
|
+
maxPktLen: 'MaxPktLen',
|
|
4034
|
+
minPktLen: 'MinPktLen',
|
|
4035
|
+
offset: 'Offset',
|
|
4036
|
+
payloadBytes: 'PayloadBytes',
|
|
4037
|
+
protocol: 'Protocol',
|
|
4038
|
+
rateValue: 'RateValue',
|
|
4039
|
+
seqNo: 'SeqNo',
|
|
4040
|
+
srcPortEnd: 'SrcPortEnd',
|
|
4041
|
+
srcPortStart: 'SrcPortStart',
|
|
4042
|
+
};
|
|
4043
|
+
}
|
|
4044
|
+
static types() {
|
|
4045
|
+
return {
|
|
4046
|
+
dstPortEnd: 'number',
|
|
4047
|
+
dstPortStart: 'number',
|
|
4048
|
+
id: 'string',
|
|
4049
|
+
matchAction: 'string',
|
|
4050
|
+
maxPktLen: 'number',
|
|
4051
|
+
minPktLen: 'number',
|
|
4052
|
+
offset: 'number',
|
|
4053
|
+
payloadBytes: 'string',
|
|
4054
|
+
protocol: 'string',
|
|
4055
|
+
rateValue: 'number',
|
|
4056
|
+
seqNo: 'number',
|
|
4057
|
+
srcPortEnd: 'number',
|
|
4058
|
+
srcPortStart: 'number',
|
|
4059
|
+
};
|
|
4060
|
+
}
|
|
4061
|
+
constructor(map) {
|
|
4062
|
+
super(map);
|
|
4063
|
+
}
|
|
4064
|
+
}
|
|
4065
|
+
exports.ModifyPolicyContentRequestContentFingerPrintRuleList = ModifyPolicyContentRequestContentFingerPrintRuleList;
|
|
4066
|
+
class ModifyPolicyContentRequestContentL4RuleListConditionList extends $tea.Model {
|
|
4067
|
+
static names() {
|
|
4068
|
+
return {
|
|
4069
|
+
arg: 'Arg',
|
|
4070
|
+
depth: 'Depth',
|
|
4071
|
+
position: 'Position',
|
|
4072
|
+
};
|
|
4073
|
+
}
|
|
4074
|
+
static types() {
|
|
4075
|
+
return {
|
|
4076
|
+
arg: 'string',
|
|
4077
|
+
depth: 'number',
|
|
4078
|
+
position: 'number',
|
|
4079
|
+
};
|
|
4080
|
+
}
|
|
4081
|
+
constructor(map) {
|
|
4082
|
+
super(map);
|
|
4083
|
+
}
|
|
4084
|
+
}
|
|
4085
|
+
exports.ModifyPolicyContentRequestContentL4RuleListConditionList = ModifyPolicyContentRequestContentL4RuleListConditionList;
|
|
4086
|
+
class ModifyPolicyContentRequestContentL4RuleList extends $tea.Model {
|
|
4087
|
+
static names() {
|
|
4088
|
+
return {
|
|
4089
|
+
action: 'Action',
|
|
4090
|
+
conditionList: 'ConditionList',
|
|
4091
|
+
limited: 'Limited',
|
|
4092
|
+
match: 'Match',
|
|
4093
|
+
method: 'Method',
|
|
4094
|
+
name: 'Name',
|
|
4095
|
+
priority: 'Priority',
|
|
4096
|
+
};
|
|
4097
|
+
}
|
|
4098
|
+
static types() {
|
|
4099
|
+
return {
|
|
4100
|
+
action: 'string',
|
|
4101
|
+
conditionList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentL4RuleListConditionList },
|
|
4102
|
+
limited: 'number',
|
|
4103
|
+
match: 'string',
|
|
4104
|
+
method: 'string',
|
|
4105
|
+
name: 'string',
|
|
4106
|
+
priority: 'number',
|
|
4107
|
+
};
|
|
4108
|
+
}
|
|
4109
|
+
constructor(map) {
|
|
4110
|
+
super(map);
|
|
4111
|
+
}
|
|
4112
|
+
}
|
|
4113
|
+
exports.ModifyPolicyContentRequestContentL4RuleList = ModifyPolicyContentRequestContentL4RuleList;
|
|
4114
|
+
class ModifyPolicyContentRequestContentPortRuleList extends $tea.Model {
|
|
4115
|
+
static names() {
|
|
4116
|
+
return {
|
|
4117
|
+
dstPortEnd: 'DstPortEnd',
|
|
4118
|
+
dstPortStart: 'DstPortStart',
|
|
4119
|
+
id: 'Id',
|
|
4120
|
+
matchAction: 'MatchAction',
|
|
4121
|
+
protocol: 'Protocol',
|
|
4122
|
+
seqNo: 'SeqNo',
|
|
4123
|
+
srcPortEnd: 'SrcPortEnd',
|
|
4124
|
+
srcPortStart: 'SrcPortStart',
|
|
4125
|
+
};
|
|
4126
|
+
}
|
|
4127
|
+
static types() {
|
|
4128
|
+
return {
|
|
4129
|
+
dstPortEnd: 'number',
|
|
4130
|
+
dstPortStart: 'number',
|
|
4131
|
+
id: 'string',
|
|
4132
|
+
matchAction: 'string',
|
|
4133
|
+
protocol: 'string',
|
|
4134
|
+
seqNo: 'number',
|
|
4135
|
+
srcPortEnd: 'number',
|
|
4136
|
+
srcPortStart: 'number',
|
|
4137
|
+
};
|
|
4138
|
+
}
|
|
4139
|
+
constructor(map) {
|
|
4140
|
+
super(map);
|
|
4141
|
+
}
|
|
4142
|
+
}
|
|
4143
|
+
exports.ModifyPolicyContentRequestContentPortRuleList = ModifyPolicyContentRequestContentPortRuleList;
|
|
4144
|
+
class ModifyPolicyContentRequestContentSourceBlockList extends $tea.Model {
|
|
4145
|
+
static names() {
|
|
4146
|
+
return {
|
|
4147
|
+
blockExpireSeconds: 'BlockExpireSeconds',
|
|
4148
|
+
everySeconds: 'EverySeconds',
|
|
4149
|
+
exceedLimitTimes: 'ExceedLimitTimes',
|
|
4150
|
+
type: 'Type',
|
|
4151
|
+
};
|
|
4152
|
+
}
|
|
4153
|
+
static types() {
|
|
4154
|
+
return {
|
|
4155
|
+
blockExpireSeconds: 'number',
|
|
4156
|
+
everySeconds: 'number',
|
|
4157
|
+
exceedLimitTimes: 'number',
|
|
4158
|
+
type: 'number',
|
|
4159
|
+
};
|
|
4160
|
+
}
|
|
4161
|
+
constructor(map) {
|
|
4162
|
+
super(map);
|
|
4163
|
+
}
|
|
4164
|
+
}
|
|
4165
|
+
exports.ModifyPolicyContentRequestContentSourceBlockList = ModifyPolicyContentRequestContentSourceBlockList;
|
|
4166
|
+
class ModifyPolicyContentRequestContentSourceLimit extends $tea.Model {
|
|
4167
|
+
static names() {
|
|
4168
|
+
return {
|
|
4169
|
+
bps: 'Bps',
|
|
4170
|
+
pps: 'Pps',
|
|
4171
|
+
synBps: 'SynBps',
|
|
4172
|
+
synPps: 'SynPps',
|
|
4173
|
+
};
|
|
4174
|
+
}
|
|
4175
|
+
static types() {
|
|
4176
|
+
return {
|
|
4177
|
+
bps: 'number',
|
|
4178
|
+
pps: 'number',
|
|
4179
|
+
synBps: 'number',
|
|
4180
|
+
synPps: 'number',
|
|
4181
|
+
};
|
|
4182
|
+
}
|
|
4183
|
+
constructor(map) {
|
|
4184
|
+
super(map);
|
|
4185
|
+
}
|
|
4186
|
+
}
|
|
4187
|
+
exports.ModifyPolicyContentRequestContentSourceLimit = ModifyPolicyContentRequestContentSourceLimit;
|
|
4188
|
+
class ModifyPolicyContentRequestContent extends $tea.Model {
|
|
4189
|
+
static names() {
|
|
4190
|
+
return {
|
|
4191
|
+
blackIpListExpireAt: 'BlackIpListExpireAt',
|
|
4192
|
+
enableDropIcmp: 'EnableDropIcmp',
|
|
4193
|
+
enableIntelligence: 'EnableIntelligence',
|
|
4194
|
+
enableL4Defense: 'EnableL4Defense',
|
|
4195
|
+
fingerPrintRuleList: 'FingerPrintRuleList',
|
|
4196
|
+
intelligenceLevel: 'IntelligenceLevel',
|
|
4197
|
+
l4RuleList: 'L4RuleList',
|
|
4198
|
+
portRuleList: 'PortRuleList',
|
|
4199
|
+
reflectBlockUdpPortList: 'ReflectBlockUdpPortList',
|
|
4200
|
+
regionBlockCountryList: 'RegionBlockCountryList',
|
|
4201
|
+
regionBlockProvinceList: 'RegionBlockProvinceList',
|
|
4202
|
+
sourceBlockList: 'SourceBlockList',
|
|
4203
|
+
sourceLimit: 'SourceLimit',
|
|
4204
|
+
whitenGfbrNets: 'WhitenGfbrNets',
|
|
4205
|
+
};
|
|
4206
|
+
}
|
|
4207
|
+
static types() {
|
|
4208
|
+
return {
|
|
4209
|
+
blackIpListExpireAt: 'number',
|
|
4210
|
+
enableDropIcmp: 'boolean',
|
|
4211
|
+
enableIntelligence: 'boolean',
|
|
4212
|
+
enableL4Defense: 'boolean',
|
|
4213
|
+
fingerPrintRuleList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentFingerPrintRuleList },
|
|
4214
|
+
intelligenceLevel: 'string',
|
|
4215
|
+
l4RuleList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentL4RuleList },
|
|
4216
|
+
portRuleList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentPortRuleList },
|
|
4217
|
+
reflectBlockUdpPortList: { 'type': 'array', 'itemType': 'number' },
|
|
4218
|
+
regionBlockCountryList: { 'type': 'array', 'itemType': 'number' },
|
|
4219
|
+
regionBlockProvinceList: { 'type': 'array', 'itemType': 'number' },
|
|
4220
|
+
sourceBlockList: { 'type': 'array', 'itemType': ModifyPolicyContentRequestContentSourceBlockList },
|
|
4221
|
+
sourceLimit: ModifyPolicyContentRequestContentSourceLimit,
|
|
4222
|
+
whitenGfbrNets: 'boolean',
|
|
4223
|
+
};
|
|
4224
|
+
}
|
|
4225
|
+
constructor(map) {
|
|
4226
|
+
super(map);
|
|
4227
|
+
}
|
|
4228
|
+
}
|
|
4229
|
+
exports.ModifyPolicyContentRequestContent = ModifyPolicyContentRequestContent;
|
|
3041
4230
|
class QuerySchedruleOnDemandResponseBodyRuleConfig extends $tea.Model {
|
|
3042
4231
|
static names() {
|
|
3043
4232
|
return {
|
|
@@ -3146,6 +4335,13 @@ class Client extends openapi_client_1.default {
|
|
|
3146
4335
|
}
|
|
3147
4336
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
3148
4337
|
}
|
|
4338
|
+
/**
|
|
4339
|
+
* @summary Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
|
|
4340
|
+
*
|
|
4341
|
+
* @param request AddIpRequest
|
|
4342
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4343
|
+
* @return AddIpResponse
|
|
4344
|
+
*/
|
|
3149
4345
|
async addIpWithOptions(request, runtime) {
|
|
3150
4346
|
tea_util_1.default.validateModel(request);
|
|
3151
4347
|
let query = {};
|
|
@@ -3177,10 +4373,23 @@ class Client extends openapi_client_1.default {
|
|
|
3177
4373
|
});
|
|
3178
4374
|
return $tea.cast(await this.callApi(params, req, runtime), new AddIpResponse({}));
|
|
3179
4375
|
}
|
|
4376
|
+
/**
|
|
4377
|
+
* @summary Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
|
|
4378
|
+
*
|
|
4379
|
+
* @param request AddIpRequest
|
|
4380
|
+
* @return AddIpResponse
|
|
4381
|
+
*/
|
|
3180
4382
|
async addIp(request) {
|
|
3181
4383
|
let runtime = new $Util.RuntimeOptions({});
|
|
3182
4384
|
return await this.addIpWithOptions(request, runtime);
|
|
3183
4385
|
}
|
|
4386
|
+
/**
|
|
4387
|
+
* @summary 添加资源目录成员账号列表
|
|
4388
|
+
*
|
|
4389
|
+
* @param tmpReq AddRdMemberListRequest
|
|
4390
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4391
|
+
* @return AddRdMemberListResponse
|
|
4392
|
+
*/
|
|
3184
4393
|
async addRdMemberListWithOptions(tmpReq, runtime) {
|
|
3185
4394
|
tea_util_1.default.validateModel(tmpReq);
|
|
3186
4395
|
let request = new AddRdMemberListShrinkRequest({});
|
|
@@ -3208,10 +4417,23 @@ class Client extends openapi_client_1.default {
|
|
|
3208
4417
|
});
|
|
3209
4418
|
return $tea.cast(await this.callApi(params, req, runtime), new AddRdMemberListResponse({}));
|
|
3210
4419
|
}
|
|
4420
|
+
/**
|
|
4421
|
+
* @summary 添加资源目录成员账号列表
|
|
4422
|
+
*
|
|
4423
|
+
* @param request AddRdMemberListRequest
|
|
4424
|
+
* @return AddRdMemberListResponse
|
|
4425
|
+
*/
|
|
3211
4426
|
async addRdMemberList(request) {
|
|
3212
4427
|
let runtime = new $Util.RuntimeOptions({});
|
|
3213
4428
|
return await this.addRdMemberListWithOptions(request, runtime);
|
|
3214
4429
|
}
|
|
4430
|
+
/**
|
|
4431
|
+
* @summary Associates an asset with an Anti-DDoS Origin instance of a paid edition.
|
|
4432
|
+
*
|
|
4433
|
+
* @param tmpReq AttachAssetGroupToInstanceRequest
|
|
4434
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4435
|
+
* @return AttachAssetGroupToInstanceResponse
|
|
4436
|
+
*/
|
|
3215
4437
|
async attachAssetGroupToInstanceWithOptions(tmpReq, runtime) {
|
|
3216
4438
|
tea_util_1.default.validateModel(tmpReq);
|
|
3217
4439
|
let request = new AttachAssetGroupToInstanceShrinkRequest({});
|
|
@@ -3229,9 +4451,6 @@ class Client extends openapi_client_1.default {
|
|
|
3229
4451
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3230
4452
|
query["RegionId"] = request.regionId;
|
|
3231
4453
|
}
|
|
3232
|
-
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
3233
|
-
query["SourceIp"] = request.sourceIp;
|
|
3234
|
-
}
|
|
3235
4454
|
let req = new $OpenApi.OpenApiRequest({
|
|
3236
4455
|
query: openapi_util_1.default.query(query),
|
|
3237
4456
|
});
|
|
@@ -3248,10 +4467,23 @@ class Client extends openapi_client_1.default {
|
|
|
3248
4467
|
});
|
|
3249
4468
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachAssetGroupToInstanceResponse({}));
|
|
3250
4469
|
}
|
|
4470
|
+
/**
|
|
4471
|
+
* @summary Associates an asset with an Anti-DDoS Origin instance of a paid edition.
|
|
4472
|
+
*
|
|
4473
|
+
* @param request AttachAssetGroupToInstanceRequest
|
|
4474
|
+
* @return AttachAssetGroupToInstanceResponse
|
|
4475
|
+
*/
|
|
3251
4476
|
async attachAssetGroupToInstance(request) {
|
|
3252
4477
|
let runtime = new $Util.RuntimeOptions({});
|
|
3253
4478
|
return await this.attachAssetGroupToInstanceWithOptions(request, runtime);
|
|
3254
4479
|
}
|
|
4480
|
+
/**
|
|
4481
|
+
* @summary Checks whether Anti-DDoS Origin is authorized to access Log Service.
|
|
4482
|
+
*
|
|
4483
|
+
* @param request CheckAccessLogAuthRequest
|
|
4484
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4485
|
+
* @return CheckAccessLogAuthResponse
|
|
4486
|
+
*/
|
|
3255
4487
|
async checkAccessLogAuthWithOptions(request, runtime) {
|
|
3256
4488
|
tea_util_1.default.validateModel(request);
|
|
3257
4489
|
let query = {};
|
|
@@ -3277,18 +4509,26 @@ class Client extends openapi_client_1.default {
|
|
|
3277
4509
|
});
|
|
3278
4510
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckAccessLogAuthResponse({}));
|
|
3279
4511
|
}
|
|
4512
|
+
/**
|
|
4513
|
+
* @summary Checks whether Anti-DDoS Origin is authorized to access Log Service.
|
|
4514
|
+
*
|
|
4515
|
+
* @param request CheckAccessLogAuthRequest
|
|
4516
|
+
* @return CheckAccessLogAuthResponse
|
|
4517
|
+
*/
|
|
3280
4518
|
async checkAccessLogAuth(request) {
|
|
3281
4519
|
let runtime = new $Util.RuntimeOptions({});
|
|
3282
4520
|
return await this.checkAccessLogAuthWithOptions(request, runtime);
|
|
3283
4521
|
}
|
|
3284
4522
|
/**
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
4523
|
+
* @summary Queries whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
4524
|
+
*
|
|
4525
|
+
* @description You can call the CheckGrant operation to query whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
4526
|
+
* ### Limits
|
|
4527
|
+
* 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
|
+
*
|
|
4529
|
+
* @param request CheckGrantRequest
|
|
4530
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4531
|
+
* @return CheckGrantResponse
|
|
3292
4532
|
*/
|
|
3293
4533
|
async checkGrantWithOptions(request, runtime) {
|
|
3294
4534
|
tea_util_1.default.validateModel(request);
|
|
@@ -3310,17 +4550,24 @@ class Client extends openapi_client_1.default {
|
|
|
3310
4550
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckGrantResponse({}));
|
|
3311
4551
|
}
|
|
3312
4552
|
/**
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
4553
|
+
* @summary Queries whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
4554
|
+
*
|
|
4555
|
+
* @description You can call the CheckGrant operation to query whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
4556
|
+
* ### Limits
|
|
4557
|
+
* 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
|
+
*
|
|
4559
|
+
* @param request CheckGrantRequest
|
|
4560
|
+
* @return CheckGrantResponse
|
|
3319
4561
|
*/
|
|
3320
4562
|
async checkGrant(request) {
|
|
3321
4563
|
let runtime = new $Util.RuntimeOptions({});
|
|
3322
4564
|
return await this.checkGrantWithOptions(request, runtime);
|
|
3323
4565
|
}
|
|
4566
|
+
/**
|
|
4567
|
+
* @param request ConfigSchedruleOnDemandRequest
|
|
4568
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4569
|
+
* @return ConfigSchedruleOnDemandResponse
|
|
4570
|
+
*/
|
|
3324
4571
|
async configSchedruleOnDemandWithOptions(request, runtime) {
|
|
3325
4572
|
tea_util_1.default.validateModel(request);
|
|
3326
4573
|
let query = {};
|
|
@@ -3376,10 +4623,63 @@ class Client extends openapi_client_1.default {
|
|
|
3376
4623
|
});
|
|
3377
4624
|
return $tea.cast(await this.callApi(params, req, runtime), new ConfigSchedruleOnDemandResponse({}));
|
|
3378
4625
|
}
|
|
4626
|
+
/**
|
|
4627
|
+
* @param request ConfigSchedruleOnDemandRequest
|
|
4628
|
+
* @return ConfigSchedruleOnDemandResponse
|
|
4629
|
+
*/
|
|
3379
4630
|
async configSchedruleOnDemand(request) {
|
|
3380
4631
|
let runtime = new $Util.RuntimeOptions({});
|
|
3381
|
-
return await this.configSchedruleOnDemandWithOptions(request, runtime);
|
|
4632
|
+
return await this.configSchedruleOnDemandWithOptions(request, runtime);
|
|
4633
|
+
}
|
|
4634
|
+
/**
|
|
4635
|
+
* @summary 创建策略
|
|
4636
|
+
*
|
|
4637
|
+
* @param request CreatePolicyRequest
|
|
4638
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4639
|
+
* @return CreatePolicyResponse
|
|
4640
|
+
*/
|
|
4641
|
+
async createPolicyWithOptions(request, runtime) {
|
|
4642
|
+
tea_util_1.default.validateModel(request);
|
|
4643
|
+
let query = {};
|
|
4644
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
4645
|
+
query["Name"] = request.name;
|
|
4646
|
+
}
|
|
4647
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
4648
|
+
query["Type"] = request.type;
|
|
4649
|
+
}
|
|
4650
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4651
|
+
query: openapi_util_1.default.query(query),
|
|
4652
|
+
});
|
|
4653
|
+
let params = new $OpenApi.Params({
|
|
4654
|
+
action: "CreatePolicy",
|
|
4655
|
+
version: "2018-07-20",
|
|
4656
|
+
protocol: "HTTPS",
|
|
4657
|
+
pathname: "/",
|
|
4658
|
+
method: "POST",
|
|
4659
|
+
authType: "AK",
|
|
4660
|
+
style: "RPC",
|
|
4661
|
+
reqBodyType: "formData",
|
|
4662
|
+
bodyType: "json",
|
|
4663
|
+
});
|
|
4664
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreatePolicyResponse({}));
|
|
4665
|
+
}
|
|
4666
|
+
/**
|
|
4667
|
+
* @summary 创建策略
|
|
4668
|
+
*
|
|
4669
|
+
* @param request CreatePolicyRequest
|
|
4670
|
+
* @return CreatePolicyResponse
|
|
4671
|
+
*/
|
|
4672
|
+
async createPolicy(request) {
|
|
4673
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4674
|
+
return await this.createPolicyWithOptions(request, runtime);
|
|
3382
4675
|
}
|
|
4676
|
+
/**
|
|
4677
|
+
* @summary Creates a scheduling rule for an on-demand instance.
|
|
4678
|
+
*
|
|
4679
|
+
* @param request CreateSchedruleOnDemandRequest
|
|
4680
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4681
|
+
* @return CreateSchedruleOnDemandResponse
|
|
4682
|
+
*/
|
|
3383
4683
|
async createSchedruleOnDemandWithOptions(request, runtime) {
|
|
3384
4684
|
tea_util_1.default.validateModel(request);
|
|
3385
4685
|
let query = {};
|
|
@@ -3435,19 +4735,27 @@ class Client extends openapi_client_1.default {
|
|
|
3435
4735
|
});
|
|
3436
4736
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateSchedruleOnDemandResponse({}));
|
|
3437
4737
|
}
|
|
4738
|
+
/**
|
|
4739
|
+
* @summary Creates a scheduling rule for an on-demand instance.
|
|
4740
|
+
*
|
|
4741
|
+
* @param request CreateSchedruleOnDemandRequest
|
|
4742
|
+
* @return CreateSchedruleOnDemandResponse
|
|
4743
|
+
*/
|
|
3438
4744
|
async createSchedruleOnDemand(request) {
|
|
3439
4745
|
let runtime = new $Util.RuntimeOptions({});
|
|
3440
4746
|
return await this.createSchedruleOnDemandWithOptions(request, runtime);
|
|
3441
4747
|
}
|
|
3442
4748
|
/**
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
4749
|
+
* @summary Deactivates blackhole filtering for a protected IP address.
|
|
4750
|
+
*
|
|
4751
|
+
* @description You can call the DeleteBlackhole operation to deactivate blackhole filtering for a protected IP address.
|
|
4752
|
+
* 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 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.
|
|
4755
|
+
*
|
|
4756
|
+
* @param request DeleteBlackholeRequest
|
|
4757
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4758
|
+
* @return DeleteBlackholeResponse
|
|
3451
4759
|
*/
|
|
3452
4760
|
async deleteBlackholeWithOptions(request, runtime) {
|
|
3453
4761
|
tea_util_1.default.validateModel(request);
|
|
@@ -3481,24 +4789,28 @@ class Client extends openapi_client_1.default {
|
|
|
3481
4789
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteBlackholeResponse({}));
|
|
3482
4790
|
}
|
|
3483
4791
|
/**
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
4792
|
+
* @summary Deactivates blackhole filtering for a protected IP address.
|
|
4793
|
+
*
|
|
4794
|
+
* @description You can call the DeleteBlackhole operation to deactivate blackhole filtering for a protected IP address.
|
|
4795
|
+
* 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 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.
|
|
4798
|
+
*
|
|
4799
|
+
* @param request DeleteBlackholeRequest
|
|
4800
|
+
* @return DeleteBlackholeResponse
|
|
3491
4801
|
*/
|
|
3492
4802
|
async deleteBlackhole(request) {
|
|
3493
4803
|
let runtime = new $Util.RuntimeOptions({});
|
|
3494
4804
|
return await this.deleteBlackholeWithOptions(request, runtime);
|
|
3495
4805
|
}
|
|
3496
4806
|
/**
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
4807
|
+
* @summary Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
|
|
4808
|
+
*
|
|
4809
|
+
* @description The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
4810
|
+
*
|
|
4811
|
+
* @param request DeleteIpRequest
|
|
4812
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4813
|
+
* @return DeleteIpResponse
|
|
3502
4814
|
*/
|
|
3503
4815
|
async deleteIpWithOptions(request, runtime) {
|
|
3504
4816
|
tea_util_1.default.validateModel(request);
|
|
@@ -3532,15 +4844,63 @@ class Client extends openapi_client_1.default {
|
|
|
3532
4844
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteIpResponse({}));
|
|
3533
4845
|
}
|
|
3534
4846
|
/**
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
4847
|
+
* @summary Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
|
|
4848
|
+
*
|
|
4849
|
+
* @description The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
4850
|
+
*
|
|
4851
|
+
* @param request DeleteIpRequest
|
|
4852
|
+
* @return DeleteIpResponse
|
|
3539
4853
|
*/
|
|
3540
4854
|
async deleteIp(request) {
|
|
3541
4855
|
let runtime = new $Util.RuntimeOptions({});
|
|
3542
4856
|
return await this.deleteIpWithOptions(request, runtime);
|
|
3543
4857
|
}
|
|
4858
|
+
/**
|
|
4859
|
+
* @summary 删除策略
|
|
4860
|
+
*
|
|
4861
|
+
* @param request DeletePolicyRequest
|
|
4862
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4863
|
+
* @return DeletePolicyResponse
|
|
4864
|
+
*/
|
|
4865
|
+
async deletePolicyWithOptions(request, runtime) {
|
|
4866
|
+
tea_util_1.default.validateModel(request);
|
|
4867
|
+
let query = {};
|
|
4868
|
+
if (!tea_util_1.default.isUnset(request.id)) {
|
|
4869
|
+
query["Id"] = request.id;
|
|
4870
|
+
}
|
|
4871
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4872
|
+
query: openapi_util_1.default.query(query),
|
|
4873
|
+
});
|
|
4874
|
+
let params = new $OpenApi.Params({
|
|
4875
|
+
action: "DeletePolicy",
|
|
4876
|
+
version: "2018-07-20",
|
|
4877
|
+
protocol: "HTTPS",
|
|
4878
|
+
pathname: "/",
|
|
4879
|
+
method: "POST",
|
|
4880
|
+
authType: "AK",
|
|
4881
|
+
style: "RPC",
|
|
4882
|
+
reqBodyType: "formData",
|
|
4883
|
+
bodyType: "json",
|
|
4884
|
+
});
|
|
4885
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeletePolicyResponse({}));
|
|
4886
|
+
}
|
|
4887
|
+
/**
|
|
4888
|
+
* @summary 删除策略
|
|
4889
|
+
*
|
|
4890
|
+
* @param request DeletePolicyRequest
|
|
4891
|
+
* @return DeletePolicyResponse
|
|
4892
|
+
*/
|
|
4893
|
+
async deletePolicy(request) {
|
|
4894
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4895
|
+
return await this.deletePolicyWithOptions(request, runtime);
|
|
4896
|
+
}
|
|
4897
|
+
/**
|
|
4898
|
+
* @summary 删除资源目录成员账号列表
|
|
4899
|
+
*
|
|
4900
|
+
* @param tmpReq DeleteRdMemberListRequest
|
|
4901
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4902
|
+
* @return DeleteRdMemberListResponse
|
|
4903
|
+
*/
|
|
3544
4904
|
async deleteRdMemberListWithOptions(tmpReq, runtime) {
|
|
3545
4905
|
tea_util_1.default.validateModel(tmpReq);
|
|
3546
4906
|
let request = new DeleteRdMemberListShrinkRequest({});
|
|
@@ -3568,10 +4928,21 @@ class Client extends openapi_client_1.default {
|
|
|
3568
4928
|
});
|
|
3569
4929
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteRdMemberListResponse({}));
|
|
3570
4930
|
}
|
|
4931
|
+
/**
|
|
4932
|
+
* @summary 删除资源目录成员账号列表
|
|
4933
|
+
*
|
|
4934
|
+
* @param request DeleteRdMemberListRequest
|
|
4935
|
+
* @return DeleteRdMemberListResponse
|
|
4936
|
+
*/
|
|
3571
4937
|
async deleteRdMemberList(request) {
|
|
3572
4938
|
let runtime = new $Util.RuntimeOptions({});
|
|
3573
4939
|
return await this.deleteRdMemberListWithOptions(request, runtime);
|
|
3574
4940
|
}
|
|
4941
|
+
/**
|
|
4942
|
+
* @param request DeleteSchedruleOnDemandRequest
|
|
4943
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4944
|
+
* @return DeleteSchedruleOnDemandResponse
|
|
4945
|
+
*/
|
|
3575
4946
|
async deleteSchedruleOnDemandWithOptions(request, runtime) {
|
|
3576
4947
|
tea_util_1.default.validateModel(request);
|
|
3577
4948
|
let query = {};
|
|
@@ -3600,10 +4971,21 @@ class Client extends openapi_client_1.default {
|
|
|
3600
4971
|
});
|
|
3601
4972
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSchedruleOnDemandResponse({}));
|
|
3602
4973
|
}
|
|
4974
|
+
/**
|
|
4975
|
+
* @param request DeleteSchedruleOnDemandRequest
|
|
4976
|
+
* @return DeleteSchedruleOnDemandResponse
|
|
4977
|
+
*/
|
|
3603
4978
|
async deleteSchedruleOnDemand(request) {
|
|
3604
4979
|
let runtime = new $Util.RuntimeOptions({});
|
|
3605
4980
|
return await this.deleteSchedruleOnDemandWithOptions(request, runtime);
|
|
3606
4981
|
}
|
|
4982
|
+
/**
|
|
4983
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
4984
|
+
*
|
|
4985
|
+
* @param request DescribeAssetGroupRequest
|
|
4986
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4987
|
+
* @return DescribeAssetGroupResponse
|
|
4988
|
+
*/
|
|
3607
4989
|
async describeAssetGroupWithOptions(request, runtime) {
|
|
3608
4990
|
tea_util_1.default.validateModel(request);
|
|
3609
4991
|
let query = {};
|
|
@@ -3616,9 +4998,6 @@ class Client extends openapi_client_1.default {
|
|
|
3616
4998
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3617
4999
|
query["RegionId"] = request.regionId;
|
|
3618
5000
|
}
|
|
3619
|
-
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
3620
|
-
query["SourceIp"] = request.sourceIp;
|
|
3621
|
-
}
|
|
3622
5001
|
if (!tea_util_1.default.isUnset(request.type)) {
|
|
3623
5002
|
query["Type"] = request.type;
|
|
3624
5003
|
}
|
|
@@ -3638,10 +5017,23 @@ class Client extends openapi_client_1.default {
|
|
|
3638
5017
|
});
|
|
3639
5018
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAssetGroupResponse({}));
|
|
3640
5019
|
}
|
|
5020
|
+
/**
|
|
5021
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
5022
|
+
*
|
|
5023
|
+
* @param request DescribeAssetGroupRequest
|
|
5024
|
+
* @return DescribeAssetGroupResponse
|
|
5025
|
+
*/
|
|
3641
5026
|
async describeAssetGroup(request) {
|
|
3642
5027
|
let runtime = new $Util.RuntimeOptions({});
|
|
3643
5028
|
return await this.describeAssetGroupWithOptions(request, runtime);
|
|
3644
5029
|
}
|
|
5030
|
+
/**
|
|
5031
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
5032
|
+
*
|
|
5033
|
+
* @param request DescribeAssetGroupToInstanceRequest
|
|
5034
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5035
|
+
* @return DescribeAssetGroupToInstanceResponse
|
|
5036
|
+
*/
|
|
3645
5037
|
async describeAssetGroupToInstanceWithOptions(request, runtime) {
|
|
3646
5038
|
tea_util_1.default.validateModel(request);
|
|
3647
5039
|
let query = {};
|
|
@@ -3660,9 +5052,6 @@ class Client extends openapi_client_1.default {
|
|
|
3660
5052
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3661
5053
|
query["RegionId"] = request.regionId;
|
|
3662
5054
|
}
|
|
3663
|
-
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
3664
|
-
query["SourceIp"] = request.sourceIp;
|
|
3665
|
-
}
|
|
3666
5055
|
if (!tea_util_1.default.isUnset(request.type)) {
|
|
3667
5056
|
query["Type"] = request.type;
|
|
3668
5057
|
}
|
|
@@ -3682,18 +5071,26 @@ class Client extends openapi_client_1.default {
|
|
|
3682
5071
|
});
|
|
3683
5072
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAssetGroupToInstanceResponse({}));
|
|
3684
5073
|
}
|
|
5074
|
+
/**
|
|
5075
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
5076
|
+
*
|
|
5077
|
+
* @param request DescribeAssetGroupToInstanceRequest
|
|
5078
|
+
* @return DescribeAssetGroupToInstanceResponse
|
|
5079
|
+
*/
|
|
3685
5080
|
async describeAssetGroupToInstance(request) {
|
|
3686
5081
|
let runtime = new $Util.RuntimeOptions({});
|
|
3687
5082
|
return await this.describeAssetGroupToInstanceWithOptions(request, runtime);
|
|
3688
5083
|
}
|
|
3689
5084
|
/**
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
5085
|
+
* @summary Queries the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance.
|
|
5086
|
+
*
|
|
5087
|
+
* @description You can call the DescribeDdosEvent operation to query the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance by page. The details include the start time, end time, attacked IP address, and status of each event.
|
|
5088
|
+
* ## Limits
|
|
5089
|
+
* 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
|
+
*
|
|
5091
|
+
* @param request DescribeDdosEventRequest
|
|
5092
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5093
|
+
* @return DescribeDdosEventResponse
|
|
3697
5094
|
*/
|
|
3698
5095
|
async describeDdosEventWithOptions(request, runtime) {
|
|
3699
5096
|
tea_util_1.default.validateModel(request);
|
|
@@ -3739,17 +5136,26 @@ class Client extends openapi_client_1.default {
|
|
|
3739
5136
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDdosEventResponse({}));
|
|
3740
5137
|
}
|
|
3741
5138
|
/**
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
5139
|
+
* @summary Queries the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance.
|
|
5140
|
+
*
|
|
5141
|
+
* @description You can call the DescribeDdosEvent operation to query the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance by page. The details include the start time, end time, attacked IP address, and status of each event.
|
|
5142
|
+
* ## Limits
|
|
5143
|
+
* 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
|
+
*
|
|
5145
|
+
* @param request DescribeDdosEventRequest
|
|
5146
|
+
* @return DescribeDdosEventResponse
|
|
3748
5147
|
*/
|
|
3749
5148
|
async describeDdosEvent(request) {
|
|
3750
5149
|
let runtime = new $Util.RuntimeOptions({});
|
|
3751
5150
|
return await this.describeDdosEventWithOptions(request, runtime);
|
|
3752
5151
|
}
|
|
5152
|
+
/**
|
|
5153
|
+
* @summary 查询账单
|
|
5154
|
+
*
|
|
5155
|
+
* @param request DescribeDdosOriginInstanceBillRequest
|
|
5156
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5157
|
+
* @return DescribeDdosOriginInstanceBillResponse
|
|
5158
|
+
*/
|
|
3753
5159
|
async describeDdosOriginInstanceBillWithOptions(request, runtime) {
|
|
3754
5160
|
tea_util_1.default.validateModel(request);
|
|
3755
5161
|
let query = {};
|
|
@@ -3781,17 +5187,28 @@ class Client extends openapi_client_1.default {
|
|
|
3781
5187
|
});
|
|
3782
5188
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDdosOriginInstanceBillResponse({}));
|
|
3783
5189
|
}
|
|
5190
|
+
/**
|
|
5191
|
+
* @summary 查询账单
|
|
5192
|
+
*
|
|
5193
|
+
* @param request DescribeDdosOriginInstanceBillRequest
|
|
5194
|
+
* @return DescribeDdosOriginInstanceBillResponse
|
|
5195
|
+
*/
|
|
3784
5196
|
async describeDdosOriginInstanceBill(request) {
|
|
3785
5197
|
let runtime = new $Util.RuntimeOptions({});
|
|
3786
5198
|
return await this.describeDdosOriginInstanceBillWithOptions(request, runtime);
|
|
3787
5199
|
}
|
|
3788
5200
|
/**
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
5201
|
+
* @summary Queries the number of assets that are in an abnormal state and the number of Anti-DDoS
|
|
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.
|
|
5205
|
+
*
|
|
5206
|
+
* @description ## Usage notes
|
|
5207
|
+
* 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
|
+
*
|
|
5209
|
+
* @param request DescribeExcpetionCountRequest
|
|
5210
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5211
|
+
* @return DescribeExcpetionCountResponse
|
|
3795
5212
|
*/
|
|
3796
5213
|
async describeExcpetionCountWithOptions(request, runtime) {
|
|
3797
5214
|
tea_util_1.default.validateModel(request);
|
|
@@ -3819,24 +5236,31 @@ class Client extends openapi_client_1.default {
|
|
|
3819
5236
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeExcpetionCountResponse({}));
|
|
3820
5237
|
}
|
|
3821
5238
|
/**
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
5239
|
+
* @summary Queries the number of assets that are in an abnormal state and the number of Anti-DDoS
|
|
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.
|
|
5243
|
+
*
|
|
5244
|
+
* @description ## Usage notes
|
|
5245
|
+
* 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
|
+
*
|
|
5247
|
+
* @param request DescribeExcpetionCountRequest
|
|
5248
|
+
* @return DescribeExcpetionCountResponse
|
|
3827
5249
|
*/
|
|
3828
5250
|
async describeExcpetionCount(request) {
|
|
3829
5251
|
let runtime = new $Util.RuntimeOptions({});
|
|
3830
5252
|
return await this.describeExcpetionCountWithOptions(request, runtime);
|
|
3831
5253
|
}
|
|
3832
5254
|
/**
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
5255
|
+
* @summary Queries the details of all Anti-DDoS Origin instances.
|
|
5256
|
+
*
|
|
5257
|
+
* @description You can call the DescribeInstanceList operation to query the details of all Anti-DDoS Origin instances within your Alibaba Cloud account by page. The details include the ID, validity period, and status of each instance.
|
|
5258
|
+
* ## Limits
|
|
5259
|
+
* 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
|
+
*
|
|
5261
|
+
* @param request DescribeInstanceListRequest
|
|
5262
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5263
|
+
* @return DescribeInstanceListResponse
|
|
3840
5264
|
*/
|
|
3841
5265
|
async describeInstanceListWithOptions(request, runtime) {
|
|
3842
5266
|
tea_util_1.default.validateModel(request);
|
|
@@ -3897,17 +5321,24 @@ class Client extends openapi_client_1.default {
|
|
|
3897
5321
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceListResponse({}));
|
|
3898
5322
|
}
|
|
3899
5323
|
/**
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
5324
|
+
* @summary Queries the details of all Anti-DDoS Origin instances.
|
|
5325
|
+
*
|
|
5326
|
+
* @description You can call the DescribeInstanceList operation to query the details of all Anti-DDoS Origin instances within your Alibaba Cloud account by page. The details include the ID, validity period, and status of each instance.
|
|
5327
|
+
* ## Limits
|
|
5328
|
+
* 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
|
+
*
|
|
5330
|
+
* @param request DescribeInstanceListRequest
|
|
5331
|
+
* @return DescribeInstanceListResponse
|
|
3906
5332
|
*/
|
|
3907
5333
|
async describeInstanceList(request) {
|
|
3908
5334
|
let runtime = new $Util.RuntimeOptions({});
|
|
3909
5335
|
return await this.describeInstanceListWithOptions(request, runtime);
|
|
3910
5336
|
}
|
|
5337
|
+
/**
|
|
5338
|
+
* @param request DescribeInstanceSpecsRequest
|
|
5339
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5340
|
+
* @return DescribeInstanceSpecsResponse
|
|
5341
|
+
*/
|
|
3911
5342
|
async describeInstanceSpecsWithOptions(request, runtime) {
|
|
3912
5343
|
tea_util_1.default.validateModel(request);
|
|
3913
5344
|
let query = {};
|
|
@@ -3936,16 +5367,22 @@ class Client extends openapi_client_1.default {
|
|
|
3936
5367
|
});
|
|
3937
5368
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceSpecsResponse({}));
|
|
3938
5369
|
}
|
|
5370
|
+
/**
|
|
5371
|
+
* @param request DescribeInstanceSpecsRequest
|
|
5372
|
+
* @return DescribeInstanceSpecsResponse
|
|
5373
|
+
*/
|
|
3939
5374
|
async describeInstanceSpecs(request) {
|
|
3940
5375
|
let runtime = new $Util.RuntimeOptions({});
|
|
3941
5376
|
return await this.describeInstanceSpecsWithOptions(request, runtime);
|
|
3942
5377
|
}
|
|
3943
5378
|
/**
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
5379
|
+
* @summary Call the DescribeOnDemandDdosEvent operation to query the DDoS events recorded for the IP address of the Anti-DDoS on-demand instance.
|
|
5380
|
+
*
|
|
5381
|
+
* @description > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
|
|
5382
|
+
*
|
|
5383
|
+
* @param request DescribeOnDemandDdosEventRequest
|
|
5384
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5385
|
+
* @return DescribeOnDemandDdosEventResponse
|
|
3949
5386
|
*/
|
|
3950
5387
|
async describeOnDemandDdosEventWithOptions(request, runtime) {
|
|
3951
5388
|
tea_util_1.default.validateModel(request);
|
|
@@ -3991,15 +5428,22 @@ class Client extends openapi_client_1.default {
|
|
|
3991
5428
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOnDemandDdosEventResponse({}));
|
|
3992
5429
|
}
|
|
3993
5430
|
/**
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
5431
|
+
* @summary Call the DescribeOnDemandDdosEvent operation to query the DDoS events recorded for the IP address of the Anti-DDoS on-demand instance.
|
|
5432
|
+
*
|
|
5433
|
+
* @description > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
|
|
5434
|
+
*
|
|
5435
|
+
* @param request DescribeOnDemandDdosEventRequest
|
|
5436
|
+
* @return DescribeOnDemandDdosEventResponse
|
|
3998
5437
|
*/
|
|
3999
5438
|
async describeOnDemandDdosEvent(request) {
|
|
4000
5439
|
let runtime = new $Util.RuntimeOptions({});
|
|
4001
5440
|
return await this.describeOnDemandDdosEventWithOptions(request, runtime);
|
|
4002
5441
|
}
|
|
5442
|
+
/**
|
|
5443
|
+
* @param request DescribeOnDemandInstanceStatusRequest
|
|
5444
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5445
|
+
* @return DescribeOnDemandInstanceStatusResponse
|
|
5446
|
+
*/
|
|
4003
5447
|
async describeOnDemandInstanceStatusWithOptions(request, runtime) {
|
|
4004
5448
|
tea_util_1.default.validateModel(request);
|
|
4005
5449
|
let query = {};
|
|
@@ -4025,16 +5469,22 @@ class Client extends openapi_client_1.default {
|
|
|
4025
5469
|
});
|
|
4026
5470
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOnDemandInstanceStatusResponse({}));
|
|
4027
5471
|
}
|
|
5472
|
+
/**
|
|
5473
|
+
* @param request DescribeOnDemandInstanceStatusRequest
|
|
5474
|
+
* @return DescribeOnDemandInstanceStatusResponse
|
|
5475
|
+
*/
|
|
4028
5476
|
async describeOnDemandInstanceStatus(request) {
|
|
4029
5477
|
let runtime = new $Util.RuntimeOptions({});
|
|
4030
5478
|
return await this.describeOnDemandInstanceStatusWithOptions(request, runtime);
|
|
4031
5479
|
}
|
|
4032
5480
|
/**
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
5481
|
+
* @summary The number of entries to return on each page.
|
|
5482
|
+
*
|
|
5483
|
+
* @description The start time. Operation logs that were generated after this time are queried.**** This value is a UNIX timestamp. Unit: milliseconds.
|
|
5484
|
+
*
|
|
5485
|
+
* @param request DescribeOpEntitiesRequest
|
|
5486
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5487
|
+
* @return DescribeOpEntitiesResponse
|
|
4038
5488
|
*/
|
|
4039
5489
|
async describeOpEntitiesWithOptions(request, runtime) {
|
|
4040
5490
|
tea_util_1.default.validateModel(request);
|
|
@@ -4083,23 +5533,27 @@ class Client extends openapi_client_1.default {
|
|
|
4083
5533
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeOpEntitiesResponse({}));
|
|
4084
5534
|
}
|
|
4085
5535
|
/**
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
5536
|
+
* @summary The number of entries to return on each page.
|
|
5537
|
+
*
|
|
5538
|
+
* @description The start time. Operation logs that were generated after this time are queried.**** This value is a UNIX timestamp. Unit: milliseconds.
|
|
5539
|
+
*
|
|
5540
|
+
* @param request DescribeOpEntitiesRequest
|
|
5541
|
+
* @return DescribeOpEntitiesResponse
|
|
4090
5542
|
*/
|
|
4091
5543
|
async describeOpEntities(request) {
|
|
4092
5544
|
let runtime = new $Util.RuntimeOptions({});
|
|
4093
5545
|
return await this.describeOpEntitiesWithOptions(request, runtime);
|
|
4094
5546
|
}
|
|
4095
5547
|
/**
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
5548
|
+
* @summary Queries the IP addresses that are protected by a specific Anti-DDoS Origin instance.
|
|
5549
|
+
*
|
|
5550
|
+
* @description You can call the DescribePackIpList operation to query the details about each IP address that is protected by a specific Anti-DDoS Origin instance by page. The details include the IP address and the type of the cloud asset to which the IP address belongs. The details also include the status of the IP address, such as whether blackhole filtering is triggered for the IP address.
|
|
5551
|
+
* ## Limits
|
|
5552
|
+
* 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
|
+
*
|
|
5554
|
+
* @param request DescribePackIpListRequest
|
|
5555
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5556
|
+
* @return DescribePackIpListResponse
|
|
4103
5557
|
*/
|
|
4104
5558
|
async describePackIpListWithOptions(request, runtime) {
|
|
4105
5559
|
tea_util_1.default.validateModel(request);
|
|
@@ -4145,17 +5599,26 @@ class Client extends openapi_client_1.default {
|
|
|
4145
5599
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePackIpListResponse({}));
|
|
4146
5600
|
}
|
|
4147
5601
|
/**
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
5602
|
+
* @summary Queries the IP addresses that are protected by a specific Anti-DDoS Origin instance.
|
|
5603
|
+
*
|
|
5604
|
+
* @description You can call the DescribePackIpList operation to query the details about each IP address that is protected by a specific Anti-DDoS Origin instance by page. The details include the IP address and the type of the cloud asset to which the IP address belongs. The details also include the status of the IP address, such as whether blackhole filtering is triggered for the IP address.
|
|
5605
|
+
* ## Limits
|
|
5606
|
+
* 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
|
+
*
|
|
5608
|
+
* @param request DescribePackIpListRequest
|
|
5609
|
+
* @return DescribePackIpListResponse
|
|
4154
5610
|
*/
|
|
4155
5611
|
async describePackIpList(request) {
|
|
4156
5612
|
let runtime = new $Util.RuntimeOptions({});
|
|
4157
5613
|
return await this.describePackIpListWithOptions(request, runtime);
|
|
4158
5614
|
}
|
|
5615
|
+
/**
|
|
5616
|
+
* @summary 查询资源目录成员账号列表
|
|
5617
|
+
*
|
|
5618
|
+
* @param request DescribeRdMemberListRequest
|
|
5619
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5620
|
+
* @return DescribeRdMemberListResponse
|
|
5621
|
+
*/
|
|
4159
5622
|
async describeRdMemberListWithOptions(request, runtime) {
|
|
4160
5623
|
tea_util_1.default.validateModel(request);
|
|
4161
5624
|
let query = {};
|
|
@@ -4184,10 +5647,23 @@ class Client extends openapi_client_1.default {
|
|
|
4184
5647
|
});
|
|
4185
5648
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRdMemberListResponse({}));
|
|
4186
5649
|
}
|
|
5650
|
+
/**
|
|
5651
|
+
* @summary 查询资源目录成员账号列表
|
|
5652
|
+
*
|
|
5653
|
+
* @param request DescribeRdMemberListRequest
|
|
5654
|
+
* @return DescribeRdMemberListResponse
|
|
5655
|
+
*/
|
|
4187
5656
|
async describeRdMemberList(request) {
|
|
4188
5657
|
let runtime = new $Util.RuntimeOptions({});
|
|
4189
5658
|
return await this.describeRdMemberListWithOptions(request, runtime);
|
|
4190
5659
|
}
|
|
5660
|
+
/**
|
|
5661
|
+
* @summary 查询RD状态
|
|
5662
|
+
*
|
|
5663
|
+
* @param request DescribeRdStatusRequest
|
|
5664
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5665
|
+
* @return DescribeRdStatusResponse
|
|
5666
|
+
*/
|
|
4191
5667
|
async describeRdStatusWithOptions(runtime) {
|
|
4192
5668
|
let req = new $OpenApi.OpenApiRequest({});
|
|
4193
5669
|
let params = new $OpenApi.Params({
|
|
@@ -4203,10 +5679,22 @@ class Client extends openapi_client_1.default {
|
|
|
4203
5679
|
});
|
|
4204
5680
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRdStatusResponse({}));
|
|
4205
5681
|
}
|
|
5682
|
+
/**
|
|
5683
|
+
* @summary 查询RD状态
|
|
5684
|
+
*
|
|
5685
|
+
* @return DescribeRdStatusResponse
|
|
5686
|
+
*/
|
|
4206
5687
|
async describeRdStatus() {
|
|
4207
5688
|
let runtime = new $Util.RuntimeOptions({});
|
|
4208
5689
|
return await this.describeRdStatusWithOptions(runtime);
|
|
4209
5690
|
}
|
|
5691
|
+
/**
|
|
5692
|
+
* @summary Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
|
|
5693
|
+
*
|
|
5694
|
+
* @param request DescribeRegionsRequest
|
|
5695
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5696
|
+
* @return DescribeRegionsResponse
|
|
5697
|
+
*/
|
|
4210
5698
|
async describeRegionsWithOptions(request, runtime) {
|
|
4211
5699
|
tea_util_1.default.validateModel(request);
|
|
4212
5700
|
let query = {};
|
|
@@ -4232,19 +5720,27 @@ class Client extends openapi_client_1.default {
|
|
|
4232
5720
|
});
|
|
4233
5721
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
4234
5722
|
}
|
|
5723
|
+
/**
|
|
5724
|
+
* @summary Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
|
|
5725
|
+
*
|
|
5726
|
+
* @param request DescribeRegionsRequest
|
|
5727
|
+
* @return DescribeRegionsResponse
|
|
5728
|
+
*/
|
|
4235
5729
|
async describeRegions(request) {
|
|
4236
5730
|
let runtime = new $Util.RuntimeOptions({});
|
|
4237
5731
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
4238
5732
|
}
|
|
4239
5733
|
/**
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
5734
|
+
* @summary Queries traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5735
|
+
*
|
|
5736
|
+
* @description You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5737
|
+
* > 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
|
+
* ## Limits
|
|
5739
|
+
* 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
|
+
*
|
|
5741
|
+
* @param request DescribeTrafficRequest
|
|
5742
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5743
|
+
* @return DescribeTrafficResponse
|
|
4248
5744
|
*/
|
|
4249
5745
|
async describeTrafficWithOptions(request, runtime) {
|
|
4250
5746
|
tea_util_1.default.validateModel(request);
|
|
@@ -4293,18 +5789,74 @@ class Client extends openapi_client_1.default {
|
|
|
4293
5789
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrafficResponse({}));
|
|
4294
5790
|
}
|
|
4295
5791
|
/**
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
5792
|
+
* @summary Queries traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5793
|
+
*
|
|
5794
|
+
* @description You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5795
|
+
* > 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
|
+
* ## Limits
|
|
5797
|
+
* 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
|
+
*
|
|
5799
|
+
* @param request DescribeTrafficRequest
|
|
5800
|
+
* @return DescribeTrafficResponse
|
|
4303
5801
|
*/
|
|
4304
5802
|
async describeTraffic(request) {
|
|
4305
5803
|
let runtime = new $Util.RuntimeOptions({});
|
|
4306
5804
|
return await this.describeTrafficWithOptions(request, runtime);
|
|
4307
5805
|
}
|
|
5806
|
+
/**
|
|
5807
|
+
* @summary 策略解绑
|
|
5808
|
+
*
|
|
5809
|
+
* @param tmpReq DetachFromPolicyRequest
|
|
5810
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5811
|
+
* @return DetachFromPolicyResponse
|
|
5812
|
+
*/
|
|
5813
|
+
async detachFromPolicyWithOptions(tmpReq, runtime) {
|
|
5814
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
5815
|
+
let request = new DetachFromPolicyShrinkRequest({});
|
|
5816
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
5817
|
+
if (!tea_util_1.default.isUnset(tmpReq.ipPortProtocolList)) {
|
|
5818
|
+
request.ipPortProtocolListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.ipPortProtocolList, "IpPortProtocolList", "json");
|
|
5819
|
+
}
|
|
5820
|
+
let query = {};
|
|
5821
|
+
if (!tea_util_1.default.isUnset(request.ipPortProtocolListShrink)) {
|
|
5822
|
+
query["IpPortProtocolList"] = request.ipPortProtocolListShrink;
|
|
5823
|
+
}
|
|
5824
|
+
if (!tea_util_1.default.isUnset(request.policyType)) {
|
|
5825
|
+
query["PolicyType"] = request.policyType;
|
|
5826
|
+
}
|
|
5827
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5828
|
+
query: openapi_util_1.default.query(query),
|
|
5829
|
+
});
|
|
5830
|
+
let params = new $OpenApi.Params({
|
|
5831
|
+
action: "DetachFromPolicy",
|
|
5832
|
+
version: "2018-07-20",
|
|
5833
|
+
protocol: "HTTPS",
|
|
5834
|
+
pathname: "/",
|
|
5835
|
+
method: "POST",
|
|
5836
|
+
authType: "AK",
|
|
5837
|
+
style: "RPC",
|
|
5838
|
+
reqBodyType: "formData",
|
|
5839
|
+
bodyType: "json",
|
|
5840
|
+
});
|
|
5841
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachFromPolicyResponse({}));
|
|
5842
|
+
}
|
|
5843
|
+
/**
|
|
5844
|
+
* @summary 策略解绑
|
|
5845
|
+
*
|
|
5846
|
+
* @param request DetachFromPolicyRequest
|
|
5847
|
+
* @return DetachFromPolicyResponse
|
|
5848
|
+
*/
|
|
5849
|
+
async detachFromPolicy(request) {
|
|
5850
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
5851
|
+
return await this.detachFromPolicyWithOptions(request, runtime);
|
|
5852
|
+
}
|
|
5853
|
+
/**
|
|
5854
|
+
* @summary Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
|
|
5855
|
+
*
|
|
5856
|
+
* @param tmpReq DettachAssetGroupToInstanceRequest
|
|
5857
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5858
|
+
* @return DettachAssetGroupToInstanceResponse
|
|
5859
|
+
*/
|
|
4308
5860
|
async dettachAssetGroupToInstanceWithOptions(tmpReq, runtime) {
|
|
4309
5861
|
tea_util_1.default.validateModel(tmpReq);
|
|
4310
5862
|
let request = new DettachAssetGroupToInstanceShrinkRequest({});
|
|
@@ -4322,9 +5874,6 @@ class Client extends openapi_client_1.default {
|
|
|
4322
5874
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
4323
5875
|
query["RegionId"] = request.regionId;
|
|
4324
5876
|
}
|
|
4325
|
-
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
4326
|
-
query["SourceIp"] = request.sourceIp;
|
|
4327
|
-
}
|
|
4328
5877
|
let req = new $OpenApi.OpenApiRequest({
|
|
4329
5878
|
query: openapi_util_1.default.query(query),
|
|
4330
5879
|
});
|
|
@@ -4341,10 +5890,23 @@ class Client extends openapi_client_1.default {
|
|
|
4341
5890
|
});
|
|
4342
5891
|
return $tea.cast(await this.callApi(params, req, runtime), new DettachAssetGroupToInstanceResponse({}));
|
|
4343
5892
|
}
|
|
5893
|
+
/**
|
|
5894
|
+
* @summary Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
|
|
5895
|
+
*
|
|
5896
|
+
* @param request DettachAssetGroupToInstanceRequest
|
|
5897
|
+
* @return DettachAssetGroupToInstanceResponse
|
|
5898
|
+
*/
|
|
4344
5899
|
async dettachAssetGroupToInstance(request) {
|
|
4345
5900
|
let runtime = new $Util.RuntimeOptions({});
|
|
4346
5901
|
return await this.dettachAssetGroupToInstanceWithOptions(request, runtime);
|
|
4347
5902
|
}
|
|
5903
|
+
/**
|
|
5904
|
+
* @summary Checks whether Log Service is activated.
|
|
5905
|
+
*
|
|
5906
|
+
* @param request GetSlsOpenStatusRequest
|
|
5907
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5908
|
+
* @return GetSlsOpenStatusResponse
|
|
5909
|
+
*/
|
|
4348
5910
|
async getSlsOpenStatusWithOptions(request, runtime) {
|
|
4349
5911
|
tea_util_1.default.validateModel(request);
|
|
4350
5912
|
let query = {};
|
|
@@ -4370,10 +5932,23 @@ class Client extends openapi_client_1.default {
|
|
|
4370
5932
|
});
|
|
4371
5933
|
return $tea.cast(await this.callApi(params, req, runtime), new GetSlsOpenStatusResponse({}));
|
|
4372
5934
|
}
|
|
5935
|
+
/**
|
|
5936
|
+
* @summary Checks whether Log Service is activated.
|
|
5937
|
+
*
|
|
5938
|
+
* @param request GetSlsOpenStatusRequest
|
|
5939
|
+
* @return GetSlsOpenStatusResponse
|
|
5940
|
+
*/
|
|
4373
5941
|
async getSlsOpenStatus(request) {
|
|
4374
5942
|
let runtime = new $Util.RuntimeOptions({});
|
|
4375
5943
|
return await this.getSlsOpenStatusWithOptions(request, runtime);
|
|
4376
5944
|
}
|
|
5945
|
+
/**
|
|
5946
|
+
* @summary Queries the Anti-DDoS Origin instances for which log analysis is enabled.
|
|
5947
|
+
*
|
|
5948
|
+
* @param request ListOpenedAccessLogInstancesRequest
|
|
5949
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5950
|
+
* @return ListOpenedAccessLogInstancesResponse
|
|
5951
|
+
*/
|
|
4377
5952
|
async listOpenedAccessLogInstancesWithOptions(request, runtime) {
|
|
4378
5953
|
tea_util_1.default.validateModel(request);
|
|
4379
5954
|
let query = {};
|
|
@@ -4402,10 +5977,127 @@ class Client extends openapi_client_1.default {
|
|
|
4402
5977
|
});
|
|
4403
5978
|
return $tea.cast(await this.callApi(params, req, runtime), new ListOpenedAccessLogInstancesResponse({}));
|
|
4404
5979
|
}
|
|
5980
|
+
/**
|
|
5981
|
+
* @summary Queries the Anti-DDoS Origin instances for which log analysis is enabled.
|
|
5982
|
+
*
|
|
5983
|
+
* @param request ListOpenedAccessLogInstancesRequest
|
|
5984
|
+
* @return ListOpenedAccessLogInstancesResponse
|
|
5985
|
+
*/
|
|
4405
5986
|
async listOpenedAccessLogInstances(request) {
|
|
4406
5987
|
let runtime = new $Util.RuntimeOptions({});
|
|
4407
5988
|
return await this.listOpenedAccessLogInstancesWithOptions(request, runtime);
|
|
4408
5989
|
}
|
|
5990
|
+
/**
|
|
5991
|
+
* @summary 查询策略
|
|
5992
|
+
*
|
|
5993
|
+
* @param request ListPolicyRequest
|
|
5994
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5995
|
+
* @return ListPolicyResponse
|
|
5996
|
+
*/
|
|
5997
|
+
async listPolicyWithOptions(request, runtime) {
|
|
5998
|
+
tea_util_1.default.validateModel(request);
|
|
5999
|
+
let query = {};
|
|
6000
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
6001
|
+
query["Name"] = request.name;
|
|
6002
|
+
}
|
|
6003
|
+
if (!tea_util_1.default.isUnset(request.pageNo)) {
|
|
6004
|
+
query["PageNo"] = request.pageNo;
|
|
6005
|
+
}
|
|
6006
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
6007
|
+
query["PageSize"] = request.pageSize;
|
|
6008
|
+
}
|
|
6009
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
6010
|
+
query["Type"] = request.type;
|
|
6011
|
+
}
|
|
6012
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6013
|
+
query: openapi_util_1.default.query(query),
|
|
6014
|
+
});
|
|
6015
|
+
let params = new $OpenApi.Params({
|
|
6016
|
+
action: "ListPolicy",
|
|
6017
|
+
version: "2018-07-20",
|
|
6018
|
+
protocol: "HTTPS",
|
|
6019
|
+
pathname: "/",
|
|
6020
|
+
method: "POST",
|
|
6021
|
+
authType: "AK",
|
|
6022
|
+
style: "RPC",
|
|
6023
|
+
reqBodyType: "formData",
|
|
6024
|
+
bodyType: "json",
|
|
6025
|
+
});
|
|
6026
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListPolicyResponse({}));
|
|
6027
|
+
}
|
|
6028
|
+
/**
|
|
6029
|
+
* @summary 查询策略
|
|
6030
|
+
*
|
|
6031
|
+
* @param request ListPolicyRequest
|
|
6032
|
+
* @return ListPolicyResponse
|
|
6033
|
+
*/
|
|
6034
|
+
async listPolicy(request) {
|
|
6035
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6036
|
+
return await this.listPolicyWithOptions(request, runtime);
|
|
6037
|
+
}
|
|
6038
|
+
/**
|
|
6039
|
+
* @summary 查询策略绑定
|
|
6040
|
+
*
|
|
6041
|
+
* @param tmpReq ListPolicyAttachmentRequest
|
|
6042
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6043
|
+
* @return ListPolicyAttachmentResponse
|
|
6044
|
+
*/
|
|
6045
|
+
async listPolicyAttachmentWithOptions(tmpReq, runtime) {
|
|
6046
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
6047
|
+
let request = new ListPolicyAttachmentShrinkRequest({});
|
|
6048
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
6049
|
+
if (!tea_util_1.default.isUnset(tmpReq.ipPortProtocolList)) {
|
|
6050
|
+
request.ipPortProtocolListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.ipPortProtocolList, "IpPortProtocolList", "json");
|
|
6051
|
+
}
|
|
6052
|
+
let query = {};
|
|
6053
|
+
if (!tea_util_1.default.isUnset(request.ipPortProtocolListShrink)) {
|
|
6054
|
+
query["IpPortProtocolList"] = request.ipPortProtocolListShrink;
|
|
6055
|
+
}
|
|
6056
|
+
if (!tea_util_1.default.isUnset(request.pageNo)) {
|
|
6057
|
+
query["PageNo"] = request.pageNo;
|
|
6058
|
+
}
|
|
6059
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
6060
|
+
query["PageSize"] = request.pageSize;
|
|
6061
|
+
}
|
|
6062
|
+
if (!tea_util_1.default.isUnset(request.policyId)) {
|
|
6063
|
+
query["PolicyId"] = request.policyId;
|
|
6064
|
+
}
|
|
6065
|
+
if (!tea_util_1.default.isUnset(request.policyType)) {
|
|
6066
|
+
query["PolicyType"] = request.policyType;
|
|
6067
|
+
}
|
|
6068
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6069
|
+
query: openapi_util_1.default.query(query),
|
|
6070
|
+
});
|
|
6071
|
+
let params = new $OpenApi.Params({
|
|
6072
|
+
action: "ListPolicyAttachment",
|
|
6073
|
+
version: "2018-07-20",
|
|
6074
|
+
protocol: "HTTPS",
|
|
6075
|
+
pathname: "/",
|
|
6076
|
+
method: "POST",
|
|
6077
|
+
authType: "AK",
|
|
6078
|
+
style: "RPC",
|
|
6079
|
+
reqBodyType: "formData",
|
|
6080
|
+
bodyType: "json",
|
|
6081
|
+
});
|
|
6082
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListPolicyAttachmentResponse({}));
|
|
6083
|
+
}
|
|
6084
|
+
/**
|
|
6085
|
+
* @summary 查询策略绑定
|
|
6086
|
+
*
|
|
6087
|
+
* @param request ListPolicyAttachmentRequest
|
|
6088
|
+
* @return ListPolicyAttachmentResponse
|
|
6089
|
+
*/
|
|
6090
|
+
async listPolicyAttachment(request) {
|
|
6091
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6092
|
+
return await this.listPolicyAttachmentWithOptions(request, runtime);
|
|
6093
|
+
}
|
|
6094
|
+
/**
|
|
6095
|
+
* @summary Queries all tags.
|
|
6096
|
+
*
|
|
6097
|
+
* @param request ListTagKeysRequest
|
|
6098
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6099
|
+
* @return ListTagKeysResponse
|
|
6100
|
+
*/
|
|
4409
6101
|
async listTagKeysWithOptions(request, runtime) {
|
|
4410
6102
|
tea_util_1.default.validateModel(request);
|
|
4411
6103
|
let query = {};
|
|
@@ -4440,16 +6132,22 @@ class Client extends openapi_client_1.default {
|
|
|
4440
6132
|
});
|
|
4441
6133
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
|
|
4442
6134
|
}
|
|
6135
|
+
/**
|
|
6136
|
+
* @summary Queries all tags.
|
|
6137
|
+
*
|
|
6138
|
+
* @param request ListTagKeysRequest
|
|
6139
|
+
* @return ListTagKeysResponse
|
|
6140
|
+
*/
|
|
4443
6141
|
async listTagKeys(request) {
|
|
4444
6142
|
let runtime = new $Util.RuntimeOptions({});
|
|
4445
6143
|
return await this.listTagKeysWithOptions(request, runtime);
|
|
4446
6144
|
}
|
|
4447
6145
|
/**
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
6146
|
+
* @description You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
|
|
6147
|
+
*
|
|
6148
|
+
* @param request ListTagResourcesRequest
|
|
6149
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6150
|
+
* @return ListTagResourcesResponse
|
|
4453
6151
|
*/
|
|
4454
6152
|
async listTagResourcesWithOptions(request, runtime) {
|
|
4455
6153
|
tea_util_1.default.validateModel(request);
|
|
@@ -4489,23 +6187,128 @@ class Client extends openapi_client_1.default {
|
|
|
4489
6187
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
4490
6188
|
}
|
|
4491
6189
|
/**
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
6190
|
+
* @description You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
|
|
6191
|
+
*
|
|
6192
|
+
* @param request ListTagResourcesRequest
|
|
6193
|
+
* @return ListTagResourcesResponse
|
|
4496
6194
|
*/
|
|
4497
6195
|
async listTagResources(request) {
|
|
4498
6196
|
let runtime = new $Util.RuntimeOptions({});
|
|
4499
6197
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
4500
6198
|
}
|
|
4501
6199
|
/**
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
6200
|
+
* @summary 修改策略
|
|
6201
|
+
*
|
|
6202
|
+
* @param tmpReq ModifyPolicyRequest
|
|
6203
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6204
|
+
* @return ModifyPolicyResponse
|
|
6205
|
+
*/
|
|
6206
|
+
async modifyPolicyWithOptions(tmpReq, runtime) {
|
|
6207
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
6208
|
+
let request = new ModifyPolicyShrinkRequest({});
|
|
6209
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
6210
|
+
if (!tea_util_1.default.isUnset(tmpReq.content)) {
|
|
6211
|
+
request.contentShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.content, "Content", "json");
|
|
6212
|
+
}
|
|
6213
|
+
let query = {};
|
|
6214
|
+
if (!tea_util_1.default.isUnset(request.actionType)) {
|
|
6215
|
+
query["ActionType"] = request.actionType;
|
|
6216
|
+
}
|
|
6217
|
+
if (!tea_util_1.default.isUnset(request.contentShrink)) {
|
|
6218
|
+
query["Content"] = request.contentShrink;
|
|
6219
|
+
}
|
|
6220
|
+
if (!tea_util_1.default.isUnset(request.id)) {
|
|
6221
|
+
query["Id"] = request.id;
|
|
6222
|
+
}
|
|
6223
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
6224
|
+
query["Name"] = request.name;
|
|
6225
|
+
}
|
|
6226
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6227
|
+
query: openapi_util_1.default.query(query),
|
|
6228
|
+
});
|
|
6229
|
+
let params = new $OpenApi.Params({
|
|
6230
|
+
action: "ModifyPolicy",
|
|
6231
|
+
version: "2018-07-20",
|
|
6232
|
+
protocol: "HTTPS",
|
|
6233
|
+
pathname: "/",
|
|
6234
|
+
method: "POST",
|
|
6235
|
+
authType: "AK",
|
|
6236
|
+
style: "RPC",
|
|
6237
|
+
reqBodyType: "formData",
|
|
6238
|
+
bodyType: "json",
|
|
6239
|
+
});
|
|
6240
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPolicyResponse({}));
|
|
6241
|
+
}
|
|
6242
|
+
/**
|
|
6243
|
+
* @summary 修改策略
|
|
6244
|
+
*
|
|
6245
|
+
* @param request ModifyPolicyRequest
|
|
6246
|
+
* @return ModifyPolicyResponse
|
|
6247
|
+
*/
|
|
6248
|
+
async modifyPolicy(request) {
|
|
6249
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6250
|
+
return await this.modifyPolicyWithOptions(request, runtime);
|
|
6251
|
+
}
|
|
6252
|
+
/**
|
|
6253
|
+
* @summary 修改策略
|
|
6254
|
+
*
|
|
6255
|
+
* @param tmpReq ModifyPolicyContentRequest
|
|
6256
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6257
|
+
* @return ModifyPolicyContentResponse
|
|
6258
|
+
*/
|
|
6259
|
+
async modifyPolicyContentWithOptions(tmpReq, runtime) {
|
|
6260
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
6261
|
+
let request = new ModifyPolicyContentShrinkRequest({});
|
|
6262
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
6263
|
+
if (!tea_util_1.default.isUnset(tmpReq.content)) {
|
|
6264
|
+
request.contentShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.content, "Content", "json");
|
|
6265
|
+
}
|
|
6266
|
+
let query = {};
|
|
6267
|
+
if (!tea_util_1.default.isUnset(request.contentShrink)) {
|
|
6268
|
+
query["Content"] = request.contentShrink;
|
|
6269
|
+
}
|
|
6270
|
+
if (!tea_util_1.default.isUnset(request.id)) {
|
|
6271
|
+
query["Id"] = request.id;
|
|
6272
|
+
}
|
|
6273
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
6274
|
+
query["Name"] = request.name;
|
|
6275
|
+
}
|
|
6276
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6277
|
+
query: openapi_util_1.default.query(query),
|
|
6278
|
+
});
|
|
6279
|
+
let params = new $OpenApi.Params({
|
|
6280
|
+
action: "ModifyPolicyContent",
|
|
6281
|
+
version: "2018-07-20",
|
|
6282
|
+
protocol: "HTTPS",
|
|
6283
|
+
pathname: "/",
|
|
6284
|
+
method: "POST",
|
|
6285
|
+
authType: "AK",
|
|
6286
|
+
style: "RPC",
|
|
6287
|
+
reqBodyType: "formData",
|
|
6288
|
+
bodyType: "json",
|
|
6289
|
+
});
|
|
6290
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPolicyContentResponse({}));
|
|
6291
|
+
}
|
|
6292
|
+
/**
|
|
6293
|
+
* @summary 修改策略
|
|
6294
|
+
*
|
|
6295
|
+
* @param request ModifyPolicyContentRequest
|
|
6296
|
+
* @return ModifyPolicyContentResponse
|
|
6297
|
+
*/
|
|
6298
|
+
async modifyPolicyContent(request) {
|
|
6299
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6300
|
+
return await this.modifyPolicyContentWithOptions(request, runtime);
|
|
6301
|
+
}
|
|
6302
|
+
/**
|
|
6303
|
+
* @summary Adds remarks for a specific Anti-DDoS Origin instance.
|
|
6304
|
+
*
|
|
6305
|
+
* @description You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
6306
|
+
* ## Limits
|
|
6307
|
+
* 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
|
+
*
|
|
6309
|
+
* @param request ModifyRemarkRequest
|
|
6310
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6311
|
+
* @return ModifyRemarkResponse
|
|
4509
6312
|
*/
|
|
4510
6313
|
async modifyRemarkWithOptions(request, runtime) {
|
|
4511
6314
|
tea_util_1.default.validateModel(request);
|
|
@@ -4539,17 +6342,26 @@ class Client extends openapi_client_1.default {
|
|
|
4539
6342
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyRemarkResponse({}));
|
|
4540
6343
|
}
|
|
4541
6344
|
/**
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
6345
|
+
* @summary Adds remarks for a specific Anti-DDoS Origin instance.
|
|
6346
|
+
*
|
|
6347
|
+
* @description You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
6348
|
+
* ## Limits
|
|
6349
|
+
* 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
|
+
*
|
|
6351
|
+
* @param request ModifyRemarkRequest
|
|
6352
|
+
* @return ModifyRemarkResponse
|
|
4548
6353
|
*/
|
|
4549
6354
|
async modifyRemark(request) {
|
|
4550
6355
|
let runtime = new $Util.RuntimeOptions({});
|
|
4551
6356
|
return await this.modifyRemarkWithOptions(request, runtime);
|
|
4552
6357
|
}
|
|
6358
|
+
/**
|
|
6359
|
+
* @summary Queries the scheduling rule of an on-demand instance.
|
|
6360
|
+
*
|
|
6361
|
+
* @param request QuerySchedruleOnDemandRequest
|
|
6362
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6363
|
+
* @return QuerySchedruleOnDemandResponse
|
|
6364
|
+
*/
|
|
4553
6365
|
async querySchedruleOnDemandWithOptions(request, runtime) {
|
|
4554
6366
|
tea_util_1.default.validateModel(request);
|
|
4555
6367
|
let query = {};
|
|
@@ -4575,10 +6387,23 @@ class Client extends openapi_client_1.default {
|
|
|
4575
6387
|
});
|
|
4576
6388
|
return $tea.cast(await this.callApi(params, req, runtime), new QuerySchedruleOnDemandResponse({}));
|
|
4577
6389
|
}
|
|
6390
|
+
/**
|
|
6391
|
+
* @summary Queries the scheduling rule of an on-demand instance.
|
|
6392
|
+
*
|
|
6393
|
+
* @param request QuerySchedruleOnDemandRequest
|
|
6394
|
+
* @return QuerySchedruleOnDemandResponse
|
|
6395
|
+
*/
|
|
4578
6396
|
async querySchedruleOnDemand(request) {
|
|
4579
6397
|
let runtime = new $Util.RuntimeOptions({});
|
|
4580
6398
|
return await this.querySchedruleOnDemandWithOptions(request, runtime);
|
|
4581
6399
|
}
|
|
6400
|
+
/**
|
|
6401
|
+
* @summary 释放原生防护全局实例
|
|
6402
|
+
*
|
|
6403
|
+
* @param request ReleaseDdosOriginInstanceRequest
|
|
6404
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6405
|
+
* @return ReleaseDdosOriginInstanceResponse
|
|
6406
|
+
*/
|
|
4582
6407
|
async releaseDdosOriginInstanceWithOptions(request, runtime) {
|
|
4583
6408
|
tea_util_1.default.validateModel(request);
|
|
4584
6409
|
let query = {};
|
|
@@ -4601,10 +6426,21 @@ class Client extends openapi_client_1.default {
|
|
|
4601
6426
|
});
|
|
4602
6427
|
return $tea.cast(await this.callApi(params, req, runtime), new ReleaseDdosOriginInstanceResponse({}));
|
|
4603
6428
|
}
|
|
6429
|
+
/**
|
|
6430
|
+
* @summary 释放原生防护全局实例
|
|
6431
|
+
*
|
|
6432
|
+
* @param request ReleaseDdosOriginInstanceRequest
|
|
6433
|
+
* @return ReleaseDdosOriginInstanceResponse
|
|
6434
|
+
*/
|
|
4604
6435
|
async releaseDdosOriginInstance(request) {
|
|
4605
6436
|
let runtime = new $Util.RuntimeOptions({});
|
|
4606
6437
|
return await this.releaseDdosOriginInstanceWithOptions(request, runtime);
|
|
4607
6438
|
}
|
|
6439
|
+
/**
|
|
6440
|
+
* @param request SetInstanceModeOnDemandRequest
|
|
6441
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6442
|
+
* @return SetInstanceModeOnDemandResponse
|
|
6443
|
+
*/
|
|
4608
6444
|
async setInstanceModeOnDemandWithOptions(request, runtime) {
|
|
4609
6445
|
tea_util_1.default.validateModel(request);
|
|
4610
6446
|
let query = {};
|
|
@@ -4633,18 +6469,24 @@ class Client extends openapi_client_1.default {
|
|
|
4633
6469
|
});
|
|
4634
6470
|
return $tea.cast(await this.callApi(params, req, runtime), new SetInstanceModeOnDemandResponse({}));
|
|
4635
6471
|
}
|
|
6472
|
+
/**
|
|
6473
|
+
* @param request SetInstanceModeOnDemandRequest
|
|
6474
|
+
* @return SetInstanceModeOnDemandResponse
|
|
6475
|
+
*/
|
|
4636
6476
|
async setInstanceModeOnDemand(request) {
|
|
4637
6477
|
let runtime = new $Util.RuntimeOptions({});
|
|
4638
6478
|
return await this.setInstanceModeOnDemandWithOptions(request, runtime);
|
|
4639
6479
|
}
|
|
4640
6480
|
/**
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
6481
|
+
* @summary Adds tags to Anti-DDoS Origin instances.
|
|
6482
|
+
*
|
|
6483
|
+
* @description You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
|
|
6484
|
+
* ## Limits
|
|
6485
|
+
* 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.
|
|
6486
|
+
*
|
|
6487
|
+
* @param request TagResourcesRequest
|
|
6488
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6489
|
+
* @return TagResourcesResponse
|
|
4648
6490
|
*/
|
|
4649
6491
|
async tagResourcesWithOptions(request, runtime) {
|
|
4650
6492
|
tea_util_1.default.validateModel(request);
|
|
@@ -4681,17 +6523,26 @@ class Client extends openapi_client_1.default {
|
|
|
4681
6523
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
4682
6524
|
}
|
|
4683
6525
|
/**
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
6526
|
+
* @summary Adds tags to Anti-DDoS Origin instances.
|
|
6527
|
+
*
|
|
6528
|
+
* @description You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
|
|
6529
|
+
* ## Limits
|
|
6530
|
+
* 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.
|
|
6531
|
+
*
|
|
6532
|
+
* @param request TagResourcesRequest
|
|
6533
|
+
* @return TagResourcesResponse
|
|
4690
6534
|
*/
|
|
4691
6535
|
async tagResources(request) {
|
|
4692
6536
|
let runtime = new $Util.RuntimeOptions({});
|
|
4693
6537
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
4694
6538
|
}
|
|
6539
|
+
/**
|
|
6540
|
+
* @summary Removes tags from Anti-DDoS Origin Enterprise instances.
|
|
6541
|
+
*
|
|
6542
|
+
* @param request UntagResourcesRequest
|
|
6543
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6544
|
+
* @return UntagResourcesResponse
|
|
6545
|
+
*/
|
|
4695
6546
|
async untagResourcesWithOptions(request, runtime) {
|
|
4696
6547
|
tea_util_1.default.validateModel(request);
|
|
4697
6548
|
let query = {};
|
|
@@ -4729,6 +6580,12 @@ class Client extends openapi_client_1.default {
|
|
|
4729
6580
|
});
|
|
4730
6581
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
4731
6582
|
}
|
|
6583
|
+
/**
|
|
6584
|
+
* @summary Removes tags from Anti-DDoS Origin Enterprise instances.
|
|
6585
|
+
*
|
|
6586
|
+
* @param request UntagResourcesRequest
|
|
6587
|
+
* @return UntagResourcesResponse
|
|
6588
|
+
*/
|
|
4732
6589
|
async untagResources(request) {
|
|
4733
6590
|
let runtime = new $Util.RuntimeOptions({});
|
|
4734
6591
|
return await this.untagResourcesWithOptions(request, runtime);
|