tencentcloud-sdk-python 3.0.1171__py2.py3-none-any.whl → 3.0.1172__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/apm/v20210622/errorcodes.py +6 -0
- tencentcloud/cdwdoris/v20211228/models.py +24 -0
- tencentcloud/ckafka/v20190819/models.py +77 -12
- tencentcloud/csip/v20221121/models.py +127 -1
- tencentcloud/cynosdb/v20190107/models.py +534 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +45 -0
- tencentcloud/emr/v20190103/models.py +1 -1
- tencentcloud/essbasic/v20210526/essbasic_client.py +7 -0
- tencentcloud/iecp/v20210914/iecp_client.py +60 -20
- tencentcloud/ims/v20201229/ims_client.py +4 -3
- tencentcloud/lke/v20231130/errorcodes.py +33 -0
- tencentcloud/lke/v20231130/lke_client.py +69 -0
- tencentcloud/lke/v20231130/models.py +852 -0
- tencentcloud/monitor/v20180724/models.py +12 -0
- tencentcloud/sms/v20210111/sms_client.py +33 -65
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +263 -4
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tse/v20201207/models.py +18 -1
- tencentcloud/tsf/v20180326/tsf_client.py +3 -1
- tencentcloud/waf/v20180125/models.py +103 -12
- tencentcloud/wedata/v20210820/models.py +39 -26
- tencentcloud/wedata/v20210820/wedata_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1171.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1171.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/RECORD +30 -30
- {tencentcloud_sdk_python-3.0.1171.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1171.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1171.dist-info → tencentcloud_sdk_python-3.0.1172.dist-info}/top_level.txt +0 -0
@@ -6248,9 +6248,12 @@ class DeleteAlarmPolicyRequest(AbstractModel):
|
|
6248
6248
|
:type Module: str
|
6249
6249
|
:param _PolicyIds: 告警策略 ID 列表
|
6250
6250
|
:type PolicyIds: list of str
|
6251
|
+
:param _PromInsIds: prom的实例id
|
6252
|
+
:type PromInsIds: list of str
|
6251
6253
|
"""
|
6252
6254
|
self._Module = None
|
6253
6255
|
self._PolicyIds = None
|
6256
|
+
self._PromInsIds = None
|
6254
6257
|
|
6255
6258
|
@property
|
6256
6259
|
def Module(self):
|
@@ -6268,10 +6271,19 @@ class DeleteAlarmPolicyRequest(AbstractModel):
|
|
6268
6271
|
def PolicyIds(self, PolicyIds):
|
6269
6272
|
self._PolicyIds = PolicyIds
|
6270
6273
|
|
6274
|
+
@property
|
6275
|
+
def PromInsIds(self):
|
6276
|
+
return self._PromInsIds
|
6277
|
+
|
6278
|
+
@PromInsIds.setter
|
6279
|
+
def PromInsIds(self, PromInsIds):
|
6280
|
+
self._PromInsIds = PromInsIds
|
6281
|
+
|
6271
6282
|
|
6272
6283
|
def _deserialize(self, params):
|
6273
6284
|
self._Module = params.get("Module")
|
6274
6285
|
self._PolicyIds = params.get("PolicyIds")
|
6286
|
+
self._PromInsIds = params.get("PromInsIds")
|
6275
6287
|
memeber_set = set(params.keys())
|
6276
6288
|
for name, value in vars(self).items():
|
6277
6289
|
property_name = name[1:]
|
@@ -27,10 +27,8 @@ class SmsClient(AbstractClient):
|
|
27
27
|
|
28
28
|
|
29
29
|
def AddSmsSign(self, request):
|
30
|
-
"""
|
31
|
-
|
32
|
-
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 SDK 来使用云短信服务。
|
33
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
30
|
+
"""本接口 (AddSmsSign) 用于添加短信签名。
|
31
|
+
<blockquote class="d-mod-explain"><div class="d-mod-title d-explain-title" style="line-height: normal;"><i class="d-icon-explain"></i>说明:</div><p></p><ul><li>添加短信签名前,请先认真参阅 <a href="https://cloud.tencent.com/document/product/382/39022">腾讯云短信签名审核标准。</a></li><li>个人认证用户不支持使用 API 申请短信签名,请参阅了解 <a href="https://cloud.tencent.com/document/product/378/3629">实名认证基本介绍</a>,如果为个人认证请登录 <a href="https://console.cloud.tencent.com/smsv2">控制台</a> 申请短信签名。</li></ul></blockquote>
|
34
32
|
|
35
33
|
:param request: Request instance for AddSmsSign.
|
36
34
|
:type request: :class:`tencentcloud.sms.v20210111.models.AddSmsSignRequest`
|
@@ -53,10 +51,8 @@ class SmsClient(AbstractClient):
|
|
53
51
|
|
54
52
|
|
55
53
|
def AddSmsTemplate(self, request):
|
56
|
-
"""
|
57
|
-
|
58
|
-
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 SDK 来使用云短信服务。
|
59
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
54
|
+
"""本接口 (AddSmsTemplate) 用于创建短信模板。
|
55
|
+
<blockquote class="d-mod-explain"><div class="d-mod-title d-explain-title" style="line-height: normal;"><i class="d-icon-explain"></i>说明:</div><p></p><ul><li>申请短信模板前,请先认真参阅 <a href="https://cloud.tencent.com/document/product/382/39023">腾讯云短信正文模板审核标准。</a></li><li>个人认证用户不支持使用 API 申请短信正文模板,请参阅了解 <a href="https://cloud.tencent.com/document/product/378/3629">实名认证基本介绍</a>,如果为个人认证请登录 <a href="https://console.cloud.tencent.com/smsv2">控制台</a> 申请短信正文模板。</li></ul></blockquote>
|
60
56
|
|
61
57
|
:param request: Request instance for AddSmsTemplate.
|
62
58
|
:type request: :class:`tencentcloud.sms.v20210111.models.AddSmsTemplateRequest`
|
@@ -79,9 +75,7 @@ class SmsClient(AbstractClient):
|
|
79
75
|
|
80
76
|
|
81
77
|
def CallbackStatusStatistics(self, request):
|
82
|
-
"""
|
83
|
-
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 SDK 来使用云短信服务。
|
84
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
78
|
+
"""本接口 (CallbackStatusStatistics) 用于统计用户回执的数据。
|
85
79
|
|
86
80
|
:param request: Request instance for CallbackStatusStatistics.
|
87
81
|
:type request: :class:`tencentcloud.sms.v20210111.models.CallbackStatusStatisticsRequest`
|
@@ -104,9 +98,8 @@ class SmsClient(AbstractClient):
|
|
104
98
|
|
105
99
|
|
106
100
|
def DeleteSmsSign(self, request):
|
107
|
-
"""
|
108
|
-
|
109
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
101
|
+
"""本接口 (DeleteSmsSign) 用于删除短信签名。
|
102
|
+
<blockquote class="d-mod-explain"><div class="d-mod-title d-explain-title" style="line-height: normal;"><i class="d-icon-explain"></i>说明:</div><p></p><ul><li>个人认证用户不支持使用 API 删除短信签名,请参阅了解 <a href="https://cloud.tencent.com/document/product/378/3629">实名认证基本介绍</a>,如果为个人认证请登录 <a href="https://console.cloud.tencent.com/smsv2">控制台</a> 删除短信签名。</li></ul></blockquote>
|
110
103
|
|
111
104
|
:param request: Request instance for DeleteSmsSign.
|
112
105
|
:type request: :class:`tencentcloud.sms.v20210111.models.DeleteSmsSignRequest`
|
@@ -129,9 +122,8 @@ class SmsClient(AbstractClient):
|
|
129
122
|
|
130
123
|
|
131
124
|
def DeleteSmsTemplate(self, request):
|
132
|
-
"""
|
133
|
-
|
134
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
125
|
+
"""本接口 (DeleteSmsTemplate) 用于删除短信模板。
|
126
|
+
<blockquote class="d-mod-explain"><div class="d-mod-title d-explain-title" style="line-height: normal;"><i class="d-icon-explain"></i>说明:</div><p></p><ul><li>个人认证用户不支持使用 API 删除短信正文模板,请参阅了解 <a href="https://cloud.tencent.com/document/product/378/3629">实名认证基本介绍</a>,如果为个人认证请登录 <a href="https://console.cloud.tencent.com/smsv2">控制台</a> 删除短信正文模板。</li></ul></blockquote>
|
135
127
|
|
136
128
|
:param request: Request instance for DeleteSmsTemplate.
|
137
129
|
:type request: :class:`tencentcloud.sms.v20210111.models.DeleteSmsTemplateRequest`
|
@@ -154,8 +146,8 @@ class SmsClient(AbstractClient):
|
|
154
146
|
|
155
147
|
|
156
148
|
def DescribePhoneNumberInfo(self, request):
|
157
|
-
"""
|
158
|
-
|
149
|
+
"""本接口 (DescribePhoneNumberInfo) 用于提供电话号码的信息查询,包括国家(或地区)码、规范的 E.164 格式号码等。
|
150
|
+
- 例如:查询号码 +86018845720123,可以得到国家码 86、规范的 E.164 号码 +8618845720123 等信息。
|
159
151
|
|
160
152
|
:param request: Request instance for DescribePhoneNumberInfo.
|
161
153
|
:type request: :class:`tencentcloud.sms.v20210111.models.DescribePhoneNumberInfoRequest`
|
@@ -178,9 +170,8 @@ class SmsClient(AbstractClient):
|
|
178
170
|
|
179
171
|
|
180
172
|
def DescribeSmsSignList(self, request):
|
181
|
-
"""
|
182
|
-
|
183
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
173
|
+
"""本接口 (DescribeSmsSignList) 用于查询短信签名状态。
|
174
|
+
<blockquote class="d-mod-explain"><div class="d-mod-title d-explain-title" style="line-height: normal;"><i class="d-icon-explain"></i>说明:</div><p></p><ul><li>个人认证用户不支持使用 API 查询短信签名,请参阅了解 <a href="https://cloud.tencent.com/document/product/378/3629">实名认证基本介绍</a>,如果为个人认证请登录 <a href="https://console.cloud.tencent.com/smsv2">控制台</a> 查询短信签名。</li></ul></blockquote>
|
184
175
|
|
185
176
|
:param request: Request instance for DescribeSmsSignList.
|
186
177
|
:type request: :class:`tencentcloud.sms.v20210111.models.DescribeSmsSignListRequest`
|
@@ -203,9 +194,8 @@ class SmsClient(AbstractClient):
|
|
203
194
|
|
204
195
|
|
205
196
|
def DescribeSmsTemplateList(self, request):
|
206
|
-
"""
|
207
|
-
|
208
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
197
|
+
"""本接口 (DescribeSmsTemplateList) 用于查询短信模板状态。
|
198
|
+
<blockquote class="d-mod-explain"><div class="d-mod-title d-explain-title" style="line-height: normal;"><i class="d-icon-explain"></i>说明:</div><p></p><ul><li>个人认证用户不支持使用 API 查询短信正文模板,请参阅了解 <a href="https://cloud.tencent.com/document/product/378/3629">实名认证基本介绍</a>,如果为个人认证请登录 <a href="https://console.cloud.tencent.com/smsv2">控制台</a> 查询短信正文模板。</li></ul></blockquote>
|
209
199
|
|
210
200
|
:param request: Request instance for DescribeSmsTemplateList.
|
211
201
|
:type request: :class:`tencentcloud.sms.v20210111.models.DescribeSmsTemplateListRequest`
|
@@ -228,11 +218,8 @@ class SmsClient(AbstractClient):
|
|
228
218
|
|
229
219
|
|
230
220
|
def ModifySmsSign(self, request):
|
231
|
-
"""
|
232
|
-
|
233
|
-
3. 修改短信签名,仅当签名为**待审核**或**已拒绝**状态时,才能进行修改,**已审核通过**的签名不支持修改。
|
234
|
-
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 SDK 来使用云短信服务。
|
235
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
221
|
+
"""本接口 (ModifySmsSign) 用于修改短信签名。
|
222
|
+
<blockquote class="d-mod-explain"><div class="d-mod-title d-explain-title" style="line-height: normal;"><i class="d-icon-explain"></i>说明:</div><p></p><ul><li>修改短信签名前,请先认真参阅 <a href="https://cloud.tencent.com/document/product/382/39022">腾讯云短信签名审核标准。</a></li><li>个人认证用户不支持使用 API 修改短信签名,请参阅了解 <a href="https://cloud.tencent.com/document/product/378/3629">实名认证基本介绍</a>,如果为个人认证请登录 <a href="https://console.cloud.tencent.com/smsv2">控制台</a> 修改短信签名。</li><li>修改短信签名,仅当签名为<b>待审核</b>或<b>已拒绝</b>状态时,才能进行修改,<b>已审核通过</b>的签名不支持修改。</li></ul></blockquote>
|
236
223
|
|
237
224
|
:param request: Request instance for ModifySmsSign.
|
238
225
|
:type request: :class:`tencentcloud.sms.v20210111.models.ModifySmsSignRequest`
|
@@ -255,11 +242,8 @@ class SmsClient(AbstractClient):
|
|
255
242
|
|
256
243
|
|
257
244
|
def ModifySmsTemplate(self, request):
|
258
|
-
"""
|
259
|
-
|
260
|
-
3. 修改短信模板,仅当正文模板为**待审核**或**已拒绝**状态时,才能进行修改,**已审核通过**的正文模板不支持修改。
|
261
|
-
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 SDK 来使用云短信服务。
|
262
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
245
|
+
"""本接口 (ModifySmsTemplate) 用于修改短信模板。
|
246
|
+
<blockquote class="d-mod-explain"><div class="d-mod-title d-explain-title" style="line-height: normal;"><i class="d-icon-explain"></i>说明:</div><p></p><ul><li>修改短信正文模板前,请先认真参阅 <a href="https://cloud.tencent.com/document/product/382/39023">腾讯云短信正文模板审核标准。</a></li><li>个人认证用户不支持使用 API 修改短信正文模板,请参阅了解 <a href="https://cloud.tencent.com/document/product/378/3629">实名认证基本介绍</a>,如果为个人认证请登录 <a href="https://console.cloud.tencent.com/smsv2">控制台</a> 修改短信正文模板。</li><li>修改短信模板,仅当正文模板为<b>待审核</b>或<b>已拒绝</b>状态时,才能进行修改,<b>已审核通过</b>的正文模板不支持修改。</li></ul></blockquote>
|
263
247
|
|
264
248
|
:param request: Request instance for ModifySmsTemplate.
|
265
249
|
:type request: :class:`tencentcloud.sms.v20210111.models.ModifySmsTemplateRequest`
|
@@ -282,11 +266,8 @@ class SmsClient(AbstractClient):
|
|
282
266
|
|
283
267
|
|
284
268
|
def PullSmsReplyStatus(self, request):
|
285
|
-
"""
|
286
|
-
|
287
|
-
>- 注:此接口需要联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81) 开通。
|
288
|
-
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 SDK 来使用云短信服务。
|
289
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
269
|
+
"""本接口 (PullSmsReplyStatus) 用于拉取短信回复状态。
|
270
|
+
<blockquote class="d-mod-explain"><div class="d-mod-title d-explain-title" style="line-height: normal;"><i class="d-icon-explain"></i>说明:</div><p></p><ul><li>此接口需要联系 <a href="https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81">腾讯云短信小助手</a> 开通。</li><li>上行回复也支持 <a href="https://cloud.tencent.com/document/product/382/42907">配置回复回调</a> 的方式获取。</li></ul></blockquote>
|
290
271
|
|
291
272
|
:param request: Request instance for PullSmsReplyStatus.
|
292
273
|
:type request: :class:`tencentcloud.sms.v20210111.models.PullSmsReplyStatusRequest`
|
@@ -309,10 +290,8 @@ class SmsClient(AbstractClient):
|
|
309
290
|
|
310
291
|
|
311
292
|
def PullSmsReplyStatusByPhoneNumber(self, request):
|
312
|
-
"""
|
313
|
-
|
314
|
-
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 SDK 来使用云短信服务。
|
315
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
293
|
+
"""本接口 (PullSmsReplyStatusByPhoneNumber) 用于拉取单个号码短信回复状态。
|
294
|
+
<blockquote class="d-mod-explain"><div class="d-mod-title d-explain-title" style="line-height: normal;"><i class="d-icon-explain"></i>说明:</div><p></p><ul><li>上行回复也支持 <a href="https://cloud.tencent.com/document/product/382/42907">配置回复回调</a> 的方式获取。</li></ul></blockquote>
|
316
295
|
|
317
296
|
:param request: Request instance for PullSmsReplyStatusByPhoneNumber.
|
318
297
|
:type request: :class:`tencentcloud.sms.v20210111.models.PullSmsReplyStatusByPhoneNumberRequest`
|
@@ -335,11 +314,8 @@ class SmsClient(AbstractClient):
|
|
335
314
|
|
336
315
|
|
337
316
|
def PullSmsSendStatus(self, request):
|
338
|
-
"""
|
339
|
-
|
340
|
-
>- 注:此接口需要联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81) 开通。
|
341
|
-
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 SDK 来使用云短信服务。
|
342
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
317
|
+
"""本接口 (PullSmsSendStatus) 用于拉取短信下发状态。
|
318
|
+
<blockquote class="d-mod-explain"><div class="d-mod-title d-explain-title" style="line-height: normal;"><i class="d-icon-explain"></i>说明:</div><p></p><ul><li>此接口需要联系 <a href="https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81">腾讯云短信小助手</a> 开通。</li><li>下发状态也支持 <a href="https://cloud.tencent.com/document/product/382/37809#.E7.9F.AD.E4.BF.A1.E7.8A.B6.E6.80.81.E5.9B.9E.E8.B0.83.E9.85.8D.E7.BD.AE">配置回调</a> 的方式获取。</li></ul></blockquote>
|
343
319
|
|
344
320
|
:param request: Request instance for PullSmsSendStatus.
|
345
321
|
:type request: :class:`tencentcloud.sms.v20210111.models.PullSmsSendStatusRequest`
|
@@ -362,10 +338,8 @@ class SmsClient(AbstractClient):
|
|
362
338
|
|
363
339
|
|
364
340
|
def PullSmsSendStatusByPhoneNumber(self, request):
|
365
|
-
"""
|
366
|
-
|
367
|
-
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 SDK 来使用云短信服务。
|
368
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
341
|
+
"""本接口 (PullSmsSendStatusByPhoneNumber) 用于拉取单个号码短信下发状态。
|
342
|
+
<blockquote class="d-mod-explain"><div class="d-mod-title d-explain-title" style="line-height: normal;"><i class="d-icon-explain"></i>说明:</div><p></p><ul><li>下发状态也支持 <a href="https://cloud.tencent.com/document/product/382/37809#.E7.9F.AD.E4.BF.A1.E7.8A.B6.E6.80.81.E5.9B.9E.E8.B0.83.E9.85.8D.E7.BD.AE">配置回调</a> 的方式获取。</li></ul></blockquote>
|
369
343
|
|
370
344
|
:param request: Request instance for PullSmsSendStatusByPhoneNumber.
|
371
345
|
:type request: :class:`tencentcloud.sms.v20210111.models.PullSmsSendStatusByPhoneNumberRequest`
|
@@ -388,8 +362,8 @@ class SmsClient(AbstractClient):
|
|
388
362
|
|
389
363
|
|
390
364
|
def ReportConversion(self, request):
|
391
|
-
"""
|
392
|
-
|
365
|
+
"""本接口 (ReportConversion) 用于短信转化率上报。将已接收到短信的流水号上报到腾讯云短信服务。
|
366
|
+
<blockquote class="d-mod-explain"><div class="d-mod-title d-explain-title" style="line-height: normal;"><i class="d-icon-explain"></i>说明:</div><p></p><ul><li>该接口当前以白名单方式对外开放,如有需要请联系 <a href="https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81">腾讯云短信小助手</a> 开通。</li></ul></blockquote>
|
393
367
|
|
394
368
|
:param request: Request instance for ReportConversion.
|
395
369
|
:type request: :class:`tencentcloud.sms.v20210111.models.ReportConversionRequest`
|
@@ -412,10 +386,8 @@ class SmsClient(AbstractClient):
|
|
412
386
|
|
413
387
|
|
414
388
|
def SendSms(self, request):
|
415
|
-
"""
|
416
|
-
|
417
|
-
>- 注:您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
418
|
-
>- 注:当前接口属于 2021-01-11 版本,如果您仍在使用 [2019-07-11 版本](https://cloud.tencent.com/document/product/382/38778),建议您使用当前最新版本的接口,版本差异可参考[版本描述](https://cloud.tencent.com/document/product/382/63195#.E7.89.88.E6.9C.AC.E6.8F.8F.E8.BF.B0)。
|
389
|
+
"""本接口 (SendSms) 用于发送验证码、通知类短信和营销短信。支持国内短信与国际/港澳台短信。
|
390
|
+
- 当前接口属于 2021-01-11 版本,如果您仍在使用 [2019-07-11 版本](https://cloud.tencent.com/document/product/382/38778),建议您使用当前最新版本的接口,版本差异可参考[版本描述](https://cloud.tencent.com/document/product/382/63195#.E7.89.88.E6.9C.AC.E6.8F.8F.E8.BF.B0)。
|
419
391
|
|
420
392
|
:param request: Request instance for SendSms.
|
421
393
|
:type request: :class:`tencentcloud.sms.v20210111.models.SendSmsRequest`
|
@@ -438,9 +410,7 @@ class SmsClient(AbstractClient):
|
|
438
410
|
|
439
411
|
|
440
412
|
def SendStatusStatistics(self, request):
|
441
|
-
"""
|
442
|
-
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 SDK 来使用云短信服务。
|
443
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
413
|
+
"""本接口 (SendStatusStatistics) 用于统计用户发送短信的数据。
|
444
414
|
|
445
415
|
:param request: Request instance for SendStatusStatistics.
|
446
416
|
:type request: :class:`tencentcloud.sms.v20210111.models.SendStatusStatisticsRequest`
|
@@ -463,9 +433,7 @@ class SmsClient(AbstractClient):
|
|
463
433
|
|
464
434
|
|
465
435
|
def SmsPackagesStatistics(self, request):
|
466
|
-
"""
|
467
|
-
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 SDK 来使用云短信服务。
|
468
|
-
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
436
|
+
"""本接口 (SmsPackagesStatistics) 用于统计用户套餐包数据。
|
469
437
|
|
470
438
|
:param request: Request instance for SmsPackagesStatistics.
|
471
439
|
:type request: :class:`tencentcloud.sms.v20210111.models.SmsPackagesStatisticsRequest`
|
@@ -26,6 +26,9 @@ FAILEDOPERATION_ACCOUNTCOMMON = 'FailedOperation.AccountCommon'
|
|
26
26
|
# 账户未通过认证。
|
27
27
|
FAILEDOPERATION_ACCOUNTUSERNOTAUTHENTICATED = 'FailedOperation.AccountUserNotAuthenticated'
|
28
28
|
|
29
|
+
# 添加VPC-CNI子网失败
|
30
|
+
FAILEDOPERATION_ADDVPCCNISUBNETSFAILED = 'FailedOperation.AddVpcCniSubnetsFailed'
|
31
|
+
|
29
32
|
# 伸缩组资源创建报错。
|
30
33
|
FAILEDOPERATION_ASCOMMON = 'FailedOperation.AsCommon'
|
31
34
|
|
@@ -7023,13 +7023,13 @@ class CreateImageCacheRequest(AbstractModel):
|
|
7023
7023
|
r"""
|
7024
7024
|
:param _Images: 用于制作镜像缓存的容器镜像列表
|
7025
7025
|
:type Images: list of str
|
7026
|
-
:param _SubnetId: 实例所属子网
|
7026
|
+
:param _SubnetId: 实例所属子网 ID
|
7027
7027
|
:type SubnetId: str
|
7028
|
-
:param _VpcId: 实例所属VPC
|
7028
|
+
:param _VpcId: 实例所属 VPC ID
|
7029
7029
|
:type VpcId: str
|
7030
7030
|
:param _ImageCacheName: 镜像缓存名称
|
7031
7031
|
:type ImageCacheName: str
|
7032
|
-
:param _SecurityGroupIds: 安全组
|
7032
|
+
:param _SecurityGroupIds: 安全组 ID
|
7033
7033
|
:type SecurityGroupIds: list of str
|
7034
7034
|
:param _ImageRegistryCredentials: 镜像仓库凭证数组
|
7035
7035
|
:type ImageRegistryCredentials: list of ImageRegistryCredential
|
@@ -16381,6 +16381,9 @@ class DescribeIPAMDResponse(AbstractModel):
|
|
16381
16381
|
:param _ClaimExpiredDuration: 固定ip回收时间,已安装eniipamd组件才会有值
|
16382
16382
|
注意:此字段可能返回 null,表示取不到有效值。
|
16383
16383
|
:type ClaimExpiredDuration: str
|
16384
|
+
:param _EnableTrunkingENI: 是否开启了中继网卡模式
|
16385
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16386
|
+
:type EnableTrunkingENI: bool
|
16384
16387
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16385
16388
|
:type RequestId: str
|
16386
16389
|
"""
|
@@ -16391,6 +16394,7 @@ class DescribeIPAMDResponse(AbstractModel):
|
|
16391
16394
|
self._Reason = None
|
16392
16395
|
self._SubnetIds = None
|
16393
16396
|
self._ClaimExpiredDuration = None
|
16397
|
+
self._EnableTrunkingENI = None
|
16394
16398
|
self._RequestId = None
|
16395
16399
|
|
16396
16400
|
@property
|
@@ -16449,6 +16453,14 @@ class DescribeIPAMDResponse(AbstractModel):
|
|
16449
16453
|
def ClaimExpiredDuration(self, ClaimExpiredDuration):
|
16450
16454
|
self._ClaimExpiredDuration = ClaimExpiredDuration
|
16451
16455
|
|
16456
|
+
@property
|
16457
|
+
def EnableTrunkingENI(self):
|
16458
|
+
return self._EnableTrunkingENI
|
16459
|
+
|
16460
|
+
@EnableTrunkingENI.setter
|
16461
|
+
def EnableTrunkingENI(self, EnableTrunkingENI):
|
16462
|
+
self._EnableTrunkingENI = EnableTrunkingENI
|
16463
|
+
|
16452
16464
|
@property
|
16453
16465
|
def RequestId(self):
|
16454
16466
|
return self._RequestId
|
@@ -16466,6 +16478,7 @@ class DescribeIPAMDResponse(AbstractModel):
|
|
16466
16478
|
self._Reason = params.get("Reason")
|
16467
16479
|
self._SubnetIds = params.get("SubnetIds")
|
16468
16480
|
self._ClaimExpiredDuration = params.get("ClaimExpiredDuration")
|
16481
|
+
self._EnableTrunkingENI = params.get("EnableTrunkingENI")
|
16469
16482
|
self._RequestId = params.get("RequestId")
|
16470
16483
|
|
16471
16484
|
|
@@ -16762,6 +16775,117 @@ class DescribeLogSwitchesResponse(AbstractModel):
|
|
16762
16775
|
self._RequestId = params.get("RequestId")
|
16763
16776
|
|
16764
16777
|
|
16778
|
+
class DescribePodChargeInfoRequest(AbstractModel):
|
16779
|
+
"""DescribePodChargeInfo请求参数结构体
|
16780
|
+
|
16781
|
+
"""
|
16782
|
+
|
16783
|
+
def __init__(self):
|
16784
|
+
r"""
|
16785
|
+
:param _ClusterId: 集群ID
|
16786
|
+
:type ClusterId: str
|
16787
|
+
:param _Namespace: 命名空间
|
16788
|
+
:type Namespace: str
|
16789
|
+
:param _Name: Pod名称
|
16790
|
+
:type Name: str
|
16791
|
+
:param _Uids: Pod的Uid
|
16792
|
+
:type Uids: list of str
|
16793
|
+
"""
|
16794
|
+
self._ClusterId = None
|
16795
|
+
self._Namespace = None
|
16796
|
+
self._Name = None
|
16797
|
+
self._Uids = None
|
16798
|
+
|
16799
|
+
@property
|
16800
|
+
def ClusterId(self):
|
16801
|
+
return self._ClusterId
|
16802
|
+
|
16803
|
+
@ClusterId.setter
|
16804
|
+
def ClusterId(self, ClusterId):
|
16805
|
+
self._ClusterId = ClusterId
|
16806
|
+
|
16807
|
+
@property
|
16808
|
+
def Namespace(self):
|
16809
|
+
return self._Namespace
|
16810
|
+
|
16811
|
+
@Namespace.setter
|
16812
|
+
def Namespace(self, Namespace):
|
16813
|
+
self._Namespace = Namespace
|
16814
|
+
|
16815
|
+
@property
|
16816
|
+
def Name(self):
|
16817
|
+
return self._Name
|
16818
|
+
|
16819
|
+
@Name.setter
|
16820
|
+
def Name(self, Name):
|
16821
|
+
self._Name = Name
|
16822
|
+
|
16823
|
+
@property
|
16824
|
+
def Uids(self):
|
16825
|
+
return self._Uids
|
16826
|
+
|
16827
|
+
@Uids.setter
|
16828
|
+
def Uids(self, Uids):
|
16829
|
+
self._Uids = Uids
|
16830
|
+
|
16831
|
+
|
16832
|
+
def _deserialize(self, params):
|
16833
|
+
self._ClusterId = params.get("ClusterId")
|
16834
|
+
self._Namespace = params.get("Namespace")
|
16835
|
+
self._Name = params.get("Name")
|
16836
|
+
self._Uids = params.get("Uids")
|
16837
|
+
memeber_set = set(params.keys())
|
16838
|
+
for name, value in vars(self).items():
|
16839
|
+
property_name = name[1:]
|
16840
|
+
if property_name in memeber_set:
|
16841
|
+
memeber_set.remove(property_name)
|
16842
|
+
if len(memeber_set) > 0:
|
16843
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16844
|
+
|
16845
|
+
|
16846
|
+
|
16847
|
+
class DescribePodChargeInfoResponse(AbstractModel):
|
16848
|
+
"""DescribePodChargeInfo返回参数结构体
|
16849
|
+
|
16850
|
+
"""
|
16851
|
+
|
16852
|
+
def __init__(self):
|
16853
|
+
r"""
|
16854
|
+
:param _ChargeInfoSet: Pod计费信息
|
16855
|
+
:type ChargeInfoSet: list of PodChargeInfo
|
16856
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16857
|
+
:type RequestId: str
|
16858
|
+
"""
|
16859
|
+
self._ChargeInfoSet = None
|
16860
|
+
self._RequestId = None
|
16861
|
+
|
16862
|
+
@property
|
16863
|
+
def ChargeInfoSet(self):
|
16864
|
+
return self._ChargeInfoSet
|
16865
|
+
|
16866
|
+
@ChargeInfoSet.setter
|
16867
|
+
def ChargeInfoSet(self, ChargeInfoSet):
|
16868
|
+
self._ChargeInfoSet = ChargeInfoSet
|
16869
|
+
|
16870
|
+
@property
|
16871
|
+
def RequestId(self):
|
16872
|
+
return self._RequestId
|
16873
|
+
|
16874
|
+
@RequestId.setter
|
16875
|
+
def RequestId(self, RequestId):
|
16876
|
+
self._RequestId = RequestId
|
16877
|
+
|
16878
|
+
|
16879
|
+
def _deserialize(self, params):
|
16880
|
+
if params.get("ChargeInfoSet") is not None:
|
16881
|
+
self._ChargeInfoSet = []
|
16882
|
+
for item in params.get("ChargeInfoSet"):
|
16883
|
+
obj = PodChargeInfo()
|
16884
|
+
obj._deserialize(item)
|
16885
|
+
self._ChargeInfoSet.append(obj)
|
16886
|
+
self._RequestId = params.get("RequestId")
|
16887
|
+
|
16888
|
+
|
16765
16889
|
class DescribePodDeductionRateRequest(AbstractModel):
|
16766
16890
|
"""DescribePodDeductionRate请求参数结构体
|
16767
16891
|
|
@@ -30418,6 +30542,141 @@ class PendingRelease(AbstractModel):
|
|
30418
30542
|
|
30419
30543
|
|
30420
30544
|
|
30545
|
+
class PodChargeInfo(AbstractModel):
|
30546
|
+
"""Pod计费信息
|
30547
|
+
|
30548
|
+
"""
|
30549
|
+
|
30550
|
+
def __init__(self):
|
30551
|
+
r"""
|
30552
|
+
:param _StartTime: Pod计费开始时间
|
30553
|
+
:type StartTime: str
|
30554
|
+
:param _Uid: Pod的Uid
|
30555
|
+
:type Uid: str
|
30556
|
+
:param _Cpu: Pod的CPU
|
30557
|
+
:type Cpu: float
|
30558
|
+
:param _Memory: Pod的内存
|
30559
|
+
:type Memory: float
|
30560
|
+
:param _Type: Pod类型:intel、amd、v100、t4、a10\*gnv4、a10\*gnv4v等。
|
30561
|
+
:type Type: str
|
30562
|
+
:param _Gpu: Pod是GPU时,表示GPU卡数
|
30563
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30564
|
+
:type Gpu: str
|
30565
|
+
:param _ChargeType: 计费类型
|
30566
|
+
PREPAID:Pod调度到包月超级节点
|
30567
|
+
POSTPAID_BY_HOUR:按量计费
|
30568
|
+
RESERVED_INSTANCE:上个周期被预留券抵扣
|
30569
|
+
SPOT:竞价实例
|
30570
|
+
TPOD:特惠实例
|
30571
|
+
:type ChargeType: str
|
30572
|
+
:param _Namespace: 命名空间
|
30573
|
+
:type Namespace: str
|
30574
|
+
:param _Name: Pod名称
|
30575
|
+
:type Name: str
|
30576
|
+
"""
|
30577
|
+
self._StartTime = None
|
30578
|
+
self._Uid = None
|
30579
|
+
self._Cpu = None
|
30580
|
+
self._Memory = None
|
30581
|
+
self._Type = None
|
30582
|
+
self._Gpu = None
|
30583
|
+
self._ChargeType = None
|
30584
|
+
self._Namespace = None
|
30585
|
+
self._Name = None
|
30586
|
+
|
30587
|
+
@property
|
30588
|
+
def StartTime(self):
|
30589
|
+
return self._StartTime
|
30590
|
+
|
30591
|
+
@StartTime.setter
|
30592
|
+
def StartTime(self, StartTime):
|
30593
|
+
self._StartTime = StartTime
|
30594
|
+
|
30595
|
+
@property
|
30596
|
+
def Uid(self):
|
30597
|
+
return self._Uid
|
30598
|
+
|
30599
|
+
@Uid.setter
|
30600
|
+
def Uid(self, Uid):
|
30601
|
+
self._Uid = Uid
|
30602
|
+
|
30603
|
+
@property
|
30604
|
+
def Cpu(self):
|
30605
|
+
return self._Cpu
|
30606
|
+
|
30607
|
+
@Cpu.setter
|
30608
|
+
def Cpu(self, Cpu):
|
30609
|
+
self._Cpu = Cpu
|
30610
|
+
|
30611
|
+
@property
|
30612
|
+
def Memory(self):
|
30613
|
+
return self._Memory
|
30614
|
+
|
30615
|
+
@Memory.setter
|
30616
|
+
def Memory(self, Memory):
|
30617
|
+
self._Memory = Memory
|
30618
|
+
|
30619
|
+
@property
|
30620
|
+
def Type(self):
|
30621
|
+
return self._Type
|
30622
|
+
|
30623
|
+
@Type.setter
|
30624
|
+
def Type(self, Type):
|
30625
|
+
self._Type = Type
|
30626
|
+
|
30627
|
+
@property
|
30628
|
+
def Gpu(self):
|
30629
|
+
return self._Gpu
|
30630
|
+
|
30631
|
+
@Gpu.setter
|
30632
|
+
def Gpu(self, Gpu):
|
30633
|
+
self._Gpu = Gpu
|
30634
|
+
|
30635
|
+
@property
|
30636
|
+
def ChargeType(self):
|
30637
|
+
return self._ChargeType
|
30638
|
+
|
30639
|
+
@ChargeType.setter
|
30640
|
+
def ChargeType(self, ChargeType):
|
30641
|
+
self._ChargeType = ChargeType
|
30642
|
+
|
30643
|
+
@property
|
30644
|
+
def Namespace(self):
|
30645
|
+
return self._Namespace
|
30646
|
+
|
30647
|
+
@Namespace.setter
|
30648
|
+
def Namespace(self, Namespace):
|
30649
|
+
self._Namespace = Namespace
|
30650
|
+
|
30651
|
+
@property
|
30652
|
+
def Name(self):
|
30653
|
+
return self._Name
|
30654
|
+
|
30655
|
+
@Name.setter
|
30656
|
+
def Name(self, Name):
|
30657
|
+
self._Name = Name
|
30658
|
+
|
30659
|
+
|
30660
|
+
def _deserialize(self, params):
|
30661
|
+
self._StartTime = params.get("StartTime")
|
30662
|
+
self._Uid = params.get("Uid")
|
30663
|
+
self._Cpu = params.get("Cpu")
|
30664
|
+
self._Memory = params.get("Memory")
|
30665
|
+
self._Type = params.get("Type")
|
30666
|
+
self._Gpu = params.get("Gpu")
|
30667
|
+
self._ChargeType = params.get("ChargeType")
|
30668
|
+
self._Namespace = params.get("Namespace")
|
30669
|
+
self._Name = params.get("Name")
|
30670
|
+
memeber_set = set(params.keys())
|
30671
|
+
for name, value in vars(self).items():
|
30672
|
+
property_name = name[1:]
|
30673
|
+
if property_name in memeber_set:
|
30674
|
+
memeber_set.remove(property_name)
|
30675
|
+
if len(memeber_set) > 0:
|
30676
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
30677
|
+
|
30678
|
+
|
30679
|
+
|
30421
30680
|
class PodDeductionRate(AbstractModel):
|
30422
30681
|
"""可被预留券抵扣的 Pod 某种规格的抵扣率
|
30423
30682
|
|
@@ -38275,7 +38534,7 @@ class UpdateImageCacheRequest(AbstractModel):
|
|
38275
38534
|
|
38276
38535
|
def __init__(self):
|
38277
38536
|
r"""
|
38278
|
-
:param _ImageCacheId: 镜像缓存
|
38537
|
+
:param _ImageCacheId: 镜像缓存ID
|
38279
38538
|
:type ImageCacheId: str
|
38280
38539
|
:param _ImageCacheName: 镜像缓存名称
|
38281
38540
|
:type ImageCacheName: str
|
@@ -2811,6 +2811,29 @@ class TkeClient(AbstractClient):
|
|
2811
2811
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2812
2812
|
|
2813
2813
|
|
2814
|
+
def DescribePodChargeInfo(self, request):
|
2815
|
+
"""查询正在运行中Pod的计费信息。可以通过 Namespace 和 Name 来查询某个 Pod 的信息,也可以通过 Pod 的 Uid 批量查询。
|
2816
|
+
|
2817
|
+
:param request: Request instance for DescribePodChargeInfo.
|
2818
|
+
:type request: :class:`tencentcloud.tke.v20180525.models.DescribePodChargeInfoRequest`
|
2819
|
+
:rtype: :class:`tencentcloud.tke.v20180525.models.DescribePodChargeInfoResponse`
|
2820
|
+
|
2821
|
+
"""
|
2822
|
+
try:
|
2823
|
+
params = request._serialize()
|
2824
|
+
headers = request.headers
|
2825
|
+
body = self.call("DescribePodChargeInfo", params, headers=headers)
|
2826
|
+
response = json.loads(body)
|
2827
|
+
model = models.DescribePodChargeInfoResponse()
|
2828
|
+
model._deserialize(response["Response"])
|
2829
|
+
return model
|
2830
|
+
except Exception as e:
|
2831
|
+
if isinstance(e, TencentCloudSDKException):
|
2832
|
+
raise
|
2833
|
+
else:
|
2834
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2835
|
+
|
2836
|
+
|
2814
2837
|
def DescribePodDeductionRate(self, request):
|
2815
2838
|
"""查询各个规格的 Pod 的抵扣率
|
2816
2839
|
|