tencentcloud-sdk-python 3.0.1185__py2.py3-none-any.whl → 3.0.1187__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/aiart_client.py +25 -4
- tencentcloud/aiart/v20221229/models.py +138 -0
- tencentcloud/asr/v20190614/models.py +12 -12
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cdb/v20170320/models.py +2 -0
- tencentcloud/cdn/v20180606/models.py +1 -1
- tencentcloud/clb/v20180317/clb_client.py +13 -16
- tencentcloud/dnspod/v20210323/models.py +12 -0
- tencentcloud/goosefs/v20220519/models.py +113 -0
- tencentcloud/iotexplorer/v20190423/models.py +1 -13
- tencentcloud/ivld/v20210903/ivld_client.py +93 -0
- tencentcloud/ivld/v20210903/models.py +709 -0
- tencentcloud/lighthouse/v20200324/models.py +1 -1
- tencentcloud/lke/v20231130/lke_client.py +23 -0
- tencentcloud/lke/v20231130/models.py +240 -1
- tencentcloud/mna/v20210119/mna_client.py +207 -0
- tencentcloud/mna/v20210119/models.py +1184 -115
- tencentcloud/mps/v20190612/models.py +26 -0
- tencentcloud/rum/v20210622/models.py +12 -0
- tencentcloud/trtc/v20190722/models.py +494 -0
- tencentcloud/trtc/v20190722/trtc_client.py +69 -0
- tencentcloud/tse/v20201207/models.py +25 -0
- tencentcloud/tsf/v20180326/errorcodes.py +9 -0
- tencentcloud/tsf/v20180326/models.py +222 -0
- tencentcloud/tsf/v20180326/tsf_client.py +46 -0
- tencentcloud/vpc/v20170312/models.py +171 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/waf/v20180125/models.py +1 -1
- {tencentcloud_sdk_python-3.0.1185.dist-info → tencentcloud_sdk_python-3.0.1187.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1185.dist-info → tencentcloud_sdk_python-3.0.1187.dist-info}/RECORD +34 -34
- {tencentcloud_sdk_python-3.0.1185.dist-info → tencentcloud_sdk_python-3.0.1187.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1185.dist-info → tencentcloud_sdk_python-3.0.1187.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1185.dist-info → tencentcloud_sdk_python-3.0.1187.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -26,6 +26,31 @@ class AiartClient(AbstractClient):
|
|
26
26
|
_service = 'aiart'
|
27
27
|
|
28
28
|
|
29
|
+
def ChangeClothes(self, request):
|
30
|
+
"""上传正面全身模特照和服装平铺图,生成模特换装后的图片。
|
31
|
+
生成的换装图片分辨率和模特照分辨率一致。
|
32
|
+
模特换装默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
33
|
+
|
34
|
+
:param request: Request instance for ChangeClothes.
|
35
|
+
:type request: :class:`tencentcloud.aiart.v20221229.models.ChangeClothesRequest`
|
36
|
+
:rtype: :class:`tencentcloud.aiart.v20221229.models.ChangeClothesResponse`
|
37
|
+
|
38
|
+
"""
|
39
|
+
try:
|
40
|
+
params = request._serialize()
|
41
|
+
headers = request.headers
|
42
|
+
body = self.call("ChangeClothes", params, headers=headers)
|
43
|
+
response = json.loads(body)
|
44
|
+
model = models.ChangeClothesResponse()
|
45
|
+
model._deserialize(response["Response"])
|
46
|
+
return model
|
47
|
+
except Exception as e:
|
48
|
+
if isinstance(e, TencentCloudSDKException):
|
49
|
+
raise
|
50
|
+
else:
|
51
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
52
|
+
|
53
|
+
|
29
54
|
def GenerateAvatar(self, request):
|
30
55
|
"""百变头像接口将根据输入的人像照片,生成风格百变的头像。
|
31
56
|
百变头像默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
@@ -81,8 +106,6 @@ class AiartClient(AbstractClient):
|
|
81
106
|
- 提交生成写真图片任务:完成训练写真模型后,选择写真风格模板,提交一个生成写真图片异步任务,根据写真模型 ID 开始生成人物形象在指定风格上的写真图片,获得任务 ID。
|
82
107
|
- 查询生成写真图片任务:根据任务 ID 查询生成图片任务的处理状态、处理结果。
|
83
108
|
|
84
|
-
默认接口请求频率限制:20次/秒。
|
85
|
-
|
86
109
|
:param request: Request instance for QueryDrawPortraitJob.
|
87
110
|
:type request: :class:`tencentcloud.aiart.v20221229.models.QueryDrawPortraitJobRequest`
|
88
111
|
:rtype: :class:`tencentcloud.aiart.v20221229.models.QueryDrawPortraitJobResponse`
|
@@ -137,8 +160,6 @@ class AiartClient(AbstractClient):
|
|
137
160
|
- 提交训练写真模型任务:完成上传训练图片后,提交一个训练写真模型异步任务,根据写真模型 ID 开始训练模型。
|
138
161
|
- 查询训练写真模型任务:根据写真模型 ID 查询训练任务的处理状态、处理结果。
|
139
162
|
|
140
|
-
默认接口请求频率限制:20次/秒。
|
141
|
-
|
142
163
|
:param request: Request instance for QueryTrainPortraitModelJob.
|
143
164
|
:type request: :class:`tencentcloud.aiart.v20221229.models.QueryTrainPortraitModelJobRequest`
|
144
165
|
:rtype: :class:`tencentcloud.aiart.v20221229.models.QueryTrainPortraitModelJobResponse`
|
@@ -18,6 +18,144 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class ChangeClothesRequest(AbstractModel):
|
22
|
+
"""ChangeClothes请求参数结构体
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _ModelUrl: 模特图片 Url。
|
29
|
+
图片限制:单边分辨率小于3000,且大于512,转成 Base64 字符串后小于 8MB。
|
30
|
+
输入要求:
|
31
|
+
1、建议上传正面模特图片,至少完整露出应穿着输入指定服装的身体部位(全身、上半身或下半身),无大角度身体偏转或异常姿势。
|
32
|
+
2、建议上传3:4比例的图片,生成效果更佳。
|
33
|
+
3、建议模特图片中的原始服装和更换后的服装类别一致,或原始服装在身体上的覆盖范围小于等于更换后的服装(例如需要给模特换上短裤,则原始模特图片中也建议穿短裤,不建议穿长裤),否则会影响人像生成效果。
|
34
|
+
|
35
|
+
:type ModelUrl: str
|
36
|
+
:param _ClothesUrl: 服装图片 Url。
|
37
|
+
图片限制:单边分辨率小于3000,大于512,转成 Base64 字符串后小于 8MB。
|
38
|
+
输入要求:
|
39
|
+
建议上传服装完整的正面平铺图片,仅包含1个服装主体,服装类型支持上衣、下装、连衣裙,三选一。算法将根据输入的图片,结合服装图片给模特换装。
|
40
|
+
:type ClothesUrl: str
|
41
|
+
:param _ClothesType: 服装类型,需要和服装图片保持一致。
|
42
|
+
取值:
|
43
|
+
Upper-body:上衣
|
44
|
+
Lower-body:下装
|
45
|
+
Dress:连衣裙
|
46
|
+
:type ClothesType: str
|
47
|
+
:param _LogoAdd: 为生成结果图添加标识的开关,默认为1。
|
48
|
+
1:添加标识。
|
49
|
+
0:不添加标识。
|
50
|
+
其他数值:默认按1处理。
|
51
|
+
建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。
|
52
|
+
:type LogoAdd: int
|
53
|
+
:param _RspImgType: 返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。
|
54
|
+
生成图分辨率较大时建议选择 url,使用 base64 可能因图片过大导致返回失败。
|
55
|
+
:type RspImgType: str
|
56
|
+
"""
|
57
|
+
self._ModelUrl = None
|
58
|
+
self._ClothesUrl = None
|
59
|
+
self._ClothesType = None
|
60
|
+
self._LogoAdd = None
|
61
|
+
self._RspImgType = None
|
62
|
+
|
63
|
+
@property
|
64
|
+
def ModelUrl(self):
|
65
|
+
return self._ModelUrl
|
66
|
+
|
67
|
+
@ModelUrl.setter
|
68
|
+
def ModelUrl(self, ModelUrl):
|
69
|
+
self._ModelUrl = ModelUrl
|
70
|
+
|
71
|
+
@property
|
72
|
+
def ClothesUrl(self):
|
73
|
+
return self._ClothesUrl
|
74
|
+
|
75
|
+
@ClothesUrl.setter
|
76
|
+
def ClothesUrl(self, ClothesUrl):
|
77
|
+
self._ClothesUrl = ClothesUrl
|
78
|
+
|
79
|
+
@property
|
80
|
+
def ClothesType(self):
|
81
|
+
return self._ClothesType
|
82
|
+
|
83
|
+
@ClothesType.setter
|
84
|
+
def ClothesType(self, ClothesType):
|
85
|
+
self._ClothesType = ClothesType
|
86
|
+
|
87
|
+
@property
|
88
|
+
def LogoAdd(self):
|
89
|
+
return self._LogoAdd
|
90
|
+
|
91
|
+
@LogoAdd.setter
|
92
|
+
def LogoAdd(self, LogoAdd):
|
93
|
+
self._LogoAdd = LogoAdd
|
94
|
+
|
95
|
+
@property
|
96
|
+
def RspImgType(self):
|
97
|
+
return self._RspImgType
|
98
|
+
|
99
|
+
@RspImgType.setter
|
100
|
+
def RspImgType(self, RspImgType):
|
101
|
+
self._RspImgType = RspImgType
|
102
|
+
|
103
|
+
|
104
|
+
def _deserialize(self, params):
|
105
|
+
self._ModelUrl = params.get("ModelUrl")
|
106
|
+
self._ClothesUrl = params.get("ClothesUrl")
|
107
|
+
self._ClothesType = params.get("ClothesType")
|
108
|
+
self._LogoAdd = params.get("LogoAdd")
|
109
|
+
self._RspImgType = params.get("RspImgType")
|
110
|
+
memeber_set = set(params.keys())
|
111
|
+
for name, value in vars(self).items():
|
112
|
+
property_name = name[1:]
|
113
|
+
if property_name in memeber_set:
|
114
|
+
memeber_set.remove(property_name)
|
115
|
+
if len(memeber_set) > 0:
|
116
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
class ChangeClothesResponse(AbstractModel):
|
121
|
+
"""ChangeClothes返回参数结构体
|
122
|
+
|
123
|
+
"""
|
124
|
+
|
125
|
+
def __init__(self):
|
126
|
+
r"""
|
127
|
+
:param _ResultImage: 根据入参 RspImgType 填入不同,返回不同的内容。
|
128
|
+
如果传入 base64 则返回生成图 Base64 编码。
|
129
|
+
如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。
|
130
|
+
:type ResultImage: str
|
131
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
132
|
+
:type RequestId: str
|
133
|
+
"""
|
134
|
+
self._ResultImage = None
|
135
|
+
self._RequestId = None
|
136
|
+
|
137
|
+
@property
|
138
|
+
def ResultImage(self):
|
139
|
+
return self._ResultImage
|
140
|
+
|
141
|
+
@ResultImage.setter
|
142
|
+
def ResultImage(self, ResultImage):
|
143
|
+
self._ResultImage = ResultImage
|
144
|
+
|
145
|
+
@property
|
146
|
+
def RequestId(self):
|
147
|
+
return self._RequestId
|
148
|
+
|
149
|
+
@RequestId.setter
|
150
|
+
def RequestId(self, RequestId):
|
151
|
+
self._RequestId = RequestId
|
152
|
+
|
153
|
+
|
154
|
+
def _deserialize(self, params):
|
155
|
+
self._ResultImage = params.get("ResultImage")
|
156
|
+
self._RequestId = params.get("RequestId")
|
157
|
+
|
158
|
+
|
21
159
|
class Filter(AbstractModel):
|
22
160
|
"""训练图像质量过滤开关配置。
|
23
161
|
支持开启或关闭对训练图像分辨率下限、脸部区域大小、脸部遮挡、脸部角度的过滤,默认开启以上过滤。
|
@@ -4361,15 +4361,15 @@ class VoicePrintVerifyRequest(AbstractModel):
|
|
4361
4361
|
:type VoiceFormat: int
|
4362
4362
|
:param _SampleRate: 音频采样率,目前支持16000,单位:Hz,必填
|
4363
4363
|
:type SampleRate: int
|
4364
|
-
:param _VoicePrintId: 说话人id, 说话人唯一标识
|
4365
|
-
:type VoicePrintId: str
|
4366
4364
|
:param _Data: 音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
4367
4365
|
:type Data: str
|
4366
|
+
:param _VoicePrintId: 说话人id, 说话人唯一标识
|
4367
|
+
:type VoicePrintId: str
|
4368
4368
|
"""
|
4369
4369
|
self._VoiceFormat = None
|
4370
4370
|
self._SampleRate = None
|
4371
|
-
self._VoicePrintId = None
|
4372
4371
|
self._Data = None
|
4372
|
+
self._VoicePrintId = None
|
4373
4373
|
|
4374
4374
|
@property
|
4375
4375
|
def VoiceFormat(self):
|
@@ -4387,14 +4387,6 @@ class VoicePrintVerifyRequest(AbstractModel):
|
|
4387
4387
|
def SampleRate(self, SampleRate):
|
4388
4388
|
self._SampleRate = SampleRate
|
4389
4389
|
|
4390
|
-
@property
|
4391
|
-
def VoicePrintId(self):
|
4392
|
-
return self._VoicePrintId
|
4393
|
-
|
4394
|
-
@VoicePrintId.setter
|
4395
|
-
def VoicePrintId(self, VoicePrintId):
|
4396
|
-
self._VoicePrintId = VoicePrintId
|
4397
|
-
|
4398
4390
|
@property
|
4399
4391
|
def Data(self):
|
4400
4392
|
return self._Data
|
@@ -4403,12 +4395,20 @@ class VoicePrintVerifyRequest(AbstractModel):
|
|
4403
4395
|
def Data(self, Data):
|
4404
4396
|
self._Data = Data
|
4405
4397
|
|
4398
|
+
@property
|
4399
|
+
def VoicePrintId(self):
|
4400
|
+
return self._VoicePrintId
|
4401
|
+
|
4402
|
+
@VoicePrintId.setter
|
4403
|
+
def VoicePrintId(self, VoicePrintId):
|
4404
|
+
self._VoicePrintId = VoicePrintId
|
4405
|
+
|
4406
4406
|
|
4407
4407
|
def _deserialize(self, params):
|
4408
4408
|
self._VoiceFormat = params.get("VoiceFormat")
|
4409
4409
|
self._SampleRate = params.get("SampleRate")
|
4410
|
-
self._VoicePrintId = params.get("VoicePrintId")
|
4411
4410
|
self._Data = params.get("Data")
|
4411
|
+
self._VoicePrintId = params.get("VoicePrintId")
|
4412
4412
|
memeber_set = set(params.keys())
|
4413
4413
|
for name, value in vars(self).items():
|
4414
4414
|
property_name = name[1:]
|
@@ -143,6 +143,9 @@ INVALIDPARAMETER_NOTSUPPORTPRODUCT = 'InvalidParameter.NotSupportProduct'
|
|
143
143
|
# 一次操作实体数过多。
|
144
144
|
INVALIDPARAMETER_OPERATEENTITIESOVERLIMIT = 'InvalidParameter.OperateEntitiesOverLimit'
|
145
145
|
|
146
|
+
# 一次操作策略数过多。
|
147
|
+
INVALIDPARAMETER_OPERATEPOLICIESOVERLIMIT = 'InvalidParameter.OperatePoliciesOverLimit'
|
148
|
+
|
146
149
|
# 当前角色仅支持企业管理员操作,如需修改,请联系企业管理员。
|
147
150
|
INVALIDPARAMETER_ORGANIZATIONROLEOPERATEERROR = 'InvalidParameter.OrganizationRoleOperateError'
|
148
151
|
|
@@ -20084,7 +20084,7 @@ IPv6 功能目前尚未全量,需要先申请试用
|
|
20084
20084
|
:param _OriginPullProtocol: 回源协议配置
|
20085
20085
|
http:强制 http 回源
|
20086
20086
|
follow:协议跟随回源
|
20087
|
-
https:强制 https
|
20087
|
+
https:强制 https 回源
|
20088
20088
|
注意:此字段可能返回 null,表示取不到有效值。
|
20089
20089
|
:type OriginPullProtocol: str
|
20090
20090
|
:param _BackupOrigins: 备源站列表
|
@@ -171,22 +171,19 @@ class ClbClient(AbstractClient):
|
|
171
171
|
|
172
172
|
注:查询实例创建状态可以根据返回值中的requestId访问[DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683)接口
|
173
173
|
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
当实例的监听器个数超过50个时,不支持克隆。
|
188
|
-
后端服务维度限制
|
189
|
-
不支持克隆绑定的后端服务类型为目标组和 SCF 云函数的实例。
|
174
|
+
限制说明
|
175
|
+
实例属性维度限制:
|
176
|
+
- 支持克隆网络计费模式为按量计费与包年包月的实例,包年包月实例克隆后的新实例网络计费模式会转换为按小时带宽计费,其带宽、规格与原实例设置保持一致。
|
177
|
+
- 不支持克隆未关联实例计费项的 CLB。
|
178
|
+
- 不支持克隆传统型负载均衡实例和高防 CLB。
|
179
|
+
- 不支持克隆基础网络类型的实例。
|
180
|
+
- 不支持克隆 Anycast 类型的实例。
|
181
|
+
- 不支持克隆 IPv6 NAT64 版本的实例。
|
182
|
+
- 不支持克隆被封禁或冻结的实例。
|
183
|
+
- 执行克隆操作前,请确保实例上没有使用已过期证书,否则会导致克隆失败。
|
184
|
+
配额维度限制:
|
185
|
+
- 当实例的监听器个数超过 50 个时,不支持克隆。
|
186
|
+
- 当共享型实例的公网带宽上限超过 2G 时,不支持克隆。
|
190
187
|
|
191
188
|
通过接口调用:
|
192
189
|
BGP带宽包必须传带宽包id
|
@@ -2087,6 +2087,8 @@ class CreateRecordRequest(AbstractModel):
|
|
2087
2087
|
:type Remark: str
|
2088
2088
|
:param _DnssecConflictMode: 开启DNSSEC时,强制添加CNAME/URL记录
|
2089
2089
|
:type DnssecConflictMode: str
|
2090
|
+
:param _GroupId: 记录分组 Id。可以通过接口 DescribeRecordGroupList 接口 GroupId 字段获取。
|
2091
|
+
:type GroupId: int
|
2090
2092
|
"""
|
2091
2093
|
self._Domain = None
|
2092
2094
|
self._RecordType = None
|
@@ -2101,6 +2103,7 @@ class CreateRecordRequest(AbstractModel):
|
|
2101
2103
|
self._Status = None
|
2102
2104
|
self._Remark = None
|
2103
2105
|
self._DnssecConflictMode = None
|
2106
|
+
self._GroupId = None
|
2104
2107
|
|
2105
2108
|
@property
|
2106
2109
|
def Domain(self):
|
@@ -2206,6 +2209,14 @@ class CreateRecordRequest(AbstractModel):
|
|
2206
2209
|
def DnssecConflictMode(self, DnssecConflictMode):
|
2207
2210
|
self._DnssecConflictMode = DnssecConflictMode
|
2208
2211
|
|
2212
|
+
@property
|
2213
|
+
def GroupId(self):
|
2214
|
+
return self._GroupId
|
2215
|
+
|
2216
|
+
@GroupId.setter
|
2217
|
+
def GroupId(self, GroupId):
|
2218
|
+
self._GroupId = GroupId
|
2219
|
+
|
2209
2220
|
|
2210
2221
|
def _deserialize(self, params):
|
2211
2222
|
self._Domain = params.get("Domain")
|
@@ -2221,6 +2232,7 @@ class CreateRecordRequest(AbstractModel):
|
|
2221
2232
|
self._Status = params.get("Status")
|
2222
2233
|
self._Remark = params.get("Remark")
|
2223
2234
|
self._DnssecConflictMode = params.get("DnssecConflictMode")
|
2235
|
+
self._GroupId = params.get("GroupId")
|
2224
2236
|
memeber_set = set(params.keys())
|
2225
2237
|
for name, value in vars(self).items():
|
2226
2238
|
property_name = name[1:]
|
@@ -336,6 +336,79 @@ class BatchDeleteClientNodesResponse(AbstractModel):
|
|
336
336
|
self._RequestId = params.get("RequestId")
|
337
337
|
|
338
338
|
|
339
|
+
class ChargeAttribute(AbstractModel):
|
340
|
+
"""付费信息详情
|
341
|
+
|
342
|
+
"""
|
343
|
+
|
344
|
+
def __init__(self):
|
345
|
+
r"""
|
346
|
+
:param _CurDeadline: 到期时间
|
347
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
348
|
+
:type CurDeadline: str
|
349
|
+
:param _PayMode: 付费方式
|
350
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
351
|
+
:type PayMode: str
|
352
|
+
:param _AutoRenewFlag: 自动付费标识:0:默认未设置 1:自动续费 2 不自动续费
|
353
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
354
|
+
:type AutoRenewFlag: int
|
355
|
+
:param _ResourceId: 资源ID
|
356
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
357
|
+
:type ResourceId: str
|
358
|
+
"""
|
359
|
+
self._CurDeadline = None
|
360
|
+
self._PayMode = None
|
361
|
+
self._AutoRenewFlag = None
|
362
|
+
self._ResourceId = None
|
363
|
+
|
364
|
+
@property
|
365
|
+
def CurDeadline(self):
|
366
|
+
return self._CurDeadline
|
367
|
+
|
368
|
+
@CurDeadline.setter
|
369
|
+
def CurDeadline(self, CurDeadline):
|
370
|
+
self._CurDeadline = CurDeadline
|
371
|
+
|
372
|
+
@property
|
373
|
+
def PayMode(self):
|
374
|
+
return self._PayMode
|
375
|
+
|
376
|
+
@PayMode.setter
|
377
|
+
def PayMode(self, PayMode):
|
378
|
+
self._PayMode = PayMode
|
379
|
+
|
380
|
+
@property
|
381
|
+
def AutoRenewFlag(self):
|
382
|
+
return self._AutoRenewFlag
|
383
|
+
|
384
|
+
@AutoRenewFlag.setter
|
385
|
+
def AutoRenewFlag(self, AutoRenewFlag):
|
386
|
+
self._AutoRenewFlag = AutoRenewFlag
|
387
|
+
|
388
|
+
@property
|
389
|
+
def ResourceId(self):
|
390
|
+
return self._ResourceId
|
391
|
+
|
392
|
+
@ResourceId.setter
|
393
|
+
def ResourceId(self, ResourceId):
|
394
|
+
self._ResourceId = ResourceId
|
395
|
+
|
396
|
+
|
397
|
+
def _deserialize(self, params):
|
398
|
+
self._CurDeadline = params.get("CurDeadline")
|
399
|
+
self._PayMode = params.get("PayMode")
|
400
|
+
self._AutoRenewFlag = params.get("AutoRenewFlag")
|
401
|
+
self._ResourceId = params.get("ResourceId")
|
402
|
+
memeber_set = set(params.keys())
|
403
|
+
for name, value in vars(self).items():
|
404
|
+
property_name = name[1:]
|
405
|
+
if property_name in memeber_set:
|
406
|
+
memeber_set.remove(property_name)
|
407
|
+
if len(memeber_set) > 0:
|
408
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
409
|
+
|
410
|
+
|
411
|
+
|
339
412
|
class ClientClusterManagerNodeInfo(AbstractModel):
|
340
413
|
"""客户侧集群管理节点信息
|
341
414
|
|
@@ -1722,9 +1795,12 @@ class ExpandCapacityRequest(AbstractModel):
|
|
1722
1795
|
:type FileSystemId: str
|
1723
1796
|
:param _ExpandedCapacity: 新增扩容的系统容量
|
1724
1797
|
:type ExpandedCapacity: int
|
1798
|
+
:param _ModifyType: 容量修改类型:add/sub
|
1799
|
+
:type ModifyType: str
|
1725
1800
|
"""
|
1726
1801
|
self._FileSystemId = None
|
1727
1802
|
self._ExpandedCapacity = None
|
1803
|
+
self._ModifyType = None
|
1728
1804
|
|
1729
1805
|
@property
|
1730
1806
|
def FileSystemId(self):
|
@@ -1742,10 +1818,19 @@ class ExpandCapacityRequest(AbstractModel):
|
|
1742
1818
|
def ExpandedCapacity(self, ExpandedCapacity):
|
1743
1819
|
self._ExpandedCapacity = ExpandedCapacity
|
1744
1820
|
|
1821
|
+
@property
|
1822
|
+
def ModifyType(self):
|
1823
|
+
return self._ModifyType
|
1824
|
+
|
1825
|
+
@ModifyType.setter
|
1826
|
+
def ModifyType(self, ModifyType):
|
1827
|
+
self._ModifyType = ModifyType
|
1828
|
+
|
1745
1829
|
|
1746
1830
|
def _deserialize(self, params):
|
1747
1831
|
self._FileSystemId = params.get("FileSystemId")
|
1748
1832
|
self._ExpandedCapacity = params.get("ExpandedCapacity")
|
1833
|
+
self._ModifyType = params.get("ModifyType")
|
1749
1834
|
memeber_set = set(params.keys())
|
1750
1835
|
for name, value in vars(self).items():
|
1751
1836
|
property_name = name[1:]
|
@@ -1814,6 +1899,9 @@ class FSAttribute(AbstractModel):
|
|
1814
1899
|
:type Tag: list of Tag
|
1815
1900
|
:param _ModifyTime: 更新属性时间
|
1816
1901
|
:type ModifyTime: str
|
1902
|
+
:param _ChargeAttribute: 文件系统付费信息
|
1903
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1904
|
+
:type ChargeAttribute: :class:`tencentcloud.goosefs.v20220519.models.ChargeAttribute`
|
1817
1905
|
"""
|
1818
1906
|
self._Type = None
|
1819
1907
|
self._FileSystemId = None
|
@@ -1827,6 +1915,7 @@ class FSAttribute(AbstractModel):
|
|
1827
1915
|
self._Zone = None
|
1828
1916
|
self._Tag = None
|
1829
1917
|
self._ModifyTime = None
|
1918
|
+
self._ChargeAttribute = None
|
1830
1919
|
|
1831
1920
|
@property
|
1832
1921
|
def Type(self):
|
@@ -1924,6 +2013,14 @@ class FSAttribute(AbstractModel):
|
|
1924
2013
|
def ModifyTime(self, ModifyTime):
|
1925
2014
|
self._ModifyTime = ModifyTime
|
1926
2015
|
|
2016
|
+
@property
|
2017
|
+
def ChargeAttribute(self):
|
2018
|
+
return self._ChargeAttribute
|
2019
|
+
|
2020
|
+
@ChargeAttribute.setter
|
2021
|
+
def ChargeAttribute(self, ChargeAttribute):
|
2022
|
+
self._ChargeAttribute = ChargeAttribute
|
2023
|
+
|
1927
2024
|
|
1928
2025
|
def _deserialize(self, params):
|
1929
2026
|
self._Type = params.get("Type")
|
@@ -1945,6 +2042,9 @@ class FSAttribute(AbstractModel):
|
|
1945
2042
|
obj._deserialize(item)
|
1946
2043
|
self._Tag.append(obj)
|
1947
2044
|
self._ModifyTime = params.get("ModifyTime")
|
2045
|
+
if params.get("ChargeAttribute") is not None:
|
2046
|
+
self._ChargeAttribute = ChargeAttribute()
|
2047
|
+
self._ChargeAttribute._deserialize(params.get("ChargeAttribute"))
|
1948
2048
|
memeber_set = set(params.keys())
|
1949
2049
|
for name, value in vars(self).items():
|
1950
2050
|
property_name = name[1:]
|
@@ -2200,6 +2300,9 @@ class MappedBucket(AbstractModel):
|
|
2200
2300
|
:param _BucketRegion: 桶所在的园区
|
2201
2301
|
注意:此字段可能返回 null,表示取不到有效值。
|
2202
2302
|
:type BucketRegion: str
|
2303
|
+
:param _Endpoint: 自定义Endpoint
|
2304
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2305
|
+
:type Endpoint: str
|
2203
2306
|
"""
|
2204
2307
|
self._BucketName = None
|
2205
2308
|
self._FileSystemPath = None
|
@@ -2209,6 +2312,7 @@ class MappedBucket(AbstractModel):
|
|
2209
2312
|
self._Status = None
|
2210
2313
|
self._AccelerateFlag = None
|
2211
2314
|
self._BucketRegion = None
|
2315
|
+
self._Endpoint = None
|
2212
2316
|
|
2213
2317
|
@property
|
2214
2318
|
def BucketName(self):
|
@@ -2274,6 +2378,14 @@ class MappedBucket(AbstractModel):
|
|
2274
2378
|
def BucketRegion(self, BucketRegion):
|
2275
2379
|
self._BucketRegion = BucketRegion
|
2276
2380
|
|
2381
|
+
@property
|
2382
|
+
def Endpoint(self):
|
2383
|
+
return self._Endpoint
|
2384
|
+
|
2385
|
+
@Endpoint.setter
|
2386
|
+
def Endpoint(self, Endpoint):
|
2387
|
+
self._Endpoint = Endpoint
|
2388
|
+
|
2277
2389
|
|
2278
2390
|
def _deserialize(self, params):
|
2279
2391
|
self._BucketName = params.get("BucketName")
|
@@ -2284,6 +2396,7 @@ class MappedBucket(AbstractModel):
|
|
2284
2396
|
self._Status = params.get("Status")
|
2285
2397
|
self._AccelerateFlag = params.get("AccelerateFlag")
|
2286
2398
|
self._BucketRegion = params.get("BucketRegion")
|
2399
|
+
self._Endpoint = params.get("Endpoint")
|
2287
2400
|
memeber_set = set(params.keys())
|
2288
2401
|
for name, value in vars(self).items():
|
2289
2402
|
property_name = name[1:]
|
@@ -8406,19 +8406,7 @@ class DescribeFirmwareUpdateStatusResponse(AbstractModel):
|
|
8406
8406
|
:param _DstVersion: 升级任务目标版本。
|
8407
8407
|
注意:此字段可能返回 null,表示取不到有效值。
|
8408
8408
|
:type DstVersion: str
|
8409
|
-
:param _Status:
|
8410
|
-
|
8411
|
-
- 0:设备离线。
|
8412
|
-
- 1:待处理。
|
8413
|
-
- 2:消息下发成功。
|
8414
|
-
- 3:下载中。
|
8415
|
-
- 4:烧录中。
|
8416
|
-
- 5:失败。
|
8417
|
-
- 6:升级完成。
|
8418
|
-
- 7:正在处理中。
|
8419
|
-
- 8:等待用户确认。
|
8420
|
-
- 20:下载完成。
|
8421
|
-
|
8409
|
+
:param _Status: 升级状态:- 0:设备离线。- 1:待处理。- 2:消息下发成功。- 3:下载中。- 4:烧录中。- 5:失败。- 6:升级完成。- 7:正在处理中。- 8:等待用户确认。- 10:升级超时。- 20:下载完成。
|
8422
8410
|
:type Status: int
|
8423
8411
|
:param _Percent: 进度
|
8424
8412
|
注意:此字段可能返回 null,表示取不到有效值。
|