tencentcloud-sdk-python-intl-en 3.0.1261__py2.py3-none-any.whl → 3.0.1263__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/bi/v20220105/bi_client.py +506 -0
- tencentcloud/bi/v20220105/errorcodes.py +9 -0
- tencentcloud/bi/v20220105/models.py +9615 -274
- tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +1 -1
- tencentcloud/mdp/v20200527/errorcodes.py +11 -2
- tencentcloud/mdp/v20200527/mdp_client.py +138 -0
- tencentcloud/mdp/v20200527/models.py +1071 -45
- tencentcloud/sqlserver/v20180328/models.py +817 -104
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +47 -1
- {tencentcloud_sdk_python_intl_en-3.0.1261.dist-info → tencentcloud_sdk_python_intl_en-3.0.1263.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1261.dist-info → tencentcloud_sdk_python_intl_en-3.0.1263.dist-info}/RECORD +14 -14
- {tencentcloud_sdk_python_intl_en-3.0.1261.dist-info → tencentcloud_sdk_python_intl_en-3.0.1263.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1261.dist-info → tencentcloud_sdk_python_intl_en-3.0.1263.dist-info}/top_level.txt +0 -0
@@ -1907,50 +1907,52 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
1907
1907
|
|
1908
1908
|
def __init__(self):
|
1909
1909
|
r"""
|
1910
|
-
:param _Zone:
|
1910
|
+
:param _Zone: Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the `DescribeZones` API.
|
1911
1911
|
:type Zone: str
|
1912
|
-
:param _Cpu:
|
1912
|
+
:param _Cpu: Number of CPU cores.
|
1913
1913
|
:type Cpu: int
|
1914
|
-
:param _Memory:
|
1914
|
+
:param _Memory: Instance memory size in GB.
|
1915
1915
|
:type Memory: int
|
1916
|
-
:param _Storage:
|
1916
|
+
:param _Storage: Instance storage capacity in GB.
|
1917
1917
|
:type Storage: int
|
1918
|
-
:param _SubnetId:
|
1918
|
+
:param _SubnetId: VPC subnet ID in the format of subnet-bdoe83fa.
|
1919
1919
|
:type SubnetId: str
|
1920
|
-
:param _VpcId:
|
1920
|
+
:param _VpcId: VPC ID in the format of vpc-dsp338hz.
|
1921
1921
|
:type VpcId: str
|
1922
|
-
:param _MachineType:
|
1922
|
+
:param _MachineType: Host type of purchased instances. CLOUD_PREMIUM: Premium Disk for virtual machines; CLOUD_SSD: Cloud SSD for virtual machines; CLOUD_HSSD: Enhanced SSD for virtual machines; CLOUD_BSSD: Balanced SSD for virtual machines.
|
1923
1923
|
:type MachineType: str
|
1924
|
-
:param _InstanceChargeType:
|
1924
|
+
:param _InstanceChargeType: Billing mode. Valid value: POSTPAID (pay-as-you-go).
|
1925
1925
|
:type InstanceChargeType: str
|
1926
|
-
:param _ProjectId:
|
1926
|
+
:param _ProjectId: Project ID.
|
1927
1927
|
:type ProjectId: int
|
1928
|
-
:param _GoodsNum:
|
1928
|
+
:param _GoodsNum: Number of instances purchased this time. Default value: 1. Maximum value: 10.
|
1929
1929
|
:type GoodsNum: int
|
1930
|
-
:param _DBVersion:
|
1930
|
+
:param _DBVersion: SQL Server version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The available version varies by region, and you can pull the version information by calling the `DescribeProductConfig` API.
|
1931
1931
|
:type DBVersion: str
|
1932
|
-
:param _Period:
|
1932
|
+
:param _Period: Length of purchase of instance. The default value is 1, indicating one month. The value cannot exceed 48.
|
1933
1933
|
:type Period: int
|
1934
|
-
:param _SecurityGroupList:
|
1934
|
+
:param _SecurityGroupList: Security group list, which contains security group IDs in the format of sg-xxx.
|
1935
1935
|
:type SecurityGroupList: list of str
|
1936
|
-
:param _AutoRenewFlag:
|
1936
|
+
:param _AutoRenewFlag: Auto-renewal flag. 0: normal renewal, 1: auto-renewal. Default value: 1.
|
1937
1937
|
:type AutoRenewFlag: int
|
1938
|
-
:param _AutoVoucher:
|
1938
|
+
:param _AutoVoucher: Whether to automatically use voucher. 0: no, 1: yes. Default value: no.
|
1939
1939
|
:type AutoVoucher: int
|
1940
|
-
:param _VoucherIds:
|
1940
|
+
:param _VoucherIds: Array of voucher IDs (currently, only one voucher can be used per order).
|
1941
1941
|
:type VoucherIds: list of str
|
1942
|
-
:param _Weekly:
|
1942
|
+
:param _Weekly: Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
|
1943
1943
|
:type Weekly: list of int
|
1944
|
-
:param _StartTime:
|
1944
|
+
:param _StartTime: Configuration of the maintenance window, which specifies the start time of daily maintenance.
|
1945
1945
|
:type StartTime: str
|
1946
|
-
:param _Span:
|
1946
|
+
:param _Span: Configuration of the maintenance window, which specifies the maintenance duration in hours.
|
1947
1947
|
:type Span: int
|
1948
|
-
:param _ResourceTags:
|
1948
|
+
:param _ResourceTags: Tags associated with the instances to be created.
|
1949
1949
|
:type ResourceTags: list of ResourceTag
|
1950
|
-
:param _Collation:
|
1950
|
+
:param _Collation: Collation of system character sets. Default value: `Chinese_PRC_CI_AS`.
|
1951
1951
|
:type Collation: str
|
1952
|
-
:param _TimeZone:
|
1952
|
+
:param _TimeZone: System time zone. Default value: `China Standard Time`.
|
1953
1953
|
:type TimeZone: str
|
1954
|
+
:param _DiskEncryptFlag: Disk encryption identifier, 0-unencrypted, 1-encrypted.
|
1955
|
+
:type DiskEncryptFlag: int
|
1954
1956
|
"""
|
1955
1957
|
self._Zone = None
|
1956
1958
|
self._Cpu = None
|
@@ -1974,10 +1976,11 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
1974
1976
|
self._ResourceTags = None
|
1975
1977
|
self._Collation = None
|
1976
1978
|
self._TimeZone = None
|
1979
|
+
self._DiskEncryptFlag = None
|
1977
1980
|
|
1978
1981
|
@property
|
1979
1982
|
def Zone(self):
|
1980
|
-
"""
|
1983
|
+
"""Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the `DescribeZones` API.
|
1981
1984
|
:rtype: str
|
1982
1985
|
"""
|
1983
1986
|
return self._Zone
|
@@ -1988,7 +1991,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
1988
1991
|
|
1989
1992
|
@property
|
1990
1993
|
def Cpu(self):
|
1991
|
-
"""
|
1994
|
+
"""Number of CPU cores.
|
1992
1995
|
:rtype: int
|
1993
1996
|
"""
|
1994
1997
|
return self._Cpu
|
@@ -1999,7 +2002,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
1999
2002
|
|
2000
2003
|
@property
|
2001
2004
|
def Memory(self):
|
2002
|
-
"""
|
2005
|
+
"""Instance memory size in GB.
|
2003
2006
|
:rtype: int
|
2004
2007
|
"""
|
2005
2008
|
return self._Memory
|
@@ -2010,7 +2013,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2010
2013
|
|
2011
2014
|
@property
|
2012
2015
|
def Storage(self):
|
2013
|
-
"""
|
2016
|
+
"""Instance storage capacity in GB.
|
2014
2017
|
:rtype: int
|
2015
2018
|
"""
|
2016
2019
|
return self._Storage
|
@@ -2021,7 +2024,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2021
2024
|
|
2022
2025
|
@property
|
2023
2026
|
def SubnetId(self):
|
2024
|
-
"""
|
2027
|
+
"""VPC subnet ID in the format of subnet-bdoe83fa.
|
2025
2028
|
:rtype: str
|
2026
2029
|
"""
|
2027
2030
|
return self._SubnetId
|
@@ -2032,7 +2035,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2032
2035
|
|
2033
2036
|
@property
|
2034
2037
|
def VpcId(self):
|
2035
|
-
"""
|
2038
|
+
"""VPC ID in the format of vpc-dsp338hz.
|
2036
2039
|
:rtype: str
|
2037
2040
|
"""
|
2038
2041
|
return self._VpcId
|
@@ -2043,7 +2046,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2043
2046
|
|
2044
2047
|
@property
|
2045
2048
|
def MachineType(self):
|
2046
|
-
"""
|
2049
|
+
"""Host type of purchased instances. CLOUD_PREMIUM: Premium Disk for virtual machines; CLOUD_SSD: Cloud SSD for virtual machines; CLOUD_HSSD: Enhanced SSD for virtual machines; CLOUD_BSSD: Balanced SSD for virtual machines.
|
2047
2050
|
:rtype: str
|
2048
2051
|
"""
|
2049
2052
|
return self._MachineType
|
@@ -2054,7 +2057,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2054
2057
|
|
2055
2058
|
@property
|
2056
2059
|
def InstanceChargeType(self):
|
2057
|
-
"""
|
2060
|
+
"""Billing mode. Valid value: POSTPAID (pay-as-you-go).
|
2058
2061
|
:rtype: str
|
2059
2062
|
"""
|
2060
2063
|
return self._InstanceChargeType
|
@@ -2065,7 +2068,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2065
2068
|
|
2066
2069
|
@property
|
2067
2070
|
def ProjectId(self):
|
2068
|
-
"""
|
2071
|
+
"""Project ID.
|
2069
2072
|
:rtype: int
|
2070
2073
|
"""
|
2071
2074
|
return self._ProjectId
|
@@ -2076,7 +2079,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2076
2079
|
|
2077
2080
|
@property
|
2078
2081
|
def GoodsNum(self):
|
2079
|
-
"""
|
2082
|
+
"""Number of instances purchased this time. Default value: 1. Maximum value: 10.
|
2080
2083
|
:rtype: int
|
2081
2084
|
"""
|
2082
2085
|
return self._GoodsNum
|
@@ -2087,7 +2090,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2087
2090
|
|
2088
2091
|
@property
|
2089
2092
|
def DBVersion(self):
|
2090
|
-
"""
|
2093
|
+
"""SQL Server version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The available version varies by region, and you can pull the version information by calling the `DescribeProductConfig` API.
|
2091
2094
|
:rtype: str
|
2092
2095
|
"""
|
2093
2096
|
return self._DBVersion
|
@@ -2098,7 +2101,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2098
2101
|
|
2099
2102
|
@property
|
2100
2103
|
def Period(self):
|
2101
|
-
"""
|
2104
|
+
"""Length of purchase of instance. The default value is 1, indicating one month. The value cannot exceed 48.
|
2102
2105
|
:rtype: int
|
2103
2106
|
"""
|
2104
2107
|
return self._Period
|
@@ -2109,7 +2112,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2109
2112
|
|
2110
2113
|
@property
|
2111
2114
|
def SecurityGroupList(self):
|
2112
|
-
"""
|
2115
|
+
"""Security group list, which contains security group IDs in the format of sg-xxx.
|
2113
2116
|
:rtype: list of str
|
2114
2117
|
"""
|
2115
2118
|
return self._SecurityGroupList
|
@@ -2120,7 +2123,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2120
2123
|
|
2121
2124
|
@property
|
2122
2125
|
def AutoRenewFlag(self):
|
2123
|
-
"""
|
2126
|
+
"""Auto-renewal flag. 0: normal renewal, 1: auto-renewal. Default value: 1.
|
2124
2127
|
:rtype: int
|
2125
2128
|
"""
|
2126
2129
|
return self._AutoRenewFlag
|
@@ -2131,7 +2134,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2131
2134
|
|
2132
2135
|
@property
|
2133
2136
|
def AutoVoucher(self):
|
2134
|
-
"""
|
2137
|
+
"""Whether to automatically use voucher. 0: no, 1: yes. Default value: no.
|
2135
2138
|
:rtype: int
|
2136
2139
|
"""
|
2137
2140
|
return self._AutoVoucher
|
@@ -2142,7 +2145,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2142
2145
|
|
2143
2146
|
@property
|
2144
2147
|
def VoucherIds(self):
|
2145
|
-
"""
|
2148
|
+
"""Array of voucher IDs (currently, only one voucher can be used per order).
|
2146
2149
|
:rtype: list of str
|
2147
2150
|
"""
|
2148
2151
|
return self._VoucherIds
|
@@ -2153,7 +2156,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2153
2156
|
|
2154
2157
|
@property
|
2155
2158
|
def Weekly(self):
|
2156
|
-
"""
|
2159
|
+
"""Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
|
2157
2160
|
:rtype: list of int
|
2158
2161
|
"""
|
2159
2162
|
return self._Weekly
|
@@ -2164,7 +2167,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2164
2167
|
|
2165
2168
|
@property
|
2166
2169
|
def StartTime(self):
|
2167
|
-
"""
|
2170
|
+
"""Configuration of the maintenance window, which specifies the start time of daily maintenance.
|
2168
2171
|
:rtype: str
|
2169
2172
|
"""
|
2170
2173
|
return self._StartTime
|
@@ -2175,7 +2178,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2175
2178
|
|
2176
2179
|
@property
|
2177
2180
|
def Span(self):
|
2178
|
-
"""
|
2181
|
+
"""Configuration of the maintenance window, which specifies the maintenance duration in hours.
|
2179
2182
|
:rtype: int
|
2180
2183
|
"""
|
2181
2184
|
return self._Span
|
@@ -2186,7 +2189,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2186
2189
|
|
2187
2190
|
@property
|
2188
2191
|
def ResourceTags(self):
|
2189
|
-
"""
|
2192
|
+
"""Tags associated with the instances to be created.
|
2190
2193
|
:rtype: list of ResourceTag
|
2191
2194
|
"""
|
2192
2195
|
return self._ResourceTags
|
@@ -2197,7 +2200,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2197
2200
|
|
2198
2201
|
@property
|
2199
2202
|
def Collation(self):
|
2200
|
-
"""
|
2203
|
+
"""Collation of system character sets. Default value: `Chinese_PRC_CI_AS`.
|
2201
2204
|
:rtype: str
|
2202
2205
|
"""
|
2203
2206
|
return self._Collation
|
@@ -2208,7 +2211,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2208
2211
|
|
2209
2212
|
@property
|
2210
2213
|
def TimeZone(self):
|
2211
|
-
"""
|
2214
|
+
"""System time zone. Default value: `China Standard Time`.
|
2212
2215
|
:rtype: str
|
2213
2216
|
"""
|
2214
2217
|
return self._TimeZone
|
@@ -2217,6 +2220,17 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2217
2220
|
def TimeZone(self, TimeZone):
|
2218
2221
|
self._TimeZone = TimeZone
|
2219
2222
|
|
2223
|
+
@property
|
2224
|
+
def DiskEncryptFlag(self):
|
2225
|
+
"""Disk encryption identifier, 0-unencrypted, 1-encrypted.
|
2226
|
+
:rtype: int
|
2227
|
+
"""
|
2228
|
+
return self._DiskEncryptFlag
|
2229
|
+
|
2230
|
+
@DiskEncryptFlag.setter
|
2231
|
+
def DiskEncryptFlag(self, DiskEncryptFlag):
|
2232
|
+
self._DiskEncryptFlag = DiskEncryptFlag
|
2233
|
+
|
2220
2234
|
|
2221
2235
|
def _deserialize(self, params):
|
2222
2236
|
self._Zone = params.get("Zone")
|
@@ -2246,6 +2260,7 @@ class CreateBasicDBInstancesRequest(AbstractModel):
|
|
2246
2260
|
self._ResourceTags.append(obj)
|
2247
2261
|
self._Collation = params.get("Collation")
|
2248
2262
|
self._TimeZone = params.get("TimeZone")
|
2263
|
+
self._DiskEncryptFlag = params.get("DiskEncryptFlag")
|
2249
2264
|
memeber_set = set(params.keys())
|
2250
2265
|
for name, value in vars(self).items():
|
2251
2266
|
property_name = name[1:]
|
@@ -2263,7 +2278,7 @@ class CreateBasicDBInstancesResponse(AbstractModel):
|
|
2263
2278
|
|
2264
2279
|
def __init__(self):
|
2265
2280
|
r"""
|
2266
|
-
:param _DealName:
|
2281
|
+
:param _DealName: Order name.
|
2267
2282
|
:type DealName: str
|
2268
2283
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
2269
2284
|
:type RequestId: str
|
@@ -2273,7 +2288,7 @@ class CreateBasicDBInstancesResponse(AbstractModel):
|
|
2273
2288
|
|
2274
2289
|
@property
|
2275
2290
|
def DealName(self):
|
2276
|
-
"""
|
2291
|
+
"""Order name.
|
2277
2292
|
:rtype: str
|
2278
2293
|
"""
|
2279
2294
|
return self._DealName
|
@@ -8693,6 +8708,117 @@ class DescribeBusinessIntelligenceFileResponse(AbstractModel):
|
|
8693
8708
|
self._RequestId = params.get("RequestId")
|
8694
8709
|
|
8695
8710
|
|
8711
|
+
class DescribeCollationTimeZoneRequest(AbstractModel):
|
8712
|
+
"""DescribeCollationTimeZone request structure.
|
8713
|
+
|
8714
|
+
"""
|
8715
|
+
|
8716
|
+
def __init__(self):
|
8717
|
+
r"""
|
8718
|
+
:param _MachineType: Host type of the purchased instance. PM: physical server; CLOUD_PREMIUM: CVM with Premium Cloud Disk;
|
8719
|
+
CLOUD_SSD: CVM with Cloud SSD; CLOUD_HSSD: CVM with Enhanced SSD; CLOUD_TSSD: CVM with Tremendous SSD; CLOUD_BSSD: CVM with Balanced SSD; CLOUD_BASIC: CVM with cloud disk. PM is set as the default value.
|
8720
|
+
:type MachineType: str
|
8721
|
+
:param _DBVersion: Version number of the purchased instance.
|
8722
|
+
:type DBVersion: str
|
8723
|
+
"""
|
8724
|
+
self._MachineType = None
|
8725
|
+
self._DBVersion = None
|
8726
|
+
|
8727
|
+
@property
|
8728
|
+
def MachineType(self):
|
8729
|
+
"""Host type of the purchased instance. PM: physical server; CLOUD_PREMIUM: CVM with Premium Cloud Disk;
|
8730
|
+
CLOUD_SSD: CVM with Cloud SSD; CLOUD_HSSD: CVM with Enhanced SSD; CLOUD_TSSD: CVM with Tremendous SSD; CLOUD_BSSD: CVM with Balanced SSD; CLOUD_BASIC: CVM with cloud disk. PM is set as the default value.
|
8731
|
+
:rtype: str
|
8732
|
+
"""
|
8733
|
+
return self._MachineType
|
8734
|
+
|
8735
|
+
@MachineType.setter
|
8736
|
+
def MachineType(self, MachineType):
|
8737
|
+
self._MachineType = MachineType
|
8738
|
+
|
8739
|
+
@property
|
8740
|
+
def DBVersion(self):
|
8741
|
+
"""Version number of the purchased instance.
|
8742
|
+
:rtype: str
|
8743
|
+
"""
|
8744
|
+
return self._DBVersion
|
8745
|
+
|
8746
|
+
@DBVersion.setter
|
8747
|
+
def DBVersion(self, DBVersion):
|
8748
|
+
self._DBVersion = DBVersion
|
8749
|
+
|
8750
|
+
|
8751
|
+
def _deserialize(self, params):
|
8752
|
+
self._MachineType = params.get("MachineType")
|
8753
|
+
self._DBVersion = params.get("DBVersion")
|
8754
|
+
memeber_set = set(params.keys())
|
8755
|
+
for name, value in vars(self).items():
|
8756
|
+
property_name = name[1:]
|
8757
|
+
if property_name in memeber_set:
|
8758
|
+
memeber_set.remove(property_name)
|
8759
|
+
if len(memeber_set) > 0:
|
8760
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8761
|
+
|
8762
|
+
|
8763
|
+
|
8764
|
+
class DescribeCollationTimeZoneResponse(AbstractModel):
|
8765
|
+
"""DescribeCollationTimeZone response structure.
|
8766
|
+
|
8767
|
+
"""
|
8768
|
+
|
8769
|
+
def __init__(self):
|
8770
|
+
r"""
|
8771
|
+
:param _Collation: System character set collation list.
|
8772
|
+
:type Collation: list of str
|
8773
|
+
:param _TimeZone: System time zone list.
|
8774
|
+
:type TimeZone: list of str
|
8775
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
8776
|
+
:type RequestId: str
|
8777
|
+
"""
|
8778
|
+
self._Collation = None
|
8779
|
+
self._TimeZone = None
|
8780
|
+
self._RequestId = None
|
8781
|
+
|
8782
|
+
@property
|
8783
|
+
def Collation(self):
|
8784
|
+
"""System character set collation list.
|
8785
|
+
:rtype: list of str
|
8786
|
+
"""
|
8787
|
+
return self._Collation
|
8788
|
+
|
8789
|
+
@Collation.setter
|
8790
|
+
def Collation(self, Collation):
|
8791
|
+
self._Collation = Collation
|
8792
|
+
|
8793
|
+
@property
|
8794
|
+
def TimeZone(self):
|
8795
|
+
"""System time zone list.
|
8796
|
+
:rtype: list of str
|
8797
|
+
"""
|
8798
|
+
return self._TimeZone
|
8799
|
+
|
8800
|
+
@TimeZone.setter
|
8801
|
+
def TimeZone(self, TimeZone):
|
8802
|
+
self._TimeZone = TimeZone
|
8803
|
+
|
8804
|
+
@property
|
8805
|
+
def RequestId(self):
|
8806
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
8807
|
+
:rtype: str
|
8808
|
+
"""
|
8809
|
+
return self._RequestId
|
8810
|
+
|
8811
|
+
@RequestId.setter
|
8812
|
+
def RequestId(self, RequestId):
|
8813
|
+
self._RequestId = RequestId
|
8814
|
+
|
8815
|
+
|
8816
|
+
def _deserialize(self, params):
|
8817
|
+
self._Collation = params.get("Collation")
|
8818
|
+
self._TimeZone = params.get("TimeZone")
|
8819
|
+
self._RequestId = params.get("RequestId")
|
8820
|
+
|
8821
|
+
|
8696
8822
|
class DescribeDBCharsetsRequest(AbstractModel):
|
8697
8823
|
"""DescribeDBCharsets request structure.
|
8698
8824
|
|
@@ -10178,7 +10304,7 @@ class DescribeInstanceByOrdersResponse(AbstractModel):
|
|
10178
10304
|
|
10179
10305
|
def __init__(self):
|
10180
10306
|
r"""
|
10181
|
-
:param _DealInstance:
|
10307
|
+
:param _DealInstance: Resource ID set.
|
10182
10308
|
:type DealInstance: list of DealInstance
|
10183
10309
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
10184
10310
|
:type RequestId: str
|
@@ -10188,7 +10314,7 @@ class DescribeInstanceByOrdersResponse(AbstractModel):
|
|
10188
10314
|
|
10189
10315
|
@property
|
10190
10316
|
def DealInstance(self):
|
10191
|
-
"""
|
10317
|
+
"""Resource ID set.
|
10192
10318
|
:rtype: list of DealInstance
|
10193
10319
|
"""
|
10194
10320
|
return self._DealInstance
|
@@ -11686,47 +11812,107 @@ class DescribeSlowlogsResponse(AbstractModel):
|
|
11686
11812
|
self._RequestId = params.get("RequestId")
|
11687
11813
|
|
11688
11814
|
|
11689
|
-
class
|
11690
|
-
"""
|
11815
|
+
class DescribeSpecSellStatusRequest(AbstractModel):
|
11816
|
+
"""DescribeSpecSellStatus request structure.
|
11691
11817
|
|
11692
11818
|
"""
|
11693
11819
|
|
11694
11820
|
def __init__(self):
|
11695
11821
|
r"""
|
11696
|
-
:param
|
11697
|
-
:type
|
11698
|
-
:param
|
11699
|
-
:type
|
11822
|
+
:param _Zone: AZ ID. For example, ap-guangzhou-3.
|
11823
|
+
:type Zone: str
|
11824
|
+
:param _SpecIdSet: Instance specification ID, which can be obtained by calling the DescribeProductConfig API.
|
11825
|
+
:type SpecIdSet: list of int non-negative
|
11826
|
+
:param _DBVersion: Database version, which can be obtained by calling the DescribeProductConfig API.
|
11827
|
+
:type DBVersion: str
|
11828
|
+
:param _Pid: Product ID, which can be obtained by calling the DescribeProductConfig API.
|
11829
|
+
:type Pid: int
|
11830
|
+
:param _PayMode: Payment mode. POST: pay-as-you-go; PRE: monthly subscription.
|
11831
|
+
:type PayMode: str
|
11832
|
+
:param _Currency: Currency. CNY; USD.
|
11833
|
+
:type Currency: str
|
11700
11834
|
"""
|
11701
|
-
self.
|
11702
|
-
self.
|
11835
|
+
self._Zone = None
|
11836
|
+
self._SpecIdSet = None
|
11837
|
+
self._DBVersion = None
|
11838
|
+
self._Pid = None
|
11839
|
+
self._PayMode = None
|
11840
|
+
self._Currency = None
|
11703
11841
|
|
11704
11842
|
@property
|
11705
|
-
def
|
11706
|
-
"""ID
|
11843
|
+
def Zone(self):
|
11844
|
+
"""AZ ID. For example, ap-guangzhou-3.
|
11707
11845
|
:rtype: str
|
11708
11846
|
"""
|
11709
|
-
return self.
|
11847
|
+
return self._Zone
|
11710
11848
|
|
11711
|
-
@
|
11712
|
-
def
|
11713
|
-
self.
|
11849
|
+
@Zone.setter
|
11850
|
+
def Zone(self, Zone):
|
11851
|
+
self._Zone = Zone
|
11714
11852
|
|
11715
11853
|
@property
|
11716
|
-
def
|
11717
|
-
"""
|
11854
|
+
def SpecIdSet(self):
|
11855
|
+
"""Instance specification ID, which can be obtained by calling the DescribeProductConfig API.
|
11856
|
+
:rtype: list of int non-negative
|
11857
|
+
"""
|
11858
|
+
return self._SpecIdSet
|
11859
|
+
|
11860
|
+
@SpecIdSet.setter
|
11861
|
+
def SpecIdSet(self, SpecIdSet):
|
11862
|
+
self._SpecIdSet = SpecIdSet
|
11863
|
+
|
11864
|
+
@property
|
11865
|
+
def DBVersion(self):
|
11866
|
+
"""Database version, which can be obtained by calling the DescribeProductConfig API.
|
11718
11867
|
:rtype: str
|
11719
11868
|
"""
|
11720
|
-
return self.
|
11869
|
+
return self._DBVersion
|
11721
11870
|
|
11722
|
-
@
|
11723
|
-
def
|
11724
|
-
self.
|
11871
|
+
@DBVersion.setter
|
11872
|
+
def DBVersion(self, DBVersion):
|
11873
|
+
self._DBVersion = DBVersion
|
11874
|
+
|
11875
|
+
@property
|
11876
|
+
def Pid(self):
|
11877
|
+
"""Product ID, which can be obtained by calling the DescribeProductConfig API.
|
11878
|
+
:rtype: int
|
11879
|
+
"""
|
11880
|
+
return self._Pid
|
11881
|
+
|
11882
|
+
@Pid.setter
|
11883
|
+
def Pid(self, Pid):
|
11884
|
+
self._Pid = Pid
|
11885
|
+
|
11886
|
+
@property
|
11887
|
+
def PayMode(self):
|
11888
|
+
"""Payment mode. POST: pay-as-you-go; PRE: monthly subscription.
|
11889
|
+
:rtype: str
|
11890
|
+
"""
|
11891
|
+
return self._PayMode
|
11892
|
+
|
11893
|
+
@PayMode.setter
|
11894
|
+
def PayMode(self, PayMode):
|
11895
|
+
self._PayMode = PayMode
|
11896
|
+
|
11897
|
+
@property
|
11898
|
+
def Currency(self):
|
11899
|
+
"""Currency. CNY; USD.
|
11900
|
+
:rtype: str
|
11901
|
+
"""
|
11902
|
+
return self._Currency
|
11903
|
+
|
11904
|
+
@Currency.setter
|
11905
|
+
def Currency(self, Currency):
|
11906
|
+
self._Currency = Currency
|
11725
11907
|
|
11726
11908
|
|
11727
11909
|
def _deserialize(self, params):
|
11728
|
-
self.
|
11729
|
-
self.
|
11910
|
+
self._Zone = params.get("Zone")
|
11911
|
+
self._SpecIdSet = params.get("SpecIdSet")
|
11912
|
+
self._DBVersion = params.get("DBVersion")
|
11913
|
+
self._Pid = params.get("Pid")
|
11914
|
+
self._PayMode = params.get("PayMode")
|
11915
|
+
self._Currency = params.get("Currency")
|
11730
11916
|
memeber_set = set(params.keys())
|
11731
11917
|
for name, value in vars(self).items():
|
11732
11918
|
property_name = name[1:]
|
@@ -11737,23 +11923,122 @@ class DescribeUploadBackupInfoRequest(AbstractModel):
|
|
11737
11923
|
|
11738
11924
|
|
11739
11925
|
|
11740
|
-
class
|
11741
|
-
"""
|
11926
|
+
class DescribeSpecSellStatusResponse(AbstractModel):
|
11927
|
+
"""DescribeSpecSellStatus response structure.
|
11742
11928
|
|
11743
11929
|
"""
|
11744
11930
|
|
11745
11931
|
def __init__(self):
|
11746
11932
|
r"""
|
11747
|
-
:param
|
11748
|
-
:type
|
11749
|
-
:param
|
11750
|
-
:type
|
11751
|
-
|
11752
|
-
|
11753
|
-
|
11754
|
-
|
11755
|
-
|
11756
|
-
|
11933
|
+
:param _DescribeSpecSellStatusSet: Status set of specifications in different regions.
|
11934
|
+
:type DescribeSpecSellStatusSet: list of SpecSellStatus
|
11935
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
11936
|
+
:type RequestId: str
|
11937
|
+
"""
|
11938
|
+
self._DescribeSpecSellStatusSet = None
|
11939
|
+
self._RequestId = None
|
11940
|
+
|
11941
|
+
@property
|
11942
|
+
def DescribeSpecSellStatusSet(self):
|
11943
|
+
"""Status set of specifications in different regions.
|
11944
|
+
:rtype: list of SpecSellStatus
|
11945
|
+
"""
|
11946
|
+
return self._DescribeSpecSellStatusSet
|
11947
|
+
|
11948
|
+
@DescribeSpecSellStatusSet.setter
|
11949
|
+
def DescribeSpecSellStatusSet(self, DescribeSpecSellStatusSet):
|
11950
|
+
self._DescribeSpecSellStatusSet = DescribeSpecSellStatusSet
|
11951
|
+
|
11952
|
+
@property
|
11953
|
+
def RequestId(self):
|
11954
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
11955
|
+
:rtype: str
|
11956
|
+
"""
|
11957
|
+
return self._RequestId
|
11958
|
+
|
11959
|
+
@RequestId.setter
|
11960
|
+
def RequestId(self, RequestId):
|
11961
|
+
self._RequestId = RequestId
|
11962
|
+
|
11963
|
+
|
11964
|
+
def _deserialize(self, params):
|
11965
|
+
if params.get("DescribeSpecSellStatusSet") is not None:
|
11966
|
+
self._DescribeSpecSellStatusSet = []
|
11967
|
+
for item in params.get("DescribeSpecSellStatusSet"):
|
11968
|
+
obj = SpecSellStatus()
|
11969
|
+
obj._deserialize(item)
|
11970
|
+
self._DescribeSpecSellStatusSet.append(obj)
|
11971
|
+
self._RequestId = params.get("RequestId")
|
11972
|
+
|
11973
|
+
|
11974
|
+
class DescribeUploadBackupInfoRequest(AbstractModel):
|
11975
|
+
"""DescribeUploadBackupInfo request structure.
|
11976
|
+
|
11977
|
+
"""
|
11978
|
+
|
11979
|
+
def __init__(self):
|
11980
|
+
r"""
|
11981
|
+
:param _InstanceId: ID of imported target instance
|
11982
|
+
:type InstanceId: str
|
11983
|
+
:param _BackupMigrationId: Backup import task ID, which is returned through the API CreateBackupMigration
|
11984
|
+
:type BackupMigrationId: str
|
11985
|
+
"""
|
11986
|
+
self._InstanceId = None
|
11987
|
+
self._BackupMigrationId = None
|
11988
|
+
|
11989
|
+
@property
|
11990
|
+
def InstanceId(self):
|
11991
|
+
"""ID of imported target instance
|
11992
|
+
:rtype: str
|
11993
|
+
"""
|
11994
|
+
return self._InstanceId
|
11995
|
+
|
11996
|
+
@InstanceId.setter
|
11997
|
+
def InstanceId(self, InstanceId):
|
11998
|
+
self._InstanceId = InstanceId
|
11999
|
+
|
12000
|
+
@property
|
12001
|
+
def BackupMigrationId(self):
|
12002
|
+
"""Backup import task ID, which is returned through the API CreateBackupMigration
|
12003
|
+
:rtype: str
|
12004
|
+
"""
|
12005
|
+
return self._BackupMigrationId
|
12006
|
+
|
12007
|
+
@BackupMigrationId.setter
|
12008
|
+
def BackupMigrationId(self, BackupMigrationId):
|
12009
|
+
self._BackupMigrationId = BackupMigrationId
|
12010
|
+
|
12011
|
+
|
12012
|
+
def _deserialize(self, params):
|
12013
|
+
self._InstanceId = params.get("InstanceId")
|
12014
|
+
self._BackupMigrationId = params.get("BackupMigrationId")
|
12015
|
+
memeber_set = set(params.keys())
|
12016
|
+
for name, value in vars(self).items():
|
12017
|
+
property_name = name[1:]
|
12018
|
+
if property_name in memeber_set:
|
12019
|
+
memeber_set.remove(property_name)
|
12020
|
+
if len(memeber_set) > 0:
|
12021
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12022
|
+
|
12023
|
+
|
12024
|
+
|
12025
|
+
class DescribeUploadBackupInfoResponse(AbstractModel):
|
12026
|
+
"""DescribeUploadBackupInfo response structure.
|
12027
|
+
|
12028
|
+
"""
|
12029
|
+
|
12030
|
+
def __init__(self):
|
12031
|
+
r"""
|
12032
|
+
:param _BucketName: Bucket name
|
12033
|
+
:type BucketName: str
|
12034
|
+
:param _Region: Bucket location information
|
12035
|
+
:type Region: str
|
12036
|
+
:param _Path: Storage path
|
12037
|
+
:type Path: str
|
12038
|
+
:param _TmpSecretId: Temporary key ID
|
12039
|
+
:type TmpSecretId: str
|
12040
|
+
:param _TmpSecretKey: Temporary key (Key)
|
12041
|
+
:type TmpSecretKey: str
|
11757
12042
|
:param _XCosSecurityToken: Temporary key (Token)
|
11758
12043
|
:type XCosSecurityToken: str
|
11759
12044
|
:param _StartTime: Temporary key start time
|
@@ -12270,6 +12555,57 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
12270
12555
|
|
12271
12556
|
|
12272
12557
|
|
12558
|
+
class DrZoneInfo(AbstractModel):
|
12559
|
+
"""AZ information on the secondary node.
|
12560
|
+
|
12561
|
+
"""
|
12562
|
+
|
12563
|
+
def __init__(self):
|
12564
|
+
r"""
|
12565
|
+
:param _DrInstanceId: Resource ID of the secondary node.
|
12566
|
+
:type DrInstanceId: str
|
12567
|
+
:param _Zone: AZ of the secondary node.
|
12568
|
+
:type Zone: str
|
12569
|
+
"""
|
12570
|
+
self._DrInstanceId = None
|
12571
|
+
self._Zone = None
|
12572
|
+
|
12573
|
+
@property
|
12574
|
+
def DrInstanceId(self):
|
12575
|
+
"""Resource ID of the secondary node.
|
12576
|
+
:rtype: str
|
12577
|
+
"""
|
12578
|
+
return self._DrInstanceId
|
12579
|
+
|
12580
|
+
@DrInstanceId.setter
|
12581
|
+
def DrInstanceId(self, DrInstanceId):
|
12582
|
+
self._DrInstanceId = DrInstanceId
|
12583
|
+
|
12584
|
+
@property
|
12585
|
+
def Zone(self):
|
12586
|
+
"""AZ of the secondary node.
|
12587
|
+
:rtype: str
|
12588
|
+
"""
|
12589
|
+
return self._Zone
|
12590
|
+
|
12591
|
+
@Zone.setter
|
12592
|
+
def Zone(self, Zone):
|
12593
|
+
self._Zone = Zone
|
12594
|
+
|
12595
|
+
|
12596
|
+
def _deserialize(self, params):
|
12597
|
+
self._DrInstanceId = params.get("DrInstanceId")
|
12598
|
+
self._Zone = params.get("Zone")
|
12599
|
+
memeber_set = set(params.keys())
|
12600
|
+
for name, value in vars(self).items():
|
12601
|
+
property_name = name[1:]
|
12602
|
+
if property_name in memeber_set:
|
12603
|
+
memeber_set.remove(property_name)
|
12604
|
+
if len(memeber_set) > 0:
|
12605
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12606
|
+
|
12607
|
+
|
12608
|
+
|
12273
12609
|
class EventConfig(AbstractModel):
|
12274
12610
|
"""Threshold setting for an extended event
|
12275
12611
|
|
@@ -12766,11 +13102,11 @@ class InquiryPriceUpgradeDBInstanceRequest(AbstractModel):
|
|
12766
13102
|
|
12767
13103
|
def __init__(self):
|
12768
13104
|
r"""
|
12769
|
-
:param _InstanceId: Instance ID in the format of mssql-njj2mtpl
|
13105
|
+
:param _InstanceId: Instance ID in the format of mssql-njj2mtpl.
|
12770
13106
|
:type InstanceId: str
|
12771
|
-
:param _Memory: Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size
|
13107
|
+
:param _Memory: Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size.
|
12772
13108
|
:type Memory: int
|
12773
|
-
:param _Storage: Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity
|
13109
|
+
:param _Storage: Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity.
|
12774
13110
|
:type Storage: int
|
12775
13111
|
:param _Cpu: The number of CUP cores after the instance is upgraded, which cannot be smaller than that of the current cores.
|
12776
13112
|
:type Cpu: int
|
@@ -12782,7 +13118,7 @@ class InquiryPriceUpgradeDBInstanceRequest(AbstractModel):
|
|
12782
13118
|
|
12783
13119
|
@property
|
12784
13120
|
def InstanceId(self):
|
12785
|
-
"""Instance ID in the format of mssql-njj2mtpl
|
13121
|
+
"""Instance ID in the format of mssql-njj2mtpl.
|
12786
13122
|
:rtype: str
|
12787
13123
|
"""
|
12788
13124
|
return self._InstanceId
|
@@ -12793,7 +13129,7 @@ class InquiryPriceUpgradeDBInstanceRequest(AbstractModel):
|
|
12793
13129
|
|
12794
13130
|
@property
|
12795
13131
|
def Memory(self):
|
12796
|
-
"""Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size
|
13132
|
+
"""Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size.
|
12797
13133
|
:rtype: int
|
12798
13134
|
"""
|
12799
13135
|
return self._Memory
|
@@ -12804,7 +13140,7 @@ class InquiryPriceUpgradeDBInstanceRequest(AbstractModel):
|
|
12804
13140
|
|
12805
13141
|
@property
|
12806
13142
|
def Storage(self):
|
12807
|
-
"""Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity
|
13143
|
+
"""Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity.
|
12808
13144
|
:rtype: int
|
12809
13145
|
"""
|
12810
13146
|
return self._Storage
|
@@ -12847,9 +13183,9 @@ class InquiryPriceUpgradeDBInstanceResponse(AbstractModel):
|
|
12847
13183
|
|
12848
13184
|
def __init__(self):
|
12849
13185
|
r"""
|
12850
|
-
:param _OriginalPrice: Price before discount. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD
|
13186
|
+
:param _OriginalPrice: Price before discount. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD.
|
12851
13187
|
:type OriginalPrice: int
|
12852
|
-
:param _Price: The actual price to be paid. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD
|
13188
|
+
:param _Price: The actual price to be paid. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD.
|
12853
13189
|
:type Price: int
|
12854
13190
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
12855
13191
|
:type RequestId: str
|
@@ -12860,7 +13196,7 @@ class InquiryPriceUpgradeDBInstanceResponse(AbstractModel):
|
|
12860
13196
|
|
12861
13197
|
@property
|
12862
13198
|
def OriginalPrice(self):
|
12863
|
-
"""Price before discount. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD
|
13199
|
+
"""Price before discount. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD.
|
12864
13200
|
:rtype: int
|
12865
13201
|
"""
|
12866
13202
|
return self._OriginalPrice
|
@@ -12871,7 +13207,7 @@ class InquiryPriceUpgradeDBInstanceResponse(AbstractModel):
|
|
12871
13207
|
|
12872
13208
|
@property
|
12873
13209
|
def Price(self):
|
12874
|
-
"""The actual price to be paid. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD
|
13210
|
+
"""The actual price to be paid. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD.
|
12875
13211
|
:rtype: int
|
12876
13212
|
"""
|
12877
13213
|
return self._Price
|
@@ -15064,18 +15400,21 @@ class ModifyDBInstanceNetworkRequest(AbstractModel):
|
|
15064
15400
|
|
15065
15401
|
def __init__(self):
|
15066
15402
|
r"""
|
15067
|
-
:param _InstanceId: Instance ID
|
15403
|
+
:param _InstanceId: Instance ID.
|
15068
15404
|
:type InstanceId: str
|
15069
|
-
:param _NewVpcId: ID of the new VPC
|
15405
|
+
:param _NewVpcId: ID of the new VPC.
|
15070
15406
|
:type NewVpcId: str
|
15071
|
-
:param _NewSubnetId: ID of the new subnet
|
15407
|
+
:param _NewSubnetId: ID of the new subnet.
|
15072
15408
|
:type NewSubnetId: str
|
15073
15409
|
:param _OldIpRetainTime: Retention period (in hours) of the original VIP. Value range: `0-168`. Default value: `0`, indicating the original VIP is released immediately.
|
15074
15410
|
:type OldIpRetainTime: int
|
15075
|
-
:param _Vip: New VIP
|
15411
|
+
:param _Vip: New VIP.
|
15076
15412
|
:type Vip: str
|
15077
|
-
:param _DRNetwork:
|
15413
|
+
:param _DRNetwork: Target node. 0 - modify the primary node network; 1 - modify the secondary node network. The default value is 0.
|
15414
|
+
|
15078
15415
|
:type DRNetwork: int
|
15416
|
+
:param _DrInstanceId: Secondary server resource ID. It is required when DRNetwork = 1.
|
15417
|
+
:type DrInstanceId: str
|
15079
15418
|
"""
|
15080
15419
|
self._InstanceId = None
|
15081
15420
|
self._NewVpcId = None
|
@@ -15083,10 +15422,11 @@ class ModifyDBInstanceNetworkRequest(AbstractModel):
|
|
15083
15422
|
self._OldIpRetainTime = None
|
15084
15423
|
self._Vip = None
|
15085
15424
|
self._DRNetwork = None
|
15425
|
+
self._DrInstanceId = None
|
15086
15426
|
|
15087
15427
|
@property
|
15088
15428
|
def InstanceId(self):
|
15089
|
-
"""Instance ID
|
15429
|
+
"""Instance ID.
|
15090
15430
|
:rtype: str
|
15091
15431
|
"""
|
15092
15432
|
return self._InstanceId
|
@@ -15097,7 +15437,7 @@ class ModifyDBInstanceNetworkRequest(AbstractModel):
|
|
15097
15437
|
|
15098
15438
|
@property
|
15099
15439
|
def NewVpcId(self):
|
15100
|
-
"""ID of the new VPC
|
15440
|
+
"""ID of the new VPC.
|
15101
15441
|
:rtype: str
|
15102
15442
|
"""
|
15103
15443
|
return self._NewVpcId
|
@@ -15108,7 +15448,7 @@ class ModifyDBInstanceNetworkRequest(AbstractModel):
|
|
15108
15448
|
|
15109
15449
|
@property
|
15110
15450
|
def NewSubnetId(self):
|
15111
|
-
"""ID of the new subnet
|
15451
|
+
"""ID of the new subnet.
|
15112
15452
|
:rtype: str
|
15113
15453
|
"""
|
15114
15454
|
return self._NewSubnetId
|
@@ -15130,7 +15470,7 @@ class ModifyDBInstanceNetworkRequest(AbstractModel):
|
|
15130
15470
|
|
15131
15471
|
@property
|
15132
15472
|
def Vip(self):
|
15133
|
-
"""New VIP
|
15473
|
+
"""New VIP.
|
15134
15474
|
:rtype: str
|
15135
15475
|
"""
|
15136
15476
|
return self._Vip
|
@@ -15141,7 +15481,8 @@ class ModifyDBInstanceNetworkRequest(AbstractModel):
|
|
15141
15481
|
|
15142
15482
|
@property
|
15143
15483
|
def DRNetwork(self):
|
15144
|
-
"""
|
15484
|
+
"""Target node. 0 - modify the primary node network; 1 - modify the secondary node network. The default value is 0.
|
15485
|
+
|
15145
15486
|
:rtype: int
|
15146
15487
|
"""
|
15147
15488
|
return self._DRNetwork
|
@@ -15150,6 +15491,17 @@ class ModifyDBInstanceNetworkRequest(AbstractModel):
|
|
15150
15491
|
def DRNetwork(self, DRNetwork):
|
15151
15492
|
self._DRNetwork = DRNetwork
|
15152
15493
|
|
15494
|
+
@property
|
15495
|
+
def DrInstanceId(self):
|
15496
|
+
"""Secondary server resource ID. It is required when DRNetwork = 1.
|
15497
|
+
:rtype: str
|
15498
|
+
"""
|
15499
|
+
return self._DrInstanceId
|
15500
|
+
|
15501
|
+
@DrInstanceId.setter
|
15502
|
+
def DrInstanceId(self, DrInstanceId):
|
15503
|
+
self._DrInstanceId = DrInstanceId
|
15504
|
+
|
15153
15505
|
|
15154
15506
|
def _deserialize(self, params):
|
15155
15507
|
self._InstanceId = params.get("InstanceId")
|
@@ -15158,6 +15510,7 @@ class ModifyDBInstanceNetworkRequest(AbstractModel):
|
|
15158
15510
|
self._OldIpRetainTime = params.get("OldIpRetainTime")
|
15159
15511
|
self._Vip = params.get("Vip")
|
15160
15512
|
self._DRNetwork = params.get("DRNetwork")
|
15513
|
+
self._DrInstanceId = params.get("DrInstanceId")
|
15161
15514
|
memeber_set = set(params.keys())
|
15162
15515
|
for name, value in vars(self).items():
|
15163
15516
|
property_name = name[1:]
|
@@ -16974,6 +17327,87 @@ class ParameterDetail(AbstractModel):
|
|
16974
17327
|
|
16975
17328
|
|
16976
17329
|
|
17330
|
+
class Price(AbstractModel):
|
17331
|
+
"""
|
17332
|
+
|
17333
|
+
"""
|
17334
|
+
|
17335
|
+
def __init__(self):
|
17336
|
+
r"""
|
17337
|
+
:param _PrepaidPrice:
|
17338
|
+
:type PrepaidPrice: int
|
17339
|
+
:param _PrepaidPriceUnit:
|
17340
|
+
:type PrepaidPriceUnit: str
|
17341
|
+
:param _PostpaidPrice:
|
17342
|
+
:type PostpaidPrice: int
|
17343
|
+
:param _PostpaidPriceUnit:
|
17344
|
+
:type PostpaidPriceUnit: str
|
17345
|
+
"""
|
17346
|
+
self._PrepaidPrice = None
|
17347
|
+
self._PrepaidPriceUnit = None
|
17348
|
+
self._PostpaidPrice = None
|
17349
|
+
self._PostpaidPriceUnit = None
|
17350
|
+
|
17351
|
+
@property
|
17352
|
+
def PrepaidPrice(self):
|
17353
|
+
"""
|
17354
|
+
:rtype: int
|
17355
|
+
"""
|
17356
|
+
return self._PrepaidPrice
|
17357
|
+
|
17358
|
+
@PrepaidPrice.setter
|
17359
|
+
def PrepaidPrice(self, PrepaidPrice):
|
17360
|
+
self._PrepaidPrice = PrepaidPrice
|
17361
|
+
|
17362
|
+
@property
|
17363
|
+
def PrepaidPriceUnit(self):
|
17364
|
+
"""
|
17365
|
+
:rtype: str
|
17366
|
+
"""
|
17367
|
+
return self._PrepaidPriceUnit
|
17368
|
+
|
17369
|
+
@PrepaidPriceUnit.setter
|
17370
|
+
def PrepaidPriceUnit(self, PrepaidPriceUnit):
|
17371
|
+
self._PrepaidPriceUnit = PrepaidPriceUnit
|
17372
|
+
|
17373
|
+
@property
|
17374
|
+
def PostpaidPrice(self):
|
17375
|
+
"""
|
17376
|
+
:rtype: int
|
17377
|
+
"""
|
17378
|
+
return self._PostpaidPrice
|
17379
|
+
|
17380
|
+
@PostpaidPrice.setter
|
17381
|
+
def PostpaidPrice(self, PostpaidPrice):
|
17382
|
+
self._PostpaidPrice = PostpaidPrice
|
17383
|
+
|
17384
|
+
@property
|
17385
|
+
def PostpaidPriceUnit(self):
|
17386
|
+
"""
|
17387
|
+
:rtype: str
|
17388
|
+
"""
|
17389
|
+
return self._PostpaidPriceUnit
|
17390
|
+
|
17391
|
+
@PostpaidPriceUnit.setter
|
17392
|
+
def PostpaidPriceUnit(self, PostpaidPriceUnit):
|
17393
|
+
self._PostpaidPriceUnit = PostpaidPriceUnit
|
17394
|
+
|
17395
|
+
|
17396
|
+
def _deserialize(self, params):
|
17397
|
+
self._PrepaidPrice = params.get("PrepaidPrice")
|
17398
|
+
self._PrepaidPriceUnit = params.get("PrepaidPriceUnit")
|
17399
|
+
self._PostpaidPrice = params.get("PostpaidPrice")
|
17400
|
+
self._PostpaidPriceUnit = params.get("PostpaidPriceUnit")
|
17401
|
+
memeber_set = set(params.keys())
|
17402
|
+
for name, value in vars(self).items():
|
17403
|
+
property_name = name[1:]
|
17404
|
+
if property_name in memeber_set:
|
17405
|
+
memeber_set.remove(property_name)
|
17406
|
+
if len(memeber_set) > 0:
|
17407
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
17408
|
+
|
17409
|
+
|
17410
|
+
|
16977
17411
|
class RecycleDBInstanceRequest(AbstractModel):
|
16978
17412
|
"""RecycleDBInstance request structure.
|
16979
17413
|
|
@@ -18494,6 +18928,199 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
18494
18928
|
|
18495
18929
|
|
18496
18930
|
|
18931
|
+
class SpecSellStatus(AbstractModel):
|
18932
|
+
"""
|
18933
|
+
|
18934
|
+
"""
|
18935
|
+
|
18936
|
+
def __init__(self):
|
18937
|
+
r"""
|
18938
|
+
:param _Id:
|
18939
|
+
:type Id: str
|
18940
|
+
:param _SpecId:
|
18941
|
+
:type SpecId: int
|
18942
|
+
:param _PayModeStatus:
|
18943
|
+
:type PayModeStatus: str
|
18944
|
+
:param _InstanceType:
|
18945
|
+
:type InstanceType: str
|
18946
|
+
:param _MultiZonesStatus:
|
18947
|
+
:type MultiZonesStatus: str
|
18948
|
+
:param _Architecture:
|
18949
|
+
:type Architecture: str
|
18950
|
+
:param _Style:
|
18951
|
+
:type Style: str
|
18952
|
+
:param _Version:
|
18953
|
+
:type Version: str
|
18954
|
+
:param _ZoneStatusSet:
|
18955
|
+
:type ZoneStatusSet: list of ZoneStatus
|
18956
|
+
:param _Price:
|
18957
|
+
:type Price: :class:`tencentcloud.sqlserver.v20180328.models.Price`
|
18958
|
+
:param _Status:
|
18959
|
+
:type Status: int
|
18960
|
+
"""
|
18961
|
+
self._Id = None
|
18962
|
+
self._SpecId = None
|
18963
|
+
self._PayModeStatus = None
|
18964
|
+
self._InstanceType = None
|
18965
|
+
self._MultiZonesStatus = None
|
18966
|
+
self._Architecture = None
|
18967
|
+
self._Style = None
|
18968
|
+
self._Version = None
|
18969
|
+
self._ZoneStatusSet = None
|
18970
|
+
self._Price = None
|
18971
|
+
self._Status = None
|
18972
|
+
|
18973
|
+
@property
|
18974
|
+
def Id(self):
|
18975
|
+
"""
|
18976
|
+
:rtype: str
|
18977
|
+
"""
|
18978
|
+
return self._Id
|
18979
|
+
|
18980
|
+
@Id.setter
|
18981
|
+
def Id(self, Id):
|
18982
|
+
self._Id = Id
|
18983
|
+
|
18984
|
+
@property
|
18985
|
+
def SpecId(self):
|
18986
|
+
"""
|
18987
|
+
:rtype: int
|
18988
|
+
"""
|
18989
|
+
return self._SpecId
|
18990
|
+
|
18991
|
+
@SpecId.setter
|
18992
|
+
def SpecId(self, SpecId):
|
18993
|
+
self._SpecId = SpecId
|
18994
|
+
|
18995
|
+
@property
|
18996
|
+
def PayModeStatus(self):
|
18997
|
+
"""
|
18998
|
+
:rtype: str
|
18999
|
+
"""
|
19000
|
+
return self._PayModeStatus
|
19001
|
+
|
19002
|
+
@PayModeStatus.setter
|
19003
|
+
def PayModeStatus(self, PayModeStatus):
|
19004
|
+
self._PayModeStatus = PayModeStatus
|
19005
|
+
|
19006
|
+
@property
|
19007
|
+
def InstanceType(self):
|
19008
|
+
"""
|
19009
|
+
:rtype: str
|
19010
|
+
"""
|
19011
|
+
return self._InstanceType
|
19012
|
+
|
19013
|
+
@InstanceType.setter
|
19014
|
+
def InstanceType(self, InstanceType):
|
19015
|
+
self._InstanceType = InstanceType
|
19016
|
+
|
19017
|
+
@property
|
19018
|
+
def MultiZonesStatus(self):
|
19019
|
+
"""
|
19020
|
+
:rtype: str
|
19021
|
+
"""
|
19022
|
+
return self._MultiZonesStatus
|
19023
|
+
|
19024
|
+
@MultiZonesStatus.setter
|
19025
|
+
def MultiZonesStatus(self, MultiZonesStatus):
|
19026
|
+
self._MultiZonesStatus = MultiZonesStatus
|
19027
|
+
|
19028
|
+
@property
|
19029
|
+
def Architecture(self):
|
19030
|
+
"""
|
19031
|
+
:rtype: str
|
19032
|
+
"""
|
19033
|
+
return self._Architecture
|
19034
|
+
|
19035
|
+
@Architecture.setter
|
19036
|
+
def Architecture(self, Architecture):
|
19037
|
+
self._Architecture = Architecture
|
19038
|
+
|
19039
|
+
@property
|
19040
|
+
def Style(self):
|
19041
|
+
"""
|
19042
|
+
:rtype: str
|
19043
|
+
"""
|
19044
|
+
return self._Style
|
19045
|
+
|
19046
|
+
@Style.setter
|
19047
|
+
def Style(self, Style):
|
19048
|
+
self._Style = Style
|
19049
|
+
|
19050
|
+
@property
|
19051
|
+
def Version(self):
|
19052
|
+
"""
|
19053
|
+
:rtype: str
|
19054
|
+
"""
|
19055
|
+
return self._Version
|
19056
|
+
|
19057
|
+
@Version.setter
|
19058
|
+
def Version(self, Version):
|
19059
|
+
self._Version = Version
|
19060
|
+
|
19061
|
+
@property
|
19062
|
+
def ZoneStatusSet(self):
|
19063
|
+
"""
|
19064
|
+
:rtype: list of ZoneStatus
|
19065
|
+
"""
|
19066
|
+
return self._ZoneStatusSet
|
19067
|
+
|
19068
|
+
@ZoneStatusSet.setter
|
19069
|
+
def ZoneStatusSet(self, ZoneStatusSet):
|
19070
|
+
self._ZoneStatusSet = ZoneStatusSet
|
19071
|
+
|
19072
|
+
@property
|
19073
|
+
def Price(self):
|
19074
|
+
"""
|
19075
|
+
:rtype: :class:`tencentcloud.sqlserver.v20180328.models.Price`
|
19076
|
+
"""
|
19077
|
+
return self._Price
|
19078
|
+
|
19079
|
+
@Price.setter
|
19080
|
+
def Price(self, Price):
|
19081
|
+
self._Price = Price
|
19082
|
+
|
19083
|
+
@property
|
19084
|
+
def Status(self):
|
19085
|
+
"""
|
19086
|
+
:rtype: int
|
19087
|
+
"""
|
19088
|
+
return self._Status
|
19089
|
+
|
19090
|
+
@Status.setter
|
19091
|
+
def Status(self, Status):
|
19092
|
+
self._Status = Status
|
19093
|
+
|
19094
|
+
|
19095
|
+
def _deserialize(self, params):
|
19096
|
+
self._Id = params.get("Id")
|
19097
|
+
self._SpecId = params.get("SpecId")
|
19098
|
+
self._PayModeStatus = params.get("PayModeStatus")
|
19099
|
+
self._InstanceType = params.get("InstanceType")
|
19100
|
+
self._MultiZonesStatus = params.get("MultiZonesStatus")
|
19101
|
+
self._Architecture = params.get("Architecture")
|
19102
|
+
self._Style = params.get("Style")
|
19103
|
+
self._Version = params.get("Version")
|
19104
|
+
if params.get("ZoneStatusSet") is not None:
|
19105
|
+
self._ZoneStatusSet = []
|
19106
|
+
for item in params.get("ZoneStatusSet"):
|
19107
|
+
obj = ZoneStatus()
|
19108
|
+
obj._deserialize(item)
|
19109
|
+
self._ZoneStatusSet.append(obj)
|
19110
|
+
if params.get("Price") is not None:
|
19111
|
+
self._Price = Price()
|
19112
|
+
self._Price._deserialize(params.get("Price"))
|
19113
|
+
self._Status = params.get("Status")
|
19114
|
+
memeber_set = set(params.keys())
|
19115
|
+
for name, value in vars(self).items():
|
19116
|
+
property_name = name[1:]
|
19117
|
+
if property_name in memeber_set:
|
19118
|
+
memeber_set.remove(property_name)
|
19119
|
+
if len(memeber_set) > 0:
|
19120
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
19121
|
+
|
19122
|
+
|
19123
|
+
|
18497
19124
|
class StartBackupMigrationRequest(AbstractModel):
|
18498
19125
|
"""StartBackupMigration request structure.
|
18499
19126
|
|
@@ -18938,6 +19565,8 @@ class UpgradeDBInstanceRequest(AbstractModel):
|
|
18938
19565
|
:type MultiZones: str
|
18939
19566
|
:param _WaitSwitch: The time when configuration adjustment task is performed. Valid values: `0` (execute immediately), `1` (execute during maintenance time). Default value: `1`.
|
18940
19567
|
:type WaitSwitch: int
|
19568
|
+
:param _DrZones: Secondary node AZ of the multi-node architecture instance. The default value is null. It should be specified when modifying the AZ of the specified secondary node needs to be performed during configuration adjustment. When MultiZones = MultiZones, the AZs of the primary nodes and secondary nodes cannot all be the same. The collection of AZs of the secondary node can include 2-5 AZs.
|
19569
|
+
:type DrZones: list of DrZoneInfo
|
18941
19570
|
"""
|
18942
19571
|
self._InstanceId = None
|
18943
19572
|
self._Memory = None
|
@@ -18949,6 +19578,7 @@ class UpgradeDBInstanceRequest(AbstractModel):
|
|
18949
19578
|
self._HAType = None
|
18950
19579
|
self._MultiZones = None
|
18951
19580
|
self._WaitSwitch = None
|
19581
|
+
self._DrZones = None
|
18952
19582
|
|
18953
19583
|
@property
|
18954
19584
|
def InstanceId(self):
|
@@ -19060,6 +19690,17 @@ class UpgradeDBInstanceRequest(AbstractModel):
|
|
19060
19690
|
def WaitSwitch(self, WaitSwitch):
|
19061
19691
|
self._WaitSwitch = WaitSwitch
|
19062
19692
|
|
19693
|
+
@property
|
19694
|
+
def DrZones(self):
|
19695
|
+
"""Secondary node AZ of the multi-node architecture instance. The default value is null. It should be specified when modifying the AZ of the specified secondary node needs to be performed during configuration adjustment. When MultiZones = MultiZones, the AZs of the primary nodes and secondary nodes cannot all be the same. The collection of AZs of the secondary node can include 2-5 AZs.
|
19696
|
+
:rtype: list of DrZoneInfo
|
19697
|
+
"""
|
19698
|
+
return self._DrZones
|
19699
|
+
|
19700
|
+
@DrZones.setter
|
19701
|
+
def DrZones(self, DrZones):
|
19702
|
+
self._DrZones = DrZones
|
19703
|
+
|
19063
19704
|
|
19064
19705
|
def _deserialize(self, params):
|
19065
19706
|
self._InstanceId = params.get("InstanceId")
|
@@ -19072,6 +19713,12 @@ class UpgradeDBInstanceRequest(AbstractModel):
|
|
19072
19713
|
self._HAType = params.get("HAType")
|
19073
19714
|
self._MultiZones = params.get("MultiZones")
|
19074
19715
|
self._WaitSwitch = params.get("WaitSwitch")
|
19716
|
+
if params.get("DrZones") is not None:
|
19717
|
+
self._DrZones = []
|
19718
|
+
for item in params.get("DrZones"):
|
19719
|
+
obj = DrZoneInfo()
|
19720
|
+
obj._deserialize(item)
|
19721
|
+
self._DrZones.append(obj)
|
19075
19722
|
memeber_set = set(params.keys())
|
19076
19723
|
for name, value in vars(self).items():
|
19077
19724
|
property_name = name[1:]
|
@@ -19089,7 +19736,7 @@ class UpgradeDBInstanceResponse(AbstractModel):
|
|
19089
19736
|
|
19090
19737
|
def __init__(self):
|
19091
19738
|
r"""
|
19092
|
-
:param _DealName: Order name
|
19739
|
+
:param _DealName: Order name.
|
19093
19740
|
:type DealName: str
|
19094
19741
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
19095
19742
|
:type RequestId: str
|
@@ -19099,7 +19746,7 @@ class UpgradeDBInstanceResponse(AbstractModel):
|
|
19099
19746
|
|
19100
19747
|
@property
|
19101
19748
|
def DealName(self):
|
19102
|
-
"""Order name
|
19749
|
+
"""Order name.
|
19103
19750
|
:rtype: str
|
19104
19751
|
"""
|
19105
19752
|
return self._DealName
|
@@ -19218,4 +19865,70 @@ class ZoneInfo(AbstractModel):
|
|
19218
19865
|
memeber_set.remove(property_name)
|
19219
19866
|
if len(memeber_set) > 0:
|
19220
19867
|
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
19868
|
+
|
19869
|
+
|
19870
|
+
|
19871
|
+
class ZoneStatus(AbstractModel):
|
19872
|
+
"""
|
19873
|
+
|
19874
|
+
"""
|
19875
|
+
|
19876
|
+
def __init__(self):
|
19877
|
+
r"""
|
19878
|
+
:param _Zone:
|
19879
|
+
:type Zone: str
|
19880
|
+
:param _Region:
|
19881
|
+
:type Region: str
|
19882
|
+
:param _Status:
|
19883
|
+
:type Status: int
|
19884
|
+
"""
|
19885
|
+
self._Zone = None
|
19886
|
+
self._Region = None
|
19887
|
+
self._Status = None
|
19888
|
+
|
19889
|
+
@property
|
19890
|
+
def Zone(self):
|
19891
|
+
"""
|
19892
|
+
:rtype: str
|
19893
|
+
"""
|
19894
|
+
return self._Zone
|
19895
|
+
|
19896
|
+
@Zone.setter
|
19897
|
+
def Zone(self, Zone):
|
19898
|
+
self._Zone = Zone
|
19899
|
+
|
19900
|
+
@property
|
19901
|
+
def Region(self):
|
19902
|
+
"""
|
19903
|
+
:rtype: str
|
19904
|
+
"""
|
19905
|
+
return self._Region
|
19906
|
+
|
19907
|
+
@Region.setter
|
19908
|
+
def Region(self, Region):
|
19909
|
+
self._Region = Region
|
19910
|
+
|
19911
|
+
@property
|
19912
|
+
def Status(self):
|
19913
|
+
"""
|
19914
|
+
:rtype: int
|
19915
|
+
"""
|
19916
|
+
return self._Status
|
19917
|
+
|
19918
|
+
@Status.setter
|
19919
|
+
def Status(self, Status):
|
19920
|
+
self._Status = Status
|
19921
|
+
|
19922
|
+
|
19923
|
+
def _deserialize(self, params):
|
19924
|
+
self._Zone = params.get("Zone")
|
19925
|
+
self._Region = params.get("Region")
|
19926
|
+
self._Status = params.get("Status")
|
19927
|
+
memeber_set = set(params.keys())
|
19928
|
+
for name, value in vars(self).items():
|
19929
|
+
property_name = name[1:]
|
19930
|
+
if property_name in memeber_set:
|
19931
|
+
memeber_set.remove(property_name)
|
19932
|
+
if len(memeber_set) > 0:
|
19933
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
19221
19934
|
|