tencentcloud-sdk-python 3.0.1291__py2.py3-none-any.whl → 3.0.1293__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/apm_client.py +6 -6
- tencentcloud/apm/v20210622/errorcodes.py +6 -3
- tencentcloud/apm/v20210622/models.py +143 -295
- tencentcloud/autoscaling/v20180419/models.py +21 -2
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/bh/v20230418/models.py +15 -0
- tencentcloud/billing/v20180709/models.py +30 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +8 -468
- tencentcloud/cdwdoris/v20211228/models.py +64 -0
- tencentcloud/cfg/v20210820/models.py +15 -0
- tencentcloud/cfs/v20190719/errorcodes.py +6 -3
- tencentcloud/ckafka/v20190819/models.py +45 -0
- tencentcloud/clb/v20180317/models.py +32 -0
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +742 -25
- tencentcloud/cmq/v20190304/cmq_client.py +30 -10
- tencentcloud/cmq/v20190304/models.py +106 -106
- tencentcloud/cvm/v20170312/cvm_client.py +0 -115
- tencentcloud/cvm/v20170312/errorcodes.py +3 -9
- tencentcloud/cvm/v20170312/models.py +7379 -8874
- tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- tencentcloud/cwp/v20180228/models.py +2 -51
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +3 -3
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +8 -32
- tencentcloud/dnspod/v20210323/models.py +37 -37
- tencentcloud/dts/v20180330/models.py +2 -2
- tencentcloud/dts/v20211206/models.py +17 -0
- tencentcloud/emr/v20190103/emr_client.py +207 -0
- tencentcloud/emr/v20190103/errorcodes.py +15 -0
- tencentcloud/emr/v20190103/models.py +2175 -248
- tencentcloud/ess/v20201111/models.py +99 -20
- tencentcloud/essbasic/v20210526/models.py +185 -20
- tencentcloud/faceid/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/errorcodes.py +15 -0
- tencentcloud/iai/v20200303/iai_client.py +28 -0
- tencentcloud/iai/v20200303/models.py +203 -0
- tencentcloud/iotexplorer/v20190423/models.py +15 -0
- tencentcloud/keewidb/v20220308/models.py +2 -2
- tencentcloud/live/v20180801/models.py +111 -56
- tencentcloud/mna/v20210119/mna_client.py +9 -3
- tencentcloud/mna/v20210119/models.py +2 -2
- tencentcloud/mps/v20190612/models.py +75 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +3 -0
- tencentcloud/oceanus/v20190422/models.py +571 -2
- tencentcloud/ocr/v20181119/models.py +736 -8
- tencentcloud/ocr/v20181119/ocr_client.py +49 -3
- tencentcloud/sqlserver/v20180328/models.py +258 -92
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +1 -1
- tencentcloud/ssl/v20191205/models.py +6 -6
- tencentcloud/tbaas/v20180416/tbaas_client.py +2 -2
- tencentcloud/tcr/v20190924/models.py +15 -0
- tencentcloud/tdmq/v20200217/models.py +573 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +69 -0
- tencentcloud/tem/v20210701/models.py +2 -2
- tencentcloud/tem/v20210701/tem_client.py +3 -1
- tencentcloud/teo/v20220901/models.py +2 -0
- tencentcloud/teo/v20220901/teo_client.py +1 -1
- tencentcloud/thpc/v20211109/models.py +10 -12
- tencentcloud/thpc/v20220401/models.py +30 -36
- tencentcloud/thpc/v20230321/models.py +12 -14
- tencentcloud/tke/v20180525/models.py +21 -6
- tencentcloud/trocket/v20230308/models.py +396 -0
- tencentcloud/trocket/v20230308/trocket_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +17 -0
- tencentcloud/tse/v20201207/models.py +100 -0
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/vpc/v20170312/models.py +545 -88
- tencentcloud/vpc/v20170312/vpc_client.py +69 -0
- tencentcloud/waf/v20180125/models.py +546 -4
- tencentcloud/waf/v20180125/waf_client.py +73 -2
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/RECORD +79 -79
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/top_level.txt +0 -0
@@ -27,7 +27,9 @@ class CmqClient(AbstractClient):
|
|
27
27
|
|
28
28
|
|
29
29
|
def ClearQueue(self, request):
|
30
|
-
"""
|
30
|
+
"""下线老cmq云API 3.0 无调用量接口
|
31
|
+
|
32
|
+
清除queue中的所有消息
|
31
33
|
|
32
34
|
:param request: Request instance for ClearQueue.
|
33
35
|
:type request: :class:`tencentcloud.cmq.v20190304.models.ClearQueueRequest`
|
@@ -50,7 +52,9 @@ class CmqClient(AbstractClient):
|
|
50
52
|
|
51
53
|
|
52
54
|
def ClearSubscriptionFilterTags(self, request):
|
53
|
-
"""
|
55
|
+
"""下线老cmq云API 3.0 无调用量接口
|
56
|
+
|
57
|
+
清空订阅者消息标签
|
54
58
|
|
55
59
|
:param request: Request instance for ClearSubscriptionFilterTags.
|
56
60
|
:type request: :class:`tencentcloud.cmq.v20190304.models.ClearSubscriptionFilterTagsRequest`
|
@@ -96,7 +100,9 @@ class CmqClient(AbstractClient):
|
|
96
100
|
|
97
101
|
|
98
102
|
def CreateSubscribe(self, request):
|
99
|
-
"""
|
103
|
+
"""下线老cmq云API 3.0 无调用量接口
|
104
|
+
|
105
|
+
创建订阅接口
|
100
106
|
|
101
107
|
:param request: Request instance for CreateSubscribe.
|
102
108
|
:type request: :class:`tencentcloud.cmq.v20190304.models.CreateSubscribeRequest`
|
@@ -165,7 +171,9 @@ class CmqClient(AbstractClient):
|
|
165
171
|
|
166
172
|
|
167
173
|
def DeleteSubscribe(self, request):
|
168
|
-
"""
|
174
|
+
"""下线老cmq云API 3.0 无调用量接口
|
175
|
+
|
176
|
+
删除订阅
|
169
177
|
|
170
178
|
:param request: Request instance for DeleteSubscribe.
|
171
179
|
:type request: :class:`tencentcloud.cmq.v20190304.models.DeleteSubscribeRequest`
|
@@ -188,7 +196,9 @@ class CmqClient(AbstractClient):
|
|
188
196
|
|
189
197
|
|
190
198
|
def DeleteTopic(self, request):
|
191
|
-
"""
|
199
|
+
"""下线老cmq云API 3.0 无调用量接口
|
200
|
+
|
201
|
+
删除主题
|
192
202
|
|
193
203
|
:param request: Request instance for DeleteTopic.
|
194
204
|
:type request: :class:`tencentcloud.cmq.v20190304.models.DeleteTopicRequest`
|
@@ -211,7 +221,9 @@ class CmqClient(AbstractClient):
|
|
211
221
|
|
212
222
|
|
213
223
|
def DescribeDeadLetterSourceQueues(self, request):
|
214
|
-
"""
|
224
|
+
"""下线老cmq云API 3.0 无调用量接口
|
225
|
+
|
226
|
+
枚举死信队列源队列
|
215
227
|
|
216
228
|
:param request: Request instance for DescribeDeadLetterSourceQueues.
|
217
229
|
:type request: :class:`tencentcloud.cmq.v20190304.models.DescribeDeadLetterSourceQueuesRequest`
|
@@ -326,7 +338,9 @@ class CmqClient(AbstractClient):
|
|
326
338
|
|
327
339
|
|
328
340
|
def ModifySubscriptionAttribute(self, request):
|
329
|
-
"""
|
341
|
+
"""下线老cmq云API 3.0 无调用量接口
|
342
|
+
|
343
|
+
修改订阅属性
|
330
344
|
|
331
345
|
:param request: Request instance for ModifySubscriptionAttribute.
|
332
346
|
:type request: :class:`tencentcloud.cmq.v20190304.models.ModifySubscriptionAttributeRequest`
|
@@ -349,7 +363,9 @@ class CmqClient(AbstractClient):
|
|
349
363
|
|
350
364
|
|
351
365
|
def ModifyTopicAttribute(self, request):
|
352
|
-
"""
|
366
|
+
"""下线老cmq云API 3.0 无调用量接口
|
367
|
+
|
368
|
+
修改主题属性
|
353
369
|
|
354
370
|
:param request: Request instance for ModifyTopicAttribute.
|
355
371
|
:type request: :class:`tencentcloud.cmq.v20190304.models.ModifyTopicAttributeRequest`
|
@@ -372,7 +388,9 @@ class CmqClient(AbstractClient):
|
|
372
388
|
|
373
389
|
|
374
390
|
def RewindQueue(self, request):
|
375
|
-
"""
|
391
|
+
"""下线老cmq云API 3.0 无调用量接口
|
392
|
+
|
393
|
+
回溯队列
|
376
394
|
|
377
395
|
:param request: Request instance for RewindQueue.
|
378
396
|
:type request: :class:`tencentcloud.cmq.v20190304.models.RewindQueueRequest`
|
@@ -395,7 +413,9 @@ class CmqClient(AbstractClient):
|
|
395
413
|
|
396
414
|
|
397
415
|
def UnbindDeadLetter(self, request):
|
398
|
-
"""
|
416
|
+
"""下线老cmq云API 3.0 无调用量接口
|
417
|
+
|
418
|
+
解绑死信队列
|
399
419
|
|
400
420
|
:param request: Request instance for UnbindDeadLetter.
|
401
421
|
:type request: :class:`tencentcloud.cmq.v20190304.models.UnbindDeadLetterRequest`
|
@@ -2890,83 +2890,95 @@ class Subscription(AbstractModel):
|
|
2890
2890
|
|
2891
2891
|
def __init__(self):
|
2892
2892
|
r"""
|
2893
|
-
:param _SubscriptionName: 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
2894
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2895
|
-
:type SubscriptionName: str
|
2896
|
-
:param _SubscriptionId: 订阅 ID。订阅 ID 在拉取监控数据时会用到。
|
2897
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2898
|
-
:type SubscriptionId: str
|
2899
|
-
:param _TopicOwner: 订阅拥有者的 APPID。
|
2900
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2901
|
-
:type TopicOwner: int
|
2902
2893
|
:param _MsgCount: 该订阅待投递的消息数。
|
2903
2894
|
注意:此字段可能返回 null,表示取不到有效值。
|
2904
2895
|
:type MsgCount: int
|
2905
|
-
:param _LastModifyTime: 最后一次修改订阅属性的时间。返回 Unix 时间戳,精确到秒。
|
2906
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2907
|
-
:type LastModifyTime: int
|
2908
|
-
:param _CreateTime: 订阅的创建时间。返回 Unix 时间戳,精确到秒。
|
2909
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2910
|
-
:type CreateTime: int
|
2911
2896
|
:param _BindingKey: 表示订阅接收消息的过滤策略。
|
2912
2897
|
注意:此字段可能返回 null,表示取不到有效值。
|
2913
2898
|
:type BindingKey: list of str
|
2914
2899
|
:param _Endpoint: 接收通知的 endpoint,根据协议 protocol 区分:对于 HTTP,endpoint 必须以http://开头,host 可以是域名或 IP;对于 queue,则填 queueName。
|
2915
2900
|
注意:此字段可能返回 null,表示取不到有效值。
|
2916
2901
|
:type Endpoint: str
|
2902
|
+
:param _TopicOwner: 订阅拥有者的 APPID。
|
2903
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2904
|
+
:type TopicOwner: int
|
2905
|
+
:param _NotifyStrategy: 向 endpoint 推送消息出现错误时,CMQ 推送服务器的重试策略。取值有:
|
2906
|
+
(1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息;
|
2907
|
+
(2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始 1s,后面是 2s,4s,8s...由于 Topic 消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是 EXPONENTIAL_DECAY_RETRY。
|
2908
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2909
|
+
:type NotifyStrategy: str
|
2910
|
+
:param _NotifyContentFormat: 推送内容的格式。取值:(1)JSON;(2)SIMPLIFIED,即 raw 格式。如果 protocol 是 queue,则取值必须为 SIMPLIFIED。如果 protocol 是 HTTP,两个值均可以,默认值是 JSON。
|
2911
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2912
|
+
:type NotifyContentFormat: str
|
2913
|
+
:param _LastModifyTime: 最后一次修改订阅属性的时间。返回 Unix 时间戳,精确到秒。
|
2914
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2915
|
+
:type LastModifyTime: int
|
2917
2916
|
:param _FilterTags: 描述用户创建订阅时选择的过滤策略:
|
2918
2917
|
filterType = 1表示用户使用 filterTag 标签过滤
|
2919
2918
|
filterType = 2表示用户使用 bindingKey 过滤。
|
2920
2919
|
注意:此字段可能返回 null,表示取不到有效值。
|
2921
2920
|
:type FilterTags: list of str
|
2921
|
+
:param _SubscriptionName: 订阅名字,在单个地域同一账号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
2922
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2923
|
+
:type SubscriptionName: str
|
2922
2924
|
:param _Protocol: 订阅的协议,目前支持两种协议:HTTP、queue。使用 HTTP 协议,用户需自己搭建接受消息的 Web Server。使用 queue,消息会自动推送到 CMQ queue,用户可以并发地拉取消息。
|
2923
2925
|
注意:此字段可能返回 null,表示取不到有效值。
|
2924
2926
|
:type Protocol: str
|
2925
|
-
:param
|
2926
|
-
(1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息;
|
2927
|
-
(2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始 1s,后面是 2s,4s,8s...由于 Topic 消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是 EXPONENTIAL_DECAY_RETRY。
|
2927
|
+
:param _SubscriptionId: 订阅 ID。订阅 ID 在拉取监控数据时会用到。
|
2928
2928
|
注意:此字段可能返回 null,表示取不到有效值。
|
2929
|
-
:type
|
2930
|
-
:param
|
2929
|
+
:type SubscriptionId: str
|
2930
|
+
:param _CreateTime: 订阅的创建时间。返回 Unix 时间戳,精确到秒。
|
2931
2931
|
注意:此字段可能返回 null,表示取不到有效值。
|
2932
|
-
:type
|
2932
|
+
:type CreateTime: int
|
2933
2933
|
"""
|
2934
|
-
self._SubscriptionName = None
|
2935
|
-
self._SubscriptionId = None
|
2936
|
-
self._TopicOwner = None
|
2937
2934
|
self._MsgCount = None
|
2938
|
-
self._LastModifyTime = None
|
2939
|
-
self._CreateTime = None
|
2940
2935
|
self._BindingKey = None
|
2941
2936
|
self._Endpoint = None
|
2942
|
-
self.
|
2943
|
-
self._Protocol = None
|
2937
|
+
self._TopicOwner = None
|
2944
2938
|
self._NotifyStrategy = None
|
2945
2939
|
self._NotifyContentFormat = None
|
2940
|
+
self._LastModifyTime = None
|
2941
|
+
self._FilterTags = None
|
2942
|
+
self._SubscriptionName = None
|
2943
|
+
self._Protocol = None
|
2944
|
+
self._SubscriptionId = None
|
2945
|
+
self._CreateTime = None
|
2946
2946
|
|
2947
2947
|
@property
|
2948
|
-
def
|
2949
|
-
"""
|
2948
|
+
def MsgCount(self):
|
2949
|
+
"""该订阅待投递的消息数。
|
2950
2950
|
注意:此字段可能返回 null,表示取不到有效值。
|
2951
|
-
:rtype:
|
2951
|
+
:rtype: int
|
2952
2952
|
"""
|
2953
|
-
return self.
|
2953
|
+
return self._MsgCount
|
2954
2954
|
|
2955
|
-
@
|
2956
|
-
def
|
2957
|
-
self.
|
2955
|
+
@MsgCount.setter
|
2956
|
+
def MsgCount(self, MsgCount):
|
2957
|
+
self._MsgCount = MsgCount
|
2958
2958
|
|
2959
2959
|
@property
|
2960
|
-
def
|
2961
|
-
"""
|
2960
|
+
def BindingKey(self):
|
2961
|
+
"""表示订阅接收消息的过滤策略。
|
2962
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2963
|
+
:rtype: list of str
|
2964
|
+
"""
|
2965
|
+
return self._BindingKey
|
2966
|
+
|
2967
|
+
@BindingKey.setter
|
2968
|
+
def BindingKey(self, BindingKey):
|
2969
|
+
self._BindingKey = BindingKey
|
2970
|
+
|
2971
|
+
@property
|
2972
|
+
def Endpoint(self):
|
2973
|
+
"""接收通知的 endpoint,根据协议 protocol 区分:对于 HTTP,endpoint 必须以http://开头,host 可以是域名或 IP;对于 queue,则填 queueName。
|
2962
2974
|
注意:此字段可能返回 null,表示取不到有效值。
|
2963
2975
|
:rtype: str
|
2964
2976
|
"""
|
2965
|
-
return self.
|
2977
|
+
return self._Endpoint
|
2966
2978
|
|
2967
|
-
@
|
2968
|
-
def
|
2969
|
-
self.
|
2979
|
+
@Endpoint.setter
|
2980
|
+
def Endpoint(self, Endpoint):
|
2981
|
+
self._Endpoint = Endpoint
|
2970
2982
|
|
2971
2983
|
@property
|
2972
2984
|
def TopicOwner(self):
|
@@ -2981,16 +2993,30 @@ filterType = 2表示用户使用 bindingKey 过滤。
|
|
2981
2993
|
self._TopicOwner = TopicOwner
|
2982
2994
|
|
2983
2995
|
@property
|
2984
|
-
def
|
2985
|
-
"""
|
2996
|
+
def NotifyStrategy(self):
|
2997
|
+
"""向 endpoint 推送消息出现错误时,CMQ 推送服务器的重试策略。取值有:
|
2998
|
+
(1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息;
|
2999
|
+
(2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始 1s,后面是 2s,4s,8s...由于 Topic 消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是 EXPONENTIAL_DECAY_RETRY。
|
2986
3000
|
注意:此字段可能返回 null,表示取不到有效值。
|
2987
|
-
:rtype:
|
3001
|
+
:rtype: str
|
2988
3002
|
"""
|
2989
|
-
return self.
|
3003
|
+
return self._NotifyStrategy
|
2990
3004
|
|
2991
|
-
@
|
2992
|
-
def
|
2993
|
-
self.
|
3005
|
+
@NotifyStrategy.setter
|
3006
|
+
def NotifyStrategy(self, NotifyStrategy):
|
3007
|
+
self._NotifyStrategy = NotifyStrategy
|
3008
|
+
|
3009
|
+
@property
|
3010
|
+
def NotifyContentFormat(self):
|
3011
|
+
"""推送内容的格式。取值:(1)JSON;(2)SIMPLIFIED,即 raw 格式。如果 protocol 是 queue,则取值必须为 SIMPLIFIED。如果 protocol 是 HTTP,两个值均可以,默认值是 JSON。
|
3012
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3013
|
+
:rtype: str
|
3014
|
+
"""
|
3015
|
+
return self._NotifyContentFormat
|
3016
|
+
|
3017
|
+
@NotifyContentFormat.setter
|
3018
|
+
def NotifyContentFormat(self, NotifyContentFormat):
|
3019
|
+
self._NotifyContentFormat = NotifyContentFormat
|
2994
3020
|
|
2995
3021
|
@property
|
2996
3022
|
def LastModifyTime(self):
|
@@ -3004,42 +3030,6 @@ filterType = 2表示用户使用 bindingKey 过滤。
|
|
3004
3030
|
def LastModifyTime(self, LastModifyTime):
|
3005
3031
|
self._LastModifyTime = LastModifyTime
|
3006
3032
|
|
3007
|
-
@property
|
3008
|
-
def CreateTime(self):
|
3009
|
-
"""订阅的创建时间。返回 Unix 时间戳,精确到秒。
|
3010
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3011
|
-
:rtype: int
|
3012
|
-
"""
|
3013
|
-
return self._CreateTime
|
3014
|
-
|
3015
|
-
@CreateTime.setter
|
3016
|
-
def CreateTime(self, CreateTime):
|
3017
|
-
self._CreateTime = CreateTime
|
3018
|
-
|
3019
|
-
@property
|
3020
|
-
def BindingKey(self):
|
3021
|
-
"""表示订阅接收消息的过滤策略。
|
3022
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3023
|
-
:rtype: list of str
|
3024
|
-
"""
|
3025
|
-
return self._BindingKey
|
3026
|
-
|
3027
|
-
@BindingKey.setter
|
3028
|
-
def BindingKey(self, BindingKey):
|
3029
|
-
self._BindingKey = BindingKey
|
3030
|
-
|
3031
|
-
@property
|
3032
|
-
def Endpoint(self):
|
3033
|
-
"""接收通知的 endpoint,根据协议 protocol 区分:对于 HTTP,endpoint 必须以http://开头,host 可以是域名或 IP;对于 queue,则填 queueName。
|
3034
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3035
|
-
:rtype: str
|
3036
|
-
"""
|
3037
|
-
return self._Endpoint
|
3038
|
-
|
3039
|
-
@Endpoint.setter
|
3040
|
-
def Endpoint(self, Endpoint):
|
3041
|
-
self._Endpoint = Endpoint
|
3042
|
-
|
3043
3033
|
@property
|
3044
3034
|
def FilterTags(self):
|
3045
3035
|
"""描述用户创建订阅时选择的过滤策略:
|
@@ -3054,6 +3044,18 @@ filterType = 2表示用户使用 bindingKey 过滤。
|
|
3054
3044
|
def FilterTags(self, FilterTags):
|
3055
3045
|
self._FilterTags = FilterTags
|
3056
3046
|
|
3047
|
+
@property
|
3048
|
+
def SubscriptionName(self):
|
3049
|
+
"""订阅名字,在单个地域同一账号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
3050
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3051
|
+
:rtype: str
|
3052
|
+
"""
|
3053
|
+
return self._SubscriptionName
|
3054
|
+
|
3055
|
+
@SubscriptionName.setter
|
3056
|
+
def SubscriptionName(self, SubscriptionName):
|
3057
|
+
self._SubscriptionName = SubscriptionName
|
3058
|
+
|
3057
3059
|
@property
|
3058
3060
|
def Protocol(self):
|
3059
3061
|
"""订阅的协议,目前支持两种协议:HTTP、queue。使用 HTTP 协议,用户需自己搭建接受消息的 Web Server。使用 queue,消息会自动推送到 CMQ queue,用户可以并发地拉取消息。
|
@@ -3067,45 +3069,43 @@ filterType = 2表示用户使用 bindingKey 过滤。
|
|
3067
3069
|
self._Protocol = Protocol
|
3068
3070
|
|
3069
3071
|
@property
|
3070
|
-
def
|
3071
|
-
"""
|
3072
|
-
(1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息;
|
3073
|
-
(2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始 1s,后面是 2s,4s,8s...由于 Topic 消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是 EXPONENTIAL_DECAY_RETRY。
|
3072
|
+
def SubscriptionId(self):
|
3073
|
+
"""订阅 ID。订阅 ID 在拉取监控数据时会用到。
|
3074
3074
|
注意:此字段可能返回 null,表示取不到有效值。
|
3075
3075
|
:rtype: str
|
3076
3076
|
"""
|
3077
|
-
return self.
|
3077
|
+
return self._SubscriptionId
|
3078
3078
|
|
3079
|
-
@
|
3080
|
-
def
|
3081
|
-
self.
|
3079
|
+
@SubscriptionId.setter
|
3080
|
+
def SubscriptionId(self, SubscriptionId):
|
3081
|
+
self._SubscriptionId = SubscriptionId
|
3082
3082
|
|
3083
3083
|
@property
|
3084
|
-
def
|
3085
|
-
"""
|
3084
|
+
def CreateTime(self):
|
3085
|
+
"""订阅的创建时间。返回 Unix 时间戳,精确到秒。
|
3086
3086
|
注意:此字段可能返回 null,表示取不到有效值。
|
3087
|
-
:rtype:
|
3087
|
+
:rtype: int
|
3088
3088
|
"""
|
3089
|
-
return self.
|
3089
|
+
return self._CreateTime
|
3090
3090
|
|
3091
|
-
@
|
3092
|
-
def
|
3093
|
-
self.
|
3091
|
+
@CreateTime.setter
|
3092
|
+
def CreateTime(self, CreateTime):
|
3093
|
+
self._CreateTime = CreateTime
|
3094
3094
|
|
3095
3095
|
|
3096
3096
|
def _deserialize(self, params):
|
3097
|
-
self._SubscriptionName = params.get("SubscriptionName")
|
3098
|
-
self._SubscriptionId = params.get("SubscriptionId")
|
3099
|
-
self._TopicOwner = params.get("TopicOwner")
|
3100
3097
|
self._MsgCount = params.get("MsgCount")
|
3101
|
-
self._LastModifyTime = params.get("LastModifyTime")
|
3102
|
-
self._CreateTime = params.get("CreateTime")
|
3103
3098
|
self._BindingKey = params.get("BindingKey")
|
3104
3099
|
self._Endpoint = params.get("Endpoint")
|
3105
|
-
self.
|
3106
|
-
self._Protocol = params.get("Protocol")
|
3100
|
+
self._TopicOwner = params.get("TopicOwner")
|
3107
3101
|
self._NotifyStrategy = params.get("NotifyStrategy")
|
3108
3102
|
self._NotifyContentFormat = params.get("NotifyContentFormat")
|
3103
|
+
self._LastModifyTime = params.get("LastModifyTime")
|
3104
|
+
self._FilterTags = params.get("FilterTags")
|
3105
|
+
self._SubscriptionName = params.get("SubscriptionName")
|
3106
|
+
self._Protocol = params.get("Protocol")
|
3107
|
+
self._SubscriptionId = params.get("SubscriptionId")
|
3108
|
+
self._CreateTime = params.get("CreateTime")
|
3109
3109
|
memeber_set = set(params.keys())
|
3110
3110
|
for name, value in vars(self).items():
|
3111
3111
|
property_name = name[1:]
|
@@ -1124,75 +1124,6 @@ class CvmClient(AbstractClient):
|
|
1124
1124
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1125
1125
|
|
1126
1126
|
|
1127
|
-
def DescribeReservedInstances(self, request):
|
1128
|
-
"""本接口(DescribeReservedInstances)可提供列出用户已购买的预留实例
|
1129
|
-
|
1130
|
-
:param request: Request instance for DescribeReservedInstances.
|
1131
|
-
:type request: :class:`tencentcloud.cvm.v20170312.models.DescribeReservedInstancesRequest`
|
1132
|
-
:rtype: :class:`tencentcloud.cvm.v20170312.models.DescribeReservedInstancesResponse`
|
1133
|
-
|
1134
|
-
"""
|
1135
|
-
try:
|
1136
|
-
params = request._serialize()
|
1137
|
-
headers = request.headers
|
1138
|
-
body = self.call("DescribeReservedInstances", params, headers=headers)
|
1139
|
-
response = json.loads(body)
|
1140
|
-
model = models.DescribeReservedInstancesResponse()
|
1141
|
-
model._deserialize(response["Response"])
|
1142
|
-
return model
|
1143
|
-
except Exception as e:
|
1144
|
-
if isinstance(e, TencentCloudSDKException):
|
1145
|
-
raise
|
1146
|
-
else:
|
1147
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1148
|
-
|
1149
|
-
|
1150
|
-
def DescribeReservedInstancesConfigInfos(self, request):
|
1151
|
-
"""本接口(DescribeReservedInstancesConfigInfos)供用户列出可购买预留实例机型配置。预留实例当前只针对国际站白名单用户开放。
|
1152
|
-
|
1153
|
-
:param request: Request instance for DescribeReservedInstancesConfigInfos.
|
1154
|
-
:type request: :class:`tencentcloud.cvm.v20170312.models.DescribeReservedInstancesConfigInfosRequest`
|
1155
|
-
:rtype: :class:`tencentcloud.cvm.v20170312.models.DescribeReservedInstancesConfigInfosResponse`
|
1156
|
-
|
1157
|
-
"""
|
1158
|
-
try:
|
1159
|
-
params = request._serialize()
|
1160
|
-
headers = request.headers
|
1161
|
-
body = self.call("DescribeReservedInstancesConfigInfos", params, headers=headers)
|
1162
|
-
response = json.loads(body)
|
1163
|
-
model = models.DescribeReservedInstancesConfigInfosResponse()
|
1164
|
-
model._deserialize(response["Response"])
|
1165
|
-
return model
|
1166
|
-
except Exception as e:
|
1167
|
-
if isinstance(e, TencentCloudSDKException):
|
1168
|
-
raise
|
1169
|
-
else:
|
1170
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1171
|
-
|
1172
|
-
|
1173
|
-
def DescribeReservedInstancesOfferings(self, request):
|
1174
|
-
"""本接口(DescribeReservedInstancesOfferings)供用户列出可购买的预留实例配置
|
1175
|
-
|
1176
|
-
:param request: Request instance for DescribeReservedInstancesOfferings.
|
1177
|
-
:type request: :class:`tencentcloud.cvm.v20170312.models.DescribeReservedInstancesOfferingsRequest`
|
1178
|
-
:rtype: :class:`tencentcloud.cvm.v20170312.models.DescribeReservedInstancesOfferingsResponse`
|
1179
|
-
|
1180
|
-
"""
|
1181
|
-
try:
|
1182
|
-
params = request._serialize()
|
1183
|
-
headers = request.headers
|
1184
|
-
body = self.call("DescribeReservedInstancesOfferings", params, headers=headers)
|
1185
|
-
response = json.loads(body)
|
1186
|
-
model = models.DescribeReservedInstancesOfferingsResponse()
|
1187
|
-
model._deserialize(response["Response"])
|
1188
|
-
return model
|
1189
|
-
except Exception as e:
|
1190
|
-
if isinstance(e, TencentCloudSDKException):
|
1191
|
-
raise
|
1192
|
-
else:
|
1193
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1194
|
-
|
1195
|
-
|
1196
1127
|
def DescribeTaskInfo(self, request):
|
1197
1128
|
"""本接口 (DescribeTaskInfo) 用于查询云服务器维修任务列表及详细信息。
|
1198
1129
|
|
@@ -1459,29 +1390,6 @@ class CvmClient(AbstractClient):
|
|
1459
1390
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1460
1391
|
|
1461
1392
|
|
1462
|
-
def InquirePricePurchaseReservedInstancesOffering(self, request):
|
1463
|
-
"""本接口(InquirePricePurchaseReservedInstancesOffering)用于创建预留实例询价。本接口仅允许针对购买限制范围内的预留实例配置进行询价。预留实例当前只针对国际站白名单用户开放。
|
1464
|
-
|
1465
|
-
:param request: Request instance for InquirePricePurchaseReservedInstancesOffering.
|
1466
|
-
:type request: :class:`tencentcloud.cvm.v20170312.models.InquirePricePurchaseReservedInstancesOfferingRequest`
|
1467
|
-
:rtype: :class:`tencentcloud.cvm.v20170312.models.InquirePricePurchaseReservedInstancesOfferingResponse`
|
1468
|
-
|
1469
|
-
"""
|
1470
|
-
try:
|
1471
|
-
params = request._serialize()
|
1472
|
-
headers = request.headers
|
1473
|
-
body = self.call("InquirePricePurchaseReservedInstancesOffering", params, headers=headers)
|
1474
|
-
response = json.loads(body)
|
1475
|
-
model = models.InquirePricePurchaseReservedInstancesOfferingResponse()
|
1476
|
-
model._deserialize(response["Response"])
|
1477
|
-
return model
|
1478
|
-
except Exception as e:
|
1479
|
-
if isinstance(e, TencentCloudSDKException):
|
1480
|
-
raise
|
1481
|
-
else:
|
1482
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1483
|
-
|
1484
|
-
|
1485
1393
|
def InquiryPriceModifyInstancesChargeType(self, request):
|
1486
1394
|
"""本接口 (InquiryPriceModifyInstancesChargeType) 用于切换实例的计费模式询价。
|
1487
1395
|
|
@@ -2103,29 +2011,6 @@ class CvmClient(AbstractClient):
|
|
2103
2011
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2104
2012
|
|
2105
2013
|
|
2106
|
-
def PurchaseReservedInstancesOffering(self, request):
|
2107
|
-
"""本接口(PurchaseReservedInstancesOffering)用于用户购买一个或者多个指定配置的预留实例
|
2108
|
-
|
2109
|
-
:param request: Request instance for PurchaseReservedInstancesOffering.
|
2110
|
-
:type request: :class:`tencentcloud.cvm.v20170312.models.PurchaseReservedInstancesOfferingRequest`
|
2111
|
-
:rtype: :class:`tencentcloud.cvm.v20170312.models.PurchaseReservedInstancesOfferingResponse`
|
2112
|
-
|
2113
|
-
"""
|
2114
|
-
try:
|
2115
|
-
params = request._serialize()
|
2116
|
-
headers = request.headers
|
2117
|
-
body = self.call("PurchaseReservedInstancesOffering", params, headers=headers)
|
2118
|
-
response = json.loads(body)
|
2119
|
-
model = models.PurchaseReservedInstancesOfferingResponse()
|
2120
|
-
model._deserialize(response["Response"])
|
2121
|
-
return model
|
2122
|
-
except Exception as e:
|
2123
|
-
if isinstance(e, TencentCloudSDKException):
|
2124
|
-
raise
|
2125
|
-
else:
|
2126
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2127
|
-
|
2128
|
-
|
2129
2014
|
def RebootInstances(self, request):
|
2130
2015
|
"""本接口 (RebootInstances) 用于重启实例。
|
2131
2016
|
|
@@ -905,6 +905,9 @@ UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = 'UnsupportedOperation.InstanceChargeTy
|
|
905
905
|
# 不支持混合付费模式。
|
906
906
|
UNSUPPORTEDOPERATION_INSTANCEMIXEDPRICINGMODEL = 'UnsupportedOperation.InstanceMixedPricingModel'
|
907
907
|
|
908
|
+
# 不支持混合升配和降配实例。
|
909
|
+
UNSUPPORTEDOPERATION_INSTANCEMIXEDRESETINSTANCETYPE = 'UnsupportedOperation.InstanceMixedResetInstanceType'
|
910
|
+
|
908
911
|
# 中心可用区和边缘可用区实例不能混用批量操作。
|
909
912
|
UNSUPPORTEDOPERATION_INSTANCEMIXEDZONETYPE = 'UnsupportedOperation.InstanceMixedZoneType'
|
910
913
|
|
@@ -1016,9 +1019,6 @@ UNSUPPORTEDOPERATION_INVALIDINSTANCEWITHSWAPDISK = 'UnsupportedOperation.Invalid
|
|
1016
1019
|
# 用户无权限操作当前实例。
|
1017
1020
|
UNSUPPORTEDOPERATION_INVALIDINSTANCESOWNER = 'UnsupportedOperation.InvalidInstancesOwner'
|
1018
1021
|
|
1019
|
-
# 当前操作只支持国际版用户。
|
1020
|
-
UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = 'UnsupportedOperation.InvalidPermissionNonInternationalAccount'
|
1021
|
-
|
1022
1022
|
# 指定的地域不支持加密盘。
|
1023
1023
|
UNSUPPORTEDOPERATION_INVALIDREGIONDISKENCRYPT = 'UnsupportedOperation.InvalidRegionDiskEncrypt'
|
1024
1024
|
|
@@ -1097,12 +1097,6 @@ UNSUPPORTEDOPERATION_REDHATINSTANCEUNSUPPORTED = 'UnsupportedOperation.RedHatIns
|
|
1097
1097
|
# 不支持该地域
|
1098
1098
|
UNSUPPORTEDOPERATION_REGION = 'UnsupportedOperation.Region'
|
1099
1099
|
|
1100
|
-
# 当前用户暂不支持购买预留实例计费。
|
1101
|
-
UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = 'UnsupportedOperation.ReservedInstanceInvisibleForUser'
|
1102
|
-
|
1103
|
-
# 用户预留实例计费配额已达上限。
|
1104
|
-
UNSUPPORTEDOPERATION_RESERVEDINSTANCEOUTOFQUATA = 'UnsupportedOperation.ReservedInstanceOutofQuata'
|
1105
|
-
|
1106
1100
|
# 共享镜像不支持导出。
|
1107
1101
|
UNSUPPORTEDOPERATION_SHAREDIMAGEEXPORTUNSUPPORTED = 'UnsupportedOperation.SharedImageExportUnsupported'
|
1108
1102
|
|