@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 CHANGED
@@ -103,7 +103,6 @@ export declare class AttachAssetGroupToInstanceRequest extends $tea.Model {
103
103
  assetGroupList?: AttachAssetGroupToInstanceRequestAssetGroupList[];
104
104
  instanceId?: string;
105
105
  regionId?: string;
106
- sourceIp?: string;
107
106
  static names(): {
108
107
  [key: string]: string;
109
108
  };
@@ -118,7 +117,6 @@ export declare class AttachAssetGroupToInstanceShrinkRequest extends $tea.Model
118
117
  assetGroupListShrink?: string;
119
118
  instanceId?: string;
120
119
  regionId?: string;
121
- sourceIp?: string;
122
120
  static names(): {
123
121
  [key: string]: string;
124
122
  };
@@ -293,6 +291,48 @@ export declare class ConfigSchedruleOnDemandResponse extends $tea.Model {
293
291
  [key: string]: any;
294
292
  });
295
293
  }
294
+ export declare class CreatePolicyRequest extends $tea.Model {
295
+ name?: string;
296
+ type?: string;
297
+ static names(): {
298
+ [key: string]: string;
299
+ };
300
+ static types(): {
301
+ [key: string]: any;
302
+ };
303
+ constructor(map?: {
304
+ [key: string]: any;
305
+ });
306
+ }
307
+ export declare class CreatePolicyResponseBody extends $tea.Model {
308
+ id?: string;
309
+ requestId?: string;
310
+ static names(): {
311
+ [key: string]: string;
312
+ };
313
+ static types(): {
314
+ [key: string]: any;
315
+ };
316
+ constructor(map?: {
317
+ [key: string]: any;
318
+ });
319
+ }
320
+ export declare class CreatePolicyResponse extends $tea.Model {
321
+ headers?: {
322
+ [key: string]: string;
323
+ };
324
+ statusCode?: number;
325
+ body?: CreatePolicyResponseBody;
326
+ static names(): {
327
+ [key: string]: string;
328
+ };
329
+ static types(): {
330
+ [key: string]: any;
331
+ };
332
+ constructor(map?: {
333
+ [key: string]: any;
334
+ });
335
+ }
296
336
  export declare class CreateSchedruleOnDemandRequest extends $tea.Model {
297
337
  instanceId?: string;
298
338
  regionId?: string;
@@ -430,6 +470,46 @@ export declare class DeleteIpResponse extends $tea.Model {
430
470
  [key: string]: any;
431
471
  });
432
472
  }
473
+ export declare class DeletePolicyRequest extends $tea.Model {
474
+ id?: string;
475
+ static names(): {
476
+ [key: string]: string;
477
+ };
478
+ static types(): {
479
+ [key: string]: any;
480
+ };
481
+ constructor(map?: {
482
+ [key: string]: any;
483
+ });
484
+ }
485
+ export declare class DeletePolicyResponseBody extends $tea.Model {
486
+ requestId?: string;
487
+ static names(): {
488
+ [key: string]: string;
489
+ };
490
+ static types(): {
491
+ [key: string]: any;
492
+ };
493
+ constructor(map?: {
494
+ [key: string]: any;
495
+ });
496
+ }
497
+ export declare class DeletePolicyResponse extends $tea.Model {
498
+ headers?: {
499
+ [key: string]: string;
500
+ };
501
+ statusCode?: number;
502
+ body?: DeletePolicyResponseBody;
503
+ static names(): {
504
+ [key: string]: string;
505
+ };
506
+ static types(): {
507
+ [key: string]: any;
508
+ };
509
+ constructor(map?: {
510
+ [key: string]: any;
511
+ });
512
+ }
433
513
  export declare class DeleteRdMemberListRequest extends $tea.Model {
434
514
  memberList?: DeleteRdMemberListRequestMemberList[];
435
515
  static names(): {
@@ -528,7 +608,6 @@ export declare class DescribeAssetGroupRequest extends $tea.Model {
528
608
  name?: string;
529
609
  region?: string;
530
610
  regionId?: string;
531
- sourceIp?: string;
532
611
  type?: string;
533
612
  static names(): {
534
613
  [key: string]: string;
@@ -576,7 +655,6 @@ export declare class DescribeAssetGroupToInstanceRequest extends $tea.Model {
576
655
  name?: string;
577
656
  region?: string;
578
657
  regionId?: string;
579
- sourceIp?: string;
580
658
  type?: string;
581
659
  static names(): {
582
660
  [key: string]: string;
@@ -1233,11 +1311,64 @@ export declare class DescribeTrafficResponse extends $tea.Model {
1233
1311
  [key: string]: any;
1234
1312
  });
1235
1313
  }
1314
+ export declare class DetachFromPolicyRequest extends $tea.Model {
1315
+ ipPortProtocolList?: DetachFromPolicyRequestIpPortProtocolList[];
1316
+ policyType?: string;
1317
+ static names(): {
1318
+ [key: string]: string;
1319
+ };
1320
+ static types(): {
1321
+ [key: string]: any;
1322
+ };
1323
+ constructor(map?: {
1324
+ [key: string]: any;
1325
+ });
1326
+ }
1327
+ export declare class DetachFromPolicyShrinkRequest extends $tea.Model {
1328
+ ipPortProtocolListShrink?: string;
1329
+ policyType?: string;
1330
+ static names(): {
1331
+ [key: string]: string;
1332
+ };
1333
+ static types(): {
1334
+ [key: string]: any;
1335
+ };
1336
+ constructor(map?: {
1337
+ [key: string]: any;
1338
+ });
1339
+ }
1340
+ export declare class DetachFromPolicyResponseBody extends $tea.Model {
1341
+ requestId?: string;
1342
+ static names(): {
1343
+ [key: string]: string;
1344
+ };
1345
+ static types(): {
1346
+ [key: string]: any;
1347
+ };
1348
+ constructor(map?: {
1349
+ [key: string]: any;
1350
+ });
1351
+ }
1352
+ export declare class DetachFromPolicyResponse extends $tea.Model {
1353
+ headers?: {
1354
+ [key: string]: string;
1355
+ };
1356
+ statusCode?: number;
1357
+ body?: DetachFromPolicyResponseBody;
1358
+ static names(): {
1359
+ [key: string]: string;
1360
+ };
1361
+ static types(): {
1362
+ [key: string]: any;
1363
+ };
1364
+ constructor(map?: {
1365
+ [key: string]: any;
1366
+ });
1367
+ }
1236
1368
  export declare class DettachAssetGroupToInstanceRequest extends $tea.Model {
1237
1369
  assetGroupList?: DettachAssetGroupToInstanceRequestAssetGroupList[];
1238
1370
  instanceId?: string;
1239
1371
  regionId?: string;
1240
- sourceIp?: string;
1241
1372
  static names(): {
1242
1373
  [key: string]: string;
1243
1374
  };
@@ -1252,7 +1383,6 @@ export declare class DettachAssetGroupToInstanceShrinkRequest extends $tea.Model
1252
1383
  assetGroupListShrink?: string;
1253
1384
  instanceId?: string;
1254
1385
  regionId?: string;
1255
- sourceIp?: string;
1256
1386
  static names(): {
1257
1387
  [key: string]: string;
1258
1388
  };
@@ -1377,12 +1507,11 @@ export declare class ListOpenedAccessLogInstancesResponse extends $tea.Model {
1377
1507
  [key: string]: any;
1378
1508
  });
1379
1509
  }
1380
- export declare class ListTagKeysRequest extends $tea.Model {
1381
- currentPage?: number;
1510
+ export declare class ListPolicyRequest extends $tea.Model {
1511
+ name?: string;
1512
+ pageNo?: number;
1382
1513
  pageSize?: number;
1383
- regionId?: string;
1384
- resourceGroupId?: string;
1385
- resourceType?: string;
1514
+ type?: string;
1386
1515
  static names(): {
1387
1516
  [key: string]: string;
1388
1517
  };
@@ -1393,12 +1522,10 @@ export declare class ListTagKeysRequest extends $tea.Model {
1393
1522
  [key: string]: any;
1394
1523
  });
1395
1524
  }
1396
- export declare class ListTagKeysResponseBody extends $tea.Model {
1397
- currentPage?: number;
1398
- pageSize?: number;
1525
+ export declare class ListPolicyResponseBody extends $tea.Model {
1526
+ policyList?: ListPolicyResponseBodyPolicyList[];
1399
1527
  requestId?: string;
1400
- tagKeys?: ListTagKeysResponseBodyTagKeys[];
1401
- totalCount?: number;
1528
+ total?: number;
1402
1529
  static names(): {
1403
1530
  [key: string]: string;
1404
1531
  };
@@ -1409,12 +1536,12 @@ export declare class ListTagKeysResponseBody extends $tea.Model {
1409
1536
  [key: string]: any;
1410
1537
  });
1411
1538
  }
1412
- export declare class ListTagKeysResponse extends $tea.Model {
1539
+ export declare class ListPolicyResponse extends $tea.Model {
1413
1540
  headers?: {
1414
1541
  [key: string]: string;
1415
1542
  };
1416
1543
  statusCode?: number;
1417
- body?: ListTagKeysResponseBody;
1544
+ body?: ListPolicyResponseBody;
1418
1545
  static names(): {
1419
1546
  [key: string]: string;
1420
1547
  };
@@ -1425,13 +1552,12 @@ export declare class ListTagKeysResponse extends $tea.Model {
1425
1552
  [key: string]: any;
1426
1553
  });
1427
1554
  }
1428
- export declare class ListTagResourcesRequest extends $tea.Model {
1429
- nextToken?: string;
1430
- regionId?: string;
1431
- resourceGroupId?: string;
1432
- resourceId?: string[];
1433
- resourceType?: string;
1434
- tag?: ListTagResourcesRequestTag[];
1555
+ export declare class ListPolicyAttachmentRequest extends $tea.Model {
1556
+ ipPortProtocolList?: ListPolicyAttachmentRequestIpPortProtocolList[];
1557
+ pageNo?: number;
1558
+ pageSize?: number;
1559
+ policyId?: string;
1560
+ policyType?: string;
1435
1561
  static names(): {
1436
1562
  [key: string]: string;
1437
1563
  };
@@ -1442,10 +1568,26 @@ export declare class ListTagResourcesRequest extends $tea.Model {
1442
1568
  [key: string]: any;
1443
1569
  });
1444
1570
  }
1445
- export declare class ListTagResourcesResponseBody extends $tea.Model {
1446
- nextToken?: string;
1571
+ export declare class ListPolicyAttachmentShrinkRequest extends $tea.Model {
1572
+ ipPortProtocolListShrink?: string;
1573
+ pageNo?: number;
1574
+ pageSize?: number;
1575
+ policyId?: string;
1576
+ policyType?: string;
1577
+ static names(): {
1578
+ [key: string]: string;
1579
+ };
1580
+ static types(): {
1581
+ [key: string]: any;
1582
+ };
1583
+ constructor(map?: {
1584
+ [key: string]: any;
1585
+ });
1586
+ }
1587
+ export declare class ListPolicyAttachmentResponseBody extends $tea.Model {
1588
+ attachmentList?: ListPolicyAttachmentResponseBodyAttachmentList[];
1447
1589
  requestId?: string;
1448
- tagResources?: ListTagResourcesResponseBodyTagResources;
1590
+ total?: number;
1449
1591
  static names(): {
1450
1592
  [key: string]: string;
1451
1593
  };
@@ -1456,12 +1598,12 @@ export declare class ListTagResourcesResponseBody extends $tea.Model {
1456
1598
  [key: string]: any;
1457
1599
  });
1458
1600
  }
1459
- export declare class ListTagResourcesResponse extends $tea.Model {
1601
+ export declare class ListPolicyAttachmentResponse extends $tea.Model {
1460
1602
  headers?: {
1461
1603
  [key: string]: string;
1462
1604
  };
1463
1605
  statusCode?: number;
1464
- body?: ListTagResourcesResponseBody;
1606
+ body?: ListPolicyAttachmentResponseBody;
1465
1607
  static names(): {
1466
1608
  [key: string]: string;
1467
1609
  };
@@ -1472,11 +1614,12 @@ export declare class ListTagResourcesResponse extends $tea.Model {
1472
1614
  [key: string]: any;
1473
1615
  });
1474
1616
  }
1475
- export declare class ModifyRemarkRequest extends $tea.Model {
1476
- instanceId?: string;
1617
+ export declare class ListTagKeysRequest extends $tea.Model {
1618
+ currentPage?: number;
1619
+ pageSize?: number;
1477
1620
  regionId?: string;
1478
- remark?: string;
1479
1621
  resourceGroupId?: string;
1622
+ resourceType?: string;
1480
1623
  static names(): {
1481
1624
  [key: string]: string;
1482
1625
  };
@@ -1487,8 +1630,12 @@ export declare class ModifyRemarkRequest extends $tea.Model {
1487
1630
  [key: string]: any;
1488
1631
  });
1489
1632
  }
1490
- export declare class ModifyRemarkResponseBody extends $tea.Model {
1633
+ export declare class ListTagKeysResponseBody extends $tea.Model {
1634
+ currentPage?: number;
1635
+ pageSize?: number;
1491
1636
  requestId?: string;
1637
+ tagKeys?: ListTagKeysResponseBodyTagKeys[];
1638
+ totalCount?: number;
1492
1639
  static names(): {
1493
1640
  [key: string]: string;
1494
1641
  };
@@ -1499,12 +1646,12 @@ export declare class ModifyRemarkResponseBody extends $tea.Model {
1499
1646
  [key: string]: any;
1500
1647
  });
1501
1648
  }
1502
- export declare class ModifyRemarkResponse extends $tea.Model {
1649
+ export declare class ListTagKeysResponse extends $tea.Model {
1503
1650
  headers?: {
1504
1651
  [key: string]: string;
1505
1652
  };
1506
1653
  statusCode?: number;
1507
- body?: ModifyRemarkResponseBody;
1654
+ body?: ListTagKeysResponseBody;
1508
1655
  static names(): {
1509
1656
  [key: string]: string;
1510
1657
  };
@@ -1515,9 +1662,13 @@ export declare class ModifyRemarkResponse extends $tea.Model {
1515
1662
  [key: string]: any;
1516
1663
  });
1517
1664
  }
1518
- export declare class QuerySchedruleOnDemandRequest extends $tea.Model {
1519
- instanceId?: string;
1665
+ export declare class ListTagResourcesRequest extends $tea.Model {
1666
+ nextToken?: string;
1520
1667
  regionId?: string;
1668
+ resourceGroupId?: string;
1669
+ resourceId?: string[];
1670
+ resourceType?: string;
1671
+ tag?: ListTagResourcesRequestTag[];
1521
1672
  static names(): {
1522
1673
  [key: string]: string;
1523
1674
  };
@@ -1528,12 +1679,10 @@ export declare class QuerySchedruleOnDemandRequest extends $tea.Model {
1528
1679
  [key: string]: any;
1529
1680
  });
1530
1681
  }
1531
- export declare class QuerySchedruleOnDemandResponseBody extends $tea.Model {
1532
- instanceId?: string;
1682
+ export declare class ListTagResourcesResponseBody extends $tea.Model {
1683
+ nextToken?: string;
1533
1684
  requestId?: string;
1534
- ruleConfig?: QuerySchedruleOnDemandResponseBodyRuleConfig[];
1535
- ruleStatus?: QuerySchedruleOnDemandResponseBodyRuleStatus[];
1536
- userId?: string;
1685
+ tagResources?: ListTagResourcesResponseBodyTagResources;
1537
1686
  static names(): {
1538
1687
  [key: string]: string;
1539
1688
  };
@@ -1544,12 +1693,12 @@ export declare class QuerySchedruleOnDemandResponseBody extends $tea.Model {
1544
1693
  [key: string]: any;
1545
1694
  });
1546
1695
  }
1547
- export declare class QuerySchedruleOnDemandResponse extends $tea.Model {
1696
+ export declare class ListTagResourcesResponse extends $tea.Model {
1548
1697
  headers?: {
1549
1698
  [key: string]: string;
1550
1699
  };
1551
1700
  statusCode?: number;
1552
- body?: QuerySchedruleOnDemandResponseBody;
1701
+ body?: ListTagResourcesResponseBody;
1553
1702
  static names(): {
1554
1703
  [key: string]: string;
1555
1704
  };
@@ -1560,8 +1709,11 @@ export declare class QuerySchedruleOnDemandResponse extends $tea.Model {
1560
1709
  [key: string]: any;
1561
1710
  });
1562
1711
  }
1563
- export declare class ReleaseDdosOriginInstanceRequest extends $tea.Model {
1564
- instanceId?: string;
1712
+ export declare class ModifyPolicyRequest extends $tea.Model {
1713
+ actionType?: number;
1714
+ content?: ModifyPolicyRequestContent;
1715
+ id?: string;
1716
+ name?: string;
1565
1717
  static names(): {
1566
1718
  [key: string]: string;
1567
1719
  };
@@ -1572,7 +1724,22 @@ export declare class ReleaseDdosOriginInstanceRequest extends $tea.Model {
1572
1724
  [key: string]: any;
1573
1725
  });
1574
1726
  }
1575
- export declare class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
1727
+ export declare class ModifyPolicyShrinkRequest extends $tea.Model {
1728
+ actionType?: number;
1729
+ contentShrink?: string;
1730
+ id?: string;
1731
+ name?: string;
1732
+ static names(): {
1733
+ [key: string]: string;
1734
+ };
1735
+ static types(): {
1736
+ [key: string]: any;
1737
+ };
1738
+ constructor(map?: {
1739
+ [key: string]: any;
1740
+ });
1741
+ }
1742
+ export declare class ModifyPolicyResponseBody extends $tea.Model {
1576
1743
  requestId?: string;
1577
1744
  static names(): {
1578
1745
  [key: string]: string;
@@ -1584,12 +1751,12 @@ export declare class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
1584
1751
  [key: string]: any;
1585
1752
  });
1586
1753
  }
1587
- export declare class ReleaseDdosOriginInstanceResponse extends $tea.Model {
1754
+ export declare class ModifyPolicyResponse extends $tea.Model {
1588
1755
  headers?: {
1589
1756
  [key: string]: string;
1590
1757
  };
1591
1758
  statusCode?: number;
1592
- body?: ReleaseDdosOriginInstanceResponseBody;
1759
+ body?: ModifyPolicyResponseBody;
1593
1760
  static names(): {
1594
1761
  [key: string]: string;
1595
1762
  };
@@ -1600,10 +1767,10 @@ export declare class ReleaseDdosOriginInstanceResponse extends $tea.Model {
1600
1767
  [key: string]: any;
1601
1768
  });
1602
1769
  }
1603
- export declare class SetInstanceModeOnDemandRequest extends $tea.Model {
1604
- instanceIdList?: string[];
1605
- mode?: string;
1606
- regionId?: string;
1770
+ export declare class ModifyPolicyContentRequest extends $tea.Model {
1771
+ content?: ModifyPolicyContentRequestContent;
1772
+ id?: string;
1773
+ name?: string;
1607
1774
  static names(): {
1608
1775
  [key: string]: string;
1609
1776
  };
@@ -1614,7 +1781,21 @@ export declare class SetInstanceModeOnDemandRequest extends $tea.Model {
1614
1781
  [key: string]: any;
1615
1782
  });
1616
1783
  }
1617
- export declare class SetInstanceModeOnDemandResponseBody extends $tea.Model {
1784
+ export declare class ModifyPolicyContentShrinkRequest extends $tea.Model {
1785
+ contentShrink?: string;
1786
+ id?: string;
1787
+ name?: string;
1788
+ static names(): {
1789
+ [key: string]: string;
1790
+ };
1791
+ static types(): {
1792
+ [key: string]: any;
1793
+ };
1794
+ constructor(map?: {
1795
+ [key: string]: any;
1796
+ });
1797
+ }
1798
+ export declare class ModifyPolicyContentResponseBody extends $tea.Model {
1618
1799
  requestId?: string;
1619
1800
  static names(): {
1620
1801
  [key: string]: string;
@@ -1626,12 +1807,12 @@ export declare class SetInstanceModeOnDemandResponseBody extends $tea.Model {
1626
1807
  [key: string]: any;
1627
1808
  });
1628
1809
  }
1629
- export declare class SetInstanceModeOnDemandResponse extends $tea.Model {
1810
+ export declare class ModifyPolicyContentResponse extends $tea.Model {
1630
1811
  headers?: {
1631
1812
  [key: string]: string;
1632
1813
  };
1633
1814
  statusCode?: number;
1634
- body?: SetInstanceModeOnDemandResponseBody;
1815
+ body?: ModifyPolicyContentResponseBody;
1635
1816
  static names(): {
1636
1817
  [key: string]: string;
1637
1818
  };
@@ -1642,12 +1823,11 @@ export declare class SetInstanceModeOnDemandResponse extends $tea.Model {
1642
1823
  [key: string]: any;
1643
1824
  });
1644
1825
  }
1645
- export declare class TagResourcesRequest extends $tea.Model {
1826
+ export declare class ModifyRemarkRequest extends $tea.Model {
1827
+ instanceId?: string;
1646
1828
  regionId?: string;
1829
+ remark?: string;
1647
1830
  resourceGroupId?: string;
1648
- resourceId?: string[];
1649
- resourceType?: string;
1650
- tag?: TagResourcesRequestTag[];
1651
1831
  static names(): {
1652
1832
  [key: string]: string;
1653
1833
  };
@@ -1658,7 +1838,7 @@ export declare class TagResourcesRequest extends $tea.Model {
1658
1838
  [key: string]: any;
1659
1839
  });
1660
1840
  }
1661
- export declare class TagResourcesResponseBody extends $tea.Model {
1841
+ export declare class ModifyRemarkResponseBody extends $tea.Model {
1662
1842
  requestId?: string;
1663
1843
  static names(): {
1664
1844
  [key: string]: string;
@@ -1670,12 +1850,12 @@ export declare class TagResourcesResponseBody extends $tea.Model {
1670
1850
  [key: string]: any;
1671
1851
  });
1672
1852
  }
1673
- export declare class TagResourcesResponse extends $tea.Model {
1853
+ export declare class ModifyRemarkResponse extends $tea.Model {
1674
1854
  headers?: {
1675
1855
  [key: string]: string;
1676
1856
  };
1677
1857
  statusCode?: number;
1678
- body?: TagResourcesResponseBody;
1858
+ body?: ModifyRemarkResponseBody;
1679
1859
  static names(): {
1680
1860
  [key: string]: string;
1681
1861
  };
@@ -1686,13 +1866,9 @@ export declare class TagResourcesResponse extends $tea.Model {
1686
1866
  [key: string]: any;
1687
1867
  });
1688
1868
  }
1689
- export declare class UntagResourcesRequest extends $tea.Model {
1690
- all?: boolean;
1869
+ export declare class QuerySchedruleOnDemandRequest extends $tea.Model {
1870
+ instanceId?: string;
1691
1871
  regionId?: string;
1692
- resourceGroupId?: string;
1693
- resourceId?: string[];
1694
- resourceType?: string;
1695
- tagKey?: string[];
1696
1872
  static names(): {
1697
1873
  [key: string]: string;
1698
1874
  };
@@ -1703,8 +1879,183 @@ export declare class UntagResourcesRequest extends $tea.Model {
1703
1879
  [key: string]: any;
1704
1880
  });
1705
1881
  }
1706
- export declare class UntagResourcesResponseBody extends $tea.Model {
1707
- requestId?: string;
1882
+ export declare class QuerySchedruleOnDemandResponseBody extends $tea.Model {
1883
+ instanceId?: string;
1884
+ requestId?: string;
1885
+ ruleConfig?: QuerySchedruleOnDemandResponseBodyRuleConfig[];
1886
+ ruleStatus?: QuerySchedruleOnDemandResponseBodyRuleStatus[];
1887
+ userId?: string;
1888
+ static names(): {
1889
+ [key: string]: string;
1890
+ };
1891
+ static types(): {
1892
+ [key: string]: any;
1893
+ };
1894
+ constructor(map?: {
1895
+ [key: string]: any;
1896
+ });
1897
+ }
1898
+ export declare class QuerySchedruleOnDemandResponse extends $tea.Model {
1899
+ headers?: {
1900
+ [key: string]: string;
1901
+ };
1902
+ statusCode?: number;
1903
+ body?: QuerySchedruleOnDemandResponseBody;
1904
+ static names(): {
1905
+ [key: string]: string;
1906
+ };
1907
+ static types(): {
1908
+ [key: string]: any;
1909
+ };
1910
+ constructor(map?: {
1911
+ [key: string]: any;
1912
+ });
1913
+ }
1914
+ export declare class ReleaseDdosOriginInstanceRequest extends $tea.Model {
1915
+ instanceId?: string;
1916
+ static names(): {
1917
+ [key: string]: string;
1918
+ };
1919
+ static types(): {
1920
+ [key: string]: any;
1921
+ };
1922
+ constructor(map?: {
1923
+ [key: string]: any;
1924
+ });
1925
+ }
1926
+ export declare class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
1927
+ requestId?: string;
1928
+ static names(): {
1929
+ [key: string]: string;
1930
+ };
1931
+ static types(): {
1932
+ [key: string]: any;
1933
+ };
1934
+ constructor(map?: {
1935
+ [key: string]: any;
1936
+ });
1937
+ }
1938
+ export declare class ReleaseDdosOriginInstanceResponse extends $tea.Model {
1939
+ headers?: {
1940
+ [key: string]: string;
1941
+ };
1942
+ statusCode?: number;
1943
+ body?: ReleaseDdosOriginInstanceResponseBody;
1944
+ static names(): {
1945
+ [key: string]: string;
1946
+ };
1947
+ static types(): {
1948
+ [key: string]: any;
1949
+ };
1950
+ constructor(map?: {
1951
+ [key: string]: any;
1952
+ });
1953
+ }
1954
+ export declare class SetInstanceModeOnDemandRequest extends $tea.Model {
1955
+ instanceIdList?: string[];
1956
+ mode?: string;
1957
+ regionId?: string;
1958
+ static names(): {
1959
+ [key: string]: string;
1960
+ };
1961
+ static types(): {
1962
+ [key: string]: any;
1963
+ };
1964
+ constructor(map?: {
1965
+ [key: string]: any;
1966
+ });
1967
+ }
1968
+ export declare class SetInstanceModeOnDemandResponseBody extends $tea.Model {
1969
+ requestId?: string;
1970
+ static names(): {
1971
+ [key: string]: string;
1972
+ };
1973
+ static types(): {
1974
+ [key: string]: any;
1975
+ };
1976
+ constructor(map?: {
1977
+ [key: string]: any;
1978
+ });
1979
+ }
1980
+ export declare class SetInstanceModeOnDemandResponse extends $tea.Model {
1981
+ headers?: {
1982
+ [key: string]: string;
1983
+ };
1984
+ statusCode?: number;
1985
+ body?: SetInstanceModeOnDemandResponseBody;
1986
+ static names(): {
1987
+ [key: string]: string;
1988
+ };
1989
+ static types(): {
1990
+ [key: string]: any;
1991
+ };
1992
+ constructor(map?: {
1993
+ [key: string]: any;
1994
+ });
1995
+ }
1996
+ export declare class TagResourcesRequest extends $tea.Model {
1997
+ regionId?: string;
1998
+ resourceGroupId?: string;
1999
+ resourceId?: string[];
2000
+ resourceType?: string;
2001
+ tag?: TagResourcesRequestTag[];
2002
+ static names(): {
2003
+ [key: string]: string;
2004
+ };
2005
+ static types(): {
2006
+ [key: string]: any;
2007
+ };
2008
+ constructor(map?: {
2009
+ [key: string]: any;
2010
+ });
2011
+ }
2012
+ export declare class TagResourcesResponseBody extends $tea.Model {
2013
+ requestId?: string;
2014
+ static names(): {
2015
+ [key: string]: string;
2016
+ };
2017
+ static types(): {
2018
+ [key: string]: any;
2019
+ };
2020
+ constructor(map?: {
2021
+ [key: string]: any;
2022
+ });
2023
+ }
2024
+ export declare class TagResourcesResponse extends $tea.Model {
2025
+ headers?: {
2026
+ [key: string]: string;
2027
+ };
2028
+ statusCode?: number;
2029
+ body?: TagResourcesResponseBody;
2030
+ static names(): {
2031
+ [key: string]: string;
2032
+ };
2033
+ static types(): {
2034
+ [key: string]: any;
2035
+ };
2036
+ constructor(map?: {
2037
+ [key: string]: any;
2038
+ });
2039
+ }
2040
+ export declare class UntagResourcesRequest extends $tea.Model {
2041
+ all?: boolean;
2042
+ regionId?: string;
2043
+ resourceGroupId?: string;
2044
+ resourceId?: string[];
2045
+ resourceType?: string;
2046
+ tagKey?: string[];
2047
+ static names(): {
2048
+ [key: string]: string;
2049
+ };
2050
+ static types(): {
2051
+ [key: string]: any;
2052
+ };
2053
+ constructor(map?: {
2054
+ [key: string]: any;
2055
+ });
2056
+ }
2057
+ export declare class UntagResourcesResponseBody extends $tea.Model {
2058
+ requestId?: string;
1708
2059
  static names(): {
1709
2060
  [key: string]: string;
1710
2061
  };
@@ -2068,6 +2419,20 @@ export declare class DescribeTrafficResponseBodyFlowList extends $tea.Model {
2068
2419
  [key: string]: any;
2069
2420
  });
2070
2421
  }
2422
+ export declare class DetachFromPolicyRequestIpPortProtocolList extends $tea.Model {
2423
+ ip?: string;
2424
+ port?: number;
2425
+ protocol?: string;
2426
+ static names(): {
2427
+ [key: string]: string;
2428
+ };
2429
+ static types(): {
2430
+ [key: string]: any;
2431
+ };
2432
+ constructor(map?: {
2433
+ [key: string]: any;
2434
+ });
2435
+ }
2071
2436
  export declare class DettachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
2072
2437
  name?: string;
2073
2438
  region?: string;
@@ -2095,6 +2460,185 @@ export declare class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus ext
2095
2460
  [key: string]: any;
2096
2461
  });
2097
2462
  }
2463
+ export declare class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends $tea.Model {
2464
+ dstPortEnd?: number;
2465
+ dstPortStart?: number;
2466
+ id?: string;
2467
+ matchAction?: string;
2468
+ maxPktLen?: number;
2469
+ minPktLen?: number;
2470
+ offset?: number;
2471
+ payloadBytes?: string;
2472
+ protocol?: string;
2473
+ rateValue?: number;
2474
+ seqNo?: number;
2475
+ srcPortEnd?: number;
2476
+ srcPortStart?: number;
2477
+ static names(): {
2478
+ [key: string]: string;
2479
+ };
2480
+ static types(): {
2481
+ [key: string]: any;
2482
+ };
2483
+ constructor(map?: {
2484
+ [key: string]: any;
2485
+ });
2486
+ }
2487
+ export declare class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList extends $tea.Model {
2488
+ arg?: string;
2489
+ depth?: number;
2490
+ position?: number;
2491
+ static names(): {
2492
+ [key: string]: string;
2493
+ };
2494
+ static types(): {
2495
+ [key: string]: any;
2496
+ };
2497
+ constructor(map?: {
2498
+ [key: string]: any;
2499
+ });
2500
+ }
2501
+ export declare class ListPolicyResponseBodyPolicyListContentL4RuleList extends $tea.Model {
2502
+ action?: string;
2503
+ conditionList?: ListPolicyResponseBodyPolicyListContentL4RuleListConditionList[];
2504
+ limited?: number;
2505
+ match?: string;
2506
+ method?: string;
2507
+ name?: string;
2508
+ priority?: number;
2509
+ static names(): {
2510
+ [key: string]: string;
2511
+ };
2512
+ static types(): {
2513
+ [key: string]: any;
2514
+ };
2515
+ constructor(map?: {
2516
+ [key: string]: any;
2517
+ });
2518
+ }
2519
+ export declare class ListPolicyResponseBodyPolicyListContentPortRuleList extends $tea.Model {
2520
+ dstPortEnd?: number;
2521
+ dstPortStart?: number;
2522
+ id?: string;
2523
+ matchAction?: string;
2524
+ protocol?: string;
2525
+ seqNo?: number;
2526
+ srcPortEnd?: number;
2527
+ srcPortStart?: number;
2528
+ static names(): {
2529
+ [key: string]: string;
2530
+ };
2531
+ static types(): {
2532
+ [key: string]: any;
2533
+ };
2534
+ constructor(map?: {
2535
+ [key: string]: any;
2536
+ });
2537
+ }
2538
+ export declare class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $tea.Model {
2539
+ blockExpireSeconds?: number;
2540
+ everySeconds?: number;
2541
+ exceedLimitTimes?: number;
2542
+ type?: number;
2543
+ static names(): {
2544
+ [key: string]: string;
2545
+ };
2546
+ static types(): {
2547
+ [key: string]: any;
2548
+ };
2549
+ constructor(map?: {
2550
+ [key: string]: any;
2551
+ });
2552
+ }
2553
+ export declare class ListPolicyResponseBodyPolicyListContentSourceLimit extends $tea.Model {
2554
+ bps?: number;
2555
+ pps?: number;
2556
+ synBps?: number;
2557
+ synPps?: number;
2558
+ static names(): {
2559
+ [key: string]: string;
2560
+ };
2561
+ static types(): {
2562
+ [key: string]: any;
2563
+ };
2564
+ constructor(map?: {
2565
+ [key: string]: any;
2566
+ });
2567
+ }
2568
+ export declare class ListPolicyResponseBodyPolicyListContent extends $tea.Model {
2569
+ blackIpListExpireAt?: number;
2570
+ enableDropIcmp?: boolean;
2571
+ enableIntelligence?: boolean;
2572
+ enableL4Defense?: boolean;
2573
+ fingerPrintRuleList?: ListPolicyResponseBodyPolicyListContentFingerPrintRuleList[];
2574
+ intelligenceLevel?: string;
2575
+ l4RuleList?: ListPolicyResponseBodyPolicyListContentL4RuleList[];
2576
+ portRuleList?: ListPolicyResponseBodyPolicyListContentPortRuleList[];
2577
+ reflectBlockUdpPortList?: number[];
2578
+ regionBlockCountryList?: number[];
2579
+ regionBlockProvinceList?: number[];
2580
+ sourceBlockList?: ListPolicyResponseBodyPolicyListContentSourceBlockList[];
2581
+ sourceLimit?: ListPolicyResponseBodyPolicyListContentSourceLimit;
2582
+ whitenGfbrNets?: boolean;
2583
+ static names(): {
2584
+ [key: string]: string;
2585
+ };
2586
+ static types(): {
2587
+ [key: string]: any;
2588
+ };
2589
+ constructor(map?: {
2590
+ [key: string]: any;
2591
+ });
2592
+ }
2593
+ export declare class ListPolicyResponseBodyPolicyList extends $tea.Model {
2594
+ attachedCount?: number;
2595
+ content?: ListPolicyResponseBodyPolicyListContent;
2596
+ id?: string;
2597
+ name?: string;
2598
+ type?: string;
2599
+ static names(): {
2600
+ [key: string]: string;
2601
+ };
2602
+ static types(): {
2603
+ [key: string]: any;
2604
+ };
2605
+ constructor(map?: {
2606
+ [key: string]: any;
2607
+ });
2608
+ }
2609
+ export declare class ListPolicyAttachmentRequestIpPortProtocolList extends $tea.Model {
2610
+ ip?: string;
2611
+ port?: number;
2612
+ protocol?: string;
2613
+ static names(): {
2614
+ [key: string]: string;
2615
+ };
2616
+ static types(): {
2617
+ [key: string]: any;
2618
+ };
2619
+ constructor(map?: {
2620
+ [key: string]: any;
2621
+ });
2622
+ }
2623
+ export declare class ListPolicyAttachmentResponseBodyAttachmentList extends $tea.Model {
2624
+ ip?: string;
2625
+ memberUid?: string;
2626
+ policyId?: string;
2627
+ policyName?: string;
2628
+ policyType?: string;
2629
+ port?: number;
2630
+ protocol?: string;
2631
+ region?: string;
2632
+ static names(): {
2633
+ [key: string]: string;
2634
+ };
2635
+ static types(): {
2636
+ [key: string]: any;
2637
+ };
2638
+ constructor(map?: {
2639
+ [key: string]: any;
2640
+ });
2641
+ }
2098
2642
  export declare class ListTagKeysResponseBodyTagKeys extends $tea.Model {
2099
2643
  tagCount?: number;
2100
2644
  tagKey?: string;
@@ -2148,6 +2692,268 @@ export declare class ListTagResourcesResponseBodyTagResources extends $tea.Model
2148
2692
  [key: string]: any;
2149
2693
  });
2150
2694
  }
2695
+ export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $tea.Model {
2696
+ dstPortEnd?: number;
2697
+ dstPortStart?: number;
2698
+ id?: string;
2699
+ matchAction?: string;
2700
+ maxPktLen?: number;
2701
+ minPktLen?: number;
2702
+ offset?: number;
2703
+ payloadBytes?: string;
2704
+ protocol?: string;
2705
+ rateValue?: number;
2706
+ seqNo?: number;
2707
+ srcPortEnd?: number;
2708
+ srcPortStart?: number;
2709
+ static names(): {
2710
+ [key: string]: string;
2711
+ };
2712
+ static types(): {
2713
+ [key: string]: any;
2714
+ };
2715
+ constructor(map?: {
2716
+ [key: string]: any;
2717
+ });
2718
+ }
2719
+ export declare class ModifyPolicyRequestContentL4RuleListConditionList extends $tea.Model {
2720
+ arg?: string;
2721
+ depth?: number;
2722
+ position?: number;
2723
+ static names(): {
2724
+ [key: string]: string;
2725
+ };
2726
+ static types(): {
2727
+ [key: string]: any;
2728
+ };
2729
+ constructor(map?: {
2730
+ [key: string]: any;
2731
+ });
2732
+ }
2733
+ export declare class ModifyPolicyRequestContentL4RuleList extends $tea.Model {
2734
+ action?: string;
2735
+ conditionList?: ModifyPolicyRequestContentL4RuleListConditionList[];
2736
+ limited?: number;
2737
+ match?: string;
2738
+ method?: string;
2739
+ name?: string;
2740
+ priority?: number;
2741
+ static names(): {
2742
+ [key: string]: string;
2743
+ };
2744
+ static types(): {
2745
+ [key: string]: any;
2746
+ };
2747
+ constructor(map?: {
2748
+ [key: string]: any;
2749
+ });
2750
+ }
2751
+ export declare class ModifyPolicyRequestContentPortRuleList extends $tea.Model {
2752
+ dstPortEnd?: number;
2753
+ dstPortStart?: number;
2754
+ id?: string;
2755
+ matchAction?: string;
2756
+ protocol?: string;
2757
+ seqNo?: number;
2758
+ srcPortEnd?: number;
2759
+ srcPortStart?: number;
2760
+ static names(): {
2761
+ [key: string]: string;
2762
+ };
2763
+ static types(): {
2764
+ [key: string]: any;
2765
+ };
2766
+ constructor(map?: {
2767
+ [key: string]: any;
2768
+ });
2769
+ }
2770
+ export declare class ModifyPolicyRequestContentSourceBlockList extends $tea.Model {
2771
+ blockExpireSeconds?: number;
2772
+ everySeconds?: number;
2773
+ exceedLimitTimes?: number;
2774
+ type?: number;
2775
+ static names(): {
2776
+ [key: string]: string;
2777
+ };
2778
+ static types(): {
2779
+ [key: string]: any;
2780
+ };
2781
+ constructor(map?: {
2782
+ [key: string]: any;
2783
+ });
2784
+ }
2785
+ export declare class ModifyPolicyRequestContentSourceLimit extends $tea.Model {
2786
+ bps?: number;
2787
+ pps?: number;
2788
+ synBps?: number;
2789
+ synPps?: number;
2790
+ static names(): {
2791
+ [key: string]: string;
2792
+ };
2793
+ static types(): {
2794
+ [key: string]: any;
2795
+ };
2796
+ constructor(map?: {
2797
+ [key: string]: any;
2798
+ });
2799
+ }
2800
+ export declare class ModifyPolicyRequestContent extends $tea.Model {
2801
+ blackIpList?: string[];
2802
+ blackIpListExpireAt?: number;
2803
+ enableDropIcmp?: boolean;
2804
+ enableIntelligence?: boolean;
2805
+ enableL4Defense?: boolean;
2806
+ fingerPrintRuleList?: ModifyPolicyRequestContentFingerPrintRuleList[];
2807
+ intelligenceLevel?: string;
2808
+ l4RuleList?: ModifyPolicyRequestContentL4RuleList[];
2809
+ portRuleList?: ModifyPolicyRequestContentPortRuleList[];
2810
+ reflectBlockUdpPortList?: number[];
2811
+ regionBlockCountryList?: number[];
2812
+ regionBlockProvinceList?: number[];
2813
+ sourceBlockList?: ModifyPolicyRequestContentSourceBlockList[];
2814
+ sourceLimit?: ModifyPolicyRequestContentSourceLimit;
2815
+ whiteIpList?: string[];
2816
+ whitenGfbrNets?: boolean;
2817
+ static names(): {
2818
+ [key: string]: string;
2819
+ };
2820
+ static types(): {
2821
+ [key: string]: any;
2822
+ };
2823
+ constructor(map?: {
2824
+ [key: string]: any;
2825
+ });
2826
+ }
2827
+ export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extends $tea.Model {
2828
+ dstPortEnd?: number;
2829
+ dstPortStart?: number;
2830
+ id?: string;
2831
+ matchAction?: string;
2832
+ maxPktLen?: number;
2833
+ minPktLen?: number;
2834
+ offset?: number;
2835
+ payloadBytes?: string;
2836
+ protocol?: string;
2837
+ rateValue?: number;
2838
+ seqNo?: number;
2839
+ srcPortEnd?: number;
2840
+ srcPortStart?: number;
2841
+ static names(): {
2842
+ [key: string]: string;
2843
+ };
2844
+ static types(): {
2845
+ [key: string]: any;
2846
+ };
2847
+ constructor(map?: {
2848
+ [key: string]: any;
2849
+ });
2850
+ }
2851
+ export declare class ModifyPolicyContentRequestContentL4RuleListConditionList extends $tea.Model {
2852
+ arg?: string;
2853
+ depth?: number;
2854
+ position?: number;
2855
+ static names(): {
2856
+ [key: string]: string;
2857
+ };
2858
+ static types(): {
2859
+ [key: string]: any;
2860
+ };
2861
+ constructor(map?: {
2862
+ [key: string]: any;
2863
+ });
2864
+ }
2865
+ export declare class ModifyPolicyContentRequestContentL4RuleList extends $tea.Model {
2866
+ action?: string;
2867
+ conditionList?: ModifyPolicyContentRequestContentL4RuleListConditionList[];
2868
+ limited?: number;
2869
+ match?: string;
2870
+ method?: string;
2871
+ name?: string;
2872
+ priority?: number;
2873
+ static names(): {
2874
+ [key: string]: string;
2875
+ };
2876
+ static types(): {
2877
+ [key: string]: any;
2878
+ };
2879
+ constructor(map?: {
2880
+ [key: string]: any;
2881
+ });
2882
+ }
2883
+ export declare class ModifyPolicyContentRequestContentPortRuleList extends $tea.Model {
2884
+ dstPortEnd?: number;
2885
+ dstPortStart?: number;
2886
+ id?: string;
2887
+ matchAction?: string;
2888
+ protocol?: string;
2889
+ seqNo?: number;
2890
+ srcPortEnd?: number;
2891
+ srcPortStart?: number;
2892
+ static names(): {
2893
+ [key: string]: string;
2894
+ };
2895
+ static types(): {
2896
+ [key: string]: any;
2897
+ };
2898
+ constructor(map?: {
2899
+ [key: string]: any;
2900
+ });
2901
+ }
2902
+ export declare class ModifyPolicyContentRequestContentSourceBlockList extends $tea.Model {
2903
+ blockExpireSeconds?: number;
2904
+ everySeconds?: number;
2905
+ exceedLimitTimes?: number;
2906
+ type?: number;
2907
+ static names(): {
2908
+ [key: string]: string;
2909
+ };
2910
+ static types(): {
2911
+ [key: string]: any;
2912
+ };
2913
+ constructor(map?: {
2914
+ [key: string]: any;
2915
+ });
2916
+ }
2917
+ export declare class ModifyPolicyContentRequestContentSourceLimit extends $tea.Model {
2918
+ bps?: number;
2919
+ pps?: number;
2920
+ synBps?: number;
2921
+ synPps?: number;
2922
+ static names(): {
2923
+ [key: string]: string;
2924
+ };
2925
+ static types(): {
2926
+ [key: string]: any;
2927
+ };
2928
+ constructor(map?: {
2929
+ [key: string]: any;
2930
+ });
2931
+ }
2932
+ export declare class ModifyPolicyContentRequestContent extends $tea.Model {
2933
+ blackIpListExpireAt?: number;
2934
+ enableDropIcmp?: boolean;
2935
+ enableIntelligence?: boolean;
2936
+ enableL4Defense?: boolean;
2937
+ fingerPrintRuleList?: ModifyPolicyContentRequestContentFingerPrintRuleList[];
2938
+ intelligenceLevel?: string;
2939
+ l4RuleList?: ModifyPolicyContentRequestContentL4RuleList[];
2940
+ portRuleList?: ModifyPolicyContentRequestContentPortRuleList[];
2941
+ reflectBlockUdpPortList?: number[];
2942
+ regionBlockCountryList?: number[];
2943
+ regionBlockProvinceList?: number[];
2944
+ sourceBlockList?: ModifyPolicyContentRequestContentSourceBlockList[];
2945
+ sourceLimit?: ModifyPolicyContentRequestContentSourceLimit;
2946
+ whitenGfbrNets?: boolean;
2947
+ static names(): {
2948
+ [key: string]: string;
2949
+ };
2950
+ static types(): {
2951
+ [key: string]: any;
2952
+ };
2953
+ constructor(map?: {
2954
+ [key: string]: any;
2955
+ });
2956
+ }
2151
2957
  export declare class QuerySchedruleOnDemandResponseBodyRuleConfig extends $tea.Model {
2152
2958
  ruleAction?: string;
2153
2959
  ruleConditionCnt?: string;
@@ -2294,6 +3100,21 @@ export default class Client extends OpenApi {
2294
3100
  * @return ConfigSchedruleOnDemandResponse
2295
3101
  */
2296
3102
  configSchedruleOnDemand(request: ConfigSchedruleOnDemandRequest): Promise<ConfigSchedruleOnDemandResponse>;
3103
+ /**
3104
+ * @summary 创建策略
3105
+ *
3106
+ * @param request CreatePolicyRequest
3107
+ * @param runtime runtime options for this request RuntimeOptions
3108
+ * @return CreatePolicyResponse
3109
+ */
3110
+ createPolicyWithOptions(request: CreatePolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreatePolicyResponse>;
3111
+ /**
3112
+ * @summary 创建策略
3113
+ *
3114
+ * @param request CreatePolicyRequest
3115
+ * @return CreatePolicyResponse
3116
+ */
3117
+ createPolicy(request: CreatePolicyRequest): Promise<CreatePolicyResponse>;
2297
3118
  /**
2298
3119
  * @summary Creates a scheduling rule for an on-demand instance.
2299
3120
  *
@@ -2353,6 +3174,21 @@ export default class Client extends OpenApi {
2353
3174
  * @return DeleteIpResponse
2354
3175
  */
2355
3176
  deleteIp(request: DeleteIpRequest): Promise<DeleteIpResponse>;
3177
+ /**
3178
+ * @summary 删除策略
3179
+ *
3180
+ * @param request DeletePolicyRequest
3181
+ * @param runtime runtime options for this request RuntimeOptions
3182
+ * @return DeletePolicyResponse
3183
+ */
3184
+ deletePolicyWithOptions(request: DeletePolicyRequest, runtime: $Util.RuntimeOptions): Promise<DeletePolicyResponse>;
3185
+ /**
3186
+ * @summary 删除策略
3187
+ *
3188
+ * @param request DeletePolicyRequest
3189
+ * @return DeletePolicyResponse
3190
+ */
3191
+ deletePolicy(request: DeletePolicyRequest): Promise<DeletePolicyResponse>;
2356
3192
  /**
2357
3193
  * @summary 删除资源目录成员账号列表
2358
3194
  *
@@ -2649,6 +3485,21 @@ export default class Client extends OpenApi {
2649
3485
  * @return DescribeTrafficResponse
2650
3486
  */
2651
3487
  describeTraffic(request: DescribeTrafficRequest): Promise<DescribeTrafficResponse>;
3488
+ /**
3489
+ * @summary 策略解绑
3490
+ *
3491
+ * @param tmpReq DetachFromPolicyRequest
3492
+ * @param runtime runtime options for this request RuntimeOptions
3493
+ * @return DetachFromPolicyResponse
3494
+ */
3495
+ detachFromPolicyWithOptions(tmpReq: DetachFromPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DetachFromPolicyResponse>;
3496
+ /**
3497
+ * @summary 策略解绑
3498
+ *
3499
+ * @param request DetachFromPolicyRequest
3500
+ * @return DetachFromPolicyResponse
3501
+ */
3502
+ detachFromPolicy(request: DetachFromPolicyRequest): Promise<DetachFromPolicyResponse>;
2652
3503
  /**
2653
3504
  * @summary Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
2654
3505
  *
@@ -2694,6 +3545,36 @@ export default class Client extends OpenApi {
2694
3545
  * @return ListOpenedAccessLogInstancesResponse
2695
3546
  */
2696
3547
  listOpenedAccessLogInstances(request: ListOpenedAccessLogInstancesRequest): Promise<ListOpenedAccessLogInstancesResponse>;
3548
+ /**
3549
+ * @summary 查询策略
3550
+ *
3551
+ * @param request ListPolicyRequest
3552
+ * @param runtime runtime options for this request RuntimeOptions
3553
+ * @return ListPolicyResponse
3554
+ */
3555
+ listPolicyWithOptions(request: ListPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ListPolicyResponse>;
3556
+ /**
3557
+ * @summary 查询策略
3558
+ *
3559
+ * @param request ListPolicyRequest
3560
+ * @return ListPolicyResponse
3561
+ */
3562
+ listPolicy(request: ListPolicyRequest): Promise<ListPolicyResponse>;
3563
+ /**
3564
+ * @summary 查询策略绑定
3565
+ *
3566
+ * @param tmpReq ListPolicyAttachmentRequest
3567
+ * @param runtime runtime options for this request RuntimeOptions
3568
+ * @return ListPolicyAttachmentResponse
3569
+ */
3570
+ listPolicyAttachmentWithOptions(tmpReq: ListPolicyAttachmentRequest, runtime: $Util.RuntimeOptions): Promise<ListPolicyAttachmentResponse>;
3571
+ /**
3572
+ * @summary 查询策略绑定
3573
+ *
3574
+ * @param request ListPolicyAttachmentRequest
3575
+ * @return ListPolicyAttachmentResponse
3576
+ */
3577
+ listPolicyAttachment(request: ListPolicyAttachmentRequest): Promise<ListPolicyAttachmentResponse>;
2697
3578
  /**
2698
3579
  * @summary Queries all tags.
2699
3580
  *
@@ -2724,6 +3605,36 @@ export default class Client extends OpenApi {
2724
3605
  * @return ListTagResourcesResponse
2725
3606
  */
2726
3607
  listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse>;
3608
+ /**
3609
+ * @summary 修改策略
3610
+ *
3611
+ * @param tmpReq ModifyPolicyRequest
3612
+ * @param runtime runtime options for this request RuntimeOptions
3613
+ * @return ModifyPolicyResponse
3614
+ */
3615
+ modifyPolicyWithOptions(tmpReq: ModifyPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyResponse>;
3616
+ /**
3617
+ * @summary 修改策略
3618
+ *
3619
+ * @param request ModifyPolicyRequest
3620
+ * @return ModifyPolicyResponse
3621
+ */
3622
+ modifyPolicy(request: ModifyPolicyRequest): Promise<ModifyPolicyResponse>;
3623
+ /**
3624
+ * @summary 修改策略
3625
+ *
3626
+ * @param tmpReq ModifyPolicyContentRequest
3627
+ * @param runtime runtime options for this request RuntimeOptions
3628
+ * @return ModifyPolicyContentResponse
3629
+ */
3630
+ modifyPolicyContentWithOptions(tmpReq: ModifyPolicyContentRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyContentResponse>;
3631
+ /**
3632
+ * @summary 修改策略
3633
+ *
3634
+ * @param request ModifyPolicyContentRequest
3635
+ * @return ModifyPolicyContentResponse
3636
+ */
3637
+ modifyPolicyContent(request: ModifyPolicyContentRequest): Promise<ModifyPolicyContentResponse>;
2727
3638
  /**
2728
3639
  * @summary Adds remarks for a specific Anti-DDoS Origin instance.
2729
3640
  *