tccli-intl-en 3.0.1265.1__py2.py3-none-any.whl → 3.0.1266.1__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.
- tccli/__init__.py +1 -1
- tccli/services/quota/quota_client.py +212 -0
- tccli/services/quota/v20241204/api.json +438 -0
- tccli/services/quota/v20241204/examples.json +38 -0
- tccli/services/teo/v20220901/api.json +6 -6
- {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.0.1266.1.dist-info}/METADATA +2 -2
- {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.0.1266.1.dist-info}/RECORD +11 -11
- {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.0.1266.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.0.1266.1.dist-info}/WHEEL +0 -0
- {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.0.1266.1.dist-info}/entry_points.txt +0 -0
- {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.0.1266.1.dist-info}/top_level.txt +0 -0
tccli/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '3.0.
|
|
1
|
+
__version__ = '3.0.1266.1'
|
|
@@ -69,6 +69,214 @@ def doCreateAlarm(args, parsed_globals):
|
|
|
69
69
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
70
70
|
|
|
71
71
|
|
|
72
|
+
def doUpdateAlarm(args, parsed_globals):
|
|
73
|
+
g_param = parse_global_arg(parsed_globals)
|
|
74
|
+
|
|
75
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
76
|
+
cred = credential.CVMRoleCredential()
|
|
77
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
|
78
|
+
cred = credential.STSAssumeRoleCredential(
|
|
79
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
80
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
81
|
+
)
|
|
82
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
83
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
84
|
+
else:
|
|
85
|
+
cred = credential.Credential(
|
|
86
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
|
87
|
+
)
|
|
88
|
+
http_profile = HttpProfile(
|
|
89
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
|
90
|
+
reqMethod="POST",
|
|
91
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
|
92
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
93
|
+
)
|
|
94
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
|
95
|
+
if g_param[OptionsDefine.Language]:
|
|
96
|
+
profile.language = g_param[OptionsDefine.Language]
|
|
97
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
98
|
+
client = mod.QuotaClient(cred, g_param[OptionsDefine.Region], profile)
|
|
99
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
100
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
101
|
+
model = models.UpdateAlarmRequest()
|
|
102
|
+
model.from_json_string(json.dumps(args))
|
|
103
|
+
start_time = time.time()
|
|
104
|
+
while True:
|
|
105
|
+
rsp = client.UpdateAlarm(model)
|
|
106
|
+
result = rsp.to_json_string()
|
|
107
|
+
try:
|
|
108
|
+
json_obj = json.loads(result)
|
|
109
|
+
except TypeError as e:
|
|
110
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
|
111
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
|
112
|
+
break
|
|
113
|
+
cur_time = time.time()
|
|
114
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
|
115
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
|
116
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
|
117
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
|
118
|
+
else:
|
|
119
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
|
120
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
|
121
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
def doDeleteAlarm(args, parsed_globals):
|
|
125
|
+
g_param = parse_global_arg(parsed_globals)
|
|
126
|
+
|
|
127
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
128
|
+
cred = credential.CVMRoleCredential()
|
|
129
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
|
130
|
+
cred = credential.STSAssumeRoleCredential(
|
|
131
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
132
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
133
|
+
)
|
|
134
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
135
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
136
|
+
else:
|
|
137
|
+
cred = credential.Credential(
|
|
138
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
|
139
|
+
)
|
|
140
|
+
http_profile = HttpProfile(
|
|
141
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
|
142
|
+
reqMethod="POST",
|
|
143
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
|
144
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
145
|
+
)
|
|
146
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
|
147
|
+
if g_param[OptionsDefine.Language]:
|
|
148
|
+
profile.language = g_param[OptionsDefine.Language]
|
|
149
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
150
|
+
client = mod.QuotaClient(cred, g_param[OptionsDefine.Region], profile)
|
|
151
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
152
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
153
|
+
model = models.DeleteAlarmRequest()
|
|
154
|
+
model.from_json_string(json.dumps(args))
|
|
155
|
+
start_time = time.time()
|
|
156
|
+
while True:
|
|
157
|
+
rsp = client.DeleteAlarm(model)
|
|
158
|
+
result = rsp.to_json_string()
|
|
159
|
+
try:
|
|
160
|
+
json_obj = json.loads(result)
|
|
161
|
+
except TypeError as e:
|
|
162
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
|
163
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
|
164
|
+
break
|
|
165
|
+
cur_time = time.time()
|
|
166
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
|
167
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
|
168
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
|
169
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
|
170
|
+
else:
|
|
171
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
|
172
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
|
173
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
def doDescribeAlarms(args, parsed_globals):
|
|
177
|
+
g_param = parse_global_arg(parsed_globals)
|
|
178
|
+
|
|
179
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
180
|
+
cred = credential.CVMRoleCredential()
|
|
181
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
|
182
|
+
cred = credential.STSAssumeRoleCredential(
|
|
183
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
184
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
185
|
+
)
|
|
186
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
187
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
188
|
+
else:
|
|
189
|
+
cred = credential.Credential(
|
|
190
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
|
191
|
+
)
|
|
192
|
+
http_profile = HttpProfile(
|
|
193
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
|
194
|
+
reqMethod="POST",
|
|
195
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
|
196
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
197
|
+
)
|
|
198
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
|
199
|
+
if g_param[OptionsDefine.Language]:
|
|
200
|
+
profile.language = g_param[OptionsDefine.Language]
|
|
201
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
202
|
+
client = mod.QuotaClient(cred, g_param[OptionsDefine.Region], profile)
|
|
203
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
204
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
205
|
+
model = models.DescribeAlarmsRequest()
|
|
206
|
+
model.from_json_string(json.dumps(args))
|
|
207
|
+
start_time = time.time()
|
|
208
|
+
while True:
|
|
209
|
+
rsp = client.DescribeAlarms(model)
|
|
210
|
+
result = rsp.to_json_string()
|
|
211
|
+
try:
|
|
212
|
+
json_obj = json.loads(result)
|
|
213
|
+
except TypeError as e:
|
|
214
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
|
215
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
|
216
|
+
break
|
|
217
|
+
cur_time = time.time()
|
|
218
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
|
219
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
|
220
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
|
221
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
|
222
|
+
else:
|
|
223
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
|
224
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
|
225
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
def doEnableAlarm(args, parsed_globals):
|
|
229
|
+
g_param = parse_global_arg(parsed_globals)
|
|
230
|
+
|
|
231
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
232
|
+
cred = credential.CVMRoleCredential()
|
|
233
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
|
234
|
+
cred = credential.STSAssumeRoleCredential(
|
|
235
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
236
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
237
|
+
)
|
|
238
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
239
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
240
|
+
else:
|
|
241
|
+
cred = credential.Credential(
|
|
242
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
|
243
|
+
)
|
|
244
|
+
http_profile = HttpProfile(
|
|
245
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
|
246
|
+
reqMethod="POST",
|
|
247
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
|
248
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
249
|
+
)
|
|
250
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
|
251
|
+
if g_param[OptionsDefine.Language]:
|
|
252
|
+
profile.language = g_param[OptionsDefine.Language]
|
|
253
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
254
|
+
client = mod.QuotaClient(cred, g_param[OptionsDefine.Region], profile)
|
|
255
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
256
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
257
|
+
model = models.EnableAlarmRequest()
|
|
258
|
+
model.from_json_string(json.dumps(args))
|
|
259
|
+
start_time = time.time()
|
|
260
|
+
while True:
|
|
261
|
+
rsp = client.EnableAlarm(model)
|
|
262
|
+
result = rsp.to_json_string()
|
|
263
|
+
try:
|
|
264
|
+
json_obj = json.loads(result)
|
|
265
|
+
except TypeError as e:
|
|
266
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
|
267
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
|
268
|
+
break
|
|
269
|
+
cur_time = time.time()
|
|
270
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
|
271
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
|
272
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
|
273
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
|
274
|
+
else:
|
|
275
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
|
276
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
|
277
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
278
|
+
|
|
279
|
+
|
|
72
280
|
CLIENT_MAP = {
|
|
73
281
|
"v20241204": quota_client_v20241204,
|
|
74
282
|
|
|
@@ -81,6 +289,10 @@ MODELS_MAP = {
|
|
|
81
289
|
|
|
82
290
|
ACTION_MAP = {
|
|
83
291
|
"CreateAlarm": doCreateAlarm,
|
|
292
|
+
"UpdateAlarm": doUpdateAlarm,
|
|
293
|
+
"DeleteAlarm": doDeleteAlarm,
|
|
294
|
+
"DescribeAlarms": doDescribeAlarms,
|
|
295
|
+
"EnableAlarm": doEnableAlarm,
|
|
84
296
|
|
|
85
297
|
}
|
|
86
298
|
|
|
@@ -6,6 +6,34 @@
|
|
|
6
6
|
"name": "Create Alarm Rule",
|
|
7
7
|
"output": "CreateAlarmResponse",
|
|
8
8
|
"status": "online"
|
|
9
|
+
},
|
|
10
|
+
"DeleteAlarm": {
|
|
11
|
+
"document": "Deletes alarm rules",
|
|
12
|
+
"input": "DeleteAlarmRequest",
|
|
13
|
+
"name": "Deletes alarm rules",
|
|
14
|
+
"output": "DeleteAlarmResponse",
|
|
15
|
+
"status": "online"
|
|
16
|
+
},
|
|
17
|
+
"DescribeAlarms": {
|
|
18
|
+
"document": "This API is used to query the alarm rule list.",
|
|
19
|
+
"input": "DescribeAlarmsRequest",
|
|
20
|
+
"name": "Alarm rule list",
|
|
21
|
+
"output": "DescribeAlarmsResponse",
|
|
22
|
+
"status": "online"
|
|
23
|
+
},
|
|
24
|
+
"EnableAlarm": {
|
|
25
|
+
"document": "This API is used to enable alarm rules.",
|
|
26
|
+
"input": "EnableAlarmRequest",
|
|
27
|
+
"name": "Enable alerts",
|
|
28
|
+
"output": "EnableAlarmResponse",
|
|
29
|
+
"status": "online"
|
|
30
|
+
},
|
|
31
|
+
"UpdateAlarm": {
|
|
32
|
+
"document": "Modifies alarm rules",
|
|
33
|
+
"input": "UpdateAlarmRequest",
|
|
34
|
+
"name": "Modifies alarm rules",
|
|
35
|
+
"output": "UpdateAlarmResponse",
|
|
36
|
+
"status": "online"
|
|
9
37
|
}
|
|
10
38
|
},
|
|
11
39
|
"metadata": {
|
|
@@ -14,6 +42,144 @@
|
|
|
14
42
|
"serviceShortName": "quota"
|
|
15
43
|
},
|
|
16
44
|
"objects": {
|
|
45
|
+
"Alarm": {
|
|
46
|
+
"document": "Alarm Rule Details",
|
|
47
|
+
"members": [
|
|
48
|
+
{
|
|
49
|
+
"disabled": false,
|
|
50
|
+
"document": "Alarm rule ID.",
|
|
51
|
+
"example": "12",
|
|
52
|
+
"member": "int64",
|
|
53
|
+
"name": "Id",
|
|
54
|
+
"output_required": false,
|
|
55
|
+
"required": true,
|
|
56
|
+
"type": "int",
|
|
57
|
+
"value_allowed_null": false
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"disabled": false,
|
|
61
|
+
"document": "Alarm rule name.",
|
|
62
|
+
"example": "监控告警",
|
|
63
|
+
"member": "string",
|
|
64
|
+
"name": "Name",
|
|
65
|
+
"output_required": false,
|
|
66
|
+
"required": true,
|
|
67
|
+
"type": "string",
|
|
68
|
+
"value_allowed_null": false
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"disabled": false,
|
|
72
|
+
"document": "Product ID",
|
|
73
|
+
"example": "2001",
|
|
74
|
+
"member": "uint64",
|
|
75
|
+
"name": "ProductId",
|
|
76
|
+
"output_required": false,
|
|
77
|
+
"required": true,
|
|
78
|
+
"type": "int",
|
|
79
|
+
"value_allowed_null": false
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"disabled": false,
|
|
83
|
+
"document": "Quota ID.",
|
|
84
|
+
"example": "2",
|
|
85
|
+
"member": "uint64",
|
|
86
|
+
"name": "QuotaId",
|
|
87
|
+
"output_required": false,
|
|
88
|
+
"required": true,
|
|
89
|
+
"type": "int",
|
|
90
|
+
"value_allowed_null": false
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"disabled": false,
|
|
94
|
+
"document": "Alarm condition.",
|
|
95
|
+
"example": "1",
|
|
96
|
+
"member": "int64",
|
|
97
|
+
"name": "Metrics",
|
|
98
|
+
"output_required": false,
|
|
99
|
+
"required": true,
|
|
100
|
+
"type": "int",
|
|
101
|
+
"value_allowed_null": false
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"disabled": false,
|
|
105
|
+
"document": "Alarm frequency.",
|
|
106
|
+
"example": "2",
|
|
107
|
+
"member": "int64",
|
|
108
|
+
"name": "Frequency",
|
|
109
|
+
"output_required": false,
|
|
110
|
+
"required": true,
|
|
111
|
+
"type": "int",
|
|
112
|
+
"value_allowed_null": false
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"disabled": false,
|
|
116
|
+
"document": "Specifies the Alarm threshold. valid values: 0-100.",
|
|
117
|
+
"example": "1",
|
|
118
|
+
"member": "int64",
|
|
119
|
+
"name": "Threshold",
|
|
120
|
+
"output_required": false,
|
|
121
|
+
"required": true,
|
|
122
|
+
"type": "int",
|
|
123
|
+
"value_allowed_null": false
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"disabled": false,
|
|
127
|
+
"document": "Creator UIN",
|
|
128
|
+
"example": "234",
|
|
129
|
+
"member": "int64",
|
|
130
|
+
"name": "OwnerUin",
|
|
131
|
+
"output_required": true,
|
|
132
|
+
"required": false,
|
|
133
|
+
"type": "int",
|
|
134
|
+
"value_allowed_null": false
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"disabled": false,
|
|
138
|
+
"document": "Specifies the uin of the rule owner.",
|
|
139
|
+
"example": "234422",
|
|
140
|
+
"member": "int64",
|
|
141
|
+
"name": "MemberUin",
|
|
142
|
+
"output_required": true,
|
|
143
|
+
"required": false,
|
|
144
|
+
"type": "int",
|
|
145
|
+
"value_allowed_null": false
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"disabled": false,
|
|
149
|
+
"document": "Specifies the quota name.",
|
|
150
|
+
"example": "配额1",
|
|
151
|
+
"member": "string",
|
|
152
|
+
"name": "QuotaName",
|
|
153
|
+
"output_required": false,
|
|
154
|
+
"required": false,
|
|
155
|
+
"type": "string",
|
|
156
|
+
"value_allowed_null": false
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"disabled": false,
|
|
160
|
+
"document": "Product name",
|
|
161
|
+
"example": "云服务器",
|
|
162
|
+
"member": "string",
|
|
163
|
+
"name": "ProductName",
|
|
164
|
+
"output_required": false,
|
|
165
|
+
"required": false,
|
|
166
|
+
"type": "string",
|
|
167
|
+
"value_allowed_null": false
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"disabled": false,
|
|
171
|
+
"document": "Whether to delete. 1: not deleted.\n2: delete.",
|
|
172
|
+
"example": "1",
|
|
173
|
+
"member": "uint64",
|
|
174
|
+
"name": "Status",
|
|
175
|
+
"output_required": true,
|
|
176
|
+
"required": false,
|
|
177
|
+
"type": "int",
|
|
178
|
+
"value_allowed_null": false
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"usage": "both"
|
|
182
|
+
},
|
|
17
183
|
"CreateAlarmRequest": {
|
|
18
184
|
"document": "CreateAlarm request structure.",
|
|
19
185
|
"members": [
|
|
@@ -94,6 +260,278 @@
|
|
|
94
260
|
}
|
|
95
261
|
],
|
|
96
262
|
"type": "object"
|
|
263
|
+
},
|
|
264
|
+
"DeleteAlarmRequest": {
|
|
265
|
+
"document": "DeleteAlarm request structure.",
|
|
266
|
+
"members": [
|
|
267
|
+
{
|
|
268
|
+
"disabled": false,
|
|
269
|
+
"document": "Rule ID",
|
|
270
|
+
"example": "12",
|
|
271
|
+
"member": "int64",
|
|
272
|
+
"name": "Id",
|
|
273
|
+
"required": true,
|
|
274
|
+
"type": "int"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"disabled": false,
|
|
278
|
+
"document": "Specifies the member uin of the rule owner.",
|
|
279
|
+
"example": "234",
|
|
280
|
+
"member": "int64",
|
|
281
|
+
"name": "MemberUin",
|
|
282
|
+
"required": false,
|
|
283
|
+
"type": "int"
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
"type": "object"
|
|
287
|
+
},
|
|
288
|
+
"DeleteAlarmResponse": {
|
|
289
|
+
"document": "DeleteAlarm response structure.",
|
|
290
|
+
"members": [
|
|
291
|
+
{
|
|
292
|
+
"document": "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.",
|
|
293
|
+
"member": "string",
|
|
294
|
+
"name": "RequestId",
|
|
295
|
+
"type": "string"
|
|
296
|
+
}
|
|
297
|
+
],
|
|
298
|
+
"type": "object"
|
|
299
|
+
},
|
|
300
|
+
"DescribeAlarmsRequest": {
|
|
301
|
+
"document": "DescribeAlarms request structure.",
|
|
302
|
+
"members": [
|
|
303
|
+
{
|
|
304
|
+
"disabled": false,
|
|
305
|
+
"document": "Number of items per page. maximum 100.",
|
|
306
|
+
"example": "10",
|
|
307
|
+
"member": "int64",
|
|
308
|
+
"name": "Limit",
|
|
309
|
+
"required": true,
|
|
310
|
+
"type": "int"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"disabled": false,
|
|
314
|
+
"document": "Offset.",
|
|
315
|
+
"example": "1",
|
|
316
|
+
"member": "int64",
|
|
317
|
+
"name": "Offset",
|
|
318
|
+
"required": true,
|
|
319
|
+
"type": "int"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"disabled": false,
|
|
323
|
+
"document": "Product ID.",
|
|
324
|
+
"example": "12",
|
|
325
|
+
"member": "int64",
|
|
326
|
+
"name": "ProductId",
|
|
327
|
+
"required": false,
|
|
328
|
+
"type": "int"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"disabled": false,
|
|
332
|
+
"document": "Quota ID.",
|
|
333
|
+
"example": "23",
|
|
334
|
+
"member": "int64",
|
|
335
|
+
"name": "QuotaId",
|
|
336
|
+
"required": false,
|
|
337
|
+
"type": "int"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"disabled": false,
|
|
341
|
+
"document": "Alarm, quota name.",
|
|
342
|
+
"example": "规则1",
|
|
343
|
+
"member": "string",
|
|
344
|
+
"name": "Content",
|
|
345
|
+
"required": false,
|
|
346
|
+
"type": "string"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"disabled": false,
|
|
350
|
+
"document": "Member uins.",
|
|
351
|
+
"example": "[123,45456]",
|
|
352
|
+
"member": "int64",
|
|
353
|
+
"name": "MemberUins",
|
|
354
|
+
"required": false,
|
|
355
|
+
"type": "list"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"disabled": false,
|
|
359
|
+
"document": "AlAlarm metric.",
|
|
360
|
+
"example": "2",
|
|
361
|
+
"member": "int64",
|
|
362
|
+
"name": "Metrics",
|
|
363
|
+
"required": false,
|
|
364
|
+
"type": "int"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"disabled": false,
|
|
368
|
+
"document": "Rule ID",
|
|
369
|
+
"example": "2",
|
|
370
|
+
"member": "uint64",
|
|
371
|
+
"name": "Id",
|
|
372
|
+
"required": false,
|
|
373
|
+
"type": "int"
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"type": "object"
|
|
377
|
+
},
|
|
378
|
+
"DescribeAlarmsResponse": {
|
|
379
|
+
"document": "DescribeAlarms response structure.",
|
|
380
|
+
"members": [
|
|
381
|
+
{
|
|
382
|
+
"disabled": false,
|
|
383
|
+
"document": "Total number.",
|
|
384
|
+
"example": "100",
|
|
385
|
+
"member": "int64",
|
|
386
|
+
"name": "Count",
|
|
387
|
+
"output_required": true,
|
|
388
|
+
"type": "int",
|
|
389
|
+
"value_allowed_null": false
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"disabled": false,
|
|
393
|
+
"document": "List of rules",
|
|
394
|
+
"example": "[{}]",
|
|
395
|
+
"member": "Alarm",
|
|
396
|
+
"name": "Data",
|
|
397
|
+
"output_required": true,
|
|
398
|
+
"type": "list",
|
|
399
|
+
"value_allowed_null": false
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"document": "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.",
|
|
403
|
+
"member": "string",
|
|
404
|
+
"name": "RequestId",
|
|
405
|
+
"type": "string"
|
|
406
|
+
}
|
|
407
|
+
],
|
|
408
|
+
"type": "object"
|
|
409
|
+
},
|
|
410
|
+
"EnableAlarmRequest": {
|
|
411
|
+
"document": "EnableAlarm request structure.",
|
|
412
|
+
"members": [
|
|
413
|
+
{
|
|
414
|
+
"disabled": false,
|
|
415
|
+
"document": "Rule ID",
|
|
416
|
+
"example": "12",
|
|
417
|
+
"member": "int64",
|
|
418
|
+
"name": "Id",
|
|
419
|
+
"required": true,
|
|
420
|
+
"type": "int"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"disabled": false,
|
|
424
|
+
"document": "Specifies the member uin of the rule owner.",
|
|
425
|
+
"example": "234",
|
|
426
|
+
"member": "int64",
|
|
427
|
+
"name": "MemberUin",
|
|
428
|
+
"required": false,
|
|
429
|
+
"type": "int"
|
|
430
|
+
}
|
|
431
|
+
],
|
|
432
|
+
"type": "object"
|
|
433
|
+
},
|
|
434
|
+
"EnableAlarmResponse": {
|
|
435
|
+
"document": "EnableAlarm response structure.",
|
|
436
|
+
"members": [
|
|
437
|
+
{
|
|
438
|
+
"document": "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.",
|
|
439
|
+
"member": "string",
|
|
440
|
+
"name": "RequestId",
|
|
441
|
+
"type": "string"
|
|
442
|
+
}
|
|
443
|
+
],
|
|
444
|
+
"type": "object"
|
|
445
|
+
},
|
|
446
|
+
"UpdateAlarmRequest": {
|
|
447
|
+
"document": "UpdateAlarm request structure.",
|
|
448
|
+
"members": [
|
|
449
|
+
{
|
|
450
|
+
"disabled": false,
|
|
451
|
+
"document": "ID",
|
|
452
|
+
"example": "12",
|
|
453
|
+
"member": "int64",
|
|
454
|
+
"name": "Id",
|
|
455
|
+
"required": true,
|
|
456
|
+
"type": "int"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"disabled": false,
|
|
460
|
+
"document": "Alarm rule name.",
|
|
461
|
+
"example": "监控告警",
|
|
462
|
+
"member": "string",
|
|
463
|
+
"name": "Name",
|
|
464
|
+
"required": false,
|
|
465
|
+
"type": "string"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"disabled": false,
|
|
469
|
+
"document": "Product ID.",
|
|
470
|
+
"example": "11",
|
|
471
|
+
"member": "int64",
|
|
472
|
+
"name": "ProductId",
|
|
473
|
+
"required": false,
|
|
474
|
+
"type": "int"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"disabled": false,
|
|
478
|
+
"document": "Quota ID.",
|
|
479
|
+
"example": "12",
|
|
480
|
+
"member": "int64",
|
|
481
|
+
"name": "QuotaId",
|
|
482
|
+
"required": false,
|
|
483
|
+
"type": "int"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"disabled": false,
|
|
487
|
+
"document": "1: quota usage 2: quota usage rate 3: remaining quota 4: remaining quota rate.",
|
|
488
|
+
"example": "2",
|
|
489
|
+
"member": "int64",
|
|
490
|
+
"name": "Metrics",
|
|
491
|
+
"required": false,
|
|
492
|
+
"type": "int"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"disabled": false,
|
|
496
|
+
"document": "Specifies the Alarm threshold. valid values: 0-100.",
|
|
497
|
+
"example": "50",
|
|
498
|
+
"member": "int64",
|
|
499
|
+
"name": "Threshold",
|
|
500
|
+
"required": false,
|
|
501
|
+
"type": "int"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"disabled": false,
|
|
505
|
+
"document": "Alarm frequency.",
|
|
506
|
+
"example": "2",
|
|
507
|
+
"member": "int64",
|
|
508
|
+
"name": "Frequency",
|
|
509
|
+
"required": false,
|
|
510
|
+
"type": "int"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"disabled": false,
|
|
514
|
+
"document": "Specifies the uin of the rule owner.\nOperates non-group account rules. this parameter can be omitted.\nOperates the organization account rule. specifies the uin of all users under the current rule.",
|
|
515
|
+
"example": "23424",
|
|
516
|
+
"member": "int64",
|
|
517
|
+
"name": "MemberUin",
|
|
518
|
+
"required": false,
|
|
519
|
+
"type": "int"
|
|
520
|
+
}
|
|
521
|
+
],
|
|
522
|
+
"type": "object"
|
|
523
|
+
},
|
|
524
|
+
"UpdateAlarmResponse": {
|
|
525
|
+
"document": "UpdateAlarm response structure.",
|
|
526
|
+
"members": [
|
|
527
|
+
{
|
|
528
|
+
"document": "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.",
|
|
529
|
+
"member": "string",
|
|
530
|
+
"name": "RequestId",
|
|
531
|
+
"type": "string"
|
|
532
|
+
}
|
|
533
|
+
],
|
|
534
|
+
"type": "object"
|
|
97
535
|
}
|
|
98
536
|
}
|
|
99
537
|
}
|
|
@@ -7,6 +7,44 @@
|
|
|
7
7
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1c5d13bd-070e-4eb8-90c2-4a01dc1b2c54\"\n }\n}",
|
|
8
8
|
"title": "Creat Quota"
|
|
9
9
|
}
|
|
10
|
+
],
|
|
11
|
+
"DeleteAlarm": [
|
|
12
|
+
{
|
|
13
|
+
"document": "",
|
|
14
|
+
"input": "POST / HTTP/1.1\nHost: quota.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAlarm\n<Common request parameters>\n\n{\n \"Id\": 1\n}",
|
|
15
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ea231b1c-86fa-4190-aa0e-048c7622c448\"\n }\n}",
|
|
16
|
+
"title": "Deletes alarm rules"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"document": "",
|
|
20
|
+
"input": "POST / HTTP/1.1\nHost: quota.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAlarm\n<Common request parameters>\n\n{\n \"Id\": 1\n}",
|
|
21
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a44b27e3-e9f7-4a45-9bda-56177ad3f15e\"\n }\n}",
|
|
22
|
+
"title": "Deleting a Rule"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"DescribeAlarms": [
|
|
26
|
+
{
|
|
27
|
+
"document": "",
|
|
28
|
+
"input": "POST / HTTP/1.1\nHost: quota.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlarms\n<Common request parameters>\n\n{\n \"Limit\": 10,\n \"Offset\": 0,\n \"ProductId\": 1\n}",
|
|
29
|
+
"output": "{\n \"Response\": {\n \"Count\": 5,\n \"Data\": [\n {\n \"Id\": 102,\n \"OwnerUin\": 100026600000,\n \"MemberUin\": 100026600000,\n \"Name\": \"234\",\n \"ProductId\": 13,\n \"Status\": 2,\n \"QuotaId\": 2828,\n\"ProductName\": \"Tencent Cloud Assistant\"\n\"QuotaName\": \"quota name 001\"\n \"Metrics\": 1,\n \"Threshold\": 2,\n \"Frequency\": 1\n }\n ],\n \"RequestId\": \"e3836e25-700a-4759-bba2-7bcd57b9ab86\"\n }\n}",
|
|
30
|
+
"title": "List of rules"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"EnableAlarm": [
|
|
34
|
+
{
|
|
35
|
+
"document": "",
|
|
36
|
+
"input": "POST / HTTP/1.1\nHost: quota.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableAlarm\n<Common request parameters>\n\n{\n \"Id\": 1\n}",
|
|
37
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"737ee7c5-d5e6-42f8-8cb9-dd9c1eade12a\"\n }\n}",
|
|
38
|
+
"title": "Enabling Alerts"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"UpdateAlarm": [
|
|
42
|
+
{
|
|
43
|
+
"document": "",
|
|
44
|
+
"input": "POST / HTTP/1.1\nHost: quota.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateAlarm\n<Common request parameters>\n\n{\n \"Id\": 1,\n \"Name\": \"Quota 2\"\n}",
|
|
45
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"97f26bb6-dcb6-4903-b5ef-17650fe140a3\"\n }\n}",
|
|
46
|
+
"title": "Editing Quota"
|
|
47
|
+
}
|
|
10
48
|
]
|
|
11
49
|
}
|
|
12
50
|
}
|
|
@@ -9938,7 +9938,7 @@
|
|
|
9938
9938
|
"members": [
|
|
9939
9939
|
{
|
|
9940
9940
|
"disabled": false,
|
|
9941
|
-
"document": "The start time.",
|
|
9941
|
+
"document": "The start time. Data will be returned according to the timezone of the input timestamp.",
|
|
9942
9942
|
"example": "2014-08-03T12:00:00+08:00",
|
|
9943
9943
|
"member": "datetime_iso",
|
|
9944
9944
|
"name": "StartTime",
|
|
@@ -9947,7 +9947,7 @@
|
|
|
9947
9947
|
},
|
|
9948
9948
|
{
|
|
9949
9949
|
"disabled": false,
|
|
9950
|
-
"document": "
|
|
9950
|
+
"document": "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.",
|
|
9951
9951
|
"example": "2014-08-03T12:00:00+08:00",
|
|
9952
9952
|
"member": "datetime_iso",
|
|
9953
9953
|
"name": "EndTime",
|
|
@@ -9956,7 +9956,7 @@
|
|
|
9956
9956
|
},
|
|
9957
9957
|
{
|
|
9958
9958
|
"disabled": false,
|
|
9959
|
-
"document": "Site ID set.
|
|
9959
|
+
"document": "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.",
|
|
9960
9960
|
"example": "zone-2siulp074dz3",
|
|
9961
9961
|
"member": "string",
|
|
9962
9962
|
"name": "ZoneIds",
|
|
@@ -9965,7 +9965,7 @@
|
|
|
9965
9965
|
},
|
|
9966
9966
|
{
|
|
9967
9967
|
"disabled": false,
|
|
9968
|
-
"document": "Metric list.
|
|
9968
|
+
"document": "Metric list. Values as follows:.\n<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>\n<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>",
|
|
9969
9969
|
"example": "acc_flux",
|
|
9970
9970
|
"member": "string",
|
|
9971
9971
|
"name": "MetricName",
|
|
@@ -9983,7 +9983,7 @@
|
|
|
9983
9983
|
},
|
|
9984
9984
|
{
|
|
9985
9985
|
"disabled": false,
|
|
9986
|
-
"document": "Filter criteria.
|
|
9986
|
+
"document": "Filter criteria. The detailed values of filter criteria are as follows:\n<li>host: Specifies the domain name to filter by. Example value: test.example.com<br></li>\n<li>proxy-id: Specifies the L4 proxy instance ID for filtering. Example value: sid-2rugn89bkla9.</li>\n<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>\n\nNote: `BillingDataFilter` with the same `Type` have an \"or\" relationship with each other, while those with different `Type` have an \"and\" relationship between them.",
|
|
9987
9987
|
"example": "无",
|
|
9988
9988
|
"member": "BillingDataFilter",
|
|
9989
9989
|
"name": "Filters",
|
|
@@ -9992,7 +9992,7 @@
|
|
|
9992
9992
|
},
|
|
9993
9993
|
{
|
|
9994
9994
|
"disabled": false,
|
|
9995
|
-
"document": "
|
|
9995
|
+
"document": "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>\nNote: 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.",
|
|
9996
9996
|
"example": "zone-id",
|
|
9997
9997
|
"member": "string",
|
|
9998
9998
|
"name": "GroupBy",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tccli-intl-en
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1266.1
|
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-cli-intl-en.git
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.4
|
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.5
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.6
|
|
24
24
|
License-File: LICENSE
|
|
25
|
-
Requires-Dist: tencentcloud-sdk-python-intl-en (>=3.0.
|
|
25
|
+
Requires-Dist: tencentcloud-sdk-python-intl-en (>=3.0.1266)
|
|
26
26
|
Requires-Dist: jmespath (==0.10.0)
|
|
27
27
|
Requires-Dist: six (==1.16.0)
|
|
28
28
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tccli/__init__.py,sha256=
|
|
1
|
+
tccli/__init__.py,sha256=jpEvoMT51imRrupbzB2HaleABA-xR4bWIQYurk2USh0,28
|
|
2
2
|
tccli/argparser.py,sha256=WtfpBhj2R6JHSzagy6w6Q4y3YVmyIC_yK80w3tqBPgU,5589
|
|
3
3
|
tccli/argument.py,sha256=ZtVo3AySpzM-Hw6_hPdU27FjUsc8QPB2fIuLy7JSBAk,8091
|
|
4
4
|
tccli/base_command.py,sha256=rFWNAwfS0GA6LLGNOM-iPI0RV81Jag5cZn536ZQN0pw,2859
|
|
@@ -411,9 +411,9 @@ tccli/services/pts/pts_client.py,sha256=4yW8yLLg3aZ9ozcrJ9Hras8c8tQ_-HEiK4Dq7Si7
|
|
|
411
411
|
tccli/services/pts/v20210728/api.json,sha256=jMxT4d6OYwrAcOlxTtGTuoCK4F8bBS8_qZ6X6lFHJTU,250027
|
|
412
412
|
tccli/services/pts/v20210728/examples.json,sha256=e33IuZ07ORwDgYUkhmhY3uIfZ-fUH05ff9Jzs4suKm0,90839
|
|
413
413
|
tccli/services/quota/__init__.py,sha256=AOKYvT89EKCoKMkMZLrU4cP8XILPg9KUGyTnc8vrwvI,89
|
|
414
|
-
tccli/services/quota/quota_client.py,sha256=
|
|
415
|
-
tccli/services/quota/v20241204/api.json,sha256=
|
|
416
|
-
tccli/services/quota/v20241204/examples.json,sha256=
|
|
414
|
+
tccli/services/quota/quota_client.py,sha256=oamkM0R9NVzjH3MSSGl6k_ZFBhqfJZ99vsuDwnqyaWA,21420
|
|
415
|
+
tccli/services/quota/v20241204/api.json,sha256=zRm8SOvimVIjlfbA3K_tcInT5Tnjc3DGITLpRsUVb3c,15536
|
|
416
|
+
tccli/services/quota/v20241204/examples.json,sha256=DYzHZr3Tt9xhmCtgG1O-ZWSIhrUhE-6hmAt22x1z2IU,3130
|
|
417
417
|
tccli/services/rce/__init__.py,sha256=hA0_efK_b48bYi70kHNZugvJchdDwQNHYJofWYNzyKo,85
|
|
418
418
|
tccli/services/rce/rce_client.py,sha256=X0to7tDeJRzidLOYKi_qUk64BsNlZMzWmFN9ImXIhTE,9228
|
|
419
419
|
tccli/services/rce/v20201103/api.json,sha256=sS510FJf3S198XvERTmlN8JnOX244IHy4gQnaghzui8,7026
|
|
@@ -514,7 +514,7 @@ tccli/services/teo/__init__.py,sha256=nvzcUSkSQuTftWEJ399BUZpUk_0jEq-l97539DwbAw
|
|
|
514
514
|
tccli/services/teo/teo_client.py,sha256=aKu9kxw__IqmH8MFfa7JZ2vJ8eyksBiwHL97KqVqPyE,745543
|
|
515
515
|
tccli/services/teo/v20220106/api.json,sha256=pEZJsuPOV4oAO5uxFRxpkBzxdGbhiuDGeDhItZLpBk0,440930
|
|
516
516
|
tccli/services/teo/v20220106/examples.json,sha256=bzXKxeiSSmtv7lL1wbcb7YaTbgbOFBJbD_uCv1fzQuk,87233
|
|
517
|
-
tccli/services/teo/v20220901/api.json,sha256=
|
|
517
|
+
tccli/services/teo/v20220901/api.json,sha256=u5kBf5rjhqOfn-cYaCBHJdM9ziVlfF2SU_ZZBVkzDj4,1161181
|
|
518
518
|
tccli/services/teo/v20220901/examples.json,sha256=DwEWUpOMKpLjMj5jhbe1OxwyPrrB3vesi887UcfDRag,525409
|
|
519
519
|
tccli/services/tione/__init__.py,sha256=hVHB2cJpskiRtSHmEaJj2ZcjQp28c17sepm54VgFH7I,89
|
|
520
520
|
tccli/services/tione/tione_client.py,sha256=dqxNYR2NRnjyRhfEaHIvCf3KT71PqDvU9JvN5e_Q5Dc,9264
|
|
@@ -586,9 +586,9 @@ tccli/services/yunjing/__init__.py,sha256=8HTKN8_ow1j67tspqAbBMQgeteXAagLvtb9WAf
|
|
|
586
586
|
tccli/services/yunjing/yunjing_client.py,sha256=Vh5vFOLjDJ53q_RX9WADwLT610kGcUxwCmtny95k3js,226485
|
|
587
587
|
tccli/services/yunjing/v20180228/api.json,sha256=zYojacZyPgPCi71CLBjuHsQR9mIxcZjCX5JwA9TYr1s,173428
|
|
588
588
|
tccli/services/yunjing/v20180228/examples.json,sha256=j3GL3TtNTkZpNLlksz0nJNCVDxYGUqfRqOt94Y-P8OE,58723
|
|
589
|
-
tccli_intl_en-3.0.
|
|
590
|
-
tccli_intl_en-3.0.
|
|
591
|
-
tccli_intl_en-3.0.
|
|
592
|
-
tccli_intl_en-3.0.
|
|
593
|
-
tccli_intl_en-3.0.
|
|
594
|
-
tccli_intl_en-3.0.
|
|
589
|
+
tccli_intl_en-3.0.1266.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
590
|
+
tccli_intl_en-3.0.1266.1.dist-info/METADATA,sha256=18oQiC1zAzXON1-fjLszA-zwSVCCiVmhhOpz_RGNE0I,3092
|
|
591
|
+
tccli_intl_en-3.0.1266.1.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
592
|
+
tccli_intl_en-3.0.1266.1.dist-info/entry_points.txt,sha256=68P7ZjqXFm4zPWf5RsAVabzbECUWYFB2VyUnnv8XgMI,86
|
|
593
|
+
tccli_intl_en-3.0.1266.1.dist-info/top_level.txt,sha256=gYFrQRE3IqZ_46Syp-vkVwwvNaYEtKcM4fE_C4Puomk,6
|
|
594
|
+
tccli_intl_en-3.0.1266.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|