tencentcloud-sdk-python 3.0.1336__py2.py3-none-any.whl → 3.0.1338__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/acp/v20220105/models.py +0 -10
- tencentcloud/antiddos/v20200309/models.py +2 -2
- tencentcloud/cdwch/v20200915/models.py +2 -2
- tencentcloud/cdwdoris/v20211228/models.py +30 -0
- tencentcloud/cfg/v20210820/models.py +0 -4
- tencentcloud/chdfs/v20201112/models.py +0 -12
- tencentcloud/clb/v20180317/models.py +38 -24
- tencentcloud/cynosdb/v20190107/models.py +15 -0
- tencentcloud/dbbrain/v20191016/models.py +0 -12
- tencentcloud/dbbrain/v20210527/models.py +0 -16
- tencentcloud/dcdb/v20180411/models.py +15 -0
- tencentcloud/dlc/v20210125/models.py +140 -34
- tencentcloud/domain/v20180808/models.py +0 -2
- tencentcloud/dts/v20180330/models.py +0 -16
- tencentcloud/dts/v20211206/models.py +0 -472
- tencentcloud/es/v20180416/errorcodes.py +6 -0
- tencentcloud/ess/v20201111/ess_client.py +27 -0
- tencentcloud/ess/v20201111/models.py +227 -2
- tencentcloud/essbasic/v20210526/essbasic_client.py +27 -0
- tencentcloud/essbasic/v20210526/models.py +308 -0
- tencentcloud/goosefs/v20220519/models.py +0 -22
- tencentcloud/lke/v20231130/lke_client.py +6 -1
- tencentcloud/lke/v20231130/models.py +8 -8
- tencentcloud/lowcode/v20210108/models.py +0 -106
- tencentcloud/mariadb/v20170312/errorcodes.py +3 -0
- tencentcloud/mariadb/v20170312/models.py +15 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +1 -1
- tencentcloud/mqtt/v20240516/models.py +550 -194
- tencentcloud/mqtt/v20240516/mqtt_client.py +46 -0
- tencentcloud/oceanus/v20190422/models.py +70 -0
- tencentcloud/ocr/v20181119/models.py +2 -4
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/organization/v20210331/models.py +109 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/redis/v20180412/models.py +21 -2
- tencentcloud/rum/v20210622/models.py +2 -0
- tencentcloud/scf/v20180416/models.py +75 -0
- tencentcloud/tdmq/v20200217/models.py +2 -296
- tencentcloud/tdmq/v20200217/tdmq_client.py +0 -25
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +68 -0
- tencentcloud/tse/v20201207/models.py +164 -104
- tencentcloud/vclm/v20240523/models.py +58 -4
- tencentcloud/vdb/v20230616/models.py +9 -57
- tencentcloud/waf/v20180125/models.py +252 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/wedata/v20210820/models.py +1578 -93
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1336.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1336.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/RECORD +55 -55
- {tencentcloud_sdk_python-3.0.1336.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1336.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1336.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/top_level.txt +0 -0
@@ -118,6 +118,29 @@ class MqttClient(AbstractClient):
|
|
118
118
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
119
119
|
|
120
120
|
|
121
|
+
def CreateHttpAuthenticator(self, request):
|
122
|
+
"""创建一个HTTP的认证器
|
123
|
+
|
124
|
+
:param request: Request instance for CreateHttpAuthenticator.
|
125
|
+
:type request: :class:`tencentcloud.mqtt.v20240516.models.CreateHttpAuthenticatorRequest`
|
126
|
+
:rtype: :class:`tencentcloud.mqtt.v20240516.models.CreateHttpAuthenticatorResponse`
|
127
|
+
|
128
|
+
"""
|
129
|
+
try:
|
130
|
+
params = request._serialize()
|
131
|
+
headers = request.headers
|
132
|
+
body = self.call("CreateHttpAuthenticator", params, headers=headers)
|
133
|
+
response = json.loads(body)
|
134
|
+
model = models.CreateHttpAuthenticatorResponse()
|
135
|
+
model._deserialize(response["Response"])
|
136
|
+
return model
|
137
|
+
except Exception as e:
|
138
|
+
if isinstance(e, TencentCloudSDKException):
|
139
|
+
raise
|
140
|
+
else:
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
142
|
+
|
143
|
+
|
121
144
|
def CreateInsPublicEndpoint(self, request):
|
122
145
|
"""为MQTT实例创建公网接入点
|
123
146
|
|
@@ -910,6 +933,29 @@ class MqttClient(AbstractClient):
|
|
910
933
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
911
934
|
|
912
935
|
|
936
|
+
def ModifyHttpAuthenticator(self, request):
|
937
|
+
"""修改MQTT HTTP 认证器
|
938
|
+
|
939
|
+
:param request: Request instance for ModifyHttpAuthenticator.
|
940
|
+
:type request: :class:`tencentcloud.mqtt.v20240516.models.ModifyHttpAuthenticatorRequest`
|
941
|
+
:rtype: :class:`tencentcloud.mqtt.v20240516.models.ModifyHttpAuthenticatorResponse`
|
942
|
+
|
943
|
+
"""
|
944
|
+
try:
|
945
|
+
params = request._serialize()
|
946
|
+
headers = request.headers
|
947
|
+
body = self.call("ModifyHttpAuthenticator", params, headers=headers)
|
948
|
+
response = json.loads(body)
|
949
|
+
model = models.ModifyHttpAuthenticatorResponse()
|
950
|
+
model._deserialize(response["Response"])
|
951
|
+
return model
|
952
|
+
except Exception as e:
|
953
|
+
if isinstance(e, TencentCloudSDKException):
|
954
|
+
raise
|
955
|
+
else:
|
956
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
957
|
+
|
958
|
+
|
913
959
|
def ModifyInsPublicEndpoint(self, request):
|
914
960
|
"""更新MQTT实例公网接入点
|
915
961
|
|
@@ -3171,6 +3171,8 @@ class CreateJobRequest(AbstractModel):
|
|
3171
3171
|
:type Tags: list of Tag
|
3172
3172
|
:param _Description: 作业描述
|
3173
3173
|
:type Description: str
|
3174
|
+
:param _OpenJobDefaultAlarm: 开启默认告警
|
3175
|
+
:type OpenJobDefaultAlarm: int
|
3174
3176
|
"""
|
3175
3177
|
self._Name = None
|
3176
3178
|
self._JobType = None
|
@@ -3183,6 +3185,7 @@ class CreateJobRequest(AbstractModel):
|
|
3183
3185
|
self._WorkSpaceId = None
|
3184
3186
|
self._Tags = None
|
3185
3187
|
self._Description = None
|
3188
|
+
self._OpenJobDefaultAlarm = None
|
3186
3189
|
|
3187
3190
|
@property
|
3188
3191
|
def Name(self):
|
@@ -3305,6 +3308,17 @@ class CreateJobRequest(AbstractModel):
|
|
3305
3308
|
def Description(self, Description):
|
3306
3309
|
self._Description = Description
|
3307
3310
|
|
3311
|
+
@property
|
3312
|
+
def OpenJobDefaultAlarm(self):
|
3313
|
+
"""开启默认告警
|
3314
|
+
:rtype: int
|
3315
|
+
"""
|
3316
|
+
return self._OpenJobDefaultAlarm
|
3317
|
+
|
3318
|
+
@OpenJobDefaultAlarm.setter
|
3319
|
+
def OpenJobDefaultAlarm(self, OpenJobDefaultAlarm):
|
3320
|
+
self._OpenJobDefaultAlarm = OpenJobDefaultAlarm
|
3321
|
+
|
3308
3322
|
|
3309
3323
|
def _deserialize(self, params):
|
3310
3324
|
self._Name = params.get("Name")
|
@@ -3323,6 +3337,7 @@ class CreateJobRequest(AbstractModel):
|
|
3323
3337
|
obj._deserialize(item)
|
3324
3338
|
self._Tags.append(obj)
|
3325
3339
|
self._Description = params.get("Description")
|
3340
|
+
self._OpenJobDefaultAlarm = params.get("OpenJobDefaultAlarm")
|
3326
3341
|
memeber_set = set(params.keys())
|
3327
3342
|
for name, value in vars(self).items():
|
3328
3343
|
property_name = name[1:]
|
@@ -9459,6 +9474,12 @@ class JobV1(AbstractModel):
|
|
9459
9474
|
:param _RunningMem: 使用内存数量
|
9460
9475
|
注意:此字段可能返回 null,表示取不到有效值。
|
9461
9476
|
:type RunningMem: float
|
9477
|
+
:param _OpenJobDefaultAlarm: 是否开了默认告警
|
9478
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
9479
|
+
:type OpenJobDefaultAlarm: int
|
9480
|
+
:param _ProgressDesc: 操作中描述
|
9481
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
9482
|
+
:type ProgressDesc: str
|
9462
9483
|
"""
|
9463
9484
|
self._JobId = None
|
9464
9485
|
self._Region = None
|
@@ -9497,6 +9518,8 @@ class JobV1(AbstractModel):
|
|
9497
9518
|
self._ScalingType = None
|
9498
9519
|
self._RunningCpu = None
|
9499
9520
|
self._RunningMem = None
|
9521
|
+
self._OpenJobDefaultAlarm = None
|
9522
|
+
self._ProgressDesc = None
|
9500
9523
|
|
9501
9524
|
@property
|
9502
9525
|
def JobId(self):
|
@@ -9943,6 +9966,30 @@ class JobV1(AbstractModel):
|
|
9943
9966
|
def RunningMem(self, RunningMem):
|
9944
9967
|
self._RunningMem = RunningMem
|
9945
9968
|
|
9969
|
+
@property
|
9970
|
+
def OpenJobDefaultAlarm(self):
|
9971
|
+
"""是否开了默认告警
|
9972
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
9973
|
+
:rtype: int
|
9974
|
+
"""
|
9975
|
+
return self._OpenJobDefaultAlarm
|
9976
|
+
|
9977
|
+
@OpenJobDefaultAlarm.setter
|
9978
|
+
def OpenJobDefaultAlarm(self, OpenJobDefaultAlarm):
|
9979
|
+
self._OpenJobDefaultAlarm = OpenJobDefaultAlarm
|
9980
|
+
|
9981
|
+
@property
|
9982
|
+
def ProgressDesc(self):
|
9983
|
+
"""操作中描述
|
9984
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
9985
|
+
:rtype: str
|
9986
|
+
"""
|
9987
|
+
return self._ProgressDesc
|
9988
|
+
|
9989
|
+
@ProgressDesc.setter
|
9990
|
+
def ProgressDesc(self, ProgressDesc):
|
9991
|
+
self._ProgressDesc = ProgressDesc
|
9992
|
+
|
9946
9993
|
|
9947
9994
|
def _deserialize(self, params):
|
9948
9995
|
self._JobId = params.get("JobId")
|
@@ -9989,6 +10036,8 @@ class JobV1(AbstractModel):
|
|
9989
10036
|
self._ScalingType = params.get("ScalingType")
|
9990
10037
|
self._RunningCpu = params.get("RunningCpu")
|
9991
10038
|
self._RunningMem = params.get("RunningMem")
|
10039
|
+
self._OpenJobDefaultAlarm = params.get("OpenJobDefaultAlarm")
|
10040
|
+
self._ProgressDesc = params.get("ProgressDesc")
|
9992
10041
|
memeber_set = set(params.keys())
|
9993
10042
|
for name, value in vars(self).items():
|
9994
10043
|
property_name = name[1:]
|
@@ -14048,9 +14097,14 @@ class TreeJobSets(AbstractModel):
|
|
14048
14097
|
注意:此字段可能返回 null,表示取不到有效值。
|
14049
14098
|
:type ScalingType: int
|
14050
14099
|
:param _RunningCpu: RunningCpu
|
14100
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14051
14101
|
:type RunningCpu: float
|
14052
14102
|
:param _RunningMem: RunningMem
|
14103
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14053
14104
|
:type RunningMem: float
|
14105
|
+
:param _DecodeSqlCode: sql
|
14106
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14107
|
+
:type DecodeSqlCode: str
|
14054
14108
|
"""
|
14055
14109
|
self._JobId = None
|
14056
14110
|
self._Name = None
|
@@ -14060,6 +14114,7 @@ class TreeJobSets(AbstractModel):
|
|
14060
14114
|
self._ScalingType = None
|
14061
14115
|
self._RunningCpu = None
|
14062
14116
|
self._RunningMem = None
|
14117
|
+
self._DecodeSqlCode = None
|
14063
14118
|
|
14064
14119
|
@property
|
14065
14120
|
def JobId(self):
|
@@ -14137,6 +14192,7 @@ class TreeJobSets(AbstractModel):
|
|
14137
14192
|
@property
|
14138
14193
|
def RunningCpu(self):
|
14139
14194
|
"""RunningCpu
|
14195
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14140
14196
|
:rtype: float
|
14141
14197
|
"""
|
14142
14198
|
return self._RunningCpu
|
@@ -14148,6 +14204,7 @@ class TreeJobSets(AbstractModel):
|
|
14148
14204
|
@property
|
14149
14205
|
def RunningMem(self):
|
14150
14206
|
"""RunningMem
|
14207
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14151
14208
|
:rtype: float
|
14152
14209
|
"""
|
14153
14210
|
return self._RunningMem
|
@@ -14156,6 +14213,18 @@ class TreeJobSets(AbstractModel):
|
|
14156
14213
|
def RunningMem(self, RunningMem):
|
14157
14214
|
self._RunningMem = RunningMem
|
14158
14215
|
|
14216
|
+
@property
|
14217
|
+
def DecodeSqlCode(self):
|
14218
|
+
"""sql
|
14219
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14220
|
+
:rtype: str
|
14221
|
+
"""
|
14222
|
+
return self._DecodeSqlCode
|
14223
|
+
|
14224
|
+
@DecodeSqlCode.setter
|
14225
|
+
def DecodeSqlCode(self, DecodeSqlCode):
|
14226
|
+
self._DecodeSqlCode = DecodeSqlCode
|
14227
|
+
|
14159
14228
|
|
14160
14229
|
def _deserialize(self, params):
|
14161
14230
|
self._JobId = params.get("JobId")
|
@@ -14166,6 +14235,7 @@ class TreeJobSets(AbstractModel):
|
|
14166
14235
|
self._ScalingType = params.get("ScalingType")
|
14167
14236
|
self._RunningCpu = params.get("RunningCpu")
|
14168
14237
|
self._RunningMem = params.get("RunningMem")
|
14238
|
+
self._DecodeSqlCode = params.get("DecodeSqlCode")
|
14169
14239
|
memeber_set = set(params.keys())
|
14170
14240
|
for name, value in vars(self).items():
|
14171
14241
|
property_name = name[1:]
|
@@ -41082,8 +41082,7 @@ class VerifyOfdVatInvoiceOCRRequest(AbstractModel):
|
|
41082
41082
|
r"""
|
41083
41083
|
:param _OfdFileUrl: OFD文件的 Url 地址。
|
41084
41084
|
:type OfdFileUrl: str
|
41085
|
-
:param _OfdFileBase64: OFD文件的 Base64 值。
|
41086
|
-
OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只解析OfdFileBase64。
|
41085
|
+
:param _OfdFileBase64: OFD文件的 Base64 值。OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只使用OfdFileUrl。
|
41087
41086
|
:type OfdFileBase64: str
|
41088
41087
|
:param _OfdPageNumber: 需要识别的OFD发票页面的对应页码,默认值为1。 示例值:1
|
41089
41088
|
:type OfdPageNumber: int
|
@@ -41105,8 +41104,7 @@ OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只解析OfdFileBa
|
|
41105
41104
|
|
41106
41105
|
@property
|
41107
41106
|
def OfdFileBase64(self):
|
41108
|
-
"""OFD文件的 Base64 值。
|
41109
|
-
OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只解析OfdFileBase64。
|
41107
|
+
"""OFD文件的 Base64 值。OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只使用OfdFileUrl。
|
41110
41108
|
:rtype: str
|
41111
41109
|
"""
|
41112
41110
|
return self._OfdFileBase64
|
@@ -2622,7 +2622,7 @@ class OcrClient(AbstractClient):
|
|
2622
2622
|
|
2623
2623
|
|
2624
2624
|
def VerifyOfdVatInvoiceOCR(self, request):
|
2625
|
-
"""本接口支持OFD
|
2625
|
+
"""本接口支持OFD格式的增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
2626
2626
|
|
2627
2627
|
:param request: Request instance for VerifyOfdVatInvoiceOCR.
|
2628
2628
|
:type request: :class:`tencentcloud.ocr.v20181119.models.VerifyOfdVatInvoiceOCRRequest`
|
@@ -20143,6 +20143,115 @@ class UpdateOrganizationMemberResponse(AbstractModel):
|
|
20143
20143
|
self._RequestId = params.get("RequestId")
|
20144
20144
|
|
20145
20145
|
|
20146
|
+
class UpdateOrganizationMembersPolicyRequest(AbstractModel):
|
20147
|
+
"""UpdateOrganizationMembersPolicy请求参数结构体
|
20148
|
+
|
20149
|
+
"""
|
20150
|
+
|
20151
|
+
def __init__(self):
|
20152
|
+
r"""
|
20153
|
+
:param _MemberUins: 成员Uin列表。最多10个
|
20154
|
+
:type MemberUins: list of int
|
20155
|
+
:param _PolicyId: 成员访问策略Id。可通过DescribeOrganizationMemberPolicies获取
|
20156
|
+
:type PolicyId: int
|
20157
|
+
:param _IdentityId: 成员访问身份ID。可通过ListOrganizationIdentity获取
|
20158
|
+
:type IdentityId: int
|
20159
|
+
:param _Description: 策略描述。最大长度为128个字符
|
20160
|
+
:type Description: str
|
20161
|
+
"""
|
20162
|
+
self._MemberUins = None
|
20163
|
+
self._PolicyId = None
|
20164
|
+
self._IdentityId = None
|
20165
|
+
self._Description = None
|
20166
|
+
|
20167
|
+
@property
|
20168
|
+
def MemberUins(self):
|
20169
|
+
"""成员Uin列表。最多10个
|
20170
|
+
:rtype: list of int
|
20171
|
+
"""
|
20172
|
+
return self._MemberUins
|
20173
|
+
|
20174
|
+
@MemberUins.setter
|
20175
|
+
def MemberUins(self, MemberUins):
|
20176
|
+
self._MemberUins = MemberUins
|
20177
|
+
|
20178
|
+
@property
|
20179
|
+
def PolicyId(self):
|
20180
|
+
"""成员访问策略Id。可通过DescribeOrganizationMemberPolicies获取
|
20181
|
+
:rtype: int
|
20182
|
+
"""
|
20183
|
+
return self._PolicyId
|
20184
|
+
|
20185
|
+
@PolicyId.setter
|
20186
|
+
def PolicyId(self, PolicyId):
|
20187
|
+
self._PolicyId = PolicyId
|
20188
|
+
|
20189
|
+
@property
|
20190
|
+
def IdentityId(self):
|
20191
|
+
"""成员访问身份ID。可通过ListOrganizationIdentity获取
|
20192
|
+
:rtype: int
|
20193
|
+
"""
|
20194
|
+
return self._IdentityId
|
20195
|
+
|
20196
|
+
@IdentityId.setter
|
20197
|
+
def IdentityId(self, IdentityId):
|
20198
|
+
self._IdentityId = IdentityId
|
20199
|
+
|
20200
|
+
@property
|
20201
|
+
def Description(self):
|
20202
|
+
"""策略描述。最大长度为128个字符
|
20203
|
+
:rtype: str
|
20204
|
+
"""
|
20205
|
+
return self._Description
|
20206
|
+
|
20207
|
+
@Description.setter
|
20208
|
+
def Description(self, Description):
|
20209
|
+
self._Description = Description
|
20210
|
+
|
20211
|
+
|
20212
|
+
def _deserialize(self, params):
|
20213
|
+
self._MemberUins = params.get("MemberUins")
|
20214
|
+
self._PolicyId = params.get("PolicyId")
|
20215
|
+
self._IdentityId = params.get("IdentityId")
|
20216
|
+
self._Description = params.get("Description")
|
20217
|
+
memeber_set = set(params.keys())
|
20218
|
+
for name, value in vars(self).items():
|
20219
|
+
property_name = name[1:]
|
20220
|
+
if property_name in memeber_set:
|
20221
|
+
memeber_set.remove(property_name)
|
20222
|
+
if len(memeber_set) > 0:
|
20223
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
20224
|
+
|
20225
|
+
|
20226
|
+
|
20227
|
+
class UpdateOrganizationMembersPolicyResponse(AbstractModel):
|
20228
|
+
"""UpdateOrganizationMembersPolicy返回参数结构体
|
20229
|
+
|
20230
|
+
"""
|
20231
|
+
|
20232
|
+
def __init__(self):
|
20233
|
+
r"""
|
20234
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20235
|
+
:type RequestId: str
|
20236
|
+
"""
|
20237
|
+
self._RequestId = None
|
20238
|
+
|
20239
|
+
@property
|
20240
|
+
def RequestId(self):
|
20241
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20242
|
+
:rtype: str
|
20243
|
+
"""
|
20244
|
+
return self._RequestId
|
20245
|
+
|
20246
|
+
@RequestId.setter
|
20247
|
+
def RequestId(self, RequestId):
|
20248
|
+
self._RequestId = RequestId
|
20249
|
+
|
20250
|
+
|
20251
|
+
def _deserialize(self, params):
|
20252
|
+
self._RequestId = params.get("RequestId")
|
20253
|
+
|
20254
|
+
|
20146
20255
|
class UpdateOrganizationNodeRequest(AbstractModel):
|
20147
20256
|
"""UpdateOrganizationNode请求参数结构体
|
20148
20257
|
|
@@ -2694,6 +2694,29 @@ class OrganizationClient(AbstractClient):
|
|
2694
2694
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2695
2695
|
|
2696
2696
|
|
2697
|
+
def UpdateOrganizationMembersPolicy(self, request):
|
2698
|
+
"""修改组织成员访问策略
|
2699
|
+
|
2700
|
+
:param request: Request instance for UpdateOrganizationMembersPolicy.
|
2701
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.UpdateOrganizationMembersPolicyRequest`
|
2702
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.UpdateOrganizationMembersPolicyResponse`
|
2703
|
+
|
2704
|
+
"""
|
2705
|
+
try:
|
2706
|
+
params = request._serialize()
|
2707
|
+
headers = request.headers
|
2708
|
+
body = self.call("UpdateOrganizationMembersPolicy", params, headers=headers)
|
2709
|
+
response = json.loads(body)
|
2710
|
+
model = models.UpdateOrganizationMembersPolicyResponse()
|
2711
|
+
model._deserialize(response["Response"])
|
2712
|
+
return model
|
2713
|
+
except Exception as e:
|
2714
|
+
if isinstance(e, TencentCloudSDKException):
|
2715
|
+
raise
|
2716
|
+
else:
|
2717
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2718
|
+
|
2719
|
+
|
2697
2720
|
def UpdateOrganizationNode(self, request):
|
2698
2721
|
"""更新企业组织节点
|
2699
2722
|
|
@@ -22237,7 +22237,7 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
22237
22237
|
|
22238
22238
|
def __init__(self):
|
22239
22239
|
r"""
|
22240
|
-
:param _InstanceId: 待变更实例 ID。
|
22240
|
+
:param _InstanceId: 待变更实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
22241
22241
|
:type InstanceId: str
|
22242
22242
|
:param _MemSize: 指实例每个分片内存变更后的大小。<ul><li>单位 MB。</li><li>每次只能修改参数MemSize、RedisShardNum和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。</li><li>缩容时,缩容后的规格务必要大于等于使用容量的1.3倍,否则将执行失败。</li></ul>
|
22243
22243
|
:type MemSize: int
|
@@ -22247,16 +22247,21 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
22247
22247
|
:type RedisReplicasNum: int
|
22248
22248
|
:param _NodeSet: 多AZ实例,增加副本时的节点信息,包括副本的 ID 编号及可用区信息。非多AZ实例不需要配置该参数。
|
22249
22249
|
:type NodeSet: list of RedisNodeInfo
|
22250
|
+
:param _SwitchOption: 切换时间。
|
22251
|
+
- 1:维护时间窗操作:在设置的维护时间窗内执行操作。请通过接口[DescribeMaintenanceWindow](https://cloud.tencent.com/document/product/239/46336)查询设置的维护时间窗时间段。缩副本、扩缩分片、扩内存均支持在维护时间窗执行操作。
|
22252
|
+
- 2:立即操作:默认切换时刻。操作将立即执行,无需等待维护时间窗。
|
22253
|
+
:type SwitchOption: int
|
22250
22254
|
"""
|
22251
22255
|
self._InstanceId = None
|
22252
22256
|
self._MemSize = None
|
22253
22257
|
self._RedisShardNum = None
|
22254
22258
|
self._RedisReplicasNum = None
|
22255
22259
|
self._NodeSet = None
|
22260
|
+
self._SwitchOption = None
|
22256
22261
|
|
22257
22262
|
@property
|
22258
22263
|
def InstanceId(self):
|
22259
|
-
"""待变更实例 ID。
|
22264
|
+
"""待变更实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
22260
22265
|
:rtype: str
|
22261
22266
|
"""
|
22262
22267
|
return self._InstanceId
|
@@ -22309,6 +22314,19 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
22309
22314
|
def NodeSet(self, NodeSet):
|
22310
22315
|
self._NodeSet = NodeSet
|
22311
22316
|
|
22317
|
+
@property
|
22318
|
+
def SwitchOption(self):
|
22319
|
+
"""切换时间。
|
22320
|
+
- 1:维护时间窗操作:在设置的维护时间窗内执行操作。请通过接口[DescribeMaintenanceWindow](https://cloud.tencent.com/document/product/239/46336)查询设置的维护时间窗时间段。缩副本、扩缩分片、扩内存均支持在维护时间窗执行操作。
|
22321
|
+
- 2:立即操作:默认切换时刻。操作将立即执行,无需等待维护时间窗。
|
22322
|
+
:rtype: int
|
22323
|
+
"""
|
22324
|
+
return self._SwitchOption
|
22325
|
+
|
22326
|
+
@SwitchOption.setter
|
22327
|
+
def SwitchOption(self, SwitchOption):
|
22328
|
+
self._SwitchOption = SwitchOption
|
22329
|
+
|
22312
22330
|
|
22313
22331
|
def _deserialize(self, params):
|
22314
22332
|
self._InstanceId = params.get("InstanceId")
|
@@ -22321,6 +22339,7 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
22321
22339
|
obj = RedisNodeInfo()
|
22322
22340
|
obj._deserialize(item)
|
22323
22341
|
self._NodeSet.append(obj)
|
22342
|
+
self._SwitchOption = params.get("SwitchOption")
|
22324
22343
|
memeber_set = set(params.keys())
|
22325
22344
|
for name, value in vars(self).items():
|
22326
22345
|
property_name = name[1:]
|
@@ -11895,6 +11895,7 @@ class RumProject(AbstractModel):
|
|
11895
11895
|
:param _AccessPoint: 日志接入点,用户忽略。
|
11896
11896
|
:type AccessPoint: str
|
11897
11897
|
:param _Kafka: kafka旁路配置信息
|
11898
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11898
11899
|
:type Kafka: :class:`tencentcloud.rum.v20210622.models.Kafka`
|
11899
11900
|
"""
|
11900
11901
|
self._Name = None
|
@@ -12106,6 +12107,7 @@ class RumProject(AbstractModel):
|
|
12106
12107
|
@property
|
12107
12108
|
def Kafka(self):
|
12108
12109
|
"""kafka旁路配置信息
|
12110
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12109
12111
|
:rtype: :class:`tencentcloud.rum.v20210622.models.Kafka`
|
12110
12112
|
"""
|
12111
12113
|
return self._Kafka
|
@@ -1245,12 +1245,15 @@ class CreateCustomDomainRequest(AbstractModel):
|
|
1245
1245
|
:type CertConfig: :class:`tencentcloud.scf.v20180416.models.CertConf`
|
1246
1246
|
:param _WafConfig: web 应用防火墙配置
|
1247
1247
|
:type WafConfig: :class:`tencentcloud.scf.v20180416.models.WafConf`
|
1248
|
+
:param _Tags: 标签
|
1249
|
+
:type Tags: list of Tag
|
1248
1250
|
"""
|
1249
1251
|
self._Domain = None
|
1250
1252
|
self._Protocol = None
|
1251
1253
|
self._EndpointsConfig = None
|
1252
1254
|
self._CertConfig = None
|
1253
1255
|
self._WafConfig = None
|
1256
|
+
self._Tags = None
|
1254
1257
|
|
1255
1258
|
@property
|
1256
1259
|
def Domain(self):
|
@@ -1307,6 +1310,17 @@ class CreateCustomDomainRequest(AbstractModel):
|
|
1307
1310
|
def WafConfig(self, WafConfig):
|
1308
1311
|
self._WafConfig = WafConfig
|
1309
1312
|
|
1313
|
+
@property
|
1314
|
+
def Tags(self):
|
1315
|
+
"""标签
|
1316
|
+
:rtype: list of Tag
|
1317
|
+
"""
|
1318
|
+
return self._Tags
|
1319
|
+
|
1320
|
+
@Tags.setter
|
1321
|
+
def Tags(self, Tags):
|
1322
|
+
self._Tags = Tags
|
1323
|
+
|
1310
1324
|
|
1311
1325
|
def _deserialize(self, params):
|
1312
1326
|
self._Domain = params.get("Domain")
|
@@ -1323,6 +1337,12 @@ class CreateCustomDomainRequest(AbstractModel):
|
|
1323
1337
|
if params.get("WafConfig") is not None:
|
1324
1338
|
self._WafConfig = WafConf()
|
1325
1339
|
self._WafConfig._deserialize(params.get("WafConfig"))
|
1340
|
+
if params.get("Tags") is not None:
|
1341
|
+
self._Tags = []
|
1342
|
+
for item in params.get("Tags"):
|
1343
|
+
obj = Tag()
|
1344
|
+
obj._deserialize(item)
|
1345
|
+
self._Tags.append(obj)
|
1326
1346
|
memeber_set = set(params.keys())
|
1327
1347
|
for name, value in vars(self).items():
|
1328
1348
|
property_name = name[1:]
|
@@ -3139,12 +3159,15 @@ class DomainInfo(AbstractModel):
|
|
3139
3159
|
:type CertConfig: :class:`tencentcloud.scf.v20180416.models.CertConf`
|
3140
3160
|
:param _WafConfig: web 应用防火墙配置
|
3141
3161
|
:type WafConfig: :class:`tencentcloud.scf.v20180416.models.WafConf`
|
3162
|
+
:param _Tags: 标签
|
3163
|
+
:type Tags: list of Tag
|
3142
3164
|
"""
|
3143
3165
|
self._Domain = None
|
3144
3166
|
self._Protocol = None
|
3145
3167
|
self._EndpointsConfig = None
|
3146
3168
|
self._CertConfig = None
|
3147
3169
|
self._WafConfig = None
|
3170
|
+
self._Tags = None
|
3148
3171
|
|
3149
3172
|
@property
|
3150
3173
|
def Domain(self):
|
@@ -3201,6 +3224,17 @@ class DomainInfo(AbstractModel):
|
|
3201
3224
|
def WafConfig(self, WafConfig):
|
3202
3225
|
self._WafConfig = WafConfig
|
3203
3226
|
|
3227
|
+
@property
|
3228
|
+
def Tags(self):
|
3229
|
+
"""标签
|
3230
|
+
:rtype: list of Tag
|
3231
|
+
"""
|
3232
|
+
return self._Tags
|
3233
|
+
|
3234
|
+
@Tags.setter
|
3235
|
+
def Tags(self, Tags):
|
3236
|
+
self._Tags = Tags
|
3237
|
+
|
3204
3238
|
|
3205
3239
|
def _deserialize(self, params):
|
3206
3240
|
self._Domain = params.get("Domain")
|
@@ -3217,6 +3251,12 @@ class DomainInfo(AbstractModel):
|
|
3217
3251
|
if params.get("WafConfig") is not None:
|
3218
3252
|
self._WafConfig = WafConf()
|
3219
3253
|
self._WafConfig._deserialize(params.get("WafConfig"))
|
3254
|
+
if params.get("Tags") is not None:
|
3255
|
+
self._Tags = []
|
3256
|
+
for item in params.get("Tags"):
|
3257
|
+
obj = Tag()
|
3258
|
+
obj._deserialize(item)
|
3259
|
+
self._Tags.append(obj)
|
3220
3260
|
memeber_set = set(params.keys())
|
3221
3261
|
for name, value in vars(self).items():
|
3222
3262
|
property_name = name[1:]
|
@@ -4561,6 +4601,8 @@ class GetCustomDomainResponse(AbstractModel):
|
|
4561
4601
|
:type CertConfig: :class:`tencentcloud.scf.v20180416.models.CertConf`
|
4562
4602
|
:param _WafConfig: web 应用防火墙配置
|
4563
4603
|
:type WafConfig: :class:`tencentcloud.scf.v20180416.models.WafConf`
|
4604
|
+
:param _Tags: 标签
|
4605
|
+
:type Tags: list of Tag
|
4564
4606
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4565
4607
|
:type RequestId: str
|
4566
4608
|
"""
|
@@ -4569,6 +4611,7 @@ class GetCustomDomainResponse(AbstractModel):
|
|
4569
4611
|
self._EndpointsConfig = None
|
4570
4612
|
self._CertConfig = None
|
4571
4613
|
self._WafConfig = None
|
4614
|
+
self._Tags = None
|
4572
4615
|
self._RequestId = None
|
4573
4616
|
|
4574
4617
|
@property
|
@@ -4626,6 +4669,17 @@ class GetCustomDomainResponse(AbstractModel):
|
|
4626
4669
|
def WafConfig(self, WafConfig):
|
4627
4670
|
self._WafConfig = WafConfig
|
4628
4671
|
|
4672
|
+
@property
|
4673
|
+
def Tags(self):
|
4674
|
+
"""标签
|
4675
|
+
:rtype: list of Tag
|
4676
|
+
"""
|
4677
|
+
return self._Tags
|
4678
|
+
|
4679
|
+
@Tags.setter
|
4680
|
+
def Tags(self, Tags):
|
4681
|
+
self._Tags = Tags
|
4682
|
+
|
4629
4683
|
@property
|
4630
4684
|
def RequestId(self):
|
4631
4685
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -4653,6 +4707,12 @@ class GetCustomDomainResponse(AbstractModel):
|
|
4653
4707
|
if params.get("WafConfig") is not None:
|
4654
4708
|
self._WafConfig = WafConf()
|
4655
4709
|
self._WafConfig._deserialize(params.get("WafConfig"))
|
4710
|
+
if params.get("Tags") is not None:
|
4711
|
+
self._Tags = []
|
4712
|
+
for item in params.get("Tags"):
|
4713
|
+
obj = Tag()
|
4714
|
+
obj._deserialize(item)
|
4715
|
+
self._Tags.append(obj)
|
4656
4716
|
self._RequestId = params.get("RequestId")
|
4657
4717
|
|
4658
4718
|
|
@@ -12256,6 +12316,8 @@ class TriggerInfo(AbstractModel):
|
|
12256
12316
|
:param _Description: 客户自定义触发器描述
|
12257
12317
|
注意:此字段可能返回 null,表示取不到有效值。
|
12258
12318
|
:type Description: str
|
12319
|
+
:param _BoundResources: 与此触发器关联的资源。目前仅函数URL关联的自定义域名会返回
|
12320
|
+
:type BoundResources: str
|
12259
12321
|
"""
|
12260
12322
|
self._Enable = None
|
12261
12323
|
self._Qualifier = None
|
@@ -12270,6 +12332,7 @@ class TriggerInfo(AbstractModel):
|
|
12270
12332
|
self._BindStatus = None
|
12271
12333
|
self._TriggerAttribute = None
|
12272
12334
|
self._Description = None
|
12335
|
+
self._BoundResources = None
|
12273
12336
|
|
12274
12337
|
@property
|
12275
12338
|
def Enable(self):
|
@@ -12428,6 +12491,17 @@ class TriggerInfo(AbstractModel):
|
|
12428
12491
|
def Description(self, Description):
|
12429
12492
|
self._Description = Description
|
12430
12493
|
|
12494
|
+
@property
|
12495
|
+
def BoundResources(self):
|
12496
|
+
"""与此触发器关联的资源。目前仅函数URL关联的自定义域名会返回
|
12497
|
+
:rtype: str
|
12498
|
+
"""
|
12499
|
+
return self._BoundResources
|
12500
|
+
|
12501
|
+
@BoundResources.setter
|
12502
|
+
def BoundResources(self, BoundResources):
|
12503
|
+
self._BoundResources = BoundResources
|
12504
|
+
|
12431
12505
|
|
12432
12506
|
def _deserialize(self, params):
|
12433
12507
|
self._Enable = params.get("Enable")
|
@@ -12443,6 +12517,7 @@ class TriggerInfo(AbstractModel):
|
|
12443
12517
|
self._BindStatus = params.get("BindStatus")
|
12444
12518
|
self._TriggerAttribute = params.get("TriggerAttribute")
|
12445
12519
|
self._Description = params.get("Description")
|
12520
|
+
self._BoundResources = params.get("BoundResources")
|
12446
12521
|
memeber_set = set(params.keys())
|
12447
12522
|
for name, value in vars(self).items():
|
12448
12523
|
property_name = name[1:]
|