tencentcloud-sdk-python 3.0.1313__py2.py3-none-any.whl → 3.0.1315__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/aiart/v20221229/models.py +4 -4
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/cdb/v20170320/cdb_client.py +3 -1
- tencentcloud/cdwdoris/v20211228/models.py +0 -2
- tencentcloud/cfw/v20190904/cfw_client.py +0 -25
- tencentcloud/cfw/v20190904/models.py +0 -374
- tencentcloud/ckafka/v20190819/models.py +17 -2
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/cwp/v20180228/cwp_client.py +0 -50
- tencentcloud/cwp/v20180228/models.py +83 -747
- tencentcloud/dsgc/v20190723/models.py +15 -0
- tencentcloud/ess/v20201111/models.py +2 -2
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +180 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lke/v20231130/models.py +45 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +7 -0
- tencentcloud/lkeap/v20240522/models.py +12 -2
- tencentcloud/mna/v20210119/models.py +0 -20
- tencentcloud/mongodb/v20190725/models.py +26 -14
- tencentcloud/monitor/v20180724/models.py +8 -0
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/tat/v20201028/models.py +14 -8
- tencentcloud/tccatalog/v20241024/models.py +79 -4
- tencentcloud/trocket/v20230308/errorcodes.py +6 -0
- tencentcloud/trocket/v20230308/models.py +131 -0
- tencentcloud/trocket/v20230308/trocket_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1313.dist-info → tencentcloud_sdk_python-3.0.1315.dist-info}/METADATA +3 -1
- {tencentcloud_sdk_python-3.0.1313.dist-info → tencentcloud_sdk_python-3.0.1315.dist-info}/RECORD +33 -33
- {tencentcloud_sdk_python-3.0.1313.dist-info → tencentcloud_sdk_python-3.0.1315.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1313.dist-info → tencentcloud_sdk_python-3.0.1315.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1313.dist-info → tencentcloud_sdk_python-3.0.1315.dist-info}/top_level.txt +0 -0
@@ -86,7 +86,7 @@ class AssignProjectRequest(AbstractModel):
|
|
86
86
|
|
87
87
|
def __init__(self):
|
88
88
|
r"""
|
89
|
-
:param _InstanceIds: 实例ID
|
89
|
+
:param _InstanceIds: 实例 ID 列表,请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
90
90
|
:type InstanceIds: list of str
|
91
91
|
:param _ProjectId: 项目ID,用户已创建项目的唯一ID,非自定义
|
92
92
|
:type ProjectId: int
|
@@ -96,7 +96,7 @@ class AssignProjectRequest(AbstractModel):
|
|
96
96
|
|
97
97
|
@property
|
98
98
|
def InstanceIds(self):
|
99
|
-
"""实例ID
|
99
|
+
"""实例 ID 列表,请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
100
100
|
:rtype: list of str
|
101
101
|
"""
|
102
102
|
return self._InstanceIds
|
@@ -1183,7 +1183,11 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
1183
1183
|
:type VpcId: str
|
1184
1184
|
:param _SubnetId: 私有网络VPC的子网。请登录 [私有网络控制台](https://console.cloud.tencent.com/vpc) 查询子网列表确认正确的 ID。 示例值:subnet-7jbabche
|
1185
1185
|
:type SubnetId: str
|
1186
|
-
:param _Password:
|
1186
|
+
:param _Password: 实例密码。设置要求如下:
|
1187
|
+
- 字符个数为[8,32]。
|
1188
|
+
- 可输入[A,Z]、[a,z]、[0,9]范围内的字符。
|
1189
|
+
- 可输入的特殊字符包括:感叹号“!”,at“@”,警号“#”、百分号“%”、插入号“^”、星号“\*”、括号“()”、下划线“_”。
|
1190
|
+
- 不能设置单一的字母或者数字。
|
1187
1191
|
:type Password: str
|
1188
1192
|
:param _ProjectId: 项目ID。
|
1189
1193
|
- 若不设置该参数,则为默认项目。
|
@@ -1396,7 +1400,11 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
1396
1400
|
|
1397
1401
|
@property
|
1398
1402
|
def Password(self):
|
1399
|
-
"""
|
1403
|
+
"""实例密码。设置要求如下:
|
1404
|
+
- 字符个数为[8,32]。
|
1405
|
+
- 可输入[A,Z]、[a,z]、[0,9]范围内的字符。
|
1406
|
+
- 可输入的特殊字符包括:感叹号“!”,at“@”,警号“#”、百分号“%”、插入号“^”、星号“\*”、括号“()”、下划线“_”。
|
1407
|
+
- 不能设置单一的字母或者数字。
|
1400
1408
|
:rtype: str
|
1401
1409
|
"""
|
1402
1410
|
return self._Password
|
@@ -1901,7 +1909,7 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
1901
1909
|
:param _Password: 实例密码。设置要求如下:
|
1902
1910
|
- 字符个数为[8,32]。
|
1903
1911
|
- 可输入[A,Z]、[a,z]、[0,9]范围内的字符。
|
1904
|
-
- 可输入的特殊字符包括:感叹号“!”,at
|
1912
|
+
- 可输入的特殊字符包括:感叹号“!”,at“@”,警号“#”、百分号“%”、插入号“^”、星号“\*”、括号“()”、下划线“\_”。
|
1905
1913
|
- 不能设置单一的字母或者数字。
|
1906
1914
|
:type Password: str
|
1907
1915
|
:param _Tags: 实例标签信息。
|
@@ -2144,7 +2152,7 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
2144
2152
|
"""实例密码。设置要求如下:
|
2145
2153
|
- 字符个数为[8,32]。
|
2146
2154
|
- 可输入[A,Z]、[a,z]、[0,9]范围内的字符。
|
2147
|
-
- 可输入的特殊字符包括:感叹号“!”,at
|
2155
|
+
- 可输入的特殊字符包括:感叹号“!”,at“@”,警号“#”、百分号“%”、插入号“^”、星号“\*”、括号“()”、下划线“\_”。
|
2148
2156
|
- 不能设置单一的字母或者数字。
|
2149
2157
|
:rtype: str
|
2150
2158
|
"""
|
@@ -6744,7 +6752,7 @@ class InquirePriceRenewDBInstancesRequest(AbstractModel):
|
|
6744
6752
|
|
6745
6753
|
def __init__(self):
|
6746
6754
|
r"""
|
6747
|
-
:param _InstanceIds: 实例ID
|
6755
|
+
:param _InstanceIds: 实例ID。请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID,且单次最多同时查询5个实例。
|
6748
6756
|
:type InstanceIds: list of str
|
6749
6757
|
:param _InstanceChargePrepaid: 预付费模式(即包年包月)相关参数设置。通过该参数可以指定包年包月实例的续费时长、是否设置自动续费等属性。
|
6750
6758
|
:type InstanceChargePrepaid: :class:`tencentcloud.mongodb.v20190725.models.InstanceChargePrepaid`
|
@@ -6754,7 +6762,7 @@ class InquirePriceRenewDBInstancesRequest(AbstractModel):
|
|
6754
6762
|
|
6755
6763
|
@property
|
6756
6764
|
def InstanceIds(self):
|
6757
|
-
"""实例ID
|
6765
|
+
"""实例ID。请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID,且单次最多同时查询5个实例。
|
6758
6766
|
:rtype: list of str
|
6759
6767
|
"""
|
6760
6768
|
return self._InstanceIds
|
@@ -10053,9 +10061,9 @@ class RenameInstanceRequest(AbstractModel):
|
|
10053
10061
|
|
10054
10062
|
def __init__(self):
|
10055
10063
|
r"""
|
10056
|
-
:param _InstanceId: 实例ID,格式如:cmgo-p8vnipr5
|
10064
|
+
:param _InstanceId: 实例ID,格式如:cmgo-p8vnipr5。请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb#/)在实例列表复制实例 ID。
|
10057
10065
|
:type InstanceId: str
|
10058
|
-
:param _NewName:
|
10066
|
+
:param _NewName: 自定义实例名称,要求为1~128 长度的任意字符。
|
10059
10067
|
:type NewName: str
|
10060
10068
|
"""
|
10061
10069
|
self._InstanceId = None
|
@@ -10063,7 +10071,7 @@ class RenameInstanceRequest(AbstractModel):
|
|
10063
10071
|
|
10064
10072
|
@property
|
10065
10073
|
def InstanceId(self):
|
10066
|
-
"""实例ID,格式如:cmgo-p8vnipr5
|
10074
|
+
"""实例ID,格式如:cmgo-p8vnipr5。请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb#/)在实例列表复制实例 ID。
|
10067
10075
|
:rtype: str
|
10068
10076
|
"""
|
10069
10077
|
return self._InstanceId
|
@@ -10074,7 +10082,7 @@ class RenameInstanceRequest(AbstractModel):
|
|
10074
10082
|
|
10075
10083
|
@property
|
10076
10084
|
def NewName(self):
|
10077
|
-
"""
|
10085
|
+
"""自定义实例名称,要求为1~128 长度的任意字符。
|
10078
10086
|
:rtype: str
|
10079
10087
|
"""
|
10080
10088
|
return self._NewName
|
@@ -10132,7 +10140,9 @@ class RenewDBInstancesRequest(AbstractModel):
|
|
10132
10140
|
|
10133
10141
|
def __init__(self):
|
10134
10142
|
r"""
|
10135
|
-
:param _InstanceIds:
|
10143
|
+
:param _InstanceIds: 指定续费的一个或多个待操作的实例ID。
|
10144
|
+
- 可通过[DescribeDBInstances](https://cloud.tencent.com/document/product/240/38568)接口返回值中的**InstanceIds**获取。
|
10145
|
+
- 每次续费请求的实例数量上限为100。
|
10136
10146
|
:type InstanceIds: list of str
|
10137
10147
|
:param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的续费时长、是否设置自动续费等属性。包年包月实例该参数为必传参数。
|
10138
10148
|
:type InstanceChargePrepaid: :class:`tencentcloud.mongodb.v20190725.models.InstanceChargePrepaid`
|
@@ -10142,7 +10152,9 @@ class RenewDBInstancesRequest(AbstractModel):
|
|
10142
10152
|
|
10143
10153
|
@property
|
10144
10154
|
def InstanceIds(self):
|
10145
|
-
"""
|
10155
|
+
"""指定续费的一个或多个待操作的实例ID。
|
10156
|
+
- 可通过[DescribeDBInstances](https://cloud.tencent.com/document/product/240/38568)接口返回值中的**InstanceIds**获取。
|
10157
|
+
- 每次续费请求的实例数量上限为100。
|
10146
10158
|
:rtype: list of str
|
10147
10159
|
"""
|
10148
10160
|
return self._InstanceIds
|
@@ -35288,6 +35288,8 @@ class RemoteWrite(AbstractModel):
|
|
35288
35288
|
|
35289
35289
|
@property
|
35290
35290
|
def MaxBlockSize(self):
|
35291
|
+
warnings.warn("parameter `MaxBlockSize` is deprecated", DeprecationWarning)
|
35292
|
+
|
35291
35293
|
"""最大block
|
35292
35294
|
注意:此字段可能返回 null,表示取不到有效值。
|
35293
35295
|
:rtype: str
|
@@ -35296,10 +35298,14 @@ class RemoteWrite(AbstractModel):
|
|
35296
35298
|
|
35297
35299
|
@MaxBlockSize.setter
|
35298
35300
|
def MaxBlockSize(self, MaxBlockSize):
|
35301
|
+
warnings.warn("parameter `MaxBlockSize` is deprecated", DeprecationWarning)
|
35302
|
+
|
35299
35303
|
self._MaxBlockSize = MaxBlockSize
|
35300
35304
|
|
35301
35305
|
@property
|
35302
35306
|
def Label(self):
|
35307
|
+
warnings.warn("parameter `Label` is deprecated", DeprecationWarning)
|
35308
|
+
|
35303
35309
|
"""Label
|
35304
35310
|
注意:此字段可能返回 null,表示取不到有效值。
|
35305
35311
|
:rtype: str
|
@@ -35308,6 +35314,8 @@ class RemoteWrite(AbstractModel):
|
|
35308
35314
|
|
35309
35315
|
@Label.setter
|
35310
35316
|
def Label(self, Label):
|
35317
|
+
warnings.warn("parameter `Label` is deprecated", DeprecationWarning)
|
35318
|
+
|
35311
35319
|
self._Label = Label
|
35312
35320
|
|
35313
35321
|
@property
|
@@ -27357,7 +27357,7 @@ class RideHailingDriverLicenseOCRRequest(AbstractModel):
|
|
27357
27357
|
:param _ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
27358
27358
|
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
27359
27359
|
:type ImageBase64: str
|
27360
|
-
:param _ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500
|
27360
|
+
:param _ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500\*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
27361
27361
|
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
27362
27362
|
:type ImageUrl: str
|
27363
27363
|
"""
|
@@ -27378,7 +27378,7 @@ class RideHailingDriverLicenseOCRRequest(AbstractModel):
|
|
27378
27378
|
|
27379
27379
|
@property
|
27380
27380
|
def ImageUrl(self):
|
27381
|
-
"""图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500
|
27381
|
+
"""图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500\*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
27382
27382
|
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
27383
27383
|
:rtype: str
|
27384
27384
|
"""
|
@@ -27515,7 +27515,7 @@ class RideHailingTransportLicenseOCRRequest(AbstractModel):
|
|
27515
27515
|
:param _ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
27516
27516
|
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
27517
27517
|
:type ImageBase64: str
|
27518
|
-
:param _ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500
|
27518
|
+
:param _ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500\*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
27519
27519
|
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
27520
27520
|
:type ImageUrl: str
|
27521
27521
|
"""
|
@@ -27536,7 +27536,7 @@ class RideHailingTransportLicenseOCRRequest(AbstractModel):
|
|
27536
27536
|
|
27537
27537
|
@property
|
27538
27538
|
def ImageUrl(self):
|
27539
|
-
"""图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500
|
27539
|
+
"""图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500\*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
27540
27540
|
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
27541
27541
|
:rtype: str
|
27542
27542
|
"""
|
@@ -1129,13 +1129,16 @@ class CreateRegisterCodeRequest(AbstractModel):
|
|
1129
1129
|
|
1130
1130
|
def __init__(self):
|
1131
1131
|
r"""
|
1132
|
-
:param _Description:
|
1132
|
+
:param _Description: 注册码描述。最大长度为 128 字符。
|
1133
1133
|
:type Description: str
|
1134
|
-
:param _InstanceNamePrefix:
|
1134
|
+
:param _InstanceNamePrefix: 注册实例名称前缀。最大长度为 32 字符。
|
1135
1135
|
:type InstanceNamePrefix: str
|
1136
|
-
:param _RegisterLimit:
|
1136
|
+
:param _RegisterLimit: 该注册码允许注册的实例数目。默认值为 10,最小值为 1,最大值为 10000。
|
1137
1137
|
:type RegisterLimit: int
|
1138
|
-
:param _EffectiveTime:
|
1138
|
+
:param _EffectiveTime: 该注册码的有效时间,单位为小时。默认值为 4。
|
1139
|
+
|
1140
|
+
- 若传入值小于等于 99999,则以小时为单位设置有效时间。
|
1141
|
+
- 若传入值大于 99999,则设置为长期有效。
|
1139
1142
|
:type EffectiveTime: int
|
1140
1143
|
:param _IpAddressRange: 该注册码限制tat_agent只能从IpAddressRange所描述公网出口进行注册。默认不做限制。
|
1141
1144
|
:type IpAddressRange: str
|
@@ -1148,7 +1151,7 @@ class CreateRegisterCodeRequest(AbstractModel):
|
|
1148
1151
|
|
1149
1152
|
@property
|
1150
1153
|
def Description(self):
|
1151
|
-
"""
|
1154
|
+
"""注册码描述。最大长度为 128 字符。
|
1152
1155
|
:rtype: str
|
1153
1156
|
"""
|
1154
1157
|
return self._Description
|
@@ -1159,7 +1162,7 @@ class CreateRegisterCodeRequest(AbstractModel):
|
|
1159
1162
|
|
1160
1163
|
@property
|
1161
1164
|
def InstanceNamePrefix(self):
|
1162
|
-
"""
|
1165
|
+
"""注册实例名称前缀。最大长度为 32 字符。
|
1163
1166
|
:rtype: str
|
1164
1167
|
"""
|
1165
1168
|
return self._InstanceNamePrefix
|
@@ -1170,7 +1173,7 @@ class CreateRegisterCodeRequest(AbstractModel):
|
|
1170
1173
|
|
1171
1174
|
@property
|
1172
1175
|
def RegisterLimit(self):
|
1173
|
-
"""
|
1176
|
+
"""该注册码允许注册的实例数目。默认值为 10,最小值为 1,最大值为 10000。
|
1174
1177
|
:rtype: int
|
1175
1178
|
"""
|
1176
1179
|
return self._RegisterLimit
|
@@ -1181,7 +1184,10 @@ class CreateRegisterCodeRequest(AbstractModel):
|
|
1181
1184
|
|
1182
1185
|
@property
|
1183
1186
|
def EffectiveTime(self):
|
1184
|
-
"""
|
1187
|
+
"""该注册码的有效时间,单位为小时。默认值为 4。
|
1188
|
+
|
1189
|
+
- 若传入值小于等于 99999,则以小时为单位设置有效时间。
|
1190
|
+
- 若传入值大于 99999,则设置为长期有效。
|
1185
1191
|
:rtype: int
|
1186
1192
|
"""
|
1187
1193
|
return self._EffectiveTime
|
@@ -461,11 +461,17 @@ class NetWork(AbstractModel):
|
|
461
461
|
:type SubnetId: str
|
462
462
|
:param _SubnetCidrBlock: 子网网段
|
463
463
|
:type SubnetCidrBlock: str
|
464
|
+
:param _ClbIp: 服务clbip
|
465
|
+
:type ClbIp: str
|
466
|
+
:param _ClbPort: 服务clbPort
|
467
|
+
:type ClbPort: str
|
464
468
|
"""
|
465
469
|
self._VpcId = None
|
466
470
|
self._VpcCidrBlock = None
|
467
471
|
self._SubnetId = None
|
468
472
|
self._SubnetCidrBlock = None
|
473
|
+
self._ClbIp = None
|
474
|
+
self._ClbPort = None
|
469
475
|
|
470
476
|
@property
|
471
477
|
def VpcId(self):
|
@@ -511,12 +517,36 @@ class NetWork(AbstractModel):
|
|
511
517
|
def SubnetCidrBlock(self, SubnetCidrBlock):
|
512
518
|
self._SubnetCidrBlock = SubnetCidrBlock
|
513
519
|
|
520
|
+
@property
|
521
|
+
def ClbIp(self):
|
522
|
+
"""服务clbip
|
523
|
+
:rtype: str
|
524
|
+
"""
|
525
|
+
return self._ClbIp
|
526
|
+
|
527
|
+
@ClbIp.setter
|
528
|
+
def ClbIp(self, ClbIp):
|
529
|
+
self._ClbIp = ClbIp
|
530
|
+
|
531
|
+
@property
|
532
|
+
def ClbPort(self):
|
533
|
+
"""服务clbPort
|
534
|
+
:rtype: str
|
535
|
+
"""
|
536
|
+
return self._ClbPort
|
537
|
+
|
538
|
+
@ClbPort.setter
|
539
|
+
def ClbPort(self, ClbPort):
|
540
|
+
self._ClbPort = ClbPort
|
541
|
+
|
514
542
|
|
515
543
|
def _deserialize(self, params):
|
516
544
|
self._VpcId = params.get("VpcId")
|
517
545
|
self._VpcCidrBlock = params.get("VpcCidrBlock")
|
518
546
|
self._SubnetId = params.get("SubnetId")
|
519
547
|
self._SubnetCidrBlock = params.get("SubnetCidrBlock")
|
548
|
+
self._ClbIp = params.get("ClbIp")
|
549
|
+
self._ClbPort = params.get("ClbPort")
|
520
550
|
memeber_set = set(params.keys())
|
521
551
|
for name, value in vars(self).items():
|
522
552
|
property_name = name[1:]
|
@@ -818,20 +848,29 @@ class TccConnection(AbstractModel):
|
|
818
848
|
|
819
849
|
def __init__(self):
|
820
850
|
r"""
|
821
|
-
:param _EndpointServiceId:
|
851
|
+
:param _EndpointServiceId: 引擎终端节点服务Id
|
822
852
|
:type EndpointServiceId: str
|
823
853
|
:param _MetaStoreUrl: 元数据连接串
|
824
854
|
:type MetaStoreUrl: str
|
825
|
-
:param _NetWork:
|
855
|
+
:param _NetWork: 网络信息
|
826
856
|
:type NetWork: :class:`tencentcloud.tccatalog.v20241024.models.NetWork`
|
857
|
+
:param _HiveVersion: hive版本
|
858
|
+
:type HiveVersion: str
|
859
|
+
:param _Location: hive location
|
860
|
+
:type Location: str
|
861
|
+
:param _HmsEndpointServiceId: HMS终端节点服务
|
862
|
+
:type HmsEndpointServiceId: str
|
827
863
|
"""
|
828
864
|
self._EndpointServiceId = None
|
829
865
|
self._MetaStoreUrl = None
|
830
866
|
self._NetWork = None
|
867
|
+
self._HiveVersion = None
|
868
|
+
self._Location = None
|
869
|
+
self._HmsEndpointServiceId = None
|
831
870
|
|
832
871
|
@property
|
833
872
|
def EndpointServiceId(self):
|
834
|
-
"""
|
873
|
+
"""引擎终端节点服务Id
|
835
874
|
:rtype: str
|
836
875
|
"""
|
837
876
|
return self._EndpointServiceId
|
@@ -853,7 +892,7 @@ class TccConnection(AbstractModel):
|
|
853
892
|
|
854
893
|
@property
|
855
894
|
def NetWork(self):
|
856
|
-
"""
|
895
|
+
"""网络信息
|
857
896
|
:rtype: :class:`tencentcloud.tccatalog.v20241024.models.NetWork`
|
858
897
|
"""
|
859
898
|
return self._NetWork
|
@@ -862,6 +901,39 @@ class TccConnection(AbstractModel):
|
|
862
901
|
def NetWork(self, NetWork):
|
863
902
|
self._NetWork = NetWork
|
864
903
|
|
904
|
+
@property
|
905
|
+
def HiveVersion(self):
|
906
|
+
"""hive版本
|
907
|
+
:rtype: str
|
908
|
+
"""
|
909
|
+
return self._HiveVersion
|
910
|
+
|
911
|
+
@HiveVersion.setter
|
912
|
+
def HiveVersion(self, HiveVersion):
|
913
|
+
self._HiveVersion = HiveVersion
|
914
|
+
|
915
|
+
@property
|
916
|
+
def Location(self):
|
917
|
+
"""hive location
|
918
|
+
:rtype: str
|
919
|
+
"""
|
920
|
+
return self._Location
|
921
|
+
|
922
|
+
@Location.setter
|
923
|
+
def Location(self, Location):
|
924
|
+
self._Location = Location
|
925
|
+
|
926
|
+
@property
|
927
|
+
def HmsEndpointServiceId(self):
|
928
|
+
"""HMS终端节点服务
|
929
|
+
:rtype: str
|
930
|
+
"""
|
931
|
+
return self._HmsEndpointServiceId
|
932
|
+
|
933
|
+
@HmsEndpointServiceId.setter
|
934
|
+
def HmsEndpointServiceId(self, HmsEndpointServiceId):
|
935
|
+
self._HmsEndpointServiceId = HmsEndpointServiceId
|
936
|
+
|
865
937
|
|
866
938
|
def _deserialize(self, params):
|
867
939
|
self._EndpointServiceId = params.get("EndpointServiceId")
|
@@ -869,6 +941,9 @@ class TccConnection(AbstractModel):
|
|
869
941
|
if params.get("NetWork") is not None:
|
870
942
|
self._NetWork = NetWork()
|
871
943
|
self._NetWork._deserialize(params.get("NetWork"))
|
944
|
+
self._HiveVersion = params.get("HiveVersion")
|
945
|
+
self._Location = params.get("Location")
|
946
|
+
self._HmsEndpointServiceId = params.get("HmsEndpointServiceId")
|
872
947
|
memeber_set = set(params.keys())
|
873
948
|
for name, value in vars(self).items():
|
874
949
|
property_name = name[1:]
|
@@ -32,6 +32,9 @@ RESOURCEINUSE = 'ResourceInUse'
|
|
32
32
|
# 客户端不存在。
|
33
33
|
RESOURCENOTFOUND_CLIENT = 'ResourceNotFound.Client'
|
34
34
|
|
35
|
+
# 接入点不存在。
|
36
|
+
RESOURCENOTFOUND_ENDPOINT = 'ResourceNotFound.Endpoint'
|
37
|
+
|
35
38
|
# 消费组不存在,请检查后重试。
|
36
39
|
RESOURCENOTFOUND_GROUP = 'ResourceNotFound.Group'
|
37
40
|
|
@@ -50,6 +53,9 @@ RESOURCENOTFOUND_TOPIC = 'ResourceNotFound.Topic'
|
|
50
53
|
# 资源不可用。
|
51
54
|
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
52
55
|
|
56
|
+
# 操作不支持。
|
57
|
+
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
58
|
+
|
53
59
|
# 实例Topic数量不能调整到已使用额度以下。
|
54
60
|
UNSUPPORTEDOPERATION_INSTANCETOPICNUMDOWNGRADE = 'UnsupportedOperation.InstanceTopicNumDowngrade'
|
55
61
|
|
@@ -10266,6 +10266,137 @@ class ModifyConsumerGroupResponse(AbstractModel):
|
|
10266
10266
|
self._RequestId = params.get("RequestId")
|
10267
10267
|
|
10268
10268
|
|
10269
|
+
class ModifyInstanceEndpointRequest(AbstractModel):
|
10270
|
+
"""ModifyInstanceEndpoint请求参数结构体
|
10271
|
+
|
10272
|
+
"""
|
10273
|
+
|
10274
|
+
def __init__(self):
|
10275
|
+
r"""
|
10276
|
+
:param _InstanceId: 集群ID
|
10277
|
+
:type InstanceId: str
|
10278
|
+
:param _Type: 接入点类型,
|
10279
|
+
PUBLIC 公网
|
10280
|
+
:type Type: str
|
10281
|
+
:param _Bandwidth: 公网带宽,Mbps为单位
|
10282
|
+
:type Bandwidth: int
|
10283
|
+
:param _IpRules: 公网安全组信息
|
10284
|
+
:type IpRules: list of IpRule
|
10285
|
+
:param _BillingFlow: 公网是否按流量计费
|
10286
|
+
:type BillingFlow: bool
|
10287
|
+
"""
|
10288
|
+
self._InstanceId = None
|
10289
|
+
self._Type = None
|
10290
|
+
self._Bandwidth = None
|
10291
|
+
self._IpRules = None
|
10292
|
+
self._BillingFlow = None
|
10293
|
+
|
10294
|
+
@property
|
10295
|
+
def InstanceId(self):
|
10296
|
+
"""集群ID
|
10297
|
+
:rtype: str
|
10298
|
+
"""
|
10299
|
+
return self._InstanceId
|
10300
|
+
|
10301
|
+
@InstanceId.setter
|
10302
|
+
def InstanceId(self, InstanceId):
|
10303
|
+
self._InstanceId = InstanceId
|
10304
|
+
|
10305
|
+
@property
|
10306
|
+
def Type(self):
|
10307
|
+
"""接入点类型,
|
10308
|
+
PUBLIC 公网
|
10309
|
+
:rtype: str
|
10310
|
+
"""
|
10311
|
+
return self._Type
|
10312
|
+
|
10313
|
+
@Type.setter
|
10314
|
+
def Type(self, Type):
|
10315
|
+
self._Type = Type
|
10316
|
+
|
10317
|
+
@property
|
10318
|
+
def Bandwidth(self):
|
10319
|
+
"""公网带宽,Mbps为单位
|
10320
|
+
:rtype: int
|
10321
|
+
"""
|
10322
|
+
return self._Bandwidth
|
10323
|
+
|
10324
|
+
@Bandwidth.setter
|
10325
|
+
def Bandwidth(self, Bandwidth):
|
10326
|
+
self._Bandwidth = Bandwidth
|
10327
|
+
|
10328
|
+
@property
|
10329
|
+
def IpRules(self):
|
10330
|
+
"""公网安全组信息
|
10331
|
+
:rtype: list of IpRule
|
10332
|
+
"""
|
10333
|
+
return self._IpRules
|
10334
|
+
|
10335
|
+
@IpRules.setter
|
10336
|
+
def IpRules(self, IpRules):
|
10337
|
+
self._IpRules = IpRules
|
10338
|
+
|
10339
|
+
@property
|
10340
|
+
def BillingFlow(self):
|
10341
|
+
"""公网是否按流量计费
|
10342
|
+
:rtype: bool
|
10343
|
+
"""
|
10344
|
+
return self._BillingFlow
|
10345
|
+
|
10346
|
+
@BillingFlow.setter
|
10347
|
+
def BillingFlow(self, BillingFlow):
|
10348
|
+
self._BillingFlow = BillingFlow
|
10349
|
+
|
10350
|
+
|
10351
|
+
def _deserialize(self, params):
|
10352
|
+
self._InstanceId = params.get("InstanceId")
|
10353
|
+
self._Type = params.get("Type")
|
10354
|
+
self._Bandwidth = params.get("Bandwidth")
|
10355
|
+
if params.get("IpRules") is not None:
|
10356
|
+
self._IpRules = []
|
10357
|
+
for item in params.get("IpRules"):
|
10358
|
+
obj = IpRule()
|
10359
|
+
obj._deserialize(item)
|
10360
|
+
self._IpRules.append(obj)
|
10361
|
+
self._BillingFlow = params.get("BillingFlow")
|
10362
|
+
memeber_set = set(params.keys())
|
10363
|
+
for name, value in vars(self).items():
|
10364
|
+
property_name = name[1:]
|
10365
|
+
if property_name in memeber_set:
|
10366
|
+
memeber_set.remove(property_name)
|
10367
|
+
if len(memeber_set) > 0:
|
10368
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10369
|
+
|
10370
|
+
|
10371
|
+
|
10372
|
+
class ModifyInstanceEndpointResponse(AbstractModel):
|
10373
|
+
"""ModifyInstanceEndpoint返回参数结构体
|
10374
|
+
|
10375
|
+
"""
|
10376
|
+
|
10377
|
+
def __init__(self):
|
10378
|
+
r"""
|
10379
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10380
|
+
:type RequestId: str
|
10381
|
+
"""
|
10382
|
+
self._RequestId = None
|
10383
|
+
|
10384
|
+
@property
|
10385
|
+
def RequestId(self):
|
10386
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10387
|
+
:rtype: str
|
10388
|
+
"""
|
10389
|
+
return self._RequestId
|
10390
|
+
|
10391
|
+
@RequestId.setter
|
10392
|
+
def RequestId(self, RequestId):
|
10393
|
+
self._RequestId = RequestId
|
10394
|
+
|
10395
|
+
|
10396
|
+
def _deserialize(self, params):
|
10397
|
+
self._RequestId = params.get("RequestId")
|
10398
|
+
|
10399
|
+
|
10269
10400
|
class ModifyInstanceRequest(AbstractModel):
|
10270
10401
|
"""ModifyInstance请求参数结构体
|
10271
10402
|
|
@@ -1141,6 +1141,29 @@ class TrocketClient(AbstractClient):
|
|
1141
1141
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1142
1142
|
|
1143
1143
|
|
1144
|
+
def ModifyInstanceEndpoint(self, request):
|
1145
|
+
"""修改 RocketMQ 5.x 集群接入点。
|
1146
|
+
|
1147
|
+
:param request: Request instance for ModifyInstanceEndpoint.
|
1148
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.ModifyInstanceEndpointRequest`
|
1149
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.ModifyInstanceEndpointResponse`
|
1150
|
+
|
1151
|
+
"""
|
1152
|
+
try:
|
1153
|
+
params = request._serialize()
|
1154
|
+
headers = request.headers
|
1155
|
+
body = self.call("ModifyInstanceEndpoint", params, headers=headers)
|
1156
|
+
response = json.loads(body)
|
1157
|
+
model = models.ModifyInstanceEndpointResponse()
|
1158
|
+
model._deserialize(response["Response"])
|
1159
|
+
return model
|
1160
|
+
except Exception as e:
|
1161
|
+
if isinstance(e, TencentCloudSDKException):
|
1162
|
+
raise
|
1163
|
+
else:
|
1164
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1165
|
+
|
1166
|
+
|
1144
1167
|
def ModifyMQTTInsPublicEndpoint(self, request):
|
1145
1168
|
"""更新MQTT实例公网接入点
|
1146
1169
|
|
{tencentcloud_sdk_python-3.0.1313.dist-info → tencentcloud_sdk_python-3.0.1315.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tencentcloud-sdk-python
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1315
|
4
4
|
Summary: Tencent Cloud SDK for Python
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
6
6
|
Author: Tencent Cloud
|
@@ -17,6 +17,8 @@ Classifier: Programming Language :: Python :: 3.7
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.8
|
18
18
|
Classifier: Programming Language :: Python :: 3.9
|
19
19
|
Classifier: Programming Language :: Python :: 3.10
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
20
22
|
License-File: LICENSE
|
21
23
|
Requires-Dist: requests (>=2.16.0)
|
22
24
|
|