tencentcloud-sdk-python 3.0.1375__py2.py3-none-any.whl → 3.0.1376__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/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +161 -0
- tencentcloud/cfs/v20190719/models.py +19 -0
- tencentcloud/ess/v20201111/ess_client.py +1 -1
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +25 -0
- tencentcloud/hunyuan/v20230901/models.py +310 -0
- tencentcloud/mongodb/v20190725/models.py +4 -0
- tencentcloud/partners/v20180321/models.py +266 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/postgres/v20170312/models.py +2 -2
- tencentcloud/teo/v20220901/errorcodes.py +12 -0
- tencentcloud/teo/v20220901/models.py +4 -4
- tencentcloud/thpc/v20230321/errorcodes.py +6 -0
- tencentcloud/thpc/v20230321/models.py +2 -2
- tencentcloud/vpc/v20170312/models.py +16 -18
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/waf/v20180125/models.py +45 -0
- tencentcloud/wedata/v20210820/models.py +179 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1375.dist-info → tencentcloud_sdk_python-3.0.1376.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1375.dist-info → tencentcloud_sdk_python-3.0.1376.dist-info}/RECORD +25 -25
- {tencentcloud_sdk_python-3.0.1375.dist-info → tencentcloud_sdk_python-3.0.1376.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1375.dist-info → tencentcloud_sdk_python-3.0.1376.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1375.dist-info → tencentcloud_sdk_python-3.0.1376.dist-info}/top_level.txt +0 -0
@@ -1984,6 +1984,77 @@ class DealGoodsPriceNewElem(AbstractModel):
|
|
1984
1984
|
|
1985
1985
|
|
1986
1986
|
|
1987
|
+
class DealPriceDetail(AbstractModel):
|
1988
|
+
"""订单价格详情
|
1989
|
+
|
1990
|
+
"""
|
1991
|
+
|
1992
|
+
def __init__(self):
|
1993
|
+
r"""
|
1994
|
+
:param _DealName: 子订单号
|
1995
|
+
:type DealName: str
|
1996
|
+
:param _OwnerUin: 订单归属人uin(代客uin)
|
1997
|
+
:type OwnerUin: str
|
1998
|
+
:param _SubProductPriceDetail: 子产品价格详情列表
|
1999
|
+
:type SubProductPriceDetail: list of SubProductPriceDetail
|
2000
|
+
"""
|
2001
|
+
self._DealName = None
|
2002
|
+
self._OwnerUin = None
|
2003
|
+
self._SubProductPriceDetail = None
|
2004
|
+
|
2005
|
+
@property
|
2006
|
+
def DealName(self):
|
2007
|
+
"""子订单号
|
2008
|
+
:rtype: str
|
2009
|
+
"""
|
2010
|
+
return self._DealName
|
2011
|
+
|
2012
|
+
@DealName.setter
|
2013
|
+
def DealName(self, DealName):
|
2014
|
+
self._DealName = DealName
|
2015
|
+
|
2016
|
+
@property
|
2017
|
+
def OwnerUin(self):
|
2018
|
+
"""订单归属人uin(代客uin)
|
2019
|
+
:rtype: str
|
2020
|
+
"""
|
2021
|
+
return self._OwnerUin
|
2022
|
+
|
2023
|
+
@OwnerUin.setter
|
2024
|
+
def OwnerUin(self, OwnerUin):
|
2025
|
+
self._OwnerUin = OwnerUin
|
2026
|
+
|
2027
|
+
@property
|
2028
|
+
def SubProductPriceDetail(self):
|
2029
|
+
"""子产品价格详情列表
|
2030
|
+
:rtype: list of SubProductPriceDetail
|
2031
|
+
"""
|
2032
|
+
return self._SubProductPriceDetail
|
2033
|
+
|
2034
|
+
@SubProductPriceDetail.setter
|
2035
|
+
def SubProductPriceDetail(self, SubProductPriceDetail):
|
2036
|
+
self._SubProductPriceDetail = SubProductPriceDetail
|
2037
|
+
|
2038
|
+
|
2039
|
+
def _deserialize(self, params):
|
2040
|
+
self._DealName = params.get("DealName")
|
2041
|
+
self._OwnerUin = params.get("OwnerUin")
|
2042
|
+
if params.get("SubProductPriceDetail") is not None:
|
2043
|
+
self._SubProductPriceDetail = []
|
2044
|
+
for item in params.get("SubProductPriceDetail"):
|
2045
|
+
obj = SubProductPriceDetail()
|
2046
|
+
obj._deserialize(item)
|
2047
|
+
self._SubProductPriceDetail.append(obj)
|
2048
|
+
memeber_set = set(params.keys())
|
2049
|
+
for name, value in vars(self).items():
|
2050
|
+
property_name = name[1:]
|
2051
|
+
if property_name in memeber_set:
|
2052
|
+
memeber_set.remove(property_name)
|
2053
|
+
if len(memeber_set) > 0:
|
2054
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2055
|
+
|
2056
|
+
|
2057
|
+
|
1987
2058
|
class DescribeAgentAuditedClientsRequest(AbstractModel):
|
1988
2059
|
"""DescribeAgentAuditedClients请求参数结构体
|
1989
2060
|
|
@@ -3014,6 +3085,120 @@ class DescribeAgentDealsByCacheResponse(AbstractModel):
|
|
3014
3085
|
self._RequestId = params.get("RequestId")
|
3015
3086
|
|
3016
3087
|
|
3088
|
+
class DescribeAgentDealsPriceDetailByDealNameRequest(AbstractModel):
|
3089
|
+
"""DescribeAgentDealsPriceDetailByDealName请求参数结构体
|
3090
|
+
|
3091
|
+
"""
|
3092
|
+
|
3093
|
+
def __init__(self):
|
3094
|
+
r"""
|
3095
|
+
:param _DealCreatYear: 下单年份(订单创建时间归属年份)
|
3096
|
+
:type DealCreatYear: int
|
3097
|
+
:param _DealNames: 子订单号,每个请求最多查询100条
|
3098
|
+
:type DealNames: list of str
|
3099
|
+
:param _OwnerUin: 订单归属代客uin
|
3100
|
+
:type OwnerUin: str
|
3101
|
+
"""
|
3102
|
+
self._DealCreatYear = None
|
3103
|
+
self._DealNames = None
|
3104
|
+
self._OwnerUin = None
|
3105
|
+
|
3106
|
+
@property
|
3107
|
+
def DealCreatYear(self):
|
3108
|
+
"""下单年份(订单创建时间归属年份)
|
3109
|
+
:rtype: int
|
3110
|
+
"""
|
3111
|
+
return self._DealCreatYear
|
3112
|
+
|
3113
|
+
@DealCreatYear.setter
|
3114
|
+
def DealCreatYear(self, DealCreatYear):
|
3115
|
+
self._DealCreatYear = DealCreatYear
|
3116
|
+
|
3117
|
+
@property
|
3118
|
+
def DealNames(self):
|
3119
|
+
"""子订单号,每个请求最多查询100条
|
3120
|
+
:rtype: list of str
|
3121
|
+
"""
|
3122
|
+
return self._DealNames
|
3123
|
+
|
3124
|
+
@DealNames.setter
|
3125
|
+
def DealNames(self, DealNames):
|
3126
|
+
self._DealNames = DealNames
|
3127
|
+
|
3128
|
+
@property
|
3129
|
+
def OwnerUin(self):
|
3130
|
+
"""订单归属代客uin
|
3131
|
+
:rtype: str
|
3132
|
+
"""
|
3133
|
+
return self._OwnerUin
|
3134
|
+
|
3135
|
+
@OwnerUin.setter
|
3136
|
+
def OwnerUin(self, OwnerUin):
|
3137
|
+
self._OwnerUin = OwnerUin
|
3138
|
+
|
3139
|
+
|
3140
|
+
def _deserialize(self, params):
|
3141
|
+
self._DealCreatYear = params.get("DealCreatYear")
|
3142
|
+
self._DealNames = params.get("DealNames")
|
3143
|
+
self._OwnerUin = params.get("OwnerUin")
|
3144
|
+
memeber_set = set(params.keys())
|
3145
|
+
for name, value in vars(self).items():
|
3146
|
+
property_name = name[1:]
|
3147
|
+
if property_name in memeber_set:
|
3148
|
+
memeber_set.remove(property_name)
|
3149
|
+
if len(memeber_set) > 0:
|
3150
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3151
|
+
|
3152
|
+
|
3153
|
+
|
3154
|
+
class DescribeAgentDealsPriceDetailByDealNameResponse(AbstractModel):
|
3155
|
+
"""DescribeAgentDealsPriceDetailByDealName返回参数结构体
|
3156
|
+
|
3157
|
+
"""
|
3158
|
+
|
3159
|
+
def __init__(self):
|
3160
|
+
r"""
|
3161
|
+
:param _DealList: 子订单的费用详情
|
3162
|
+
:type DealList: list of DealPriceDetail
|
3163
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3164
|
+
:type RequestId: str
|
3165
|
+
"""
|
3166
|
+
self._DealList = None
|
3167
|
+
self._RequestId = None
|
3168
|
+
|
3169
|
+
@property
|
3170
|
+
def DealList(self):
|
3171
|
+
"""子订单的费用详情
|
3172
|
+
:rtype: list of DealPriceDetail
|
3173
|
+
"""
|
3174
|
+
return self._DealList
|
3175
|
+
|
3176
|
+
@DealList.setter
|
3177
|
+
def DealList(self, DealList):
|
3178
|
+
self._DealList = DealList
|
3179
|
+
|
3180
|
+
@property
|
3181
|
+
def RequestId(self):
|
3182
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3183
|
+
:rtype: str
|
3184
|
+
"""
|
3185
|
+
return self._RequestId
|
3186
|
+
|
3187
|
+
@RequestId.setter
|
3188
|
+
def RequestId(self, RequestId):
|
3189
|
+
self._RequestId = RequestId
|
3190
|
+
|
3191
|
+
|
3192
|
+
def _deserialize(self, params):
|
3193
|
+
if params.get("DealList") is not None:
|
3194
|
+
self._DealList = []
|
3195
|
+
for item in params.get("DealList"):
|
3196
|
+
obj = DealPriceDetail()
|
3197
|
+
obj._deserialize(item)
|
3198
|
+
self._DealList.append(obj)
|
3199
|
+
self._RequestId = params.get("RequestId")
|
3200
|
+
|
3201
|
+
|
3017
3202
|
class DescribeAgentPayDealsV2Request(AbstractModel):
|
3018
3203
|
"""DescribeAgentPayDealsV2请求参数结构体
|
3019
3204
|
|
@@ -4936,6 +5121,87 @@ class RemovePayRelationForClientResponse(AbstractModel):
|
|
4936
5121
|
self._RequestId = params.get("RequestId")
|
4937
5122
|
|
4938
5123
|
|
5124
|
+
class SubProductPriceDetail(AbstractModel):
|
5125
|
+
"""订单子产品价格详情
|
5126
|
+
|
5127
|
+
"""
|
5128
|
+
|
5129
|
+
def __init__(self):
|
5130
|
+
r"""
|
5131
|
+
:param _Name: 子产品名称
|
5132
|
+
:type Name: str
|
5133
|
+
:param _DiscountValue: 折扣值,=100时表示无折扣,=85时表示8.5折
|
5134
|
+
:type DiscountValue: float
|
5135
|
+
:param _TotalCost: 原价,折扣前价格,单位:分
|
5136
|
+
:type TotalCost: int
|
5137
|
+
:param _RealTotalCost: 折后价,单位:分
|
5138
|
+
:type RealTotalCost: int
|
5139
|
+
"""
|
5140
|
+
self._Name = None
|
5141
|
+
self._DiscountValue = None
|
5142
|
+
self._TotalCost = None
|
5143
|
+
self._RealTotalCost = None
|
5144
|
+
|
5145
|
+
@property
|
5146
|
+
def Name(self):
|
5147
|
+
"""子产品名称
|
5148
|
+
:rtype: str
|
5149
|
+
"""
|
5150
|
+
return self._Name
|
5151
|
+
|
5152
|
+
@Name.setter
|
5153
|
+
def Name(self, Name):
|
5154
|
+
self._Name = Name
|
5155
|
+
|
5156
|
+
@property
|
5157
|
+
def DiscountValue(self):
|
5158
|
+
"""折扣值,=100时表示无折扣,=85时表示8.5折
|
5159
|
+
:rtype: float
|
5160
|
+
"""
|
5161
|
+
return self._DiscountValue
|
5162
|
+
|
5163
|
+
@DiscountValue.setter
|
5164
|
+
def DiscountValue(self, DiscountValue):
|
5165
|
+
self._DiscountValue = DiscountValue
|
5166
|
+
|
5167
|
+
@property
|
5168
|
+
def TotalCost(self):
|
5169
|
+
"""原价,折扣前价格,单位:分
|
5170
|
+
:rtype: int
|
5171
|
+
"""
|
5172
|
+
return self._TotalCost
|
5173
|
+
|
5174
|
+
@TotalCost.setter
|
5175
|
+
def TotalCost(self, TotalCost):
|
5176
|
+
self._TotalCost = TotalCost
|
5177
|
+
|
5178
|
+
@property
|
5179
|
+
def RealTotalCost(self):
|
5180
|
+
"""折后价,单位:分
|
5181
|
+
:rtype: int
|
5182
|
+
"""
|
5183
|
+
return self._RealTotalCost
|
5184
|
+
|
5185
|
+
@RealTotalCost.setter
|
5186
|
+
def RealTotalCost(self, RealTotalCost):
|
5187
|
+
self._RealTotalCost = RealTotalCost
|
5188
|
+
|
5189
|
+
|
5190
|
+
def _deserialize(self, params):
|
5191
|
+
self._Name = params.get("Name")
|
5192
|
+
self._DiscountValue = params.get("DiscountValue")
|
5193
|
+
self._TotalCost = params.get("TotalCost")
|
5194
|
+
self._RealTotalCost = params.get("RealTotalCost")
|
5195
|
+
memeber_set = set(params.keys())
|
5196
|
+
for name, value in vars(self).items():
|
5197
|
+
property_name = name[1:]
|
5198
|
+
if property_name in memeber_set:
|
5199
|
+
memeber_set.remove(property_name)
|
5200
|
+
if len(memeber_set) > 0:
|
5201
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5202
|
+
|
5203
|
+
|
5204
|
+
|
4939
5205
|
class UnbindClientElem(AbstractModel):
|
4940
5206
|
"""解绑客户信息
|
4941
5207
|
|
@@ -259,6 +259,29 @@ class PartnersClient(AbstractClient):
|
|
259
259
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
260
260
|
|
261
261
|
|
262
|
+
def DescribeAgentDealsPriceDetailByDealName(self, request):
|
263
|
+
"""供代理商使用名下有效普通代客的预付费子订单号查询订单费用详情
|
264
|
+
|
265
|
+
:param request: Request instance for DescribeAgentDealsPriceDetailByDealName.
|
266
|
+
:type request: :class:`tencentcloud.partners.v20180321.models.DescribeAgentDealsPriceDetailByDealNameRequest`
|
267
|
+
:rtype: :class:`tencentcloud.partners.v20180321.models.DescribeAgentDealsPriceDetailByDealNameResponse`
|
268
|
+
|
269
|
+
"""
|
270
|
+
try:
|
271
|
+
params = request._serialize()
|
272
|
+
headers = request.headers
|
273
|
+
body = self.call("DescribeAgentDealsPriceDetailByDealName", params, headers=headers)
|
274
|
+
response = json.loads(body)
|
275
|
+
model = models.DescribeAgentDealsPriceDetailByDealNameResponse()
|
276
|
+
model._deserialize(response["Response"])
|
277
|
+
return model
|
278
|
+
except Exception as e:
|
279
|
+
if isinstance(e, TencentCloudSDKException):
|
280
|
+
raise
|
281
|
+
else:
|
282
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
283
|
+
|
284
|
+
|
262
285
|
def DescribeAgentPayDealsV2(self, request):
|
263
286
|
"""可以查询代理商代付的预付费订单
|
264
287
|
|
@@ -5995,7 +5995,7 @@ class DatabasePrivilege(AbstractModel):
|
|
5995
5995
|
|
5996
5996
|
def __init__(self):
|
5997
5997
|
r"""
|
5998
|
-
:param _Object: 数据库对象,当ObjectType为database时,
|
5998
|
+
:param _Object: 数据库对象,当ObjectType为database时,DatabaseName/SchemaName/TableName可为空;当ObjectType为schema时,SchemaName/TableName可为空;当ObjectType为column时,TableName不可为空,其余情况均可为空。
|
5999
5999
|
注意:此字段可能返回 null,表示取不到有效值。
|
6000
6000
|
:type Object: :class:`tencentcloud.postgres.v20170312.models.DatabaseObject`
|
6001
6001
|
:param _PrivilegeSet: 指定账号对数据库对象拥有的权限列表
|
@@ -6007,7 +6007,7 @@ class DatabasePrivilege(AbstractModel):
|
|
6007
6007
|
|
6008
6008
|
@property
|
6009
6009
|
def Object(self):
|
6010
|
-
"""数据库对象,当ObjectType为database时,
|
6010
|
+
"""数据库对象,当ObjectType为database时,DatabaseName/SchemaName/TableName可为空;当ObjectType为schema时,SchemaName/TableName可为空;当ObjectType为column时,TableName不可为空,其余情况均可为空。
|
6011
6011
|
注意:此字段可能返回 null,表示取不到有效值。
|
6012
6012
|
:rtype: :class:`tencentcloud.postgres.v20170312.models.DatabaseObject`
|
6013
6013
|
"""
|
@@ -35,21 +35,33 @@ FAILEDOPERATION_CONFIGCONDITIONUNKNOWNTARGET = 'FailedOperation.ConfigConditionU
|
|
35
35
|
# 配置文件Condition表达式值的项不能为空。
|
36
36
|
FAILEDOPERATION_CONFIGCONDITIONVALUEEMPTYERROR = 'FailedOperation.ConfigConditionValueEmptyError'
|
37
37
|
|
38
|
+
# 配置文件不允许重复的关键字。
|
39
|
+
FAILEDOPERATION_CONFIGDUPLICATEKEYERROR = 'FailedOperation.ConfigDuplicateKeyError'
|
40
|
+
|
38
41
|
# 配置文件存在类型不匹配的字段。
|
39
42
|
FAILEDOPERATION_CONFIGFIELDTYPEERROR = 'FailedOperation.ConfigFieldTypeError'
|
40
43
|
|
41
44
|
# 配置文件存在语法错误。
|
42
45
|
FAILEDOPERATION_CONFIGFORMATERROR = 'FailedOperation.ConfigFormatError'
|
43
46
|
|
47
|
+
# 版本管理配置文件JSON格式错误
|
48
|
+
FAILEDOPERATION_CONFIGJSONFORMATERROR = 'FailedOperation.ConfigJSONFormatError'
|
49
|
+
|
44
50
|
# 配置文件内容格式错误,无法解析。
|
45
51
|
FAILEDOPERATION_CONFIGMALFORMEDCONTENT = 'FailedOperation.ConfigMalformedContent'
|
46
52
|
|
47
53
|
# 配置文件参数校验错误。
|
48
54
|
FAILEDOPERATION_CONFIGPARAMVALIDATEERRORS = 'FailedOperation.ConfigParamValidateErrors'
|
49
55
|
|
56
|
+
# 时间格式解析错误
|
57
|
+
FAILEDOPERATION_CONFIGTIMEPARSINGERROR = 'FailedOperation.ConfigTimeParsingError'
|
58
|
+
|
50
59
|
# 配置文件无法识别的字段:存在拼写错误,或者该字段所在的层级出错。
|
51
60
|
FAILEDOPERATION_CONFIGUNKNOWNFIELD = 'FailedOperation.ConfigUnknownField'
|
52
61
|
|
62
|
+
# 不支持的配置项Action
|
63
|
+
FAILEDOPERATION_CONFIGUNSUPPORTEDACTION = 'FailedOperation.ConfigUnsupportedAction'
|
64
|
+
|
53
65
|
# 当前不支持该配置文件版本。
|
54
66
|
FAILEDOPERATION_CONFIGUNSUPPORTEDFORMATVERSION = 'FailedOperation.ConfigUnsupportedFormatVersion'
|
55
67
|
|
@@ -17788,7 +17788,7 @@ class DescribeOriginGroupRequest(AbstractModel):
|
|
17788
17788
|
:param _Limit: 分页查询限制数目,不填默认为20,取值:1-1000。
|
17789
17789
|
:type Limit: int
|
17790
17790
|
:param _Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
17791
|
-
<li>origin-group-id
|
17791
|
+
<li>origin-group-id:按照源站组 ID 进行过滤,不支持模糊查询。源站组 ID 形如:origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a;</li><li>origin-group-name: 按照源站组名称进行过滤,使用模糊查询时,仅支持填写一个源站组名称。</li>
|
17792
17792
|
:type Filters: list of AdvancedFilter
|
17793
17793
|
"""
|
17794
17794
|
self._ZoneId = None
|
@@ -17832,7 +17832,7 @@ class DescribeOriginGroupRequest(AbstractModel):
|
|
17832
17832
|
@property
|
17833
17833
|
def Filters(self):
|
17834
17834
|
"""过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
17835
|
-
<li>origin-group-id
|
17835
|
+
<li>origin-group-id:按照源站组 ID 进行过滤,不支持模糊查询。源站组 ID 形如:origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a;</li><li>origin-group-name: 按照源站组名称进行过滤,使用模糊查询时,仅支持填写一个源站组名称。</li>
|
17836
17836
|
:rtype: list of AdvancedFilter
|
17837
17837
|
"""
|
17838
17838
|
return self._Filters
|
@@ -43380,14 +43380,14 @@ class VerifyOwnershipRequest(AbstractModel):
|
|
43380
43380
|
|
43381
43381
|
def __init__(self):
|
43382
43382
|
r"""
|
43383
|
-
:param _Domain:
|
43383
|
+
:param _Domain: 站点域名或者站点下的加速域名。
|
43384
43384
|
:type Domain: str
|
43385
43385
|
"""
|
43386
43386
|
self._Domain = None
|
43387
43387
|
|
43388
43388
|
@property
|
43389
43389
|
def Domain(self):
|
43390
|
-
"""
|
43390
|
+
"""站点域名或者站点下的加速域名。
|
43391
43391
|
:rtype: str
|
43392
43392
|
"""
|
43393
43393
|
return self._Domain
|
@@ -26,6 +26,9 @@ FAILEDOPERATION = 'FailedOperation'
|
|
26
26
|
# 内部错误。
|
27
27
|
INTERNALERROR = 'InternalError'
|
28
28
|
|
29
|
+
# agent执行脚本失败。
|
30
|
+
INTERNALERROR_AGENTRUNSCRIPTFAIL = 'InternalError.AgentRunScriptFail'
|
31
|
+
|
29
32
|
# CAM服务调用失败。
|
30
33
|
INTERNALERROR_CALLCAM = 'InternalError.CallCAM'
|
31
34
|
|
@@ -35,6 +38,9 @@ INTERNALERROR_CALLCVM = 'InternalError.CallCvm'
|
|
35
38
|
# 参数错误。
|
36
39
|
INVALIDPARAMETER = 'InvalidParameter'
|
37
40
|
|
41
|
+
# 参数互斥,最多只能传入一个参数
|
42
|
+
INVALIDPARAMETER_ATMOSTONE = 'InvalidParameter.AtMostOne'
|
43
|
+
|
38
44
|
# 参数格式有误。
|
39
45
|
INVALIDPARAMETER_MALFORMED = 'InvalidParameter.Malformed'
|
40
46
|
|
@@ -503,7 +503,7 @@ class AddQueueRequest(AbstractModel):
|
|
503
503
|
r"""
|
504
504
|
:param _ClusterId: 集群ID。
|
505
505
|
:type ClusterId: str
|
506
|
-
:param _QueueName: 队列名称。<br><li>最多支持32
|
506
|
+
:param _QueueName: 队列名称。<br><li>最多支持32个字符。</li>
|
507
507
|
:type QueueName: str
|
508
508
|
"""
|
509
509
|
self._ClusterId = None
|
@@ -522,7 +522,7 @@ class AddQueueRequest(AbstractModel):
|
|
522
522
|
|
523
523
|
@property
|
524
524
|
def QueueName(self):
|
525
|
-
"""队列名称。<br><li>最多支持32
|
525
|
+
"""队列名称。<br><li>最多支持32个字符。</li>
|
526
526
|
:rtype: str
|
527
527
|
"""
|
528
528
|
return self._QueueName
|
@@ -1895,10 +1895,9 @@ class AllocateAddressesRequest(AbstractModel):
|
|
1895
1895
|
:type AddressChargePrepaid: :class:`tencentcloud.vpc.v20170312.models.AddressChargePrepaid`
|
1896
1896
|
:param _AddressType: EIP类型。各种EIP类型详情可参考:[EIP 的 IP 地址类型](https://cloud.tencent.com/document/product/1199/41646)。默认值:EIP。
|
1897
1897
|
<li>EIP:弹性公网 IP。 </li>
|
1898
|
-
<li>AnycastEIP:加速 IP,已开通 [Anycast 公网加速](https://cloud.tencent.com/document/product/644)白名单的用户可选。仅部分地域支持加速IP。</li>
|
1899
|
-
<li>HighQualityEIP:精品 IP
|
1900
|
-
<li>AntiDDoSEIP:高防 IP。仅部分地域支持高防IP。</li>
|
1901
|
-
|
1898
|
+
<li>AnycastEIP:加速 IP,已开通 [Anycast 公网加速](https://cloud.tencent.com/document/product/644)白名单的用户可选。仅部分地域支持加速IP,详情可见Anycast公网加速[购买指南](https://cloud.tencent.com/document/product/644/12617)。</li>
|
1899
|
+
<li>HighQualityEIP:精品 IP。仅新加坡和中国香港支持精品IP。</li>
|
1900
|
+
<li>AntiDDoSEIP:高防 IP。仅部分地域支持高防IP,详情可见弹性公网IP[产品概述](https://cloud.tencent.com/document/product/1199/41646)。</li>
|
1902
1901
|
:type AddressType: str
|
1903
1902
|
:param _AnycastZone: Anycast发布域。
|
1904
1903
|
<ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>ANYCAST_ZONE_GLOBAL:全球发布域(需要额外开通Anycast全球加速白名单)</li><li>ANYCAST_ZONE_OVERSEAS:境外发布域</li><li><b>[已废弃]</b> ANYCAST_ZONE_A:发布域A(已更新为全球发布域)</li><li><b>[已废弃]</b> ANYCAST_ZONE_B:发布域B(已更新为全球发布域)</li></ul>默认值:ANYCAST_ZONE_OVERSEAS。</li></ul>
|
@@ -2023,10 +2022,9 @@ AnycastEIP是否用于绑定负载均衡。
|
|
2023
2022
|
def AddressType(self):
|
2024
2023
|
"""EIP类型。各种EIP类型详情可参考:[EIP 的 IP 地址类型](https://cloud.tencent.com/document/product/1199/41646)。默认值:EIP。
|
2025
2024
|
<li>EIP:弹性公网 IP。 </li>
|
2026
|
-
<li>AnycastEIP:加速 IP,已开通 [Anycast 公网加速](https://cloud.tencent.com/document/product/644)白名单的用户可选。仅部分地域支持加速IP。</li>
|
2027
|
-
<li>HighQualityEIP:精品 IP
|
2028
|
-
<li>AntiDDoSEIP:高防 IP。仅部分地域支持高防IP。</li>
|
2029
|
-
|
2025
|
+
<li>AnycastEIP:加速 IP,已开通 [Anycast 公网加速](https://cloud.tencent.com/document/product/644)白名单的用户可选。仅部分地域支持加速IP,详情可见Anycast公网加速[购买指南](https://cloud.tencent.com/document/product/644/12617)。</li>
|
2026
|
+
<li>HighQualityEIP:精品 IP。仅新加坡和中国香港支持精品IP。</li>
|
2027
|
+
<li>AntiDDoSEIP:高防 IP。仅部分地域支持高防IP,详情可见弹性公网IP[产品概述](https://cloud.tencent.com/document/product/1199/41646)。</li>
|
2030
2028
|
:rtype: str
|
2031
2029
|
"""
|
2032
2030
|
return self._AddressType
|
@@ -44828,9 +44826,9 @@ class InquiryPriceModifyAddressesBandwidthRequest(AbstractModel):
|
|
44828
44826
|
|
44829
44827
|
def __init__(self):
|
44830
44828
|
r"""
|
44831
|
-
:param _AddressIds: EIP唯一ID
|
44829
|
+
:param _AddressIds: EIP唯一ID,可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取AddressId。
|
44832
44830
|
:type AddressIds: list of str
|
44833
|
-
:param _InternetMaxBandwidthOut:
|
44831
|
+
:param _InternetMaxBandwidthOut: 新带宽值,可调整的带宽上限值参考产品文档[带宽上限](https://cloud.tencent.com/document/product/1199/48333)。
|
44834
44832
|
:type InternetMaxBandwidthOut: int
|
44835
44833
|
"""
|
44836
44834
|
self._AddressIds = None
|
@@ -44838,7 +44836,7 @@ class InquiryPriceModifyAddressesBandwidthRequest(AbstractModel):
|
|
44838
44836
|
|
44839
44837
|
@property
|
44840
44838
|
def AddressIds(self):
|
44841
|
-
"""EIP唯一ID
|
44839
|
+
"""EIP唯一ID,可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取AddressId。
|
44842
44840
|
:rtype: list of str
|
44843
44841
|
"""
|
44844
44842
|
return self._AddressIds
|
@@ -44849,7 +44847,7 @@ class InquiryPriceModifyAddressesBandwidthRequest(AbstractModel):
|
|
44849
44847
|
|
44850
44848
|
@property
|
44851
44849
|
def InternetMaxBandwidthOut(self):
|
44852
|
-
"""
|
44850
|
+
"""新带宽值,可调整的带宽上限值参考产品文档[带宽上限](https://cloud.tencent.com/document/product/1199/48333)。
|
44853
44851
|
:rtype: int
|
44854
44852
|
"""
|
44855
44853
|
return self._InternetMaxBandwidthOut
|
@@ -49875,9 +49873,9 @@ class ModifyIPv6AddressesBandwidthRequest(AbstractModel):
|
|
49875
49873
|
|
49876
49874
|
def __init__(self):
|
49877
49875
|
r"""
|
49878
|
-
:param _IPv6AddressIds: 弹性公网IPv6地址唯一ID
|
49876
|
+
:param _IPv6AddressIds: 弹性公网IPv6地址唯一ID,可以使用[DescribeIPv6Addresses](https://cloud.tencent.com/document/api/215/113677)接口获取IPv6AddressId。
|
49879
49877
|
:type IPv6AddressIds: list of str
|
49880
|
-
:param _InternetMaxBandwidthOut: 弹性公网IPv6
|
49878
|
+
:param _InternetMaxBandwidthOut: 弹性公网IPv6地址网络带宽,可调整的带宽上限值参考产品文档中[IPv6 计费限制说明](https://cloud.tencent.com/document/product/1142/38369)。
|
49881
49879
|
:type InternetMaxBandwidthOut: int
|
49882
49880
|
"""
|
49883
49881
|
self._IPv6AddressIds = None
|
@@ -49885,7 +49883,7 @@ class ModifyIPv6AddressesBandwidthRequest(AbstractModel):
|
|
49885
49883
|
|
49886
49884
|
@property
|
49887
49885
|
def IPv6AddressIds(self):
|
49888
|
-
"""弹性公网IPv6地址唯一ID
|
49886
|
+
"""弹性公网IPv6地址唯一ID,可以使用[DescribeIPv6Addresses](https://cloud.tencent.com/document/api/215/113677)接口获取IPv6AddressId。
|
49889
49887
|
:rtype: list of str
|
49890
49888
|
"""
|
49891
49889
|
return self._IPv6AddressIds
|
@@ -49896,7 +49894,7 @@ class ModifyIPv6AddressesBandwidthRequest(AbstractModel):
|
|
49896
49894
|
|
49897
49895
|
@property
|
49898
49896
|
def InternetMaxBandwidthOut(self):
|
49899
|
-
"""弹性公网IPv6
|
49897
|
+
"""弹性公网IPv6地址网络带宽,可调整的带宽上限值参考产品文档中[IPv6 计费限制说明](https://cloud.tencent.com/document/product/1142/38369)。
|
49900
49898
|
:rtype: int
|
49901
49899
|
"""
|
49902
49900
|
return self._InternetMaxBandwidthOut
|
@@ -62031,14 +62029,14 @@ class ReturnNormalAddressesRequest(AbstractModel):
|
|
62031
62029
|
|
62032
62030
|
def __init__(self):
|
62033
62031
|
r"""
|
62034
|
-
:param _AddressIps: 普通公网IP 的 IP
|
62032
|
+
:param _AddressIps: 普通公网IP 的 IP 地址,可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取AddressIps。
|
62035
62033
|
:type AddressIps: list of str
|
62036
62034
|
"""
|
62037
62035
|
self._AddressIps = None
|
62038
62036
|
|
62039
62037
|
@property
|
62040
62038
|
def AddressIps(self):
|
62041
|
-
"""普通公网IP 的 IP
|
62039
|
+
"""普通公网IP 的 IP 地址,可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取AddressIps。
|
62042
62040
|
:rtype: list of str
|
62043
62041
|
"""
|
62044
62042
|
return self._AddressIps
|
@@ -6900,7 +6900,7 @@ class VpcClient(AbstractClient):
|
|
6900
6900
|
|
6901
6901
|
|
6902
6902
|
def InquiryPriceModifyAddressesBandwidth(self, request):
|
6903
|
-
"""EIP
|
6903
|
+
"""本接口(InquiryPriceModifyAddressesBandwidth)用于EIP修改带宽询价。
|
6904
6904
|
|
6905
6905
|
:param request: Request instance for InquiryPriceModifyAddressesBandwidth.
|
6906
6906
|
:type request: :class:`tencentcloud.vpc.v20170312.models.InquiryPriceModifyAddressesBandwidthRequest`
|
@@ -33734,6 +33734,51 @@ class ModifyInstanceAttackLogPostRequest(AbstractModel):
|
|
33734
33734
|
|
33735
33735
|
"""
|
33736
33736
|
|
33737
|
+
def __init__(self):
|
33738
|
+
r"""
|
33739
|
+
:param _InstanceId: 实例ID
|
33740
|
+
:type InstanceId: str
|
33741
|
+
:param _AttackLogPost: 攻击日志投递开关
|
33742
|
+
:type AttackLogPost: int
|
33743
|
+
"""
|
33744
|
+
self._InstanceId = None
|
33745
|
+
self._AttackLogPost = None
|
33746
|
+
|
33747
|
+
@property
|
33748
|
+
def InstanceId(self):
|
33749
|
+
"""实例ID
|
33750
|
+
:rtype: str
|
33751
|
+
"""
|
33752
|
+
return self._InstanceId
|
33753
|
+
|
33754
|
+
@InstanceId.setter
|
33755
|
+
def InstanceId(self, InstanceId):
|
33756
|
+
self._InstanceId = InstanceId
|
33757
|
+
|
33758
|
+
@property
|
33759
|
+
def AttackLogPost(self):
|
33760
|
+
"""攻击日志投递开关
|
33761
|
+
:rtype: int
|
33762
|
+
"""
|
33763
|
+
return self._AttackLogPost
|
33764
|
+
|
33765
|
+
@AttackLogPost.setter
|
33766
|
+
def AttackLogPost(self, AttackLogPost):
|
33767
|
+
self._AttackLogPost = AttackLogPost
|
33768
|
+
|
33769
|
+
|
33770
|
+
def _deserialize(self, params):
|
33771
|
+
self._InstanceId = params.get("InstanceId")
|
33772
|
+
self._AttackLogPost = params.get("AttackLogPost")
|
33773
|
+
memeber_set = set(params.keys())
|
33774
|
+
for name, value in vars(self).items():
|
33775
|
+
property_name = name[1:]
|
33776
|
+
if property_name in memeber_set:
|
33777
|
+
memeber_set.remove(property_name)
|
33778
|
+
if len(memeber_set) > 0:
|
33779
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
33780
|
+
|
33781
|
+
|
33737
33782
|
|
33738
33783
|
class ModifyInstanceAttackLogPostResponse(AbstractModel):
|
33739
33784
|
"""ModifyInstanceAttackLogPost返回参数结构体
|