@alicloud/ddosbgp20180720 2.4.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 +983 -72
- package/dist/client.js +1629 -121
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2453 -569
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
|
}
|
|
@@ -2930,30 +3405,50 @@ class DescribeTrafficResponseBodyFlowList extends $tea.Model {
|
|
|
2930
3405
|
}
|
|
2931
3406
|
}
|
|
2932
3407
|
exports.DescribeTrafficResponseBodyFlowList = DescribeTrafficResponseBodyFlowList;
|
|
2933
|
-
class
|
|
3408
|
+
class DetachFromPolicyRequestIpPortProtocolList extends $tea.Model {
|
|
2934
3409
|
static names() {
|
|
2935
3410
|
return {
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
3411
|
+
ip: 'Ip',
|
|
3412
|
+
port: 'Port',
|
|
3413
|
+
protocol: 'Protocol',
|
|
2939
3414
|
};
|
|
2940
3415
|
}
|
|
2941
3416
|
static types() {
|
|
2942
3417
|
return {
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
3418
|
+
ip: 'string',
|
|
3419
|
+
port: 'number',
|
|
3420
|
+
protocol: 'string',
|
|
2946
3421
|
};
|
|
2947
3422
|
}
|
|
2948
3423
|
constructor(map) {
|
|
2949
3424
|
super(map);
|
|
2950
3425
|
}
|
|
2951
3426
|
}
|
|
2952
|
-
exports.
|
|
2953
|
-
class
|
|
3427
|
+
exports.DetachFromPolicyRequestIpPortProtocolList = DetachFromPolicyRequestIpPortProtocolList;
|
|
3428
|
+
class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
|
|
2954
3429
|
static names() {
|
|
2955
3430
|
return {
|
|
2956
|
-
|
|
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',
|
|
2957
3452
|
instanceId: 'InstanceId',
|
|
2958
3453
|
};
|
|
2959
3454
|
}
|
|
@@ -2968,80 +3463,770 @@ class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $tea.Model
|
|
|
2968
3463
|
}
|
|
2969
3464
|
}
|
|
2970
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;
|
|
2971
3744
|
class ListTagKeysResponseBodyTagKeys extends $tea.Model {
|
|
2972
3745
|
static names() {
|
|
2973
3746
|
return {
|
|
2974
|
-
tagCount: 'TagCount',
|
|
2975
|
-
tagKey: 'TagKey',
|
|
3747
|
+
tagCount: 'TagCount',
|
|
3748
|
+
tagKey: 'TagKey',
|
|
3749
|
+
};
|
|
3750
|
+
}
|
|
3751
|
+
static types() {
|
|
3752
|
+
return {
|
|
3753
|
+
tagCount: 'number',
|
|
3754
|
+
tagKey: 'string',
|
|
3755
|
+
};
|
|
3756
|
+
}
|
|
3757
|
+
constructor(map) {
|
|
3758
|
+
super(map);
|
|
3759
|
+
}
|
|
3760
|
+
}
|
|
3761
|
+
exports.ListTagKeysResponseBodyTagKeys = ListTagKeysResponseBodyTagKeys;
|
|
3762
|
+
class ListTagResourcesRequestTag extends $tea.Model {
|
|
3763
|
+
static names() {
|
|
3764
|
+
return {
|
|
3765
|
+
key: 'Key',
|
|
3766
|
+
value: 'Value',
|
|
3767
|
+
};
|
|
3768
|
+
}
|
|
3769
|
+
static types() {
|
|
3770
|
+
return {
|
|
3771
|
+
key: 'string',
|
|
3772
|
+
value: 'string',
|
|
3773
|
+
};
|
|
3774
|
+
}
|
|
3775
|
+
constructor(map) {
|
|
3776
|
+
super(map);
|
|
3777
|
+
}
|
|
3778
|
+
}
|
|
3779
|
+
exports.ListTagResourcesRequestTag = ListTagResourcesRequestTag;
|
|
3780
|
+
class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
|
|
3781
|
+
static names() {
|
|
3782
|
+
return {
|
|
3783
|
+
resourceId: 'ResourceId',
|
|
3784
|
+
resourceType: 'ResourceType',
|
|
3785
|
+
tagKey: 'TagKey',
|
|
3786
|
+
tagValue: 'TagValue',
|
|
3787
|
+
};
|
|
3788
|
+
}
|
|
3789
|
+
static types() {
|
|
3790
|
+
return {
|
|
3791
|
+
resourceId: 'string',
|
|
3792
|
+
resourceType: 'string',
|
|
3793
|
+
tagKey: 'string',
|
|
3794
|
+
tagValue: 'string',
|
|
3795
|
+
};
|
|
3796
|
+
}
|
|
3797
|
+
constructor(map) {
|
|
3798
|
+
super(map);
|
|
3799
|
+
}
|
|
3800
|
+
}
|
|
3801
|
+
exports.ListTagResourcesResponseBodyTagResourcesTagResource = ListTagResourcesResponseBodyTagResourcesTagResource;
|
|
3802
|
+
class ListTagResourcesResponseBodyTagResources extends $tea.Model {
|
|
3803
|
+
static names() {
|
|
3804
|
+
return {
|
|
3805
|
+
tagResource: 'TagResource',
|
|
3806
|
+
};
|
|
3807
|
+
}
|
|
3808
|
+
static types() {
|
|
3809
|
+
return {
|
|
3810
|
+
tagResource: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResourcesTagResource },
|
|
3811
|
+
};
|
|
3812
|
+
}
|
|
3813
|
+
constructor(map) {
|
|
3814
|
+
super(map);
|
|
3815
|
+
}
|
|
3816
|
+
}
|
|
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',
|
|
2976
4125
|
};
|
|
2977
4126
|
}
|
|
2978
4127
|
static types() {
|
|
2979
4128
|
return {
|
|
2980
|
-
|
|
2981
|
-
|
|
4129
|
+
dstPortEnd: 'number',
|
|
4130
|
+
dstPortStart: 'number',
|
|
4131
|
+
id: 'string',
|
|
4132
|
+
matchAction: 'string',
|
|
4133
|
+
protocol: 'string',
|
|
4134
|
+
seqNo: 'number',
|
|
4135
|
+
srcPortEnd: 'number',
|
|
4136
|
+
srcPortStart: 'number',
|
|
2982
4137
|
};
|
|
2983
4138
|
}
|
|
2984
4139
|
constructor(map) {
|
|
2985
4140
|
super(map);
|
|
2986
4141
|
}
|
|
2987
4142
|
}
|
|
2988
|
-
exports.
|
|
2989
|
-
class
|
|
4143
|
+
exports.ModifyPolicyContentRequestContentPortRuleList = ModifyPolicyContentRequestContentPortRuleList;
|
|
4144
|
+
class ModifyPolicyContentRequestContentSourceBlockList extends $tea.Model {
|
|
2990
4145
|
static names() {
|
|
2991
4146
|
return {
|
|
2992
|
-
|
|
2993
|
-
|
|
4147
|
+
blockExpireSeconds: 'BlockExpireSeconds',
|
|
4148
|
+
everySeconds: 'EverySeconds',
|
|
4149
|
+
exceedLimitTimes: 'ExceedLimitTimes',
|
|
4150
|
+
type: 'Type',
|
|
2994
4151
|
};
|
|
2995
4152
|
}
|
|
2996
4153
|
static types() {
|
|
2997
4154
|
return {
|
|
2998
|
-
|
|
2999
|
-
|
|
4155
|
+
blockExpireSeconds: 'number',
|
|
4156
|
+
everySeconds: 'number',
|
|
4157
|
+
exceedLimitTimes: 'number',
|
|
4158
|
+
type: 'number',
|
|
3000
4159
|
};
|
|
3001
4160
|
}
|
|
3002
4161
|
constructor(map) {
|
|
3003
4162
|
super(map);
|
|
3004
4163
|
}
|
|
3005
4164
|
}
|
|
3006
|
-
exports.
|
|
3007
|
-
class
|
|
4165
|
+
exports.ModifyPolicyContentRequestContentSourceBlockList = ModifyPolicyContentRequestContentSourceBlockList;
|
|
4166
|
+
class ModifyPolicyContentRequestContentSourceLimit extends $tea.Model {
|
|
3008
4167
|
static names() {
|
|
3009
4168
|
return {
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
4169
|
+
bps: 'Bps',
|
|
4170
|
+
pps: 'Pps',
|
|
4171
|
+
synBps: 'SynBps',
|
|
4172
|
+
synPps: 'SynPps',
|
|
3014
4173
|
};
|
|
3015
4174
|
}
|
|
3016
4175
|
static types() {
|
|
3017
4176
|
return {
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
4177
|
+
bps: 'number',
|
|
4178
|
+
pps: 'number',
|
|
4179
|
+
synBps: 'number',
|
|
4180
|
+
synPps: 'number',
|
|
3022
4181
|
};
|
|
3023
4182
|
}
|
|
3024
4183
|
constructor(map) {
|
|
3025
4184
|
super(map);
|
|
3026
4185
|
}
|
|
3027
4186
|
}
|
|
3028
|
-
exports.
|
|
3029
|
-
class
|
|
4187
|
+
exports.ModifyPolicyContentRequestContentSourceLimit = ModifyPolicyContentRequestContentSourceLimit;
|
|
4188
|
+
class ModifyPolicyContentRequestContent extends $tea.Model {
|
|
3030
4189
|
static names() {
|
|
3031
4190
|
return {
|
|
3032
|
-
|
|
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',
|
|
3033
4205
|
};
|
|
3034
4206
|
}
|
|
3035
4207
|
static types() {
|
|
3036
4208
|
return {
|
|
3037
|
-
|
|
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',
|
|
3038
4223
|
};
|
|
3039
4224
|
}
|
|
3040
4225
|
constructor(map) {
|
|
3041
4226
|
super(map);
|
|
3042
4227
|
}
|
|
3043
4228
|
}
|
|
3044
|
-
exports.
|
|
4229
|
+
exports.ModifyPolicyContentRequestContent = ModifyPolicyContentRequestContent;
|
|
3045
4230
|
class QuerySchedruleOnDemandResponseBodyRuleConfig extends $tea.Model {
|
|
3046
4231
|
static names() {
|
|
3047
4232
|
return {
|
|
@@ -3266,9 +4451,6 @@ class Client extends openapi_client_1.default {
|
|
|
3266
4451
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3267
4452
|
query["RegionId"] = request.regionId;
|
|
3268
4453
|
}
|
|
3269
|
-
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
3270
|
-
query["SourceIp"] = request.sourceIp;
|
|
3271
|
-
}
|
|
3272
4454
|
let req = new $OpenApi.OpenApiRequest({
|
|
3273
4455
|
query: openapi_util_1.default.query(query),
|
|
3274
4456
|
});
|
|
@@ -3449,6 +4631,48 @@ class Client extends openapi_client_1.default {
|
|
|
3449
4631
|
let runtime = new $Util.RuntimeOptions({});
|
|
3450
4632
|
return await this.configSchedruleOnDemandWithOptions(request, runtime);
|
|
3451
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);
|
|
4675
|
+
}
|
|
3452
4676
|
/**
|
|
3453
4677
|
* @summary Creates a scheduling rule for an on-demand instance.
|
|
3454
4678
|
*
|
|
@@ -3631,6 +4855,45 @@ class Client extends openapi_client_1.default {
|
|
|
3631
4855
|
let runtime = new $Util.RuntimeOptions({});
|
|
3632
4856
|
return await this.deleteIpWithOptions(request, runtime);
|
|
3633
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
|
+
}
|
|
3634
4897
|
/**
|
|
3635
4898
|
* @summary 删除资源目录成员账号列表
|
|
3636
4899
|
*
|
|
@@ -3735,9 +4998,6 @@ class Client extends openapi_client_1.default {
|
|
|
3735
4998
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3736
4999
|
query["RegionId"] = request.regionId;
|
|
3737
5000
|
}
|
|
3738
|
-
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
3739
|
-
query["SourceIp"] = request.sourceIp;
|
|
3740
|
-
}
|
|
3741
5001
|
if (!tea_util_1.default.isUnset(request.type)) {
|
|
3742
5002
|
query["Type"] = request.type;
|
|
3743
5003
|
}
|
|
@@ -3792,9 +5052,6 @@ class Client extends openapi_client_1.default {
|
|
|
3792
5052
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
3793
5053
|
query["RegionId"] = request.regionId;
|
|
3794
5054
|
}
|
|
3795
|
-
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
3796
|
-
query["SourceIp"] = request.sourceIp;
|
|
3797
|
-
}
|
|
3798
5055
|
if (!tea_util_1.default.isUnset(request.type)) {
|
|
3799
5056
|
query["Type"] = request.type;
|
|
3800
5057
|
}
|
|
@@ -4546,6 +5803,53 @@ class Client extends openapi_client_1.default {
|
|
|
4546
5803
|
let runtime = new $Util.RuntimeOptions({});
|
|
4547
5804
|
return await this.describeTrafficWithOptions(request, runtime);
|
|
4548
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
|
+
}
|
|
4549
5853
|
/**
|
|
4550
5854
|
* @summary Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
|
|
4551
5855
|
*
|
|
@@ -4570,9 +5874,6 @@ class Client extends openapi_client_1.default {
|
|
|
4570
5874
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
4571
5875
|
query["RegionId"] = request.regionId;
|
|
4572
5876
|
}
|
|
4573
|
-
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
4574
|
-
query["SourceIp"] = request.sourceIp;
|
|
4575
|
-
}
|
|
4576
5877
|
let req = new $OpenApi.OpenApiRequest({
|
|
4577
5878
|
query: openapi_util_1.default.query(query),
|
|
4578
5879
|
});
|
|
@@ -4686,6 +5987,110 @@ class Client extends openapi_client_1.default {
|
|
|
4686
5987
|
let runtime = new $Util.RuntimeOptions({});
|
|
4687
5988
|
return await this.listOpenedAccessLogInstancesWithOptions(request, runtime);
|
|
4688
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
|
+
}
|
|
4689
6094
|
/**
|
|
4690
6095
|
* @summary Queries all tags.
|
|
4691
6096
|
*
|
|
@@ -4791,6 +6196,109 @@ class Client extends openapi_client_1.default {
|
|
|
4791
6196
|
let runtime = new $Util.RuntimeOptions({});
|
|
4792
6197
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
4793
6198
|
}
|
|
6199
|
+
/**
|
|
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
|
+
}
|
|
4794
6302
|
/**
|
|
4795
6303
|
* @summary Adds remarks for a specific Anti-DDoS Origin instance.
|
|
4796
6304
|
*
|