tencentcloud-sdk-python-intl-en 3.0.1283__py2.py3-none-any.whl → 3.0.1285__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/quota/v20241204/errorcodes.py +6 -0
- tencentcloud/quota/v20241204/models.py +738 -0
- tencentcloud/quota/v20241204/quota_client.py +92 -0
- tencentcloud/teo/v20220901/models.py +24 -22
- {tencentcloud_sdk_python_intl_en-3.0.1283.dist-info → tencentcloud_sdk_python_intl_en-3.0.1285.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1283.dist-info → tencentcloud_sdk_python_intl_en-3.0.1285.dist-info}/RECORD +9 -9
- {tencentcloud_sdk_python_intl_en-3.0.1283.dist-info → tencentcloud_sdk_python_intl_en-3.0.1285.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1283.dist-info → tencentcloud_sdk_python_intl_en-3.0.1285.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
# Internal error.
|
|
18
|
+
INTERNALERROR = 'InternalError'
|
|
19
|
+
|
|
20
|
+
# Parameter value error.
|
|
21
|
+
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
22
|
+
|
|
17
23
|
# Alarm rule does not exist.
|
|
18
24
|
RESOURCENOTFOUND_ALARMNOTEXIST = 'ResourceNotFound.AlarmNotExist'
|
|
19
25
|
|
|
@@ -18,6 +18,209 @@ import warnings
|
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
class Alarm(AbstractModel):
|
|
22
|
+
r"""Alarm Rule Details
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def __init__(self):
|
|
27
|
+
r"""
|
|
28
|
+
:param _Id: Alarm rule ID.
|
|
29
|
+
:type Id: int
|
|
30
|
+
:param _Name: Alarm rule name.
|
|
31
|
+
:type Name: str
|
|
32
|
+
:param _ProductId: Product ID
|
|
33
|
+
:type ProductId: int
|
|
34
|
+
:param _QuotaId: Quota ID.
|
|
35
|
+
:type QuotaId: int
|
|
36
|
+
:param _Metrics: Alarm condition.
|
|
37
|
+
:type Metrics: int
|
|
38
|
+
:param _Frequency: Alarm frequency.
|
|
39
|
+
:type Frequency: int
|
|
40
|
+
:param _Threshold: Specifies the Alarm threshold. valid values: 0-100.
|
|
41
|
+
:type Threshold: int
|
|
42
|
+
:param _OwnerUin: Creator UIN
|
|
43
|
+
:type OwnerUin: int
|
|
44
|
+
:param _MemberUin: Specifies the uin of the rule owner.
|
|
45
|
+
:type MemberUin: int
|
|
46
|
+
:param _QuotaName: Specifies the quota name.
|
|
47
|
+
:type QuotaName: str
|
|
48
|
+
:param _ProductName: Product name
|
|
49
|
+
:type ProductName: str
|
|
50
|
+
:param _Status: Whether to delete. 1: not deleted.
|
|
51
|
+
2: delete.
|
|
52
|
+
:type Status: int
|
|
53
|
+
"""
|
|
54
|
+
self._Id = None
|
|
55
|
+
self._Name = None
|
|
56
|
+
self._ProductId = None
|
|
57
|
+
self._QuotaId = None
|
|
58
|
+
self._Metrics = None
|
|
59
|
+
self._Frequency = None
|
|
60
|
+
self._Threshold = None
|
|
61
|
+
self._OwnerUin = None
|
|
62
|
+
self._MemberUin = None
|
|
63
|
+
self._QuotaName = None
|
|
64
|
+
self._ProductName = None
|
|
65
|
+
self._Status = None
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
def Id(self):
|
|
69
|
+
r"""Alarm rule ID.
|
|
70
|
+
:rtype: int
|
|
71
|
+
"""
|
|
72
|
+
return self._Id
|
|
73
|
+
|
|
74
|
+
@Id.setter
|
|
75
|
+
def Id(self, Id):
|
|
76
|
+
self._Id = Id
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def Name(self):
|
|
80
|
+
r"""Alarm rule name.
|
|
81
|
+
:rtype: str
|
|
82
|
+
"""
|
|
83
|
+
return self._Name
|
|
84
|
+
|
|
85
|
+
@Name.setter
|
|
86
|
+
def Name(self, Name):
|
|
87
|
+
self._Name = Name
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def ProductId(self):
|
|
91
|
+
r"""Product ID
|
|
92
|
+
:rtype: int
|
|
93
|
+
"""
|
|
94
|
+
return self._ProductId
|
|
95
|
+
|
|
96
|
+
@ProductId.setter
|
|
97
|
+
def ProductId(self, ProductId):
|
|
98
|
+
self._ProductId = ProductId
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def QuotaId(self):
|
|
102
|
+
r"""Quota ID.
|
|
103
|
+
:rtype: int
|
|
104
|
+
"""
|
|
105
|
+
return self._QuotaId
|
|
106
|
+
|
|
107
|
+
@QuotaId.setter
|
|
108
|
+
def QuotaId(self, QuotaId):
|
|
109
|
+
self._QuotaId = QuotaId
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
def Metrics(self):
|
|
113
|
+
r"""Alarm condition.
|
|
114
|
+
:rtype: int
|
|
115
|
+
"""
|
|
116
|
+
return self._Metrics
|
|
117
|
+
|
|
118
|
+
@Metrics.setter
|
|
119
|
+
def Metrics(self, Metrics):
|
|
120
|
+
self._Metrics = Metrics
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def Frequency(self):
|
|
124
|
+
r"""Alarm frequency.
|
|
125
|
+
:rtype: int
|
|
126
|
+
"""
|
|
127
|
+
return self._Frequency
|
|
128
|
+
|
|
129
|
+
@Frequency.setter
|
|
130
|
+
def Frequency(self, Frequency):
|
|
131
|
+
self._Frequency = Frequency
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def Threshold(self):
|
|
135
|
+
r"""Specifies the Alarm threshold. valid values: 0-100.
|
|
136
|
+
:rtype: int
|
|
137
|
+
"""
|
|
138
|
+
return self._Threshold
|
|
139
|
+
|
|
140
|
+
@Threshold.setter
|
|
141
|
+
def Threshold(self, Threshold):
|
|
142
|
+
self._Threshold = Threshold
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
def OwnerUin(self):
|
|
146
|
+
r"""Creator UIN
|
|
147
|
+
:rtype: int
|
|
148
|
+
"""
|
|
149
|
+
return self._OwnerUin
|
|
150
|
+
|
|
151
|
+
@OwnerUin.setter
|
|
152
|
+
def OwnerUin(self, OwnerUin):
|
|
153
|
+
self._OwnerUin = OwnerUin
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
def MemberUin(self):
|
|
157
|
+
r"""Specifies the uin of the rule owner.
|
|
158
|
+
:rtype: int
|
|
159
|
+
"""
|
|
160
|
+
return self._MemberUin
|
|
161
|
+
|
|
162
|
+
@MemberUin.setter
|
|
163
|
+
def MemberUin(self, MemberUin):
|
|
164
|
+
self._MemberUin = MemberUin
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
def QuotaName(self):
|
|
168
|
+
r"""Specifies the quota name.
|
|
169
|
+
:rtype: str
|
|
170
|
+
"""
|
|
171
|
+
return self._QuotaName
|
|
172
|
+
|
|
173
|
+
@QuotaName.setter
|
|
174
|
+
def QuotaName(self, QuotaName):
|
|
175
|
+
self._QuotaName = QuotaName
|
|
176
|
+
|
|
177
|
+
@property
|
|
178
|
+
def ProductName(self):
|
|
179
|
+
r"""Product name
|
|
180
|
+
:rtype: str
|
|
181
|
+
"""
|
|
182
|
+
return self._ProductName
|
|
183
|
+
|
|
184
|
+
@ProductName.setter
|
|
185
|
+
def ProductName(self, ProductName):
|
|
186
|
+
self._ProductName = ProductName
|
|
187
|
+
|
|
188
|
+
@property
|
|
189
|
+
def Status(self):
|
|
190
|
+
r"""Whether to delete. 1: not deleted.
|
|
191
|
+
2: delete.
|
|
192
|
+
:rtype: int
|
|
193
|
+
"""
|
|
194
|
+
return self._Status
|
|
195
|
+
|
|
196
|
+
@Status.setter
|
|
197
|
+
def Status(self, Status):
|
|
198
|
+
self._Status = Status
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
def _deserialize(self, params):
|
|
202
|
+
self._Id = params.get("Id")
|
|
203
|
+
self._Name = params.get("Name")
|
|
204
|
+
self._ProductId = params.get("ProductId")
|
|
205
|
+
self._QuotaId = params.get("QuotaId")
|
|
206
|
+
self._Metrics = params.get("Metrics")
|
|
207
|
+
self._Frequency = params.get("Frequency")
|
|
208
|
+
self._Threshold = params.get("Threshold")
|
|
209
|
+
self._OwnerUin = params.get("OwnerUin")
|
|
210
|
+
self._MemberUin = params.get("MemberUin")
|
|
211
|
+
self._QuotaName = params.get("QuotaName")
|
|
212
|
+
self._ProductName = params.get("ProductName")
|
|
213
|
+
self._Status = params.get("Status")
|
|
214
|
+
memeber_set = set(params.keys())
|
|
215
|
+
for name, value in vars(self).items():
|
|
216
|
+
property_name = name[1:]
|
|
217
|
+
if property_name in memeber_set:
|
|
218
|
+
memeber_set.remove(property_name)
|
|
219
|
+
if len(memeber_set) > 0:
|
|
220
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
21
224
|
class CreateAlarmRequest(AbstractModel):
|
|
22
225
|
r"""CreateAlarm request structure.
|
|
23
226
|
|
|
@@ -168,5 +371,540 @@ class CreateAlarmResponse(AbstractModel):
|
|
|
168
371
|
self._RequestId = RequestId
|
|
169
372
|
|
|
170
373
|
|
|
374
|
+
def _deserialize(self, params):
|
|
375
|
+
self._RequestId = params.get("RequestId")
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
class DeleteAlarmRequest(AbstractModel):
|
|
379
|
+
r"""DeleteAlarm request structure.
|
|
380
|
+
|
|
381
|
+
"""
|
|
382
|
+
|
|
383
|
+
def __init__(self):
|
|
384
|
+
r"""
|
|
385
|
+
:param _Id: Rule ID
|
|
386
|
+
:type Id: int
|
|
387
|
+
:param _MemberUin: Specifies the member uin of the rule owner.
|
|
388
|
+
:type MemberUin: int
|
|
389
|
+
"""
|
|
390
|
+
self._Id = None
|
|
391
|
+
self._MemberUin = None
|
|
392
|
+
|
|
393
|
+
@property
|
|
394
|
+
def Id(self):
|
|
395
|
+
r"""Rule ID
|
|
396
|
+
:rtype: int
|
|
397
|
+
"""
|
|
398
|
+
return self._Id
|
|
399
|
+
|
|
400
|
+
@Id.setter
|
|
401
|
+
def Id(self, Id):
|
|
402
|
+
self._Id = Id
|
|
403
|
+
|
|
404
|
+
@property
|
|
405
|
+
def MemberUin(self):
|
|
406
|
+
r"""Specifies the member uin of the rule owner.
|
|
407
|
+
:rtype: int
|
|
408
|
+
"""
|
|
409
|
+
return self._MemberUin
|
|
410
|
+
|
|
411
|
+
@MemberUin.setter
|
|
412
|
+
def MemberUin(self, MemberUin):
|
|
413
|
+
self._MemberUin = MemberUin
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
def _deserialize(self, params):
|
|
417
|
+
self._Id = params.get("Id")
|
|
418
|
+
self._MemberUin = params.get("MemberUin")
|
|
419
|
+
memeber_set = set(params.keys())
|
|
420
|
+
for name, value in vars(self).items():
|
|
421
|
+
property_name = name[1:]
|
|
422
|
+
if property_name in memeber_set:
|
|
423
|
+
memeber_set.remove(property_name)
|
|
424
|
+
if len(memeber_set) > 0:
|
|
425
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
class DeleteAlarmResponse(AbstractModel):
|
|
430
|
+
r"""DeleteAlarm response structure.
|
|
431
|
+
|
|
432
|
+
"""
|
|
433
|
+
|
|
434
|
+
def __init__(self):
|
|
435
|
+
r"""
|
|
436
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
437
|
+
:type RequestId: str
|
|
438
|
+
"""
|
|
439
|
+
self._RequestId = None
|
|
440
|
+
|
|
441
|
+
@property
|
|
442
|
+
def RequestId(self):
|
|
443
|
+
r"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
444
|
+
:rtype: str
|
|
445
|
+
"""
|
|
446
|
+
return self._RequestId
|
|
447
|
+
|
|
448
|
+
@RequestId.setter
|
|
449
|
+
def RequestId(self, RequestId):
|
|
450
|
+
self._RequestId = RequestId
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
def _deserialize(self, params):
|
|
454
|
+
self._RequestId = params.get("RequestId")
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
class DescribeAlarmsRequest(AbstractModel):
|
|
458
|
+
r"""DescribeAlarms request structure.
|
|
459
|
+
|
|
460
|
+
"""
|
|
461
|
+
|
|
462
|
+
def __init__(self):
|
|
463
|
+
r"""
|
|
464
|
+
:param _Limit: Number of items per page. maximum 100.
|
|
465
|
+
:type Limit: int
|
|
466
|
+
:param _Offset: Offset.
|
|
467
|
+
:type Offset: int
|
|
468
|
+
:param _ProductId: Product ID.
|
|
469
|
+
:type ProductId: int
|
|
470
|
+
:param _QuotaId: Quota ID.
|
|
471
|
+
:type QuotaId: int
|
|
472
|
+
:param _Content: Alarm, quota name.
|
|
473
|
+
:type Content: str
|
|
474
|
+
:param _MemberUins: Member uins.
|
|
475
|
+
:type MemberUins: list of int
|
|
476
|
+
:param _Metrics: AlAlarm metric.
|
|
477
|
+
:type Metrics: int
|
|
478
|
+
:param _Id: Rule ID
|
|
479
|
+
:type Id: int
|
|
480
|
+
"""
|
|
481
|
+
self._Limit = None
|
|
482
|
+
self._Offset = None
|
|
483
|
+
self._ProductId = None
|
|
484
|
+
self._QuotaId = None
|
|
485
|
+
self._Content = None
|
|
486
|
+
self._MemberUins = None
|
|
487
|
+
self._Metrics = None
|
|
488
|
+
self._Id = None
|
|
489
|
+
|
|
490
|
+
@property
|
|
491
|
+
def Limit(self):
|
|
492
|
+
r"""Number of items per page. maximum 100.
|
|
493
|
+
:rtype: int
|
|
494
|
+
"""
|
|
495
|
+
return self._Limit
|
|
496
|
+
|
|
497
|
+
@Limit.setter
|
|
498
|
+
def Limit(self, Limit):
|
|
499
|
+
self._Limit = Limit
|
|
500
|
+
|
|
501
|
+
@property
|
|
502
|
+
def Offset(self):
|
|
503
|
+
r"""Offset.
|
|
504
|
+
:rtype: int
|
|
505
|
+
"""
|
|
506
|
+
return self._Offset
|
|
507
|
+
|
|
508
|
+
@Offset.setter
|
|
509
|
+
def Offset(self, Offset):
|
|
510
|
+
self._Offset = Offset
|
|
511
|
+
|
|
512
|
+
@property
|
|
513
|
+
def ProductId(self):
|
|
514
|
+
r"""Product ID.
|
|
515
|
+
:rtype: int
|
|
516
|
+
"""
|
|
517
|
+
return self._ProductId
|
|
518
|
+
|
|
519
|
+
@ProductId.setter
|
|
520
|
+
def ProductId(self, ProductId):
|
|
521
|
+
self._ProductId = ProductId
|
|
522
|
+
|
|
523
|
+
@property
|
|
524
|
+
def QuotaId(self):
|
|
525
|
+
r"""Quota ID.
|
|
526
|
+
:rtype: int
|
|
527
|
+
"""
|
|
528
|
+
return self._QuotaId
|
|
529
|
+
|
|
530
|
+
@QuotaId.setter
|
|
531
|
+
def QuotaId(self, QuotaId):
|
|
532
|
+
self._QuotaId = QuotaId
|
|
533
|
+
|
|
534
|
+
@property
|
|
535
|
+
def Content(self):
|
|
536
|
+
r"""Alarm, quota name.
|
|
537
|
+
:rtype: str
|
|
538
|
+
"""
|
|
539
|
+
return self._Content
|
|
540
|
+
|
|
541
|
+
@Content.setter
|
|
542
|
+
def Content(self, Content):
|
|
543
|
+
self._Content = Content
|
|
544
|
+
|
|
545
|
+
@property
|
|
546
|
+
def MemberUins(self):
|
|
547
|
+
r"""Member uins.
|
|
548
|
+
:rtype: list of int
|
|
549
|
+
"""
|
|
550
|
+
return self._MemberUins
|
|
551
|
+
|
|
552
|
+
@MemberUins.setter
|
|
553
|
+
def MemberUins(self, MemberUins):
|
|
554
|
+
self._MemberUins = MemberUins
|
|
555
|
+
|
|
556
|
+
@property
|
|
557
|
+
def Metrics(self):
|
|
558
|
+
r"""AlAlarm metric.
|
|
559
|
+
:rtype: int
|
|
560
|
+
"""
|
|
561
|
+
return self._Metrics
|
|
562
|
+
|
|
563
|
+
@Metrics.setter
|
|
564
|
+
def Metrics(self, Metrics):
|
|
565
|
+
self._Metrics = Metrics
|
|
566
|
+
|
|
567
|
+
@property
|
|
568
|
+
def Id(self):
|
|
569
|
+
r"""Rule ID
|
|
570
|
+
:rtype: int
|
|
571
|
+
"""
|
|
572
|
+
return self._Id
|
|
573
|
+
|
|
574
|
+
@Id.setter
|
|
575
|
+
def Id(self, Id):
|
|
576
|
+
self._Id = Id
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
def _deserialize(self, params):
|
|
580
|
+
self._Limit = params.get("Limit")
|
|
581
|
+
self._Offset = params.get("Offset")
|
|
582
|
+
self._ProductId = params.get("ProductId")
|
|
583
|
+
self._QuotaId = params.get("QuotaId")
|
|
584
|
+
self._Content = params.get("Content")
|
|
585
|
+
self._MemberUins = params.get("MemberUins")
|
|
586
|
+
self._Metrics = params.get("Metrics")
|
|
587
|
+
self._Id = params.get("Id")
|
|
588
|
+
memeber_set = set(params.keys())
|
|
589
|
+
for name, value in vars(self).items():
|
|
590
|
+
property_name = name[1:]
|
|
591
|
+
if property_name in memeber_set:
|
|
592
|
+
memeber_set.remove(property_name)
|
|
593
|
+
if len(memeber_set) > 0:
|
|
594
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
class DescribeAlarmsResponse(AbstractModel):
|
|
599
|
+
r"""DescribeAlarms response structure.
|
|
600
|
+
|
|
601
|
+
"""
|
|
602
|
+
|
|
603
|
+
def __init__(self):
|
|
604
|
+
r"""
|
|
605
|
+
:param _Count: Total number.
|
|
606
|
+
:type Count: int
|
|
607
|
+
:param _Data: List of rules
|
|
608
|
+
:type Data: list of Alarm
|
|
609
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
610
|
+
:type RequestId: str
|
|
611
|
+
"""
|
|
612
|
+
self._Count = None
|
|
613
|
+
self._Data = None
|
|
614
|
+
self._RequestId = None
|
|
615
|
+
|
|
616
|
+
@property
|
|
617
|
+
def Count(self):
|
|
618
|
+
r"""Total number.
|
|
619
|
+
:rtype: int
|
|
620
|
+
"""
|
|
621
|
+
return self._Count
|
|
622
|
+
|
|
623
|
+
@Count.setter
|
|
624
|
+
def Count(self, Count):
|
|
625
|
+
self._Count = Count
|
|
626
|
+
|
|
627
|
+
@property
|
|
628
|
+
def Data(self):
|
|
629
|
+
r"""List of rules
|
|
630
|
+
:rtype: list of Alarm
|
|
631
|
+
"""
|
|
632
|
+
return self._Data
|
|
633
|
+
|
|
634
|
+
@Data.setter
|
|
635
|
+
def Data(self, Data):
|
|
636
|
+
self._Data = Data
|
|
637
|
+
|
|
638
|
+
@property
|
|
639
|
+
def RequestId(self):
|
|
640
|
+
r"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
641
|
+
:rtype: str
|
|
642
|
+
"""
|
|
643
|
+
return self._RequestId
|
|
644
|
+
|
|
645
|
+
@RequestId.setter
|
|
646
|
+
def RequestId(self, RequestId):
|
|
647
|
+
self._RequestId = RequestId
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
def _deserialize(self, params):
|
|
651
|
+
self._Count = params.get("Count")
|
|
652
|
+
if params.get("Data") is not None:
|
|
653
|
+
self._Data = []
|
|
654
|
+
for item in params.get("Data"):
|
|
655
|
+
obj = Alarm()
|
|
656
|
+
obj._deserialize(item)
|
|
657
|
+
self._Data.append(obj)
|
|
658
|
+
self._RequestId = params.get("RequestId")
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
class EnableAlarmRequest(AbstractModel):
|
|
662
|
+
r"""EnableAlarm request structure.
|
|
663
|
+
|
|
664
|
+
"""
|
|
665
|
+
|
|
666
|
+
def __init__(self):
|
|
667
|
+
r"""
|
|
668
|
+
:param _Id: Rule ID
|
|
669
|
+
:type Id: int
|
|
670
|
+
:param _MemberUin: Specifies the member uin of the rule owner.
|
|
671
|
+
:type MemberUin: int
|
|
672
|
+
"""
|
|
673
|
+
self._Id = None
|
|
674
|
+
self._MemberUin = None
|
|
675
|
+
|
|
676
|
+
@property
|
|
677
|
+
def Id(self):
|
|
678
|
+
r"""Rule ID
|
|
679
|
+
:rtype: int
|
|
680
|
+
"""
|
|
681
|
+
return self._Id
|
|
682
|
+
|
|
683
|
+
@Id.setter
|
|
684
|
+
def Id(self, Id):
|
|
685
|
+
self._Id = Id
|
|
686
|
+
|
|
687
|
+
@property
|
|
688
|
+
def MemberUin(self):
|
|
689
|
+
r"""Specifies the member uin of the rule owner.
|
|
690
|
+
:rtype: int
|
|
691
|
+
"""
|
|
692
|
+
return self._MemberUin
|
|
693
|
+
|
|
694
|
+
@MemberUin.setter
|
|
695
|
+
def MemberUin(self, MemberUin):
|
|
696
|
+
self._MemberUin = MemberUin
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
def _deserialize(self, params):
|
|
700
|
+
self._Id = params.get("Id")
|
|
701
|
+
self._MemberUin = params.get("MemberUin")
|
|
702
|
+
memeber_set = set(params.keys())
|
|
703
|
+
for name, value in vars(self).items():
|
|
704
|
+
property_name = name[1:]
|
|
705
|
+
if property_name in memeber_set:
|
|
706
|
+
memeber_set.remove(property_name)
|
|
707
|
+
if len(memeber_set) > 0:
|
|
708
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
class EnableAlarmResponse(AbstractModel):
|
|
713
|
+
r"""EnableAlarm response structure.
|
|
714
|
+
|
|
715
|
+
"""
|
|
716
|
+
|
|
717
|
+
def __init__(self):
|
|
718
|
+
r"""
|
|
719
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
720
|
+
:type RequestId: str
|
|
721
|
+
"""
|
|
722
|
+
self._RequestId = None
|
|
723
|
+
|
|
724
|
+
@property
|
|
725
|
+
def RequestId(self):
|
|
726
|
+
r"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
727
|
+
:rtype: str
|
|
728
|
+
"""
|
|
729
|
+
return self._RequestId
|
|
730
|
+
|
|
731
|
+
@RequestId.setter
|
|
732
|
+
def RequestId(self, RequestId):
|
|
733
|
+
self._RequestId = RequestId
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
def _deserialize(self, params):
|
|
737
|
+
self._RequestId = params.get("RequestId")
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
class UpdateAlarmRequest(AbstractModel):
|
|
741
|
+
r"""UpdateAlarm request structure.
|
|
742
|
+
|
|
743
|
+
"""
|
|
744
|
+
|
|
745
|
+
def __init__(self):
|
|
746
|
+
r"""
|
|
747
|
+
:param _Id: ID
|
|
748
|
+
:type Id: int
|
|
749
|
+
:param _Name: Alarm rule name.
|
|
750
|
+
:type Name: str
|
|
751
|
+
:param _ProductId: Product ID.
|
|
752
|
+
:type ProductId: int
|
|
753
|
+
:param _QuotaId: Quota ID.
|
|
754
|
+
:type QuotaId: int
|
|
755
|
+
:param _Metrics: 1: quota usage 2: quota usage rate 3: remaining quota 4: remaining quota rate.
|
|
756
|
+
:type Metrics: int
|
|
757
|
+
:param _Threshold: Specifies the Alarm threshold. valid values: 0-100.
|
|
758
|
+
:type Threshold: int
|
|
759
|
+
:param _Frequency: Alarm frequency.
|
|
760
|
+
:type Frequency: int
|
|
761
|
+
:param _MemberUin: Specifies the uin of the rule owner.
|
|
762
|
+
Operates non-group account rules. this parameter can be omitted.
|
|
763
|
+
Operates the organization account rule. specifies the uin of all users under the current rule.
|
|
764
|
+
:type MemberUin: int
|
|
765
|
+
"""
|
|
766
|
+
self._Id = None
|
|
767
|
+
self._Name = None
|
|
768
|
+
self._ProductId = None
|
|
769
|
+
self._QuotaId = None
|
|
770
|
+
self._Metrics = None
|
|
771
|
+
self._Threshold = None
|
|
772
|
+
self._Frequency = None
|
|
773
|
+
self._MemberUin = None
|
|
774
|
+
|
|
775
|
+
@property
|
|
776
|
+
def Id(self):
|
|
777
|
+
r"""ID
|
|
778
|
+
:rtype: int
|
|
779
|
+
"""
|
|
780
|
+
return self._Id
|
|
781
|
+
|
|
782
|
+
@Id.setter
|
|
783
|
+
def Id(self, Id):
|
|
784
|
+
self._Id = Id
|
|
785
|
+
|
|
786
|
+
@property
|
|
787
|
+
def Name(self):
|
|
788
|
+
r"""Alarm rule name.
|
|
789
|
+
:rtype: str
|
|
790
|
+
"""
|
|
791
|
+
return self._Name
|
|
792
|
+
|
|
793
|
+
@Name.setter
|
|
794
|
+
def Name(self, Name):
|
|
795
|
+
self._Name = Name
|
|
796
|
+
|
|
797
|
+
@property
|
|
798
|
+
def ProductId(self):
|
|
799
|
+
r"""Product ID.
|
|
800
|
+
:rtype: int
|
|
801
|
+
"""
|
|
802
|
+
return self._ProductId
|
|
803
|
+
|
|
804
|
+
@ProductId.setter
|
|
805
|
+
def ProductId(self, ProductId):
|
|
806
|
+
self._ProductId = ProductId
|
|
807
|
+
|
|
808
|
+
@property
|
|
809
|
+
def QuotaId(self):
|
|
810
|
+
r"""Quota ID.
|
|
811
|
+
:rtype: int
|
|
812
|
+
"""
|
|
813
|
+
return self._QuotaId
|
|
814
|
+
|
|
815
|
+
@QuotaId.setter
|
|
816
|
+
def QuotaId(self, QuotaId):
|
|
817
|
+
self._QuotaId = QuotaId
|
|
818
|
+
|
|
819
|
+
@property
|
|
820
|
+
def Metrics(self):
|
|
821
|
+
r"""1: quota usage 2: quota usage rate 3: remaining quota 4: remaining quota rate.
|
|
822
|
+
:rtype: int
|
|
823
|
+
"""
|
|
824
|
+
return self._Metrics
|
|
825
|
+
|
|
826
|
+
@Metrics.setter
|
|
827
|
+
def Metrics(self, Metrics):
|
|
828
|
+
self._Metrics = Metrics
|
|
829
|
+
|
|
830
|
+
@property
|
|
831
|
+
def Threshold(self):
|
|
832
|
+
r"""Specifies the Alarm threshold. valid values: 0-100.
|
|
833
|
+
:rtype: int
|
|
834
|
+
"""
|
|
835
|
+
return self._Threshold
|
|
836
|
+
|
|
837
|
+
@Threshold.setter
|
|
838
|
+
def Threshold(self, Threshold):
|
|
839
|
+
self._Threshold = Threshold
|
|
840
|
+
|
|
841
|
+
@property
|
|
842
|
+
def Frequency(self):
|
|
843
|
+
r"""Alarm frequency.
|
|
844
|
+
:rtype: int
|
|
845
|
+
"""
|
|
846
|
+
return self._Frequency
|
|
847
|
+
|
|
848
|
+
@Frequency.setter
|
|
849
|
+
def Frequency(self, Frequency):
|
|
850
|
+
self._Frequency = Frequency
|
|
851
|
+
|
|
852
|
+
@property
|
|
853
|
+
def MemberUin(self):
|
|
854
|
+
r"""Specifies the uin of the rule owner.
|
|
855
|
+
Operates non-group account rules. this parameter can be omitted.
|
|
856
|
+
Operates the organization account rule. specifies the uin of all users under the current rule.
|
|
857
|
+
:rtype: int
|
|
858
|
+
"""
|
|
859
|
+
return self._MemberUin
|
|
860
|
+
|
|
861
|
+
@MemberUin.setter
|
|
862
|
+
def MemberUin(self, MemberUin):
|
|
863
|
+
self._MemberUin = MemberUin
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
def _deserialize(self, params):
|
|
867
|
+
self._Id = params.get("Id")
|
|
868
|
+
self._Name = params.get("Name")
|
|
869
|
+
self._ProductId = params.get("ProductId")
|
|
870
|
+
self._QuotaId = params.get("QuotaId")
|
|
871
|
+
self._Metrics = params.get("Metrics")
|
|
872
|
+
self._Threshold = params.get("Threshold")
|
|
873
|
+
self._Frequency = params.get("Frequency")
|
|
874
|
+
self._MemberUin = params.get("MemberUin")
|
|
875
|
+
memeber_set = set(params.keys())
|
|
876
|
+
for name, value in vars(self).items():
|
|
877
|
+
property_name = name[1:]
|
|
878
|
+
if property_name in memeber_set:
|
|
879
|
+
memeber_set.remove(property_name)
|
|
880
|
+
if len(memeber_set) > 0:
|
|
881
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
class UpdateAlarmResponse(AbstractModel):
|
|
886
|
+
r"""UpdateAlarm response structure.
|
|
887
|
+
|
|
888
|
+
"""
|
|
889
|
+
|
|
890
|
+
def __init__(self):
|
|
891
|
+
r"""
|
|
892
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
893
|
+
:type RequestId: str
|
|
894
|
+
"""
|
|
895
|
+
self._RequestId = None
|
|
896
|
+
|
|
897
|
+
@property
|
|
898
|
+
def RequestId(self):
|
|
899
|
+
r"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
900
|
+
:rtype: str
|
|
901
|
+
"""
|
|
902
|
+
return self._RequestId
|
|
903
|
+
|
|
904
|
+
@RequestId.setter
|
|
905
|
+
def RequestId(self, RequestId):
|
|
906
|
+
self._RequestId = RequestId
|
|
907
|
+
|
|
908
|
+
|
|
171
909
|
def _deserialize(self, params):
|
|
172
910
|
self._RequestId = params.get("RequestId")
|
|
@@ -42,6 +42,98 @@ class QuotaClient(AbstractClient):
|
|
|
42
42
|
model = models.CreateAlarmResponse()
|
|
43
43
|
model._deserialize(response["Response"])
|
|
44
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
|
+
def DeleteAlarm(self, request):
|
|
53
|
+
r"""Deletes alarm rules
|
|
54
|
+
|
|
55
|
+
:param request: Request instance for DeleteAlarm.
|
|
56
|
+
:type request: :class:`tencentcloud.quota.v20241204.models.DeleteAlarmRequest`
|
|
57
|
+
:rtype: :class:`tencentcloud.quota.v20241204.models.DeleteAlarmResponse`
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
try:
|
|
61
|
+
params = request._serialize()
|
|
62
|
+
headers = request.headers
|
|
63
|
+
body = self.call("DeleteAlarm", params, headers=headers)
|
|
64
|
+
response = json.loads(body)
|
|
65
|
+
model = models.DeleteAlarmResponse()
|
|
66
|
+
model._deserialize(response["Response"])
|
|
67
|
+
return model
|
|
68
|
+
except Exception as e:
|
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
|
70
|
+
raise
|
|
71
|
+
else:
|
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def DescribeAlarms(self, request):
|
|
76
|
+
r"""This API is used to query the alarm rule list.
|
|
77
|
+
|
|
78
|
+
:param request: Request instance for DescribeAlarms.
|
|
79
|
+
:type request: :class:`tencentcloud.quota.v20241204.models.DescribeAlarmsRequest`
|
|
80
|
+
:rtype: :class:`tencentcloud.quota.v20241204.models.DescribeAlarmsResponse`
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
try:
|
|
84
|
+
params = request._serialize()
|
|
85
|
+
headers = request.headers
|
|
86
|
+
body = self.call("DescribeAlarms", params, headers=headers)
|
|
87
|
+
response = json.loads(body)
|
|
88
|
+
model = models.DescribeAlarmsResponse()
|
|
89
|
+
model._deserialize(response["Response"])
|
|
90
|
+
return model
|
|
91
|
+
except Exception as e:
|
|
92
|
+
if isinstance(e, TencentCloudSDKException):
|
|
93
|
+
raise
|
|
94
|
+
else:
|
|
95
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def EnableAlarm(self, request):
|
|
99
|
+
r"""This API is used to enable alarm rules.
|
|
100
|
+
|
|
101
|
+
:param request: Request instance for EnableAlarm.
|
|
102
|
+
:type request: :class:`tencentcloud.quota.v20241204.models.EnableAlarmRequest`
|
|
103
|
+
:rtype: :class:`tencentcloud.quota.v20241204.models.EnableAlarmResponse`
|
|
104
|
+
|
|
105
|
+
"""
|
|
106
|
+
try:
|
|
107
|
+
params = request._serialize()
|
|
108
|
+
headers = request.headers
|
|
109
|
+
body = self.call("EnableAlarm", params, headers=headers)
|
|
110
|
+
response = json.loads(body)
|
|
111
|
+
model = models.EnableAlarmResponse()
|
|
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
|
+
def UpdateAlarm(self, request):
|
|
122
|
+
r"""Modifies alarm rules
|
|
123
|
+
|
|
124
|
+
:param request: Request instance for UpdateAlarm.
|
|
125
|
+
:type request: :class:`tencentcloud.quota.v20241204.models.UpdateAlarmRequest`
|
|
126
|
+
:rtype: :class:`tencentcloud.quota.v20241204.models.UpdateAlarmResponse`
|
|
127
|
+
|
|
128
|
+
"""
|
|
129
|
+
try:
|
|
130
|
+
params = request._serialize()
|
|
131
|
+
headers = request.headers
|
|
132
|
+
body = self.call("UpdateAlarm", params, headers=headers)
|
|
133
|
+
response = json.loads(body)
|
|
134
|
+
model = models.UpdateAlarmResponse()
|
|
135
|
+
model._deserialize(response["Response"])
|
|
136
|
+
return model
|
|
45
137
|
except Exception as e:
|
|
46
138
|
if isinstance(e, TencentCloudSDKException):
|
|
47
139
|
raise
|
|
@@ -17256,29 +17256,30 @@ class DescribeBillingDataRequest(AbstractModel):
|
|
|
17256
17256
|
|
|
17257
17257
|
def __init__(self):
|
|
17258
17258
|
r"""
|
|
17259
|
-
:param _StartTime: The start time.
|
|
17259
|
+
:param _StartTime: The start time. Data will be returned according to the timezone of the input timestamp.
|
|
17260
17260
|
:type StartTime: str
|
|
17261
|
-
:param _EndTime:
|
|
17261
|
+
:param _EndTime: The end time. The query time range (`EndTime` - `StartTime`) must be less than or equal to 31 days. The timezone of the end timestamp must be consistent with the start timestamp, and data will be returned according to the timezone of the input timestamps.
|
|
17262
17262
|
:type EndTime: str
|
|
17263
|
-
:param _ZoneIds: Site ID set.
|
|
17263
|
+
:param _ZoneIds: Site ID set. This parameter is required. A maximum of 100 site ids can be imported. Use `*` to query data for all sites under the Tencent Cloud root account. Querying account-level data requires permissions for all site resources in this API.
|
|
17264
17264
|
:type ZoneIds: list of str
|
|
17265
|
-
:param _MetricName: Metric list.
|
|
17266
|
-
<b>
|
|
17267
|
-
<b>Media processing usage:</b> <li>total_transcode: all specification audio, video jit transcoding, repackaging duration, in seconds;</li> <li>remux: repackaging duration, in seconds;</li> <li>transcode_audio: audio transcoding duration, in seconds;</li> <li>transcode_H264_SD: H.264 encoded standard-definition video (short side
|
|
17265
|
+
:param _MetricName: Metric list. Values as follows:.
|
|
17266
|
+
<b>L4/L7 acceleration traffic:</b><li>acc_flux: specifies content acceleration traffic in bytes.</li><li>smt_flux: specifies smart acceleration traffic in bytes.</li><li>l4_flux: specifies layer 4 acceleration traffic in bytes.</li><li>sec_flux: specifies independent protection traffic in bytes.</li><li>zxctg_flux: specifies network optimization traffic in the chinese mainland in bytes.</li><br><b>L4/L7 acceleration bandwidth:</b><li>acc_bandwidth: specifies content acceleration bandwidth in bps.</li><li>smt_bandwidth: specifies intelligent acceleration bandwidth in bps.</li><li>l4_bandwidth: specifies layer 4 acceleration bandwidth in bps.</li><li>sec_bandwidth: specifies exclusive protection bandwidth in bps.</li><li>zxctg_bandwidth: specifies network optimization bandwidth in the chinese mainland in bps.</li><br><b>HTTP/HTTPS security requests:</b><li>sec_request_clean: specifies HTTP/HTTPS requests by count.</li><br><b>Value-added service usage:</b><li>smt_request_clean: specifies intelligent acceleration requests by count.</li><li>quic_request: specifies quic requests by count.</li><li>bot_request_clean: specifies bot requests by count.</li><li>cls_count: specifies the number of real-time log pushes by count.</li><li>ddos_bandwidth: specifies elastic ddos protection bandwidth in bps.</li><br><b>Edge computing usage:</b><li>edgefunction_request: specifies the number of edge function requests by count.</li><li>edgefunction_cpu_time: specifies edge function cpu processing time in milliseconds.</li>
|
|
17267
|
+
<b>Media processing usage:</b> <li>total_transcode: all specification audio, video jit transcoding, repackaging duration, in seconds;</li> <li>remux: repackaging duration, in seconds;</li> <li>transcode_audio: audio transcoding duration, in seconds;</li> <li>transcode_H264_SD: H.264 encoded standard-definition video (short side less than or equal to 480 px) duration, in seconds;</li> <li>transcode_H264_HD: H.264 encoded high-definition video (short side less than or equal to 720 px) duration, in seconds;</li> <li>transcode_H264_FHD: H.264 encoded full HD video (short side less than or equal to 1080 px) duration, in seconds;</li> <li>transcode_H264_2K: H.264 encoded 2K video (short side less than or equal to 1440 px) duration, in seconds.</li>
|
|
17268
17268
|
:type MetricName: str
|
|
17269
17269
|
:param _Interval: Time granularity of the query. Valid values:
|
|
17270
17270
|
<li>5min: 5 minutes;</li>
|
|
17271
17271
|
<li>hour: 1 hour;</li>
|
|
17272
17272
|
<li>day: 1 day.</li>
|
|
17273
17273
|
:type Interval: str
|
|
17274
|
-
:param _Filters: Filter criteria.
|
|
17275
|
-
<li>host:
|
|
17276
|
-
<li>proxy-id:
|
|
17274
|
+
:param _Filters: Filter criteria. The detailed values of filter criteria are as follows:
|
|
17275
|
+
<li>host: Specifies the domain name to filter by. Example value: test.example.com<br></li>
|
|
17276
|
+
<li>proxy-id: Specifies the L4 proxy instance ID for filtering. Example value: sid-2rugn89bkla9.</li>
|
|
17277
17277
|
<li>region-id: Filter by billing region. Options:<br> CH: Chinese mainland<br> AF: Africa<br> AS1: Asia-Pacific Region 1<br> AS2: Asia-Pacific Region 2<br> AS3: Asia-Pacific Region 3<br> EU: Europe<br> MidEast: Middle East<br> NA: North America<br> SA: South America</li>
|
|
17278
17278
|
|
|
17279
|
-
|
|
17279
|
+
Note: `BillingDataFilter` with the same `Type` have an "or" relationship with each other, while those with different `Type` have an "and" relationship between them.
|
|
17280
17280
|
:type Filters: list of BillingDataFilter
|
|
17281
|
-
:param _GroupBy:
|
|
17281
|
+
:param _GroupBy: Aggregation dimensions for grouping. You are allowed to group by up to two dimensions at the same time. Valid values are as follows:<li>zone-id: Group by zone ID. If the content identifier feature is used, it will take precedence and group by content identifier first;<br></li> <li>host: Group by domain name;<br></li> <li>proxy-id: Group by L4 proxy instance ID;<br></li> <li>region-id: Group by billing region.</li>
|
|
17282
|
+
Note: The output parameter's default maximum value for the number of groups is 200. If you encounter an error related to this limit, you should reduce the number of groups in the final output by narrowing down the query scope using `ZoneIds.N` or `Filters.N` parameters, or by decreasing the number of dimensions specified in the `GroupBy.N` parameter.
|
|
17282
17283
|
:type GroupBy: list of str
|
|
17283
17284
|
"""
|
|
17284
17285
|
self._StartTime = None
|
|
@@ -17291,7 +17292,7 @@ Specifies that `BillingDataFilter` with the same `Type` have an "or" relationshi
|
|
|
17291
17292
|
|
|
17292
17293
|
@property
|
|
17293
17294
|
def StartTime(self):
|
|
17294
|
-
r"""The start time.
|
|
17295
|
+
r"""The start time. Data will be returned according to the timezone of the input timestamp.
|
|
17295
17296
|
:rtype: str
|
|
17296
17297
|
"""
|
|
17297
17298
|
return self._StartTime
|
|
@@ -17302,7 +17303,7 @@ Specifies that `BillingDataFilter` with the same `Type` have an "or" relationshi
|
|
|
17302
17303
|
|
|
17303
17304
|
@property
|
|
17304
17305
|
def EndTime(self):
|
|
17305
|
-
r"""
|
|
17306
|
+
r"""The end time. The query time range (`EndTime` - `StartTime`) must be less than or equal to 31 days. The timezone of the end timestamp must be consistent with the start timestamp, and data will be returned according to the timezone of the input timestamps.
|
|
17306
17307
|
:rtype: str
|
|
17307
17308
|
"""
|
|
17308
17309
|
return self._EndTime
|
|
@@ -17313,7 +17314,7 @@ Specifies that `BillingDataFilter` with the same `Type` have an "or" relationshi
|
|
|
17313
17314
|
|
|
17314
17315
|
@property
|
|
17315
17316
|
def ZoneIds(self):
|
|
17316
|
-
r"""Site ID set.
|
|
17317
|
+
r"""Site ID set. This parameter is required. A maximum of 100 site ids can be imported. Use `*` to query data for all sites under the Tencent Cloud root account. Querying account-level data requires permissions for all site resources in this API.
|
|
17317
17318
|
:rtype: list of str
|
|
17318
17319
|
"""
|
|
17319
17320
|
return self._ZoneIds
|
|
@@ -17324,9 +17325,9 @@ Specifies that `BillingDataFilter` with the same `Type` have an "or" relationshi
|
|
|
17324
17325
|
|
|
17325
17326
|
@property
|
|
17326
17327
|
def MetricName(self):
|
|
17327
|
-
r"""Metric list.
|
|
17328
|
-
<b>
|
|
17329
|
-
<b>Media processing usage:</b> <li>total_transcode: all specification audio, video jit transcoding, repackaging duration, in seconds;</li> <li>remux: repackaging duration, in seconds;</li> <li>transcode_audio: audio transcoding duration, in seconds;</li> <li>transcode_H264_SD: H.264 encoded standard-definition video (short side
|
|
17328
|
+
r"""Metric list. Values as follows:.
|
|
17329
|
+
<b>L4/L7 acceleration traffic:</b><li>acc_flux: specifies content acceleration traffic in bytes.</li><li>smt_flux: specifies smart acceleration traffic in bytes.</li><li>l4_flux: specifies layer 4 acceleration traffic in bytes.</li><li>sec_flux: specifies independent protection traffic in bytes.</li><li>zxctg_flux: specifies network optimization traffic in the chinese mainland in bytes.</li><br><b>L4/L7 acceleration bandwidth:</b><li>acc_bandwidth: specifies content acceleration bandwidth in bps.</li><li>smt_bandwidth: specifies intelligent acceleration bandwidth in bps.</li><li>l4_bandwidth: specifies layer 4 acceleration bandwidth in bps.</li><li>sec_bandwidth: specifies exclusive protection bandwidth in bps.</li><li>zxctg_bandwidth: specifies network optimization bandwidth in the chinese mainland in bps.</li><br><b>HTTP/HTTPS security requests:</b><li>sec_request_clean: specifies HTTP/HTTPS requests by count.</li><br><b>Value-added service usage:</b><li>smt_request_clean: specifies intelligent acceleration requests by count.</li><li>quic_request: specifies quic requests by count.</li><li>bot_request_clean: specifies bot requests by count.</li><li>cls_count: specifies the number of real-time log pushes by count.</li><li>ddos_bandwidth: specifies elastic ddos protection bandwidth in bps.</li><br><b>Edge computing usage:</b><li>edgefunction_request: specifies the number of edge function requests by count.</li><li>edgefunction_cpu_time: specifies edge function cpu processing time in milliseconds.</li>
|
|
17330
|
+
<b>Media processing usage:</b> <li>total_transcode: all specification audio, video jit transcoding, repackaging duration, in seconds;</li> <li>remux: repackaging duration, in seconds;</li> <li>transcode_audio: audio transcoding duration, in seconds;</li> <li>transcode_H264_SD: H.264 encoded standard-definition video (short side less than or equal to 480 px) duration, in seconds;</li> <li>transcode_H264_HD: H.264 encoded high-definition video (short side less than or equal to 720 px) duration, in seconds;</li> <li>transcode_H264_FHD: H.264 encoded full HD video (short side less than or equal to 1080 px) duration, in seconds;</li> <li>transcode_H264_2K: H.264 encoded 2K video (short side less than or equal to 1440 px) duration, in seconds.</li>
|
|
17330
17331
|
:rtype: str
|
|
17331
17332
|
"""
|
|
17332
17333
|
return self._MetricName
|
|
@@ -17351,12 +17352,12 @@ Specifies that `BillingDataFilter` with the same `Type` have an "or" relationshi
|
|
|
17351
17352
|
|
|
17352
17353
|
@property
|
|
17353
17354
|
def Filters(self):
|
|
17354
|
-
r"""Filter criteria.
|
|
17355
|
-
<li>host:
|
|
17356
|
-
<li>proxy-id:
|
|
17355
|
+
r"""Filter criteria. The detailed values of filter criteria are as follows:
|
|
17356
|
+
<li>host: Specifies the domain name to filter by. Example value: test.example.com<br></li>
|
|
17357
|
+
<li>proxy-id: Specifies the L4 proxy instance ID for filtering. Example value: sid-2rugn89bkla9.</li>
|
|
17357
17358
|
<li>region-id: Filter by billing region. Options:<br> CH: Chinese mainland<br> AF: Africa<br> AS1: Asia-Pacific Region 1<br> AS2: Asia-Pacific Region 2<br> AS3: Asia-Pacific Region 3<br> EU: Europe<br> MidEast: Middle East<br> NA: North America<br> SA: South America</li>
|
|
17358
17359
|
|
|
17359
|
-
|
|
17360
|
+
Note: `BillingDataFilter` with the same `Type` have an "or" relationship with each other, while those with different `Type` have an "and" relationship between them.
|
|
17360
17361
|
:rtype: list of BillingDataFilter
|
|
17361
17362
|
"""
|
|
17362
17363
|
return self._Filters
|
|
@@ -17367,7 +17368,8 @@ Specifies that `BillingDataFilter` with the same `Type` have an "or" relationshi
|
|
|
17367
17368
|
|
|
17368
17369
|
@property
|
|
17369
17370
|
def GroupBy(self):
|
|
17370
|
-
r"""
|
|
17371
|
+
r"""Aggregation dimensions for grouping. You are allowed to group by up to two dimensions at the same time. Valid values are as follows:<li>zone-id: Group by zone ID. If the content identifier feature is used, it will take precedence and group by content identifier first;<br></li> <li>host: Group by domain name;<br></li> <li>proxy-id: Group by L4 proxy instance ID;<br></li> <li>region-id: Group by billing region.</li>
|
|
17372
|
+
Note: The output parameter's default maximum value for the number of groups is 200. If you encounter an error related to this limit, you should reduce the number of groups in the final output by narrowing down the query scope using `ZoneIds.N` or `Filters.N` parameters, or by decreasing the number of dimensions specified in the `GroupBy.N` parameter.
|
|
17371
17373
|
:rtype: list of str
|
|
17372
17374
|
"""
|
|
17373
17375
|
return self._GroupBy
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256
|
|
1
|
+
tencentcloud/__init__.py,sha256=YByOmDJ7ipsRhjAd7oBSO9Lrr3lQ7xHIkNG6VcvF-6w,630
|
|
2
2
|
tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/advisor/v20200721/advisor_client.py,sha256=PI6LX0PouoGb8e_ydQ9rATqY795jQh7JPK2COE_oH-Q,2899
|
|
@@ -471,9 +471,9 @@ tencentcloud/pts/v20210728/models.py,sha256=3053CQ6soN4lyt7IEJeflxqhRvwkx1hwnyNK
|
|
|
471
471
|
tencentcloud/pts/v20210728/pts_client.py,sha256=hzy4uKlbt13m9XX5fY1xAHVa69saLPwvNXAoxd1LJaI,44068
|
|
472
472
|
tencentcloud/quota/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
473
473
|
tencentcloud/quota/v20241204/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
474
|
-
tencentcloud/quota/v20241204/errorcodes.py,sha256=
|
|
475
|
-
tencentcloud/quota/v20241204/models.py,sha256=
|
|
476
|
-
tencentcloud/quota/v20241204/quota_client.py,sha256=
|
|
474
|
+
tencentcloud/quota/v20241204/errorcodes.py,sha256=NqaWi8Bq1Ca0W84xxDLHXSt1B2occnirH00c2B4nWxY,1312
|
|
475
|
+
tencentcloud/quota/v20241204/models.py,sha256=c7m4pFXMOqCaTmiJDzQ6LwjYaqmf1Y1dt6Y9kfl5w_0,24513
|
|
476
|
+
tencentcloud/quota/v20241204/quota_client.py,sha256=662yYRcDR-nOBP_zXYKpUuQq7wDdin1bWCGLKgZE1RY,5240
|
|
477
477
|
tencentcloud/rce/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
478
478
|
tencentcloud/rce/v20201103/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
479
479
|
tencentcloud/rce/v20201103/errorcodes.py,sha256=-rA5z1iTPCtgbH3isZetBCczbhBPAutWOZR59F6PoSU,4264
|
|
@@ -604,7 +604,7 @@ tencentcloud/teo/v20220106/models.py,sha256=eNaNZe2eNzDvOHeV0YGg2sn23OaQrZ_m_aL1
|
|
|
604
604
|
tencentcloud/teo/v20220106/teo_client.py,sha256=pFawOB_-KDT4xTmSKOYiUJCHHGUNx9gmqf32K0GI2po,82968
|
|
605
605
|
tencentcloud/teo/v20220901/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
606
606
|
tencentcloud/teo/v20220901/errorcodes.py,sha256=NfpPrKMLyN7gMLmypQIyc5uKqdeZ_os3MUVmXJRrW7s,64124
|
|
607
|
-
tencentcloud/teo/v20220901/models.py,sha256=
|
|
607
|
+
tencentcloud/teo/v20220901/models.py,sha256=WEvDhGIs4DIKmsXEdoyHpM5eB2O97Ufa0k-10fcT_Vs,1959023
|
|
608
608
|
tencentcloud/teo/v20220901/teo_client.py,sha256=THyM3hFYOWCexnuwg12l8Dv2DOqQNgFL3c4GAPRswXI,206275
|
|
609
609
|
tencentcloud/tione/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
610
610
|
tencentcloud/tione/v20211111/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -698,7 +698,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
698
698
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=g2ac3Fxgbof23WWhGj9VxvuLJZNshnB0Mg7jWUzTh24,3168
|
|
699
699
|
tencentcloud/yunjing/v20180228/models.py,sha256=nivJxxJYNvW-I_WWuoZj5RJaexdeSctX04e7osSjSUo,331388
|
|
700
700
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=XYRY2x9Bs-06YaFx6swLlxuqhNRuykLZuIte6bc8T2E,67433
|
|
701
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
702
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
703
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
704
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
701
|
+
tencentcloud_sdk_python_intl_en-3.0.1285.dist-info/METADATA,sha256=ToSrNJ10q9Ri2ffq-TconFSSJNdY4SqWrvwnM7OzpY0,1628
|
|
702
|
+
tencentcloud_sdk_python_intl_en-3.0.1285.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
703
|
+
tencentcloud_sdk_python_intl_en-3.0.1285.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
704
|
+
tencentcloud_sdk_python_intl_en-3.0.1285.dist-info/RECORD,,
|
|
File without changes
|