tccli 3.0.1353.1__py2.py3-none-any.whl → 3.0.1354.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/aiart/aiart_client.py +70 -123
- tccli/services/aiart/v20221229/api.json +0 -98
- tccli/services/aiart/v20221229/examples.json +0 -8
- tccli/services/apm/v20210622/api.json +1 -1
- tccli/services/cbs/v20170312/examples.json +3 -3
- tccli/services/ccc/v20200210/api.json +10 -0
- tccli/services/cdb/v20170320/api.json +64 -16
- tccli/services/cdb/v20170320/examples.json +1 -1
- tccli/services/dbbrain/v20210527/api.json +40 -0
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +44 -0
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/gs/v20191118/api.json +32 -2
- tccli/services/igtm/v20231024/api.json +100 -100
- tccli/services/igtm/v20231024/examples.json +6 -6
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/vod/v20180717/api.json +11 -2
- {tccli-3.0.1353.1.dist-info → tccli-3.0.1354.1.dist-info}/METADATA +3 -3
- {tccli-3.0.1353.1.dist-info → tccli-3.0.1354.1.dist-info}/RECORD +23 -23
- {tccli-3.0.1353.1.dist-info → tccli-3.0.1354.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1353.1.dist-info → tccli-3.0.1354.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1353.1.dist-info → tccli-3.0.1354.1.dist-info}/license_files/LICENSE +0 -0
@@ -1575,7 +1575,7 @@
|
|
1575
1575
|
{
|
1576
1576
|
"disabled": false,
|
1577
1577
|
"document": "对查询指标进行排序:\nKey 填写云 API 指标名称,[详情请见。](https://cloud.tencent.com/document/product/248/101681)\nValue 填写排序方式: \n- asc:对查询指标进行升序排序\n- desc:对查询指标进行降序排序",
|
1578
|
-
"example": "{ \t\"Key\": \"duration_avg\", \"Value\": \"desc\"",
|
1578
|
+
"example": "{ \t\"Key\": \"duration_avg\", \"Value\": \"desc\" \t}",
|
1579
1579
|
"member": "OrderBy",
|
1580
1580
|
"name": "OrderBy",
|
1581
1581
|
"required": false,
|
@@ -299,13 +299,13 @@
|
|
299
299
|
"ModifyAutoSnapshotPolicyAttribute": [
|
300
300
|
{
|
301
301
|
"document": "启用自动快照策略",
|
302
|
-
"input": "POST / HTTP/1.1\nHost: cbs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAutoSnapshotPolicyAttribute\n<公共请求参数>\n\n{\n \"AutoSnapshotPolicyId\": \"asp-01928374\",\n \"IsActivated\":
|
302
|
+
"input": "POST / HTTP/1.1\nHost: cbs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAutoSnapshotPolicyAttribute\n<公共请求参数>\n\n{\n \"AutoSnapshotPolicyId\": \"asp-01928374\",\n \"IsActivated\": true\n}",
|
303
303
|
"output": "{\n \"Response\": {\n \"RequestId\": \"88a4815c-4a09-4948-b0c9-fa6fdefe8e4a\"\n }\n}",
|
304
304
|
"title": "启用自动快照策略"
|
305
305
|
},
|
306
306
|
{
|
307
|
-
"document": "修改该定期快照策略的名称为data_disk_auto_snapshot,且将IsPermanent置为
|
308
|
-
"input": "POST / HTTP/1.1\nHost: cbs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAutoSnapshotPolicyAttribute\n<公共请求参数>\n\n{\n \"AutoSnapshotPolicyId\": \"asp-nqu08k2l\",\n \"AutoSnapshotPolicyName\": \"data_disk_auto_snapshot\",\n \"IsPermanent\": \
|
307
|
+
"document": "修改该定期快照策略的名称为data_disk_auto_snapshot,且将IsPermanent置为true,通过该定期快照策略创建的快照为永久保留的快照。",
|
308
|
+
"input": "POST / HTTP/1.1\nHost: cbs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAutoSnapshotPolicyAttribute\n<公共请求参数>\n\n{\n \"AutoSnapshotPolicyId\": \"asp-nqu08k2l\",\n \"AutoSnapshotPolicyName\": \"data_disk_auto_snapshot\",\n \"IsPermanent\": true\n}",
|
309
309
|
"output": "{\n \"Response\": {\n \"RequestId\": \"384c1fa8-6973-9623-b6bf-5a1fa9a7ad88\"\n }\n}",
|
310
310
|
"title": "修改定期快照策略属性"
|
311
311
|
}
|
@@ -8602,6 +8602,16 @@
|
|
8602
8602
|
"output_required": true,
|
8603
8603
|
"type": "string",
|
8604
8604
|
"value_allowed_null": false
|
8605
|
+
},
|
8606
|
+
{
|
8607
|
+
"disabled": false,
|
8608
|
+
"document": "是否同振",
|
8609
|
+
"example": "false",
|
8610
|
+
"member": "bool",
|
8611
|
+
"name": "RingAll",
|
8612
|
+
"output_required": false,
|
8613
|
+
"type": "bool",
|
8614
|
+
"value_allowed_null": false
|
8605
8615
|
}
|
8606
8616
|
],
|
8607
8617
|
"usage": "out"
|
@@ -239,7 +239,7 @@
|
|
239
239
|
"status": "online"
|
240
240
|
},
|
241
241
|
"DeleteBackup": {
|
242
|
-
"document": "
|
242
|
+
"document": "本接口(DeleteBackup)用于删除数据库备份。本接口只支持删除手动发起的备份。",
|
243
243
|
"input": "DeleteBackupRequest",
|
244
244
|
"name": "删除云数据库备份",
|
245
245
|
"output": "DeleteBackupResponse",
|
@@ -3930,7 +3930,7 @@
|
|
3930
3930
|
{
|
3931
3931
|
"disabled": false,
|
3932
3932
|
"document": "多可用区信息",
|
3933
|
-
"example": "{}",
|
3933
|
+
"example": "{\"BackupZone\": [\"ap-guangzhou-7\", \"ap-guangzhou-5\", \"ap-guangzhou-4\", \"ap-guangzhou-3\" ], \"DeployMode\": [0, 1 ], \"MasterZone\": [], \"SlaveZone\": [\"ap-guangzhou-7\", \"ap-guangzhou-5\", \"ap-guangzhou-4\", \"ap-guangzhou-3\" ] }",
|
3934
3934
|
"member": "ZoneConf",
|
3935
3935
|
"name": "ZoneConf",
|
3936
3936
|
"output_required": true,
|
@@ -3990,7 +3990,7 @@
|
|
3990
3990
|
{
|
3991
3991
|
"disabled": false,
|
3992
3992
|
"document": "独享型多可用区信息",
|
3993
|
-
"example": "{}",
|
3993
|
+
"example": "{\"BackupZone\": [\"ap-guangzhou-7\", \"ap-guangzhou-5\", \"ap-guangzhou-4\", \"ap-guangzhou-3\" ], \"DeployMode\": [0, 1 ], \"MasterZone\": [], \"SlaveZone\": [\"ap-guangzhou-7\", \"ap-guangzhou-5\", \"ap-guangzhou-4\", \"ap-guangzhou-3\" ] }",
|
3994
3994
|
"member": "ZoneConf",
|
3995
3995
|
"name": "ExClusterZoneConf",
|
3996
3996
|
"output_required": true,
|
@@ -4000,7 +4000,7 @@
|
|
4000
4000
|
{
|
4001
4001
|
"disabled": false,
|
4002
4002
|
"document": "售卖实例类型数组,其中configIds的值与configs结构体中的id一一对应。",
|
4003
|
-
"example": "[]",
|
4003
|
+
"example": "{\"ConfigIds\": [187 ], \"EngineVersion\": [\"5.7\", \"8.0\" ], \"TypeName\": \"CLOUD_NATIVE_CLUSTER_EXCLUSIVE\" }",
|
4004
4004
|
"member": "CdbSellType",
|
4005
4005
|
"name": "SellType",
|
4006
4006
|
"output_required": true,
|
@@ -4036,6 +4036,26 @@
|
|
4036
4036
|
"output_required": true,
|
4037
4037
|
"type": "list",
|
4038
4038
|
"value_allowed_null": false
|
4039
|
+
},
|
4040
|
+
{
|
4041
|
+
"disabled": false,
|
4042
|
+
"document": "集群版实例在当前可用区的售卖状态。可能的返回值为:1-上线;3-停售;4-不展示",
|
4043
|
+
"example": "1",
|
4044
|
+
"member": "int64",
|
4045
|
+
"name": "CloudNativeClusterStatus",
|
4046
|
+
"output_required": false,
|
4047
|
+
"type": "int",
|
4048
|
+
"value_allowed_null": false
|
4049
|
+
},
|
4050
|
+
{
|
4051
|
+
"disabled": false,
|
4052
|
+
"document": "集群版或者单节点基础型支持的磁盘类型。",
|
4053
|
+
"example": "[{\"DeviceType\": \"basic_v2\", \"DiskType\": [\"CLOUD_SSD\", \"CLOUD_HSSD\" ] }, {\"DeviceType\": \"CLOUD_NATIVE_CLUSTER\", \"DiskType\": [\"CLOUD_SSD\", \"CLOUD_HSSD\", \"CLOUD_PREMIUM\" ] } ]",
|
4054
|
+
"member": "DiskTypeConfigItem",
|
4055
|
+
"name": "DiskTypeConf",
|
4056
|
+
"output_required": false,
|
4057
|
+
"type": "list",
|
4058
|
+
"value_allowed_null": false
|
4039
4059
|
}
|
4040
4060
|
],
|
4041
4061
|
"usage": "out"
|
@@ -13821,6 +13841,34 @@
|
|
13821
13841
|
],
|
13822
13842
|
"type": "object"
|
13823
13843
|
},
|
13844
|
+
"DiskTypeConfigItem": {
|
13845
|
+
"document": "磁盘售卖类型",
|
13846
|
+
"members": [
|
13847
|
+
{
|
13848
|
+
"disabled": false,
|
13849
|
+
"document": "磁盘对应的实例类型。仅支持单节点基础型和集群版。",
|
13850
|
+
"example": "CLOUD_NATIVE_CLUSTER",
|
13851
|
+
"member": "string",
|
13852
|
+
"name": "DeviceType",
|
13853
|
+
"output_required": false,
|
13854
|
+
"required": false,
|
13855
|
+
"type": "string",
|
13856
|
+
"value_allowed_null": false
|
13857
|
+
},
|
13858
|
+
{
|
13859
|
+
"disabled": false,
|
13860
|
+
"document": "可以选择的磁盘类型列表。",
|
13861
|
+
"example": "[\"CLOUD_SSD\",\"CLOUD_HSSD\"]",
|
13862
|
+
"member": "string",
|
13863
|
+
"name": "DiskType",
|
13864
|
+
"output_required": false,
|
13865
|
+
"required": false,
|
13866
|
+
"type": "list",
|
13867
|
+
"value_allowed_null": false
|
13868
|
+
}
|
13869
|
+
],
|
13870
|
+
"usage": "both"
|
13871
|
+
},
|
13824
13872
|
"DrInfo": {
|
13825
13873
|
"document": "灾备实例信息",
|
13826
13874
|
"members": [
|
@@ -15193,25 +15241,25 @@
|
|
15193
15241
|
"type": "object"
|
15194
15242
|
},
|
15195
15243
|
"LocalBinlogConfig": {
|
15196
|
-
"document": "本地binlog保留配置",
|
15244
|
+
"document": "本地 binlog 保留配置",
|
15197
15245
|
"members": [
|
15198
15246
|
{
|
15199
15247
|
"disabled": false,
|
15200
|
-
"document": "本地binlog保留时长,可取值范围:[
|
15248
|
+
"document": "本地 binlog 保留时长,可取值范围:[6,168]。",
|
15201
15249
|
"example": "70",
|
15202
15250
|
"member": "int64",
|
15203
15251
|
"name": "SaveHours",
|
15204
|
-
"
|
15252
|
+
"output_required": true,
|
15205
15253
|
"type": "int",
|
15206
15254
|
"value_allowed_null": false
|
15207
15255
|
},
|
15208
15256
|
{
|
15209
15257
|
"disabled": false,
|
15210
|
-
"document": "本地binlog空间使用率,可取值范围:[30,50]。",
|
15258
|
+
"document": "本地 binlog 空间使用率,可取值范围:[30,50]。",
|
15211
15259
|
"example": "30",
|
15212
15260
|
"member": "int64",
|
15213
15261
|
"name": "MaxUsage",
|
15214
|
-
"
|
15262
|
+
"output_required": true,
|
15215
15263
|
"type": "int",
|
15216
15264
|
"value_allowed_null": false
|
15217
15265
|
}
|
@@ -15219,25 +15267,25 @@
|
|
15219
15267
|
"usage": "out"
|
15220
15268
|
},
|
15221
15269
|
"LocalBinlogConfigDefault": {
|
15222
|
-
"document": "本地binlog
|
15270
|
+
"document": "本地 binlog 保留策略默认配置",
|
15223
15271
|
"members": [
|
15224
15272
|
{
|
15225
15273
|
"disabled": false,
|
15226
|
-
"document": "本地binlog保留时长,可取值范围:[
|
15274
|
+
"document": "本地 binlog 保留时长,可取值范围:[6,168]。",
|
15227
15275
|
"example": "70",
|
15228
15276
|
"member": "int64",
|
15229
15277
|
"name": "SaveHours",
|
15230
|
-
"
|
15278
|
+
"output_required": true,
|
15231
15279
|
"type": "int",
|
15232
15280
|
"value_allowed_null": false
|
15233
15281
|
},
|
15234
15282
|
{
|
15235
15283
|
"disabled": false,
|
15236
|
-
"document": "本地binlog空间使用率,可取值范围:[30,50]。",
|
15284
|
+
"document": "本地 binlog 空间使用率,可取值范围:[30,50]。",
|
15237
15285
|
"example": "30",
|
15238
15286
|
"member": "int64",
|
15239
15287
|
"name": "MaxUsage",
|
15240
|
-
"
|
15288
|
+
"output_required": true,
|
15241
15289
|
"type": "int",
|
15242
15290
|
"value_allowed_null": false
|
15243
15291
|
}
|
@@ -20522,8 +20570,8 @@
|
|
20522
20570
|
},
|
20523
20571
|
{
|
20524
20572
|
"disabled": false,
|
20525
|
-
"document": "备份快照时间,时间格式:2016-03-17
|
20526
|
-
"example": "2024-04-26
|
20573
|
+
"document": "备份快照时间,时间格式:2016-03-17",
|
20574
|
+
"example": "2024-04-26",
|
20527
20575
|
"member": "string",
|
20528
20576
|
"name": "Date",
|
20529
20577
|
"output_required": true,
|
@@ -311,7 +311,7 @@
|
|
311
311
|
"DeleteBackup": [
|
312
312
|
{
|
313
313
|
"document": "",
|
314
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBackup\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-c1nl9rpv\",\n \"BackupId\":
|
314
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBackup\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-c1nl9rpv\",\n \"BackupId\": 173381\n}",
|
315
315
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
316
316
|
"title": "删除云数据库备份"
|
317
317
|
}
|
@@ -7469,6 +7469,46 @@
|
|
7469
7469
|
"output_required": true,
|
7470
7470
|
"type": "string",
|
7471
7471
|
"value_allowed_null": false
|
7472
|
+
},
|
7473
|
+
{
|
7474
|
+
"disabled": false,
|
7475
|
+
"document": "集群ID。",
|
7476
|
+
"example": "tdsalchard-e726nj1",
|
7477
|
+
"member": "string",
|
7478
|
+
"name": "ClusterId",
|
7479
|
+
"output_required": false,
|
7480
|
+
"type": "string",
|
7481
|
+
"value_allowed_null": false
|
7482
|
+
},
|
7483
|
+
{
|
7484
|
+
"disabled": false,
|
7485
|
+
"document": "集群名称。",
|
7486
|
+
"example": "测试实列",
|
7487
|
+
"member": "string",
|
7488
|
+
"name": "ClusterName",
|
7489
|
+
"output_required": false,
|
7490
|
+
"type": "string",
|
7491
|
+
"value_allowed_null": false
|
7492
|
+
},
|
7493
|
+
{
|
7494
|
+
"disabled": false,
|
7495
|
+
"document": "vip地址。",
|
7496
|
+
"example": "127.0.0.2",
|
7497
|
+
"member": "string",
|
7498
|
+
"name": "Vip",
|
7499
|
+
"output_required": false,
|
7500
|
+
"type": "string",
|
7501
|
+
"value_allowed_null": false
|
7502
|
+
},
|
7503
|
+
{
|
7504
|
+
"disabled": false,
|
7505
|
+
"document": "vip端口。",
|
7506
|
+
"example": "3306",
|
7507
|
+
"member": "int64",
|
7508
|
+
"name": "Vport",
|
7509
|
+
"output_required": false,
|
7510
|
+
"type": "int",
|
7511
|
+
"value_allowed_null": false
|
7472
7512
|
}
|
7473
7513
|
],
|
7474
7514
|
"usage": "out"
|
tccli/services/dlc/dlc_client.py
CHANGED
@@ -901,6 +901,58 @@ def doDescribeDataEngines(args, parsed_globals):
|
|
901
901
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
902
902
|
|
903
903
|
|
904
|
+
def doDescribeUserRegisterTime(args, parsed_globals):
|
905
|
+
g_param = parse_global_arg(parsed_globals)
|
906
|
+
|
907
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
908
|
+
cred = credential.CVMRoleCredential()
|
909
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
910
|
+
cred = credential.STSAssumeRoleCredential(
|
911
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
912
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
913
|
+
)
|
914
|
+
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):
|
915
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
916
|
+
else:
|
917
|
+
cred = credential.Credential(
|
918
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
919
|
+
)
|
920
|
+
http_profile = HttpProfile(
|
921
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
922
|
+
reqMethod="POST",
|
923
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
924
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
925
|
+
)
|
926
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
927
|
+
if g_param[OptionsDefine.Language]:
|
928
|
+
profile.language = g_param[OptionsDefine.Language]
|
929
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
930
|
+
client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
|
931
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
932
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
933
|
+
model = models.DescribeUserRegisterTimeRequest()
|
934
|
+
model.from_json_string(json.dumps(args))
|
935
|
+
start_time = time.time()
|
936
|
+
while True:
|
937
|
+
rsp = client.DescribeUserRegisterTime(model)
|
938
|
+
result = rsp.to_json_string()
|
939
|
+
try:
|
940
|
+
json_obj = json.loads(result)
|
941
|
+
except TypeError as e:
|
942
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
943
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
944
|
+
break
|
945
|
+
cur_time = time.time()
|
946
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
947
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
948
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
949
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
950
|
+
else:
|
951
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
952
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
953
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
954
|
+
|
955
|
+
|
904
956
|
def doDescribeDMSPartitions(args, parsed_globals):
|
905
957
|
g_param = parse_global_arg(parsed_globals)
|
906
958
|
|
@@ -7793,6 +7845,7 @@ ACTION_MAP = {
|
|
7793
7845
|
"CreateNotebookSessionStatementSupportBatchSQL": doCreateNotebookSessionStatementSupportBatchSQL,
|
7794
7846
|
"SwitchDataEngine": doSwitchDataEngine,
|
7795
7847
|
"DescribeDataEngines": doDescribeDataEngines,
|
7848
|
+
"DescribeUserRegisterTime": doDescribeUserRegisterTime,
|
7796
7849
|
"DescribeDMSPartitions": doDescribeDMSPartitions,
|
7797
7850
|
"CancelTask": doCancelTask,
|
7798
7851
|
"DescribeDLCCatalogAccess": doDescribeDLCCatalogAccess,
|
@@ -735,6 +735,13 @@
|
|
735
735
|
"output": "DescribeUserInfoResponse",
|
736
736
|
"status": "online"
|
737
737
|
},
|
738
|
+
"DescribeUserRegisterTime": {
|
739
|
+
"document": "该接口(DescribeUserRegisterTime)用于查询当前用户注册时间,并判断是否是老用户。",
|
740
|
+
"input": "DescribeUserRegisterTimeRequest",
|
741
|
+
"name": "查询用户注册时间及是否是老用户",
|
742
|
+
"output": "DescribeUserRegisterTimeResponse",
|
743
|
+
"status": "online"
|
744
|
+
},
|
738
745
|
"DescribeUserRoles": {
|
739
746
|
"document": "列举用户角色信息",
|
740
747
|
"input": "DescribeUserRolesRequest",
|
@@ -12556,6 +12563,43 @@
|
|
12556
12563
|
],
|
12557
12564
|
"type": "object"
|
12558
12565
|
},
|
12566
|
+
"DescribeUserRegisterTimeRequest": {
|
12567
|
+
"document": "DescribeUserRegisterTime请求参数结构体",
|
12568
|
+
"members": [],
|
12569
|
+
"type": "object"
|
12570
|
+
},
|
12571
|
+
"DescribeUserRegisterTimeResponse": {
|
12572
|
+
"document": "DescribeUserRegisterTime返回参数结构体",
|
12573
|
+
"members": [
|
12574
|
+
{
|
12575
|
+
"disabled": false,
|
12576
|
+
"document": "用户注册时间",
|
12577
|
+
"example": "1736700000",
|
12578
|
+
"member": "int64",
|
12579
|
+
"name": "RegisterTime",
|
12580
|
+
"output_required": true,
|
12581
|
+
"type": "int",
|
12582
|
+
"value_allowed_null": false
|
12583
|
+
},
|
12584
|
+
{
|
12585
|
+
"disabled": false,
|
12586
|
+
"document": "是否时老用户",
|
12587
|
+
"example": "true",
|
12588
|
+
"member": "bool",
|
12589
|
+
"name": "IsOldUser",
|
12590
|
+
"output_required": true,
|
12591
|
+
"type": "bool",
|
12592
|
+
"value_allowed_null": false
|
12593
|
+
},
|
12594
|
+
{
|
12595
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
12596
|
+
"member": "string",
|
12597
|
+
"name": "RequestId",
|
12598
|
+
"type": "string"
|
12599
|
+
}
|
12600
|
+
],
|
12601
|
+
"type": "object"
|
12602
|
+
},
|
12559
12603
|
"DescribeUserRolesRequest": {
|
12560
12604
|
"document": "DescribeUserRoles请求参数结构体",
|
12561
12605
|
"members": [
|
@@ -852,6 +852,14 @@
|
|
852
852
|
"title": "test"
|
853
853
|
}
|
854
854
|
],
|
855
|
+
"DescribeUserRegisterTime": [
|
856
|
+
{
|
857
|
+
"document": "",
|
858
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserRegisterTime\n<公共请求参数>\n\n{}",
|
859
|
+
"output": "{\n \"Response\": {\n \"IsOldUser\": true,\n \"RegisterTime\": 1736600000,\n \"RequestId\": \"27ec9bda-4221-4ad0-8be5-28770caa7d1f\"\n }\n}",
|
860
|
+
"title": "DescribeUserRegisterTime接口示例"
|
861
|
+
}
|
862
|
+
],
|
855
863
|
"DescribeUserRoles": [
|
856
864
|
{
|
857
865
|
"document": "",
|
@@ -608,7 +608,7 @@
|
|
608
608
|
},
|
609
609
|
{
|
610
610
|
"disabled": false,
|
611
|
-
"document": "应用更新状态,取值:UPLOADING 上传中、CREATING 创建中、CREATE_FAIL 创建失败、CREATE_SUCCESS 创建成功、NORMAL 默认状态",
|
611
|
+
"document": "应用更新状态,取值:UPLOADING 上传中、CREATING 创建中、CREATE_FAIL 创建失败、CREATE_SUCCESS 创建成功、PACKAGE_NAME_MISMATCH 包名不匹配、VERSION_ALREADY_EXISTS 版本已存在、APP_PARSE_FAIL app 解析失败、APP_EXISTS_SECURITY_RISK app 存在安全风险、NORMAL 默认状态",
|
612
612
|
"example": "CREATE_SUCCESS",
|
613
613
|
"member": "string",
|
614
614
|
"name": "UpdateState",
|
@@ -668,7 +668,7 @@
|
|
668
668
|
},
|
669
669
|
{
|
670
670
|
"disabled": false,
|
671
|
-
"document": "
|
671
|
+
"document": "安卓应用版本创建状态,取值:NORMAL:无(默认)、UPLOADING:上传中、CREATING: 创建中、CREATE_FAIL:创建失败、PACKAGE_NAME_MISMATCH:包名不匹配、VERSION_ALREADY_EXISTS:版本已存在、APP_PARSE_FAIL: app 解析失败、APP_EXISTS_SECURITY_RISK:app 存在安全风险、CREATE_SUCCESS:创建成功",
|
672
672
|
"example": "\"NORMAL|UPLOADING|CREATING|CREATE_FAIL|CREATE_SUCCESS\"",
|
673
673
|
"member": "string",
|
674
674
|
"name": "State",
|
@@ -745,6 +745,36 @@
|
|
745
745
|
"output_required": true,
|
746
746
|
"type": "string",
|
747
747
|
"value_allowed_null": false
|
748
|
+
},
|
749
|
+
{
|
750
|
+
"disabled": false,
|
751
|
+
"document": "应用包 MD5",
|
752
|
+
"example": "无",
|
753
|
+
"member": "string",
|
754
|
+
"name": "MD5",
|
755
|
+
"output_required": true,
|
756
|
+
"type": "string",
|
757
|
+
"value_allowed_null": false
|
758
|
+
},
|
759
|
+
{
|
760
|
+
"disabled": false,
|
761
|
+
"document": "应用包文件大小(字节)",
|
762
|
+
"example": "102400",
|
763
|
+
"member": "int64",
|
764
|
+
"name": "FileSize",
|
765
|
+
"output_required": true,
|
766
|
+
"type": "int",
|
767
|
+
"value_allowed_null": false
|
768
|
+
},
|
769
|
+
{
|
770
|
+
"disabled": false,
|
771
|
+
"document": "安卓应用包名",
|
772
|
+
"example": "app_pakcage_name",
|
773
|
+
"member": "string",
|
774
|
+
"name": "PackageName",
|
775
|
+
"output_required": true,
|
776
|
+
"type": "string",
|
777
|
+
"value_allowed_null": false
|
748
778
|
}
|
749
779
|
],
|
750
780
|
"usage": "out"
|