tencentcloud-sdk-python-rum 3.1.53__tar.gz → 3.1.54__tar.gz
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_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/setup.py +1 -1
- {tencentcloud_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/tencentcloud/rum/v20210622/errorcodes.py +0 -9
- {tencentcloud_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/tencentcloud/rum/v20210622/models.py +0 -493
- {tencentcloud_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/tencentcloud/rum/v20210622/rum_client.py +0 -46
- {tencentcloud_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/tencentcloud/rum/v20210622/rum_client_async.py +0 -36
- {tencentcloud_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/tencentcloud_sdk_python_rum.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_rum-3.1.54/tencentcloud_sdk_python_rum.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_rum-3.1.53/tencentcloud_sdk_python_rum.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/README.rst +0 -0
- {tencentcloud_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/setup.cfg +0 -0
- {tencentcloud_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/tencentcloud/rum/__init__.py +0 -0
- {tencentcloud_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/tencentcloud/rum/v20210622/__init__.py +0 -0
- {tencentcloud_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/tencentcloud_sdk_python_rum.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/tencentcloud_sdk_python_rum.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_rum-3.1.53 → tencentcloud_sdk_python_rum-3.1.54}/tencentcloud_sdk_python_rum.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-rum
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.54
|
|
4
4
|
Summary: Tencent Cloud Rum SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.54
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-rum',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.54,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Rum SDK for Python',
|
|
@@ -23,15 +23,6 @@ DRYRUNOPERATION = 'DryRunOperation'
|
|
|
23
23
|
# 操作失败。
|
|
24
24
|
FAILEDOPERATION = 'FailedOperation'
|
|
25
25
|
|
|
26
|
-
# 计费相关 - 账户余额不足。
|
|
27
|
-
FAILEDOPERATION_CHARGENOBALANCE = 'FailedOperation.ChargeNoBalance'
|
|
28
|
-
|
|
29
|
-
# 计费相关 - 账户没有付费权限。
|
|
30
|
-
FAILEDOPERATION_CHARGENOPAYRIGHT = 'FailedOperation.ChargeNoPayRight'
|
|
31
|
-
|
|
32
|
-
# 计费相关 - 计费参数无效。
|
|
33
|
-
FAILEDOPERATION_CHARGEPARAMINVALID = 'FailedOperation.ChargeParamInvalid'
|
|
34
|
-
|
|
35
26
|
# CLS调用失败
|
|
36
27
|
FAILEDOPERATION_CLSCALLFAIL = 'FailedOperation.ClsCallFail'
|
|
37
28
|
|
|
@@ -18,205 +18,6 @@ import warnings
|
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
class CreateProjectRequest(AbstractModel):
|
|
22
|
-
r"""CreateProject请求参数结构体
|
|
23
|
-
|
|
24
|
-
"""
|
|
25
|
-
|
|
26
|
-
def __init__(self):
|
|
27
|
-
r"""
|
|
28
|
-
:param _Name: 应用名称(不为空且最长为 200)
|
|
29
|
-
:type Name: str
|
|
30
|
-
:param _InstanceID: 业务系统 ID
|
|
31
|
-
:type InstanceID: str
|
|
32
|
-
:param _Rate: 项目抽样率(大于等于 0)
|
|
33
|
-
:type Rate: str
|
|
34
|
-
:param _EnableURLGroup: 是否开启聚类
|
|
35
|
-
:type EnableURLGroup: int
|
|
36
|
-
:param _Type: 项目类型("web", "mp", "android", "ios", "node", "hippy", "weex", "viola", "rn")
|
|
37
|
-
:type Type: str
|
|
38
|
-
:param _Repo: 项目对应仓库地址(可选,最长为 256)
|
|
39
|
-
:type Repo: str
|
|
40
|
-
:param _URL: 项目对应网页地址(可选,最长为 256)
|
|
41
|
-
:type URL: str
|
|
42
|
-
:param _Desc: 应用描述(可选,最长为 1000)
|
|
43
|
-
:type Desc: str
|
|
44
|
-
"""
|
|
45
|
-
self._Name = None
|
|
46
|
-
self._InstanceID = None
|
|
47
|
-
self._Rate = None
|
|
48
|
-
self._EnableURLGroup = None
|
|
49
|
-
self._Type = None
|
|
50
|
-
self._Repo = None
|
|
51
|
-
self._URL = None
|
|
52
|
-
self._Desc = None
|
|
53
|
-
|
|
54
|
-
@property
|
|
55
|
-
def Name(self):
|
|
56
|
-
r"""应用名称(不为空且最长为 200)
|
|
57
|
-
:rtype: str
|
|
58
|
-
"""
|
|
59
|
-
return self._Name
|
|
60
|
-
|
|
61
|
-
@Name.setter
|
|
62
|
-
def Name(self, Name):
|
|
63
|
-
self._Name = Name
|
|
64
|
-
|
|
65
|
-
@property
|
|
66
|
-
def InstanceID(self):
|
|
67
|
-
r"""业务系统 ID
|
|
68
|
-
:rtype: str
|
|
69
|
-
"""
|
|
70
|
-
return self._InstanceID
|
|
71
|
-
|
|
72
|
-
@InstanceID.setter
|
|
73
|
-
def InstanceID(self, InstanceID):
|
|
74
|
-
self._InstanceID = InstanceID
|
|
75
|
-
|
|
76
|
-
@property
|
|
77
|
-
def Rate(self):
|
|
78
|
-
r"""项目抽样率(大于等于 0)
|
|
79
|
-
:rtype: str
|
|
80
|
-
"""
|
|
81
|
-
return self._Rate
|
|
82
|
-
|
|
83
|
-
@Rate.setter
|
|
84
|
-
def Rate(self, Rate):
|
|
85
|
-
self._Rate = Rate
|
|
86
|
-
|
|
87
|
-
@property
|
|
88
|
-
def EnableURLGroup(self):
|
|
89
|
-
r"""是否开启聚类
|
|
90
|
-
:rtype: int
|
|
91
|
-
"""
|
|
92
|
-
return self._EnableURLGroup
|
|
93
|
-
|
|
94
|
-
@EnableURLGroup.setter
|
|
95
|
-
def EnableURLGroup(self, EnableURLGroup):
|
|
96
|
-
self._EnableURLGroup = EnableURLGroup
|
|
97
|
-
|
|
98
|
-
@property
|
|
99
|
-
def Type(self):
|
|
100
|
-
r"""项目类型("web", "mp", "android", "ios", "node", "hippy", "weex", "viola", "rn")
|
|
101
|
-
:rtype: str
|
|
102
|
-
"""
|
|
103
|
-
return self._Type
|
|
104
|
-
|
|
105
|
-
@Type.setter
|
|
106
|
-
def Type(self, Type):
|
|
107
|
-
self._Type = Type
|
|
108
|
-
|
|
109
|
-
@property
|
|
110
|
-
def Repo(self):
|
|
111
|
-
r"""项目对应仓库地址(可选,最长为 256)
|
|
112
|
-
:rtype: str
|
|
113
|
-
"""
|
|
114
|
-
return self._Repo
|
|
115
|
-
|
|
116
|
-
@Repo.setter
|
|
117
|
-
def Repo(self, Repo):
|
|
118
|
-
self._Repo = Repo
|
|
119
|
-
|
|
120
|
-
@property
|
|
121
|
-
def URL(self):
|
|
122
|
-
r"""项目对应网页地址(可选,最长为 256)
|
|
123
|
-
:rtype: str
|
|
124
|
-
"""
|
|
125
|
-
return self._URL
|
|
126
|
-
|
|
127
|
-
@URL.setter
|
|
128
|
-
def URL(self, URL):
|
|
129
|
-
self._URL = URL
|
|
130
|
-
|
|
131
|
-
@property
|
|
132
|
-
def Desc(self):
|
|
133
|
-
r"""应用描述(可选,最长为 1000)
|
|
134
|
-
:rtype: str
|
|
135
|
-
"""
|
|
136
|
-
return self._Desc
|
|
137
|
-
|
|
138
|
-
@Desc.setter
|
|
139
|
-
def Desc(self, Desc):
|
|
140
|
-
self._Desc = Desc
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
def _deserialize(self, params):
|
|
144
|
-
self._Name = params.get("Name")
|
|
145
|
-
self._InstanceID = params.get("InstanceID")
|
|
146
|
-
self._Rate = params.get("Rate")
|
|
147
|
-
self._EnableURLGroup = params.get("EnableURLGroup")
|
|
148
|
-
self._Type = params.get("Type")
|
|
149
|
-
self._Repo = params.get("Repo")
|
|
150
|
-
self._URL = params.get("URL")
|
|
151
|
-
self._Desc = params.get("Desc")
|
|
152
|
-
memeber_set = set(params.keys())
|
|
153
|
-
for name, value in vars(self).items():
|
|
154
|
-
property_name = name[1:]
|
|
155
|
-
if property_name in memeber_set:
|
|
156
|
-
memeber_set.remove(property_name)
|
|
157
|
-
if len(memeber_set) > 0:
|
|
158
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
class CreateProjectResponse(AbstractModel):
|
|
163
|
-
r"""CreateProject返回参数结构体
|
|
164
|
-
|
|
165
|
-
"""
|
|
166
|
-
|
|
167
|
-
def __init__(self):
|
|
168
|
-
r"""
|
|
169
|
-
:param _ID: 项目 id
|
|
170
|
-
:type ID: int
|
|
171
|
-
:param _Key: 项目唯一key
|
|
172
|
-
:type Key: str
|
|
173
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
174
|
-
:type RequestId: str
|
|
175
|
-
"""
|
|
176
|
-
self._ID = None
|
|
177
|
-
self._Key = None
|
|
178
|
-
self._RequestId = None
|
|
179
|
-
|
|
180
|
-
@property
|
|
181
|
-
def ID(self):
|
|
182
|
-
r"""项目 id
|
|
183
|
-
:rtype: int
|
|
184
|
-
"""
|
|
185
|
-
return self._ID
|
|
186
|
-
|
|
187
|
-
@ID.setter
|
|
188
|
-
def ID(self, ID):
|
|
189
|
-
self._ID = ID
|
|
190
|
-
|
|
191
|
-
@property
|
|
192
|
-
def Key(self):
|
|
193
|
-
r"""项目唯一key
|
|
194
|
-
:rtype: str
|
|
195
|
-
"""
|
|
196
|
-
return self._Key
|
|
197
|
-
|
|
198
|
-
@Key.setter
|
|
199
|
-
def Key(self, Key):
|
|
200
|
-
self._Key = Key
|
|
201
|
-
|
|
202
|
-
@property
|
|
203
|
-
def RequestId(self):
|
|
204
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
205
|
-
:rtype: str
|
|
206
|
-
"""
|
|
207
|
-
return self._RequestId
|
|
208
|
-
|
|
209
|
-
@RequestId.setter
|
|
210
|
-
def RequestId(self, RequestId):
|
|
211
|
-
self._RequestId = RequestId
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
def _deserialize(self, params):
|
|
215
|
-
self._ID = params.get("ID")
|
|
216
|
-
self._Key = params.get("Key")
|
|
217
|
-
self._RequestId = params.get("RequestId")
|
|
218
|
-
|
|
219
|
-
|
|
220
21
|
class CreateReleaseFileRequest(AbstractModel):
|
|
221
22
|
r"""CreateReleaseFile请求参数结构体
|
|
222
23
|
|
|
@@ -410,300 +211,6 @@ class CreateStarProjectResponse(AbstractModel):
|
|
|
410
211
|
self._RequestId = params.get("RequestId")
|
|
411
212
|
|
|
412
213
|
|
|
413
|
-
class CreateTawInstanceRequest(AbstractModel):
|
|
414
|
-
r"""CreateTawInstance请求参数结构体
|
|
415
|
-
|
|
416
|
-
"""
|
|
417
|
-
|
|
418
|
-
def __init__(self):
|
|
419
|
-
r"""
|
|
420
|
-
:param _AreaId: 片区Id,(至少大于0)
|
|
421
|
-
:type AreaId: int
|
|
422
|
-
:param _ChargeType: 计费类型, (1=后付费)
|
|
423
|
-
:type ChargeType: int
|
|
424
|
-
:param _DataRetentionDays: 数据保存时间,(至少大于0)
|
|
425
|
-
:type DataRetentionDays: int
|
|
426
|
-
:param _InstanceName: 实例名称,(最大长度不超过255字节)
|
|
427
|
-
:type InstanceName: str
|
|
428
|
-
:param _Tags: 标签列表
|
|
429
|
-
:type Tags: list of Tag
|
|
430
|
-
:param _InstanceDesc: 实例描述,(最大长度不超过1024字节)
|
|
431
|
-
:type InstanceDesc: str
|
|
432
|
-
:param _CountNum: 每天数据上报量,(不作量级限制)
|
|
433
|
-
:type CountNum: str
|
|
434
|
-
:param _PeriodRetain: 数据存储时长计费
|
|
435
|
-
:type PeriodRetain: str
|
|
436
|
-
:param _BuyingChannel: 实例购买渠道("cdn" 等)
|
|
437
|
-
:type BuyingChannel: str
|
|
438
|
-
:param _ResourcePackageType: 资源包类型:1=5百万/30天,2=10百万/30天,3=50百万/180天,4=100百万/180天,5=300百万/180天,6=500百万/180天,7=1000百万/180天,8=2500百万/180天,9=10000百万/360天(单位:上报量=百万条,周期=天)
|
|
439
|
-
:type ResourcePackageType: int
|
|
440
|
-
:param _ResourcePackageNum: 预付费资源包数量(仅预付费需要)
|
|
441
|
-
:type ResourcePackageNum: int
|
|
442
|
-
:param _InstanceType: 实例类型 1:原web相关类型 2:app端类型
|
|
443
|
-
:type InstanceType: int
|
|
444
|
-
:param _AutoRenewalType: 自动续费类型:0=不自动续费,1=开启自动续费;开启时需填写 AutoRenewalThreshold(1~50%);同一实例最多允许存在 1 个自动续费资源包。
|
|
445
|
-
:type AutoRenewalType: int
|
|
446
|
-
:param _AutoRenewalThreshold: 自动续费阈值
|
|
447
|
-
:type AutoRenewalThreshold: int
|
|
448
|
-
"""
|
|
449
|
-
self._AreaId = None
|
|
450
|
-
self._ChargeType = None
|
|
451
|
-
self._DataRetentionDays = None
|
|
452
|
-
self._InstanceName = None
|
|
453
|
-
self._Tags = None
|
|
454
|
-
self._InstanceDesc = None
|
|
455
|
-
self._CountNum = None
|
|
456
|
-
self._PeriodRetain = None
|
|
457
|
-
self._BuyingChannel = None
|
|
458
|
-
self._ResourcePackageType = None
|
|
459
|
-
self._ResourcePackageNum = None
|
|
460
|
-
self._InstanceType = None
|
|
461
|
-
self._AutoRenewalType = None
|
|
462
|
-
self._AutoRenewalThreshold = None
|
|
463
|
-
|
|
464
|
-
@property
|
|
465
|
-
def AreaId(self):
|
|
466
|
-
r"""片区Id,(至少大于0)
|
|
467
|
-
:rtype: int
|
|
468
|
-
"""
|
|
469
|
-
return self._AreaId
|
|
470
|
-
|
|
471
|
-
@AreaId.setter
|
|
472
|
-
def AreaId(self, AreaId):
|
|
473
|
-
self._AreaId = AreaId
|
|
474
|
-
|
|
475
|
-
@property
|
|
476
|
-
def ChargeType(self):
|
|
477
|
-
r"""计费类型, (1=后付费)
|
|
478
|
-
:rtype: int
|
|
479
|
-
"""
|
|
480
|
-
return self._ChargeType
|
|
481
|
-
|
|
482
|
-
@ChargeType.setter
|
|
483
|
-
def ChargeType(self, ChargeType):
|
|
484
|
-
self._ChargeType = ChargeType
|
|
485
|
-
|
|
486
|
-
@property
|
|
487
|
-
def DataRetentionDays(self):
|
|
488
|
-
r"""数据保存时间,(至少大于0)
|
|
489
|
-
:rtype: int
|
|
490
|
-
"""
|
|
491
|
-
return self._DataRetentionDays
|
|
492
|
-
|
|
493
|
-
@DataRetentionDays.setter
|
|
494
|
-
def DataRetentionDays(self, DataRetentionDays):
|
|
495
|
-
self._DataRetentionDays = DataRetentionDays
|
|
496
|
-
|
|
497
|
-
@property
|
|
498
|
-
def InstanceName(self):
|
|
499
|
-
r"""实例名称,(最大长度不超过255字节)
|
|
500
|
-
:rtype: str
|
|
501
|
-
"""
|
|
502
|
-
return self._InstanceName
|
|
503
|
-
|
|
504
|
-
@InstanceName.setter
|
|
505
|
-
def InstanceName(self, InstanceName):
|
|
506
|
-
self._InstanceName = InstanceName
|
|
507
|
-
|
|
508
|
-
@property
|
|
509
|
-
def Tags(self):
|
|
510
|
-
r"""标签列表
|
|
511
|
-
:rtype: list of Tag
|
|
512
|
-
"""
|
|
513
|
-
return self._Tags
|
|
514
|
-
|
|
515
|
-
@Tags.setter
|
|
516
|
-
def Tags(self, Tags):
|
|
517
|
-
self._Tags = Tags
|
|
518
|
-
|
|
519
|
-
@property
|
|
520
|
-
def InstanceDesc(self):
|
|
521
|
-
r"""实例描述,(最大长度不超过1024字节)
|
|
522
|
-
:rtype: str
|
|
523
|
-
"""
|
|
524
|
-
return self._InstanceDesc
|
|
525
|
-
|
|
526
|
-
@InstanceDesc.setter
|
|
527
|
-
def InstanceDesc(self, InstanceDesc):
|
|
528
|
-
self._InstanceDesc = InstanceDesc
|
|
529
|
-
|
|
530
|
-
@property
|
|
531
|
-
def CountNum(self):
|
|
532
|
-
r"""每天数据上报量,(不作量级限制)
|
|
533
|
-
:rtype: str
|
|
534
|
-
"""
|
|
535
|
-
return self._CountNum
|
|
536
|
-
|
|
537
|
-
@CountNum.setter
|
|
538
|
-
def CountNum(self, CountNum):
|
|
539
|
-
self._CountNum = CountNum
|
|
540
|
-
|
|
541
|
-
@property
|
|
542
|
-
def PeriodRetain(self):
|
|
543
|
-
r"""数据存储时长计费
|
|
544
|
-
:rtype: str
|
|
545
|
-
"""
|
|
546
|
-
return self._PeriodRetain
|
|
547
|
-
|
|
548
|
-
@PeriodRetain.setter
|
|
549
|
-
def PeriodRetain(self, PeriodRetain):
|
|
550
|
-
self._PeriodRetain = PeriodRetain
|
|
551
|
-
|
|
552
|
-
@property
|
|
553
|
-
def BuyingChannel(self):
|
|
554
|
-
r"""实例购买渠道("cdn" 等)
|
|
555
|
-
:rtype: str
|
|
556
|
-
"""
|
|
557
|
-
return self._BuyingChannel
|
|
558
|
-
|
|
559
|
-
@BuyingChannel.setter
|
|
560
|
-
def BuyingChannel(self, BuyingChannel):
|
|
561
|
-
self._BuyingChannel = BuyingChannel
|
|
562
|
-
|
|
563
|
-
@property
|
|
564
|
-
def ResourcePackageType(self):
|
|
565
|
-
r"""资源包类型:1=5百万/30天,2=10百万/30天,3=50百万/180天,4=100百万/180天,5=300百万/180天,6=500百万/180天,7=1000百万/180天,8=2500百万/180天,9=10000百万/360天(单位:上报量=百万条,周期=天)
|
|
566
|
-
:rtype: int
|
|
567
|
-
"""
|
|
568
|
-
return self._ResourcePackageType
|
|
569
|
-
|
|
570
|
-
@ResourcePackageType.setter
|
|
571
|
-
def ResourcePackageType(self, ResourcePackageType):
|
|
572
|
-
self._ResourcePackageType = ResourcePackageType
|
|
573
|
-
|
|
574
|
-
@property
|
|
575
|
-
def ResourcePackageNum(self):
|
|
576
|
-
r"""预付费资源包数量(仅预付费需要)
|
|
577
|
-
:rtype: int
|
|
578
|
-
"""
|
|
579
|
-
return self._ResourcePackageNum
|
|
580
|
-
|
|
581
|
-
@ResourcePackageNum.setter
|
|
582
|
-
def ResourcePackageNum(self, ResourcePackageNum):
|
|
583
|
-
self._ResourcePackageNum = ResourcePackageNum
|
|
584
|
-
|
|
585
|
-
@property
|
|
586
|
-
def InstanceType(self):
|
|
587
|
-
r"""实例类型 1:原web相关类型 2:app端类型
|
|
588
|
-
:rtype: int
|
|
589
|
-
"""
|
|
590
|
-
return self._InstanceType
|
|
591
|
-
|
|
592
|
-
@InstanceType.setter
|
|
593
|
-
def InstanceType(self, InstanceType):
|
|
594
|
-
self._InstanceType = InstanceType
|
|
595
|
-
|
|
596
|
-
@property
|
|
597
|
-
def AutoRenewalType(self):
|
|
598
|
-
r"""自动续费类型:0=不自动续费,1=开启自动续费;开启时需填写 AutoRenewalThreshold(1~50%);同一实例最多允许存在 1 个自动续费资源包。
|
|
599
|
-
:rtype: int
|
|
600
|
-
"""
|
|
601
|
-
return self._AutoRenewalType
|
|
602
|
-
|
|
603
|
-
@AutoRenewalType.setter
|
|
604
|
-
def AutoRenewalType(self, AutoRenewalType):
|
|
605
|
-
self._AutoRenewalType = AutoRenewalType
|
|
606
|
-
|
|
607
|
-
@property
|
|
608
|
-
def AutoRenewalThreshold(self):
|
|
609
|
-
r"""自动续费阈值
|
|
610
|
-
:rtype: int
|
|
611
|
-
"""
|
|
612
|
-
return self._AutoRenewalThreshold
|
|
613
|
-
|
|
614
|
-
@AutoRenewalThreshold.setter
|
|
615
|
-
def AutoRenewalThreshold(self, AutoRenewalThreshold):
|
|
616
|
-
self._AutoRenewalThreshold = AutoRenewalThreshold
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
def _deserialize(self, params):
|
|
620
|
-
self._AreaId = params.get("AreaId")
|
|
621
|
-
self._ChargeType = params.get("ChargeType")
|
|
622
|
-
self._DataRetentionDays = params.get("DataRetentionDays")
|
|
623
|
-
self._InstanceName = params.get("InstanceName")
|
|
624
|
-
if params.get("Tags") is not None:
|
|
625
|
-
self._Tags = []
|
|
626
|
-
for item in params.get("Tags"):
|
|
627
|
-
obj = Tag()
|
|
628
|
-
obj._deserialize(item)
|
|
629
|
-
self._Tags.append(obj)
|
|
630
|
-
self._InstanceDesc = params.get("InstanceDesc")
|
|
631
|
-
self._CountNum = params.get("CountNum")
|
|
632
|
-
self._PeriodRetain = params.get("PeriodRetain")
|
|
633
|
-
self._BuyingChannel = params.get("BuyingChannel")
|
|
634
|
-
self._ResourcePackageType = params.get("ResourcePackageType")
|
|
635
|
-
self._ResourcePackageNum = params.get("ResourcePackageNum")
|
|
636
|
-
self._InstanceType = params.get("InstanceType")
|
|
637
|
-
self._AutoRenewalType = params.get("AutoRenewalType")
|
|
638
|
-
self._AutoRenewalThreshold = params.get("AutoRenewalThreshold")
|
|
639
|
-
memeber_set = set(params.keys())
|
|
640
|
-
for name, value in vars(self).items():
|
|
641
|
-
property_name = name[1:]
|
|
642
|
-
if property_name in memeber_set:
|
|
643
|
-
memeber_set.remove(property_name)
|
|
644
|
-
if len(memeber_set) > 0:
|
|
645
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
class CreateTawInstanceResponse(AbstractModel):
|
|
650
|
-
r"""CreateTawInstance返回参数结构体
|
|
651
|
-
|
|
652
|
-
"""
|
|
653
|
-
|
|
654
|
-
def __init__(self):
|
|
655
|
-
r"""
|
|
656
|
-
:param _InstanceId: 实例Id
|
|
657
|
-
:type InstanceId: str
|
|
658
|
-
:param _DealName: 预付费订单 ,预付费不为null,后付费为null
|
|
659
|
-
:type DealName: str
|
|
660
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
661
|
-
:type RequestId: str
|
|
662
|
-
"""
|
|
663
|
-
self._InstanceId = None
|
|
664
|
-
self._DealName = None
|
|
665
|
-
self._RequestId = None
|
|
666
|
-
|
|
667
|
-
@property
|
|
668
|
-
def InstanceId(self):
|
|
669
|
-
r"""实例Id
|
|
670
|
-
:rtype: str
|
|
671
|
-
"""
|
|
672
|
-
return self._InstanceId
|
|
673
|
-
|
|
674
|
-
@InstanceId.setter
|
|
675
|
-
def InstanceId(self, InstanceId):
|
|
676
|
-
self._InstanceId = InstanceId
|
|
677
|
-
|
|
678
|
-
@property
|
|
679
|
-
def DealName(self):
|
|
680
|
-
r"""预付费订单 ,预付费不为null,后付费为null
|
|
681
|
-
:rtype: str
|
|
682
|
-
"""
|
|
683
|
-
return self._DealName
|
|
684
|
-
|
|
685
|
-
@DealName.setter
|
|
686
|
-
def DealName(self, DealName):
|
|
687
|
-
self._DealName = DealName
|
|
688
|
-
|
|
689
|
-
@property
|
|
690
|
-
def RequestId(self):
|
|
691
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
692
|
-
:rtype: str
|
|
693
|
-
"""
|
|
694
|
-
return self._RequestId
|
|
695
|
-
|
|
696
|
-
@RequestId.setter
|
|
697
|
-
def RequestId(self, RequestId):
|
|
698
|
-
self._RequestId = RequestId
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
def _deserialize(self, params):
|
|
702
|
-
self._InstanceId = params.get("InstanceId")
|
|
703
|
-
self._DealName = params.get("DealName")
|
|
704
|
-
self._RequestId = params.get("RequestId")
|
|
705
|
-
|
|
706
|
-
|
|
707
214
|
class CreateWhitelistRequest(AbstractModel):
|
|
708
215
|
r"""CreateWhitelist请求参数结构体
|
|
709
216
|
|
|
@@ -26,29 +26,6 @@ class RumClient(AbstractClient):
|
|
|
26
26
|
_service = 'rum'
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
def CreateProject(self, request):
|
|
30
|
-
r"""创建 RUM 应用(归属于某个团队)
|
|
31
|
-
|
|
32
|
-
:param request: Request instance for CreateProject.
|
|
33
|
-
:type request: :class:`tencentcloud.rum.v20210622.models.CreateProjectRequest`
|
|
34
|
-
:rtype: :class:`tencentcloud.rum.v20210622.models.CreateProjectResponse`
|
|
35
|
-
|
|
36
|
-
"""
|
|
37
|
-
try:
|
|
38
|
-
params = request._serialize()
|
|
39
|
-
headers = request.headers
|
|
40
|
-
body = self.call("CreateProject", params, headers=headers)
|
|
41
|
-
response = json.loads(body)
|
|
42
|
-
model = models.CreateProjectResponse()
|
|
43
|
-
model._deserialize(response["Response"])
|
|
44
|
-
return model
|
|
45
|
-
except Exception as e:
|
|
46
|
-
if isinstance(e, TencentCloudSDKException):
|
|
47
|
-
raise
|
|
48
|
-
else:
|
|
49
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
|
-
|
|
51
|
-
|
|
52
29
|
def CreateReleaseFile(self, request):
|
|
53
30
|
r"""创建对应项目的文件记录
|
|
54
31
|
|
|
@@ -95,29 +72,6 @@ class RumClient(AbstractClient):
|
|
|
95
72
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
73
|
|
|
97
74
|
|
|
98
|
-
def CreateTawInstance(self, request):
|
|
99
|
-
r"""创建 RUM 业务系统
|
|
100
|
-
|
|
101
|
-
:param request: Request instance for CreateTawInstance.
|
|
102
|
-
:type request: :class:`tencentcloud.rum.v20210622.models.CreateTawInstanceRequest`
|
|
103
|
-
:rtype: :class:`tencentcloud.rum.v20210622.models.CreateTawInstanceResponse`
|
|
104
|
-
|
|
105
|
-
"""
|
|
106
|
-
try:
|
|
107
|
-
params = request._serialize()
|
|
108
|
-
headers = request.headers
|
|
109
|
-
body = self.call("CreateTawInstance", params, headers=headers)
|
|
110
|
-
response = json.loads(body)
|
|
111
|
-
model = models.CreateTawInstanceResponse()
|
|
112
|
-
model._deserialize(response["Response"])
|
|
113
|
-
return model
|
|
114
|
-
except Exception as e:
|
|
115
|
-
if isinstance(e, TencentCloudSDKException):
|
|
116
|
-
raise
|
|
117
|
-
else:
|
|
118
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
|
-
|
|
120
|
-
|
|
121
75
|
def CreateWhitelist(self, request):
|
|
122
76
|
r"""创建白名单
|
|
123
77
|
|
|
@@ -25,24 +25,6 @@ class RumClient(AbstractClient):
|
|
|
25
25
|
_endpoint = 'rum.tencentcloudapi.com'
|
|
26
26
|
_service = 'rum'
|
|
27
27
|
|
|
28
|
-
async def CreateProject(
|
|
29
|
-
self,
|
|
30
|
-
request: models.CreateProjectRequest,
|
|
31
|
-
opts: Dict = None,
|
|
32
|
-
) -> models.CreateProjectResponse:
|
|
33
|
-
"""
|
|
34
|
-
创建 RUM 应用(归属于某个团队)
|
|
35
|
-
"""
|
|
36
|
-
|
|
37
|
-
kwargs = {}
|
|
38
|
-
kwargs["action"] = "CreateProject"
|
|
39
|
-
kwargs["params"] = request._serialize()
|
|
40
|
-
kwargs["resp_cls"] = models.CreateProjectResponse
|
|
41
|
-
kwargs["headers"] = request.headers
|
|
42
|
-
kwargs["opts"] = opts or {}
|
|
43
|
-
|
|
44
|
-
return await self.call_and_deserialize(**kwargs)
|
|
45
|
-
|
|
46
28
|
async def CreateReleaseFile(
|
|
47
29
|
self,
|
|
48
30
|
request: models.CreateReleaseFileRequest,
|
|
@@ -79,24 +61,6 @@ class RumClient(AbstractClient):
|
|
|
79
61
|
|
|
80
62
|
return await self.call_and_deserialize(**kwargs)
|
|
81
63
|
|
|
82
|
-
async def CreateTawInstance(
|
|
83
|
-
self,
|
|
84
|
-
request: models.CreateTawInstanceRequest,
|
|
85
|
-
opts: Dict = None,
|
|
86
|
-
) -> models.CreateTawInstanceResponse:
|
|
87
|
-
"""
|
|
88
|
-
创建 RUM 业务系统
|
|
89
|
-
"""
|
|
90
|
-
|
|
91
|
-
kwargs = {}
|
|
92
|
-
kwargs["action"] = "CreateTawInstance"
|
|
93
|
-
kwargs["params"] = request._serialize()
|
|
94
|
-
kwargs["resp_cls"] = models.CreateTawInstanceResponse
|
|
95
|
-
kwargs["headers"] = request.headers
|
|
96
|
-
kwargs["opts"] = opts or {}
|
|
97
|
-
|
|
98
|
-
return await self.call_and_deserialize(**kwargs)
|
|
99
|
-
|
|
100
64
|
async def CreateWhitelist(
|
|
101
65
|
self,
|
|
102
66
|
request: models.CreateWhitelistRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-rum
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.54
|
|
4
4
|
Summary: Tencent Cloud Rum SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.54
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.54
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.53
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|