tencentcloud-sdk-nodejs-intl-en 3.0.367 → 3.0.371
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/package.json +1 -1
- package/tencentcloud/apigateway/v20180808/apigateway_client.js +3 -2
- package/tencentcloud/apigateway/v20180808/models.js +105 -41
- package/tencentcloud/billing/v20180709/models.js +12 -11
- package/tencentcloud/cam/v20190116/cam_client.js +16 -1
- package/tencentcloud/cam/v20190116/models.js +264 -17
- package/tencentcloud/cdn/v20180606/models.js +54 -3
- package/tencentcloud/ckafka/v20190819/models.js +41 -3
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +30 -4
- package/tencentcloud/dbbrain/v20210527/models.js +309 -116
- package/tencentcloud/dcdb/v20180411/dcdb_client.js +14 -0
- package/tencentcloud/dcdb/v20180411/models.js +144 -7
- package/tencentcloud/emr/v20190103/emr_client.js +2 -0
- package/tencentcloud/emr/v20190103/models.js +109 -0
- package/tencentcloud/live/v20180801/live_client.js +18 -1
- package/tencentcloud/live/v20180801/models.js +163 -5
- package/tencentcloud/monitor/v20180724/models.js +16 -0
- package/tencentcloud/redis/v20180412/models.js +7 -0
- package/tencentcloud/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/ses/v20201002/models.js +610 -29
- package/tencentcloud/ses/v20201002/ses_client.js +157 -103
- package/tencentcloud/ssm/v20190923/models.js +33 -5
- package/tencentcloud/ssm/v20190923/ssm_client.js +2 -1
|
@@ -143,6 +143,42 @@ class HealthReportTask extends AbstractModel {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
+
/**
|
|
147
|
+
* CreateDBDiagReportTask response structure.
|
|
148
|
+
* @class
|
|
149
|
+
*/
|
|
150
|
+
class CreateDBDiagReportTaskResponse extends AbstractModel {
|
|
151
|
+
constructor(){
|
|
152
|
+
super();
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Async task request ID, which can be used to query the execution result of an async task.
|
|
156
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
157
|
+
* @type {number || null}
|
|
158
|
+
*/
|
|
159
|
+
this.AsyncRequestId = null;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
163
|
+
* @type {string || null}
|
|
164
|
+
*/
|
|
165
|
+
this.RequestId = null;
|
|
166
|
+
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* @private
|
|
171
|
+
*/
|
|
172
|
+
deserialize(params) {
|
|
173
|
+
if (!params) {
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
this.AsyncRequestId = 'AsyncRequestId' in params ? params.AsyncRequestId : null;
|
|
177
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
178
|
+
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
146
182
|
/**
|
|
147
183
|
* CreateDBDiagReportTask request structure.
|
|
148
184
|
* @class
|
|
@@ -1596,30 +1632,73 @@ class DescribeSlowLogTimeSeriesStatsRequest extends AbstractModel {
|
|
|
1596
1632
|
}
|
|
1597
1633
|
|
|
1598
1634
|
/**
|
|
1599
|
-
*
|
|
1635
|
+
* Instance diagnosis event
|
|
1600
1636
|
* @class
|
|
1601
1637
|
*/
|
|
1602
|
-
class
|
|
1638
|
+
class DiagHistoryEventItem extends AbstractModel {
|
|
1603
1639
|
constructor(){
|
|
1604
1640
|
super();
|
|
1605
1641
|
|
|
1606
1642
|
/**
|
|
1607
|
-
*
|
|
1643
|
+
* Diagnosis type.
|
|
1608
1644
|
* @type {string || null}
|
|
1609
1645
|
*/
|
|
1610
|
-
this.
|
|
1646
|
+
this.DiagType = null;
|
|
1611
1647
|
|
|
1612
1648
|
/**
|
|
1613
|
-
*
|
|
1649
|
+
* End time.
|
|
1650
|
+
* @type {string || null}
|
|
1651
|
+
*/
|
|
1652
|
+
this.EndTime = null;
|
|
1653
|
+
|
|
1654
|
+
/**
|
|
1655
|
+
* Start time.
|
|
1656
|
+
* @type {string || null}
|
|
1657
|
+
*/
|
|
1658
|
+
this.StartTime = null;
|
|
1659
|
+
|
|
1660
|
+
/**
|
|
1661
|
+
* Unique event ID.
|
|
1614
1662
|
* @type {number || null}
|
|
1615
1663
|
*/
|
|
1616
|
-
this.
|
|
1664
|
+
this.EventId = null;
|
|
1617
1665
|
|
|
1618
1666
|
/**
|
|
1619
|
-
*
|
|
1667
|
+
* Severity, which can be divided into 5 levels: 1: fatal, 2: severe, 3: warning, 4: notice, 5: healthy.
|
|
1668
|
+
* @type {number || null}
|
|
1669
|
+
*/
|
|
1670
|
+
this.Severity = null;
|
|
1671
|
+
|
|
1672
|
+
/**
|
|
1673
|
+
* Diagnosis summary.
|
|
1620
1674
|
* @type {string || null}
|
|
1621
1675
|
*/
|
|
1622
|
-
this.
|
|
1676
|
+
this.Outline = null;
|
|
1677
|
+
|
|
1678
|
+
/**
|
|
1679
|
+
* Diagnosis item description.
|
|
1680
|
+
* @type {string || null}
|
|
1681
|
+
*/
|
|
1682
|
+
this.DiagItem = null;
|
|
1683
|
+
|
|
1684
|
+
/**
|
|
1685
|
+
* Instance ID.
|
|
1686
|
+
* @type {string || null}
|
|
1687
|
+
*/
|
|
1688
|
+
this.InstanceId = null;
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* Reserved field.
|
|
1692
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1693
|
+
* @type {string || null}
|
|
1694
|
+
*/
|
|
1695
|
+
this.Metric = null;
|
|
1696
|
+
|
|
1697
|
+
/**
|
|
1698
|
+
* Region.
|
|
1699
|
+
* @type {string || null}
|
|
1700
|
+
*/
|
|
1701
|
+
this.Region = null;
|
|
1623
1702
|
|
|
1624
1703
|
}
|
|
1625
1704
|
|
|
@@ -1630,9 +1709,16 @@ class CreateDBDiagReportUrlResponse extends AbstractModel {
|
|
|
1630
1709
|
if (!params) {
|
|
1631
1710
|
return;
|
|
1632
1711
|
}
|
|
1633
|
-
this.
|
|
1634
|
-
this.
|
|
1635
|
-
this.
|
|
1712
|
+
this.DiagType = 'DiagType' in params ? params.DiagType : null;
|
|
1713
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1714
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1715
|
+
this.EventId = 'EventId' in params ? params.EventId : null;
|
|
1716
|
+
this.Severity = 'Severity' in params ? params.Severity : null;
|
|
1717
|
+
this.Outline = 'Outline' in params ? params.Outline : null;
|
|
1718
|
+
this.DiagItem = 'DiagItem' in params ? params.DiagItem : null;
|
|
1719
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1720
|
+
this.Metric = 'Metric' in params ? params.Metric : null;
|
|
1721
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
1636
1722
|
|
|
1637
1723
|
}
|
|
1638
1724
|
}
|
|
@@ -1687,19 +1773,18 @@ class DescribeDBDiagHistoryRequest extends AbstractModel {
|
|
|
1687
1773
|
}
|
|
1688
1774
|
|
|
1689
1775
|
/**
|
|
1690
|
-
*
|
|
1776
|
+
* CreateKillTask response structure.
|
|
1691
1777
|
* @class
|
|
1692
1778
|
*/
|
|
1693
|
-
class
|
|
1779
|
+
class CreateKillTaskResponse extends AbstractModel {
|
|
1694
1780
|
constructor(){
|
|
1695
1781
|
super();
|
|
1696
1782
|
|
|
1697
1783
|
/**
|
|
1698
|
-
*
|
|
1699
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1784
|
+
* Task status. `1` is returned if the session killing task is successfully created.
|
|
1700
1785
|
* @type {number || null}
|
|
1701
1786
|
*/
|
|
1702
|
-
this.
|
|
1787
|
+
this.Status = null;
|
|
1703
1788
|
|
|
1704
1789
|
/**
|
|
1705
1790
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
@@ -1716,80 +1801,178 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1716
1801
|
if (!params) {
|
|
1717
1802
|
return;
|
|
1718
1803
|
}
|
|
1719
|
-
this.
|
|
1804
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
1720
1805
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1721
1806
|
|
|
1722
1807
|
}
|
|
1723
1808
|
}
|
|
1724
1809
|
|
|
1725
1810
|
/**
|
|
1726
|
-
*
|
|
1811
|
+
* DescribeDBDiagEvents request structure.
|
|
1727
1812
|
* @class
|
|
1728
1813
|
*/
|
|
1729
|
-
class
|
|
1814
|
+
class DescribeDBDiagEventsRequest extends AbstractModel {
|
|
1730
1815
|
constructor(){
|
|
1731
1816
|
super();
|
|
1732
1817
|
|
|
1733
1818
|
/**
|
|
1734
|
-
*
|
|
1819
|
+
* Start time in the format of “2021-05-27 00:00:00”. The earliest time that can be queried is 30 days before the current time.
|
|
1735
1820
|
* @type {string || null}
|
|
1736
1821
|
*/
|
|
1737
|
-
this.
|
|
1822
|
+
this.StartTime = null;
|
|
1738
1823
|
|
|
1739
1824
|
/**
|
|
1740
|
-
* End time.
|
|
1825
|
+
* End time in the format of "2021-05-27 01:00:00". The interval between the end time and the start time can be up to 7 days.
|
|
1741
1826
|
* @type {string || null}
|
|
1742
1827
|
*/
|
|
1743
1828
|
this.EndTime = null;
|
|
1744
1829
|
|
|
1745
1830
|
/**
|
|
1746
|
-
*
|
|
1747
|
-
* @type {
|
|
1831
|
+
* Risk level list. Valid values in descending order of severity: `1` (critical), `2` (serious), `3` (alarm), `4` (warning), `5` (healthy).
|
|
1832
|
+
* @type {Array.<number> || null}
|
|
1748
1833
|
*/
|
|
1749
|
-
this.
|
|
1834
|
+
this.Severities = null;
|
|
1750
1835
|
|
|
1751
1836
|
/**
|
|
1752
|
-
*
|
|
1837
|
+
* Instance ID list.
|
|
1838
|
+
* @type {Array.<string> || null}
|
|
1839
|
+
*/
|
|
1840
|
+
this.InstanceIds = null;
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* Offset. Default value: 0.
|
|
1753
1844
|
* @type {number || null}
|
|
1754
1845
|
*/
|
|
1755
|
-
this.
|
|
1846
|
+
this.Offset = null;
|
|
1756
1847
|
|
|
1757
1848
|
/**
|
|
1758
|
-
*
|
|
1849
|
+
* Number of returned results. Default value: 20. Maximum value: 50.
|
|
1759
1850
|
* @type {number || null}
|
|
1760
1851
|
*/
|
|
1761
|
-
this.
|
|
1852
|
+
this.Limit = null;
|
|
1853
|
+
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
/**
|
|
1857
|
+
* @private
|
|
1858
|
+
*/
|
|
1859
|
+
deserialize(params) {
|
|
1860
|
+
if (!params) {
|
|
1861
|
+
return;
|
|
1862
|
+
}
|
|
1863
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1864
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1865
|
+
this.Severities = 'Severities' in params ? params.Severities : null;
|
|
1866
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
1867
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
1868
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1869
|
+
|
|
1870
|
+
}
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
* CreateDBDiagReportUrl response structure.
|
|
1875
|
+
* @class
|
|
1876
|
+
*/
|
|
1877
|
+
class CreateDBDiagReportUrlResponse extends AbstractModel {
|
|
1878
|
+
constructor(){
|
|
1879
|
+
super();
|
|
1762
1880
|
|
|
1763
1881
|
/**
|
|
1764
|
-
*
|
|
1882
|
+
* Health report URL.
|
|
1765
1883
|
* @type {string || null}
|
|
1766
1884
|
*/
|
|
1767
|
-
this.
|
|
1885
|
+
this.ReportUrl = null;
|
|
1768
1886
|
|
|
1769
1887
|
/**
|
|
1770
|
-
*
|
|
1888
|
+
* Expiration timestamp of health report URL (in seconds).
|
|
1889
|
+
* @type {number || null}
|
|
1890
|
+
*/
|
|
1891
|
+
this.ExpireTime = null;
|
|
1892
|
+
|
|
1893
|
+
/**
|
|
1894
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1771
1895
|
* @type {string || null}
|
|
1772
1896
|
*/
|
|
1773
|
-
this.
|
|
1897
|
+
this.RequestId = null;
|
|
1898
|
+
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
/**
|
|
1902
|
+
* @private
|
|
1903
|
+
*/
|
|
1904
|
+
deserialize(params) {
|
|
1905
|
+
if (!params) {
|
|
1906
|
+
return;
|
|
1907
|
+
}
|
|
1908
|
+
this.ReportUrl = 'ReportUrl' in params ? params.ReportUrl : null;
|
|
1909
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
1910
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1911
|
+
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
/**
|
|
1916
|
+
* CreateKillTask request structure.
|
|
1917
|
+
* @class
|
|
1918
|
+
*/
|
|
1919
|
+
class CreateKillTaskRequest extends AbstractModel {
|
|
1920
|
+
constructor(){
|
|
1921
|
+
super();
|
|
1774
1922
|
|
|
1775
1923
|
/**
|
|
1776
|
-
*
|
|
1924
|
+
* ID of the instance associated with the session killing task.
|
|
1777
1925
|
* @type {string || null}
|
|
1778
1926
|
*/
|
|
1779
1927
|
this.InstanceId = null;
|
|
1780
1928
|
|
|
1781
1929
|
/**
|
|
1782
|
-
*
|
|
1783
|
-
|
|
1930
|
+
* Task duration in seconds. Pass in `-1` to stop the task manually.
|
|
1931
|
+
* @type {number || null}
|
|
1932
|
+
*/
|
|
1933
|
+
this.Duration = null;
|
|
1934
|
+
|
|
1935
|
+
/**
|
|
1936
|
+
* Client IP, which is a task filter.
|
|
1784
1937
|
* @type {string || null}
|
|
1785
1938
|
*/
|
|
1786
|
-
this.
|
|
1939
|
+
this.Host = null;
|
|
1787
1940
|
|
|
1788
1941
|
/**
|
|
1789
|
-
*
|
|
1942
|
+
* Database name, which is a task filter. Multiple database names are separated by comma.
|
|
1790
1943
|
* @type {string || null}
|
|
1791
1944
|
*/
|
|
1792
|
-
this.
|
|
1945
|
+
this.DB = null;
|
|
1946
|
+
|
|
1947
|
+
/**
|
|
1948
|
+
* Related command, which is a task filter. Multiple commands are separated by comma.
|
|
1949
|
+
* @type {string || null}
|
|
1950
|
+
*/
|
|
1951
|
+
this.Command = null;
|
|
1952
|
+
|
|
1953
|
+
/**
|
|
1954
|
+
* Task filter. Filtering by single filter prefix is supported.
|
|
1955
|
+
* @type {string || null}
|
|
1956
|
+
*/
|
|
1957
|
+
this.Info = null;
|
|
1958
|
+
|
|
1959
|
+
/**
|
|
1960
|
+
* User type, which is a task filter.
|
|
1961
|
+
* @type {string || null}
|
|
1962
|
+
*/
|
|
1963
|
+
this.User = null;
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* Session duration in seconds, which is a task filter.
|
|
1967
|
+
* @type {number || null}
|
|
1968
|
+
*/
|
|
1969
|
+
this.Time = null;
|
|
1970
|
+
|
|
1971
|
+
/**
|
|
1972
|
+
* Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`.
|
|
1973
|
+
* @type {string || null}
|
|
1974
|
+
*/
|
|
1975
|
+
this.Product = null;
|
|
1793
1976
|
|
|
1794
1977
|
}
|
|
1795
1978
|
|
|
@@ -1800,16 +1983,15 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1800
1983
|
if (!params) {
|
|
1801
1984
|
return;
|
|
1802
1985
|
}
|
|
1803
|
-
this.DiagType = 'DiagType' in params ? params.DiagType : null;
|
|
1804
|
-
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1805
|
-
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1806
|
-
this.EventId = 'EventId' in params ? params.EventId : null;
|
|
1807
|
-
this.Severity = 'Severity' in params ? params.Severity : null;
|
|
1808
|
-
this.Outline = 'Outline' in params ? params.Outline : null;
|
|
1809
|
-
this.DiagItem = 'DiagItem' in params ? params.DiagItem : null;
|
|
1810
1986
|
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1811
|
-
this.
|
|
1812
|
-
this.
|
|
1987
|
+
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
1988
|
+
this.Host = 'Host' in params ? params.Host : null;
|
|
1989
|
+
this.DB = 'DB' in params ? params.DB : null;
|
|
1990
|
+
this.Command = 'Command' in params ? params.Command : null;
|
|
1991
|
+
this.Info = 'Info' in params ? params.Info : null;
|
|
1992
|
+
this.User = 'User' in params ? params.User : null;
|
|
1993
|
+
this.Time = 'Time' in params ? params.Time : null;
|
|
1994
|
+
this.Product = 'Product' in params ? params.Product : null;
|
|
1813
1995
|
|
|
1814
1996
|
}
|
|
1815
1997
|
}
|
|
@@ -3679,7 +3861,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3679
3861
|
this.ProfileList = null;
|
|
3680
3862
|
|
|
3681
3863
|
/**
|
|
3682
|
-
* Total number of
|
|
3864
|
+
* Total number of the configured emails.
|
|
3683
3865
|
Note: this field may return null, indicating that no valid values can be obtained.
|
|
3684
3866
|
* @type {number || null}
|
|
3685
3867
|
*/
|
|
@@ -3899,6 +4081,41 @@ class DescribeAllUserGroupRequest extends AbstractModel {
|
|
|
3899
4081
|
}
|
|
3900
4082
|
}
|
|
3901
4083
|
|
|
4084
|
+
/**
|
|
4085
|
+
* CreateProxySessionKillTask request structure.
|
|
4086
|
+
* @class
|
|
4087
|
+
*/
|
|
4088
|
+
class CreateProxySessionKillTaskRequest extends AbstractModel {
|
|
4089
|
+
constructor(){
|
|
4090
|
+
super();
|
|
4091
|
+
|
|
4092
|
+
/**
|
|
4093
|
+
* Instance ID.
|
|
4094
|
+
* @type {string || null}
|
|
4095
|
+
*/
|
|
4096
|
+
this.InstanceId = null;
|
|
4097
|
+
|
|
4098
|
+
/**
|
|
4099
|
+
* Service type. Valid value: `redis` (TencentDB for Redis).
|
|
4100
|
+
* @type {string || null}
|
|
4101
|
+
*/
|
|
4102
|
+
this.Product = null;
|
|
4103
|
+
|
|
4104
|
+
}
|
|
4105
|
+
|
|
4106
|
+
/**
|
|
4107
|
+
* @private
|
|
4108
|
+
*/
|
|
4109
|
+
deserialize(params) {
|
|
4110
|
+
if (!params) {
|
|
4111
|
+
return;
|
|
4112
|
+
}
|
|
4113
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4114
|
+
this.Product = 'Product' in params ? params.Product : null;
|
|
4115
|
+
|
|
4116
|
+
}
|
|
4117
|
+
}
|
|
4118
|
+
|
|
3902
4119
|
/**
|
|
3903
4120
|
* CreateSecurityAuditLogExportTask response structure.
|
|
3904
4121
|
* @class
|
|
@@ -4068,6 +4285,41 @@ class DescribeTopSpaceSchemasResponse extends AbstractModel {
|
|
|
4068
4285
|
}
|
|
4069
4286
|
}
|
|
4070
4287
|
|
|
4288
|
+
/**
|
|
4289
|
+
* CreateProxySessionKillTask response structure.
|
|
4290
|
+
* @class
|
|
4291
|
+
*/
|
|
4292
|
+
class CreateProxySessionKillTaskResponse extends AbstractModel {
|
|
4293
|
+
constructor(){
|
|
4294
|
+
super();
|
|
4295
|
+
|
|
4296
|
+
/**
|
|
4297
|
+
* Async task ID that is returned after the session killing task is created.
|
|
4298
|
+
* @type {number || null}
|
|
4299
|
+
*/
|
|
4300
|
+
this.AsyncRequestId = null;
|
|
4301
|
+
|
|
4302
|
+
/**
|
|
4303
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
4304
|
+
* @type {string || null}
|
|
4305
|
+
*/
|
|
4306
|
+
this.RequestId = null;
|
|
4307
|
+
|
|
4308
|
+
}
|
|
4309
|
+
|
|
4310
|
+
/**
|
|
4311
|
+
* @private
|
|
4312
|
+
*/
|
|
4313
|
+
deserialize(params) {
|
|
4314
|
+
if (!params) {
|
|
4315
|
+
return;
|
|
4316
|
+
}
|
|
4317
|
+
this.AsyncRequestId = 'AsyncRequestId' in params ? params.AsyncRequestId : null;
|
|
4318
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4319
|
+
|
|
4320
|
+
}
|
|
4321
|
+
}
|
|
4322
|
+
|
|
4071
4323
|
/**
|
|
4072
4324
|
* DescribeSlowLogTimeSeriesStats response structure.
|
|
4073
4325
|
* @class
|
|
@@ -4357,69 +4609,6 @@ class DescribeDBSpaceStatusResponse extends AbstractModel {
|
|
|
4357
4609
|
}
|
|
4358
4610
|
}
|
|
4359
4611
|
|
|
4360
|
-
/**
|
|
4361
|
-
* DescribeDBDiagEvents request structure.
|
|
4362
|
-
* @class
|
|
4363
|
-
*/
|
|
4364
|
-
class DescribeDBDiagEventsRequest extends AbstractModel {
|
|
4365
|
-
constructor(){
|
|
4366
|
-
super();
|
|
4367
|
-
|
|
4368
|
-
/**
|
|
4369
|
-
* Start time in the format of “2021-05-27 00:00:00”. The earliest time that can be queried is 30 days before the current time.
|
|
4370
|
-
* @type {string || null}
|
|
4371
|
-
*/
|
|
4372
|
-
this.StartTime = null;
|
|
4373
|
-
|
|
4374
|
-
/**
|
|
4375
|
-
* End time in the format of "2021-05-27 01:00:00". The interval between the end time and the start time can be up to 7 days.
|
|
4376
|
-
* @type {string || null}
|
|
4377
|
-
*/
|
|
4378
|
-
this.EndTime = null;
|
|
4379
|
-
|
|
4380
|
-
/**
|
|
4381
|
-
* Risk level list. Valid values in descending order of severity: `1` (critical), `2` (serious), `3` (alarm), `4` (warning), `5` (healthy).
|
|
4382
|
-
* @type {Array.<number> || null}
|
|
4383
|
-
*/
|
|
4384
|
-
this.Severities = null;
|
|
4385
|
-
|
|
4386
|
-
/**
|
|
4387
|
-
* Instance ID list.
|
|
4388
|
-
* @type {Array.<string> || null}
|
|
4389
|
-
*/
|
|
4390
|
-
this.InstanceIds = null;
|
|
4391
|
-
|
|
4392
|
-
/**
|
|
4393
|
-
* Offset. Default value: 0.
|
|
4394
|
-
* @type {number || null}
|
|
4395
|
-
*/
|
|
4396
|
-
this.Offset = null;
|
|
4397
|
-
|
|
4398
|
-
/**
|
|
4399
|
-
* Number of returned results. Default value: 20. Maximum value: 50.
|
|
4400
|
-
* @type {number || null}
|
|
4401
|
-
*/
|
|
4402
|
-
this.Limit = null;
|
|
4403
|
-
|
|
4404
|
-
}
|
|
4405
|
-
|
|
4406
|
-
/**
|
|
4407
|
-
* @private
|
|
4408
|
-
*/
|
|
4409
|
-
deserialize(params) {
|
|
4410
|
-
if (!params) {
|
|
4411
|
-
return;
|
|
4412
|
-
}
|
|
4413
|
-
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
4414
|
-
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
4415
|
-
this.Severities = 'Severities' in params ? params.Severities : null;
|
|
4416
|
-
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
4417
|
-
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
4418
|
-
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
4419
|
-
|
|
4420
|
-
}
|
|
4421
|
-
}
|
|
4422
|
-
|
|
4423
4612
|
/**
|
|
4424
4613
|
* Describes the group information.
|
|
4425
4614
|
* @class
|
|
@@ -5116,6 +5305,7 @@ class DescribeSecurityAuditLogDownloadUrlsResponse extends AbstractModel {
|
|
|
5116
5305
|
module.exports = {
|
|
5117
5306
|
SchemaSpaceTimeSeries: SchemaSpaceTimeSeries,
|
|
5118
5307
|
HealthReportTask: HealthReportTask,
|
|
5308
|
+
CreateDBDiagReportTaskResponse: CreateDBDiagReportTaskResponse,
|
|
5119
5309
|
CreateDBDiagReportTaskRequest: CreateDBDiagReportTaskRequest,
|
|
5120
5310
|
TableSpaceTimeSeries: TableSpaceTimeSeries,
|
|
5121
5311
|
DescribeTopSpaceTablesRequest: DescribeTopSpaceTablesRequest,
|
|
@@ -5142,10 +5332,12 @@ module.exports = {
|
|
|
5142
5332
|
MySqlProcess: MySqlProcess,
|
|
5143
5333
|
CreateMailProfileResponse: CreateMailProfileResponse,
|
|
5144
5334
|
DescribeSlowLogTimeSeriesStatsRequest: DescribeSlowLogTimeSeriesStatsRequest,
|
|
5145
|
-
CreateDBDiagReportUrlResponse: CreateDBDiagReportUrlResponse,
|
|
5146
|
-
DescribeDBDiagHistoryRequest: DescribeDBDiagHistoryRequest,
|
|
5147
|
-
CreateDBDiagReportTaskResponse: CreateDBDiagReportTaskResponse,
|
|
5148
5335
|
DiagHistoryEventItem: DiagHistoryEventItem,
|
|
5336
|
+
DescribeDBDiagHistoryRequest: DescribeDBDiagHistoryRequest,
|
|
5337
|
+
CreateKillTaskResponse: CreateKillTaskResponse,
|
|
5338
|
+
DescribeDBDiagEventsRequest: DescribeDBDiagEventsRequest,
|
|
5339
|
+
CreateDBDiagReportUrlResponse: CreateDBDiagReportUrlResponse,
|
|
5340
|
+
CreateKillTaskRequest: CreateKillTaskRequest,
|
|
5149
5341
|
SlowLogHost: SlowLogHost,
|
|
5150
5342
|
CreateMailProfileRequest: CreateMailProfileRequest,
|
|
5151
5343
|
MonitorFloatMetricSeriesData: MonitorFloatMetricSeriesData,
|
|
@@ -5182,16 +5374,17 @@ module.exports = {
|
|
|
5182
5374
|
IssueTypeInfo: IssueTypeInfo,
|
|
5183
5375
|
DescribeDiagDBInstancesResponse: DescribeDiagDBInstancesResponse,
|
|
5184
5376
|
DescribeAllUserGroupRequest: DescribeAllUserGroupRequest,
|
|
5377
|
+
CreateProxySessionKillTaskRequest: CreateProxySessionKillTaskRequest,
|
|
5185
5378
|
CreateSecurityAuditLogExportTaskResponse: CreateSecurityAuditLogExportTaskResponse,
|
|
5186
5379
|
SchemaItem: SchemaItem,
|
|
5187
5380
|
DescribeSlowLogUserHostStatsRequest: DescribeSlowLogUserHostStatsRequest,
|
|
5188
5381
|
DescribeTopSpaceSchemasResponse: DescribeTopSpaceSchemasResponse,
|
|
5382
|
+
CreateProxySessionKillTaskResponse: CreateProxySessionKillTaskResponse,
|
|
5189
5383
|
DescribeSlowLogTimeSeriesStatsResponse: DescribeSlowLogTimeSeriesStatsResponse,
|
|
5190
5384
|
MonitorFloatMetric: MonitorFloatMetric,
|
|
5191
5385
|
DescribeAllUserGroupResponse: DescribeAllUserGroupResponse,
|
|
5192
5386
|
DescribeUserSqlAdviceResponse: DescribeUserSqlAdviceResponse,
|
|
5193
5387
|
DescribeDBSpaceStatusResponse: DescribeDBSpaceStatusResponse,
|
|
5194
|
-
DescribeDBDiagEventsRequest: DescribeDBDiagEventsRequest,
|
|
5195
5388
|
GroupItem: GroupItem,
|
|
5196
5389
|
DescribeTopSpaceTableTimeSeriesRequest: DescribeTopSpaceTableTimeSeriesRequest,
|
|
5197
5390
|
DescribeDBDiagReportTasksRequest: DescribeDBDiagReportTasksRequest,
|
|
@@ -25,6 +25,7 @@ const DescribeAccountsRequest = models.DescribeAccountsRequest;
|
|
|
25
25
|
const AssociateSecurityGroupsRequest = models.AssociateSecurityGroupsRequest;
|
|
26
26
|
const DescribeDBSecurityGroupsResponse = models.DescribeDBSecurityGroupsResponse;
|
|
27
27
|
const CancelDcnJobResponse = models.CancelDcnJobResponse;
|
|
28
|
+
const DescribeFileDownloadUrlRequest = models.DescribeFileDownloadUrlRequest;
|
|
28
29
|
const DescribeDBSyncModeResponse = models.DescribeDBSyncModeResponse;
|
|
29
30
|
const DescribeProjectSecurityGroupsRequest = models.DescribeProjectSecurityGroupsRequest;
|
|
30
31
|
const CreateAccountRequest = models.CreateAccountRequest;
|
|
@@ -59,6 +60,7 @@ const ModifyDBParametersRequest = models.ModifyDBParametersRequest;
|
|
|
59
60
|
const DCDBInstanceInfo = models.DCDBInstanceInfo;
|
|
60
61
|
const ModifyDBInstanceSecurityGroupsRequest = models.ModifyDBInstanceSecurityGroupsRequest;
|
|
61
62
|
const DescribeDcnDetailRequest = models.DescribeDcnDetailRequest;
|
|
63
|
+
const DescribeFileDownloadUrlResponse = models.DescribeFileDownloadUrlResponse;
|
|
62
64
|
const ModifyDBParametersResponse = models.ModifyDBParametersResponse;
|
|
63
65
|
const DCDBShardInfo = models.DCDBShardInfo;
|
|
64
66
|
const CopyAccountPrivilegesRequest = models.CopyAccountPrivilegesRequest;
|
|
@@ -86,6 +88,7 @@ const DescribeDatabasesResponse = models.DescribeDatabasesResponse;
|
|
|
86
88
|
const DestroyDCDBInstanceResponse = models.DestroyDCDBInstanceResponse;
|
|
87
89
|
const CloseDBExtranetAccessRequest = models.CloseDBExtranetAccessRequest;
|
|
88
90
|
const InitDCDBInstancesRequest = models.InitDCDBInstancesRequest;
|
|
91
|
+
const ResourceTag = models.ResourceTag;
|
|
89
92
|
const DeleteAccountRequest = models.DeleteAccountRequest;
|
|
90
93
|
const DescribeDCDBInstancesResponse = models.DescribeDCDBInstancesResponse;
|
|
91
94
|
const DescribeFlowRequest = models.DescribeFlowRequest;
|
|
@@ -154,6 +157,17 @@ If no filter is specified, 10 instances will be returned by default. Up to 100 i
|
|
|
154
157
|
this.request("DescribeDCDBInstances", req, resp, cb);
|
|
155
158
|
}
|
|
156
159
|
|
|
160
|
+
/**
|
|
161
|
+
* This API is used to get the download URL of a specific backup or log file of a database.
|
|
162
|
+
* @param {DescribeFileDownloadUrlRequest} req
|
|
163
|
+
* @param {function(string, DescribeFileDownloadUrlResponse):void} cb
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
DescribeFileDownloadUrl(req, cb) {
|
|
167
|
+
let resp = new DescribeFileDownloadUrlResponse();
|
|
168
|
+
this.request("DescribeFileDownloadUrl", req, resp, cb);
|
|
169
|
+
}
|
|
170
|
+
|
|
157
171
|
/**
|
|
158
172
|
* This API is used to modify the remarks of a TencentDB account.
|
|
159
173
|
Note: accounts with the same username but different hosts are different accounts.
|