tccli 3.0.1222.1__py2.py3-none-any.whl → 3.0.1224.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/apigateway/apigateway_client.py +136 -30
  3. tccli/services/apigateway/v20180808/api.json +183 -0
  4. tccli/services/apigateway/v20180808/examples.json +16 -0
  5. tccli/services/autoscaling/v20180419/api.json +4 -4
  6. tccli/services/bi/bi_client.py +106 -0
  7. tccli/services/bi/v20220105/api.json +355 -0
  8. tccli/services/bi/v20220105/examples.json +16 -0
  9. tccli/services/billing/v20180709/api.json +593 -542
  10. tccli/services/billing/v20180709/examples.json +9 -9
  11. tccli/services/bpaas/v20181217/api.json +71 -46
  12. tccli/services/bpaas/v20181217/examples.json +1 -1
  13. tccli/services/cam/v20190116/api.json +99 -78
  14. tccli/services/cam/v20190116/examples.json +10 -10
  15. tccli/services/cdwch/v20200915/api.json +1 -1
  16. tccli/services/cdwch/v20200915/examples.json +1 -1
  17. tccli/services/clb/v20180317/examples.json +1 -1
  18. tccli/services/cloudhsm/v20191112/api.json +324 -320
  19. tccli/services/cloudhsm/v20191112/examples.json +16 -16
  20. tccli/services/cls/v20201016/api.json +3 -3
  21. tccli/services/config/config_client.py +106 -0
  22. tccli/services/config/v20220802/api.json +364 -0
  23. tccli/services/config/v20220802/examples.json +16 -0
  24. tccli/services/dcdb/v20180411/api.json +136 -136
  25. tccli/services/dnspod/dnspod_client.py +139 -33
  26. tccli/services/dnspod/v20210323/api.json +104 -0
  27. tccli/services/dnspod/v20210323/examples.json +16 -0
  28. tccli/services/ess/v20201111/api.json +5 -5
  29. tccli/services/essbasic/v20210526/api.json +3 -3
  30. tccli/services/goosefs/v20220519/api.json +9 -0
  31. tccli/services/gwlb/v20240906/api.json +1 -1
  32. tccli/services/hunyuan/v20230901/api.json +13 -2
  33. tccli/services/ivld/v20210903/api.json +3 -3
  34. tccli/services/lcic/lcic_client.py +110 -4
  35. tccli/services/lcic/v20220817/api.json +306 -2
  36. tccli/services/lcic/v20220817/examples.json +16 -0
  37. tccli/services/lighthouse/v20200324/api.json +1 -1
  38. tccli/services/live/live_client.py +322 -4
  39. tccli/services/live/v20180801/api.json +333 -1
  40. tccli/services/live/v20180801/examples.json +48 -0
  41. tccli/services/lke/v20231130/api.json +30 -10
  42. tccli/services/mariadb/v20170312/api.json +142 -142
  43. tccli/services/mps/v20190612/api.json +12 -2
  44. tccli/services/oceanus/v20190422/api.json +10 -0
  45. tccli/services/ocr/ocr_client.py +314 -685
  46. tccli/services/ocr/v20181119/api.json +187 -1206
  47. tccli/services/ocr/v20181119/examples.json +4 -66
  48. tccli/services/organization/v20181225/api.json +43 -43
  49. tccli/services/organization/v20181225/examples.json +2 -2
  50. tccli/services/organization/v20210331/api.json +516 -508
  51. tccli/services/organization/v20210331/examples.json +26 -26
  52. tccli/services/privatedns/privatedns_client.py +4 -534
  53. tccli/services/privatedns/v20201028/api.json +4 -943
  54. tccli/services/privatedns/v20201028/examples.json +0 -80
  55. tccli/services/redis/v20180412/api.json +1 -1
  56. tccli/services/teo/v20220901/api.json +5 -0
  57. tccli/services/tke/v20220501/api.json +3 -1
  58. tccli/services/trtc/trtc_client.py +126 -20
  59. tccli/services/trtc/v20190722/api.json +138 -14
  60. tccli/services/trtc/v20190722/examples.json +16 -0
  61. tccli/services/vod/v20180717/api.json +19 -0
  62. tccli/services/vpc/v20170312/api.json +30 -1
  63. {tccli-3.0.1222.1.dist-info → tccli-3.0.1224.1.dist-info}/METADATA +2 -2
  64. {tccli-3.0.1222.1.dist-info → tccli-3.0.1224.1.dist-info}/RECORD +67 -67
  65. {tccli-3.0.1222.1.dist-info → tccli-3.0.1224.1.dist-info}/WHEEL +0 -0
  66. {tccli-3.0.1222.1.dist-info → tccli-3.0.1224.1.dist-info}/entry_points.txt +0 -0
  67. {tccli-3.0.1222.1.dist-info → tccli-3.0.1224.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,5 +1,12 @@
1
1
  {
2
2
  "actions": {
3
+ "DescribeDiscoveredResource": {
4
+ "document": "资源详情",
5
+ "input": "DescribeDiscoveredResourceRequest",
6
+ "name": "资源详情",
7
+ "output": "DescribeDiscoveredResourceResponse",
8
+ "status": "online"
9
+ },
3
10
  "ListAggregateConfigRules": {
4
11
  "document": "账号组获取规则列表",
5
12
  "input": "ListAggregateConfigRulesRequest",
@@ -14,6 +21,13 @@
14
21
  "output": "ListConfigRulesResponse",
15
22
  "status": "online"
16
23
  },
24
+ "ListDiscoveredResources": {
25
+ "document": "获取资源列表",
26
+ "input": "ListDiscoveredResourcesRequest",
27
+ "name": "获取资源列表",
28
+ "output": "ListDiscoveredResourcesResponse",
29
+ "status": "online"
30
+ },
17
31
  "PutEvaluations": {
18
32
  "document": "上报自定义规则评估结果",
19
33
  "input": "PutEvaluationsRequest",
@@ -351,6 +365,141 @@
351
365
  ],
352
366
  "usage": "out"
353
367
  },
368
+ "DescribeDiscoveredResourceRequest": {
369
+ "document": "DescribeDiscoveredResource请求参数结构体",
370
+ "members": [
371
+ {
372
+ "disabled": false,
373
+ "document": "资源ID",
374
+ "example": "ins-sada",
375
+ "member": "string",
376
+ "name": "ResourceId",
377
+ "required": true,
378
+ "type": "string"
379
+ },
380
+ {
381
+ "disabled": false,
382
+ "document": "资源类型",
383
+ "example": "QCS::CVM::Instance",
384
+ "member": "string",
385
+ "name": "ResourceType",
386
+ "required": true,
387
+ "type": "string"
388
+ },
389
+ {
390
+ "disabled": false,
391
+ "document": "资源地域",
392
+ "example": "ap-hangzhou",
393
+ "member": "string",
394
+ "name": "ResourceRegion",
395
+ "required": true,
396
+ "type": "string"
397
+ }
398
+ ],
399
+ "type": "object"
400
+ },
401
+ "DescribeDiscoveredResourceResponse": {
402
+ "document": "DescribeDiscoveredResource返回参数结构体",
403
+ "members": [
404
+ {
405
+ "disabled": false,
406
+ "document": "资源Id\n注意:此字段可能返回 null,表示取不到有效值。",
407
+ "example": "instance-123",
408
+ "member": "string",
409
+ "name": "ResourceId",
410
+ "output_required": true,
411
+ "type": "string",
412
+ "value_allowed_null": true
413
+ },
414
+ {
415
+ "disabled": false,
416
+ "document": "资源类型\n注意:此字段可能返回 null,表示取不到有效值。",
417
+ "example": "QCS::CVM::Instance",
418
+ "member": "string",
419
+ "name": "ResourceType",
420
+ "output_required": true,
421
+ "type": "string",
422
+ "value_allowed_null": true
423
+ },
424
+ {
425
+ "disabled": false,
426
+ "document": "资源名\n注意:此字段可能返回 null,表示取不到有效值。",
427
+ "example": "cvm",
428
+ "member": "string",
429
+ "name": "ResourceName",
430
+ "output_required": true,
431
+ "type": "string",
432
+ "value_allowed_null": true
433
+ },
434
+ {
435
+ "disabled": false,
436
+ "document": "资源地域\n注意:此字段可能返回 null,表示取不到有效值。",
437
+ "example": "ap-guangzhou",
438
+ "member": "string",
439
+ "name": "ResourceRegion",
440
+ "output_required": true,
441
+ "type": "string",
442
+ "value_allowed_null": true
443
+ },
444
+ {
445
+ "disabled": false,
446
+ "document": "资源可用区\n注意:此字段可能返回 null,表示取不到有效值。",
447
+ "example": "ap-guangzhou-1",
448
+ "member": "string",
449
+ "name": "ResourceZone",
450
+ "output_required": true,
451
+ "type": "string",
452
+ "value_allowed_null": true
453
+ },
454
+ {
455
+ "disabled": false,
456
+ "document": "资源配置\n注意:此字段可能返回 null,表示取不到有效值。",
457
+ "example": "qq",
458
+ "member": "string",
459
+ "name": "Configuration",
460
+ "output_required": true,
461
+ "type": "string",
462
+ "value_allowed_null": true
463
+ },
464
+ {
465
+ "disabled": false,
466
+ "document": "资源创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
467
+ "example": "12332",
468
+ "member": "string",
469
+ "name": "ResourceCreateTime",
470
+ "output_required": true,
471
+ "type": "string",
472
+ "value_allowed_null": true
473
+ },
474
+ {
475
+ "disabled": false,
476
+ "document": "资源标签\n注意:此字段可能返回 null,表示取不到有效值。",
477
+ "example": "无",
478
+ "member": "Tag",
479
+ "name": "Tags",
480
+ "output_required": true,
481
+ "type": "list",
482
+ "value_allowed_null": true
483
+ },
484
+ {
485
+ "disabled": false,
486
+ "document": "资源更新时间\n注意:此字段可能返回 null,表示取不到有效值。",
487
+ "example": "无",
488
+ "member": "string",
489
+ "name": "UpdateTime",
490
+ "output_required": true,
491
+ "type": "string",
492
+ "value_allowed_null": true
493
+ },
494
+ {
495
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
496
+ "member": "string",
497
+ "name": "RequestId",
498
+ "type": "string"
499
+ }
500
+ ],
501
+ "type": "object"
502
+ },
354
503
  "Evaluation": {
355
504
  "document": "自定义规则评估结果",
356
505
  "members": [
@@ -407,6 +556,32 @@
407
556
  ],
408
557
  "usage": "in"
409
558
  },
559
+ "Filter": {
560
+ "document": "资源列表筛选",
561
+ "members": [
562
+ {
563
+ "disabled": false,
564
+ "document": "查询字段名称 资源名称:resourceName 资源ID:resourceId 资源类型:resourceType 资源地域:resourceRegion 删除状态:resourceDelete 0未删除,1已删除 resourceRegionAndZone地域/可用区",
565
+ "example": "resourceId",
566
+ "member": "string",
567
+ "name": "Name",
568
+ "required": false,
569
+ "type": "string",
570
+ "value_allowed_null": false
571
+ },
572
+ {
573
+ "disabled": false,
574
+ "document": "查询字段值",
575
+ "example": "cvm17",
576
+ "member": "string",
577
+ "name": "Values",
578
+ "required": false,
579
+ "type": "list",
580
+ "value_allowed_null": false
581
+ }
582
+ ],
583
+ "usage": "in"
584
+ },
410
585
  "InputParameter": {
411
586
  "document": "参数值",
412
587
  "members": [
@@ -717,6 +892,89 @@
717
892
  ],
718
893
  "type": "object"
719
894
  },
895
+ "ListDiscoveredResourcesRequest": {
896
+ "document": "ListDiscoveredResources请求参数结构体",
897
+ "members": [
898
+ {
899
+ "disabled": false,
900
+ "document": "每页显示数量",
901
+ "example": "10",
902
+ "member": "uint64",
903
+ "name": "MaxResults",
904
+ "required": true,
905
+ "type": "int"
906
+ },
907
+ {
908
+ "disabled": false,
909
+ "document": "resourceName:资源名 resourceId :资源ID",
910
+ "example": "无",
911
+ "member": "Filter",
912
+ "name": "Filters",
913
+ "required": false,
914
+ "type": "list"
915
+ },
916
+ {
917
+ "disabled": false,
918
+ "document": "标签",
919
+ "example": " 无",
920
+ "member": "Tag",
921
+ "name": "Tags",
922
+ "required": false,
923
+ "type": "list"
924
+ },
925
+ {
926
+ "disabled": false,
927
+ "document": "下一页token",
928
+ "example": "\"\"",
929
+ "member": "string",
930
+ "name": "NextToken",
931
+ "required": false,
932
+ "type": "string"
933
+ },
934
+ {
935
+ "disabled": false,
936
+ "document": "排序方式 asc、desc",
937
+ "example": "desc",
938
+ "member": "string",
939
+ "name": "OrderType",
940
+ "required": false,
941
+ "type": "string"
942
+ }
943
+ ],
944
+ "type": "object"
945
+ },
946
+ "ListDiscoveredResourcesResponse": {
947
+ "document": "ListDiscoveredResources返回参数结构体",
948
+ "members": [
949
+ {
950
+ "disabled": false,
951
+ "document": "详情",
952
+ "example": "无",
953
+ "member": "ResourceListInfo",
954
+ "name": "Items",
955
+ "required": true,
956
+ "type": "list",
957
+ "value_allowed_null": false
958
+ },
959
+ {
960
+ "disabled": false,
961
+ "document": "下一页\n注意:此字段可能返回 null,表示取不到有效值。",
962
+ "example": "x",
963
+ "member": "string",
964
+ "name": "NextToken",
965
+ "required": true,
966
+ "type": "string",
967
+ "value_allowed_null": true
968
+ },
969
+ {
970
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
971
+ "member": "string",
972
+ "name": "RequestId",
973
+ "type": "string"
974
+ }
975
+ ],
976
+ "type": "object"
977
+ },
720
978
  "PutEvaluationsRequest": {
721
979
  "document": "PutEvaluations请求参数结构体",
722
980
  "members": [
@@ -753,6 +1011,112 @@
753
1011
  ],
754
1012
  "type": "object"
755
1013
  },
1014
+ "ResourceListInfo": {
1015
+ "document": "资源列列表信息",
1016
+ "members": [
1017
+ {
1018
+ "disabled": false,
1019
+ "document": "资源类型",
1020
+ "example": "cvm",
1021
+ "member": "string",
1022
+ "name": "ResourceType",
1023
+ "required": true,
1024
+ "type": "string",
1025
+ "value_allowed_null": false
1026
+ },
1027
+ {
1028
+ "disabled": false,
1029
+ "document": "资源名称",
1030
+ "example": "云服务器",
1031
+ "member": "string",
1032
+ "name": "ResourceName",
1033
+ "required": true,
1034
+ "type": "string",
1035
+ "value_allowed_null": false
1036
+ },
1037
+ {
1038
+ "disabled": false,
1039
+ "document": "资源ID",
1040
+ "example": "ins-4ynwt8x5",
1041
+ "member": "string",
1042
+ "name": "ResourceId",
1043
+ "required": true,
1044
+ "type": "string",
1045
+ "value_allowed_null": false
1046
+ },
1047
+ {
1048
+ "disabled": false,
1049
+ "document": "地域\n注意:此字段可能返回 null,表示取不到有效值。",
1050
+ "example": "ap-hangzhou",
1051
+ "member": "string",
1052
+ "name": "ResourceRegion",
1053
+ "required": true,
1054
+ "type": "string",
1055
+ "value_allowed_null": true
1056
+ },
1057
+ {
1058
+ "disabled": false,
1059
+ "document": "资源状态\n注意:此字段可能返回 null,表示取不到有效值。",
1060
+ "example": "Running",
1061
+ "member": "string",
1062
+ "name": "ResourceStatus",
1063
+ "required": true,
1064
+ "type": "string",
1065
+ "value_allowed_null": true
1066
+ },
1067
+ {
1068
+ "disabled": false,
1069
+ "document": "1 :已删除 2:未删除\n注意:此字段可能返回 null,表示取不到有效值。",
1070
+ "example": "2",
1071
+ "member": "uint64",
1072
+ "name": "ResourceDelete",
1073
+ "required": true,
1074
+ "type": "int",
1075
+ "value_allowed_null": true
1076
+ },
1077
+ {
1078
+ "disabled": false,
1079
+ "document": "资源创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
1080
+ "example": "2022-10-10 12:56:37",
1081
+ "member": "string",
1082
+ "name": "ResourceCreateTime",
1083
+ "required": true,
1084
+ "type": "string",
1085
+ "value_allowed_null": true
1086
+ },
1087
+ {
1088
+ "disabled": false,
1089
+ "document": "标签信息\n注意:此字段可能返回 null,表示取不到有效值。",
1090
+ "example": "x",
1091
+ "member": "Tag",
1092
+ "name": "Tags",
1093
+ "required": true,
1094
+ "type": "list",
1095
+ "value_allowed_null": true
1096
+ },
1097
+ {
1098
+ "disabled": false,
1099
+ "document": "可用区\n注意:此字段可能返回 null,表示取不到有效值。",
1100
+ "example": "ap-hangzhou-3",
1101
+ "member": "string",
1102
+ "name": "ResourceZone",
1103
+ "required": true,
1104
+ "type": "string",
1105
+ "value_allowed_null": true
1106
+ },
1107
+ {
1108
+ "disabled": false,
1109
+ "document": "合规状态\n注意:此字段可能返回 null,表示取不到有效值。",
1110
+ "example": "COMPLIANT",
1111
+ "member": "string",
1112
+ "name": "ComplianceResult",
1113
+ "required": true,
1114
+ "type": "string",
1115
+ "value_allowed_null": true
1116
+ }
1117
+ ],
1118
+ "usage": "out"
1119
+ },
756
1120
  "SourceConditionForManage": {
757
1121
  "document": "管理端规则条件",
758
1122
  "members": [
@@ -1,5 +1,13 @@
1
1
  {
2
2
  "actions": {
3
+ "DescribeDiscoveredResource": [
4
+ {
5
+ "document": "获取资源详情",
6
+ "input": "POST / HTTP/1.1\nHost: config.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDiscoveredResource\n<公共请求参数>\n\n{\n \"ResourceId\": \"ins-2avl1cxx\",\n \"ResourceType\": \"QCS::CVM::Instance\",\n \"ResourceRegion\": \"ap-guangzhou\"\n}",
7
+ "output": "{\n \"Response\": {\n \"RequestId\": \"2ea2d804-d278-4631-b04d-70bd40e1a478\",\n \"Configuration\": \"{\\\"InstanceState\\\":\\\"RUNNING\\\",\\\"InstanceName\\\":\\\"未命名\\\",\\\"InstanceId\\\":\\\"ins-111\\\",\\\"InstanceType\\\":\\\"S5.SMALL2\\\",\\\"VirtualPrivateCloud\\\":{\\\"VpcId\\\":\\\"vpc-333\\\",\\\"SubnetId\\\":\\\"subnet-qxupkefw\\\",\\\"AsVpcGateway\\\":false,\\\"PrivateIpAddresses\\\":null,\\\"Ipv6AddressCount\\\":0},\\\"PrivateIpAddresses\\\":[\\\"111\\\"],\\\"PublicIpAddresses\\\":null,\\\"OsName\\\":\\\"TencentOS Server 4 for x86_64\\\",\\\"Memory\\\":2,\\\"CPU\\\":1,\\\"InternetAccessible\\\":{\\\"InternetChargeType\\\":\\\"\\\",\\\"InternetMaxBandwidthOut\\\":0,\\\"PublicIpAssigned\\\":false,\\\"BandwidthPackageId\\\":\\\"\\\"},\\\"ImageId\\\":\\\"img-333\\\",\\\"InstanceChargeType\\\":\\\"PREPAID\\\",\\\"SecurityGroupIds\\\":[\\\"sg-222\\\"],\\\"DataDisks\\\":null,\\\"SystemDisk\\\":{\\\"DiskType\\\":\\\"CLOUD_PREMIUM\\\",\\\"DiskId\\\":\\\"disk-auh4557w\\\"},\\\"ExpiredTime\\\":\\\"2024-12-28T08:07:12Z\\\",\\\"RenewFlag\\\":\\\"NOTIFY_AND_MANUAL_RENEW\\\",\\\"LatestOperation\\\":\\\"\\\",\\\"Placement\\\":{\\\"ProjectId\\\":0},\\\"LatestOperationState\\\":\\\"\\\",\\\"CamRoleName\\\":\\\"\\\"}\",\n \"ResourceCreateTime\": \"2024-11-28 16:07:12\",\n \"ResourceId\": \"ins-2avl1cxx\",\n \"ResourceName\": \"未命名\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"ResourceType\": \"QCS::CVM::Instance\",\n \"ResourceZone\": \"\",\n \"Tags\": [],\n \"UpdateTime\": \"2024-11-28 16:08:36\"\n }\n}",
8
+ "title": "获取资源详情"
9
+ }
10
+ ],
3
11
  "ListAggregateConfigRules": [
4
12
  {
5
13
  "document": "账号组获取规则列表",
@@ -16,6 +24,14 @@
16
24
  "title": "获取规则列表"
17
25
  }
18
26
  ],
27
+ "ListDiscoveredResources": [
28
+ {
29
+ "document": "",
30
+ "input": "POST / HTTP/1.1\nHost: config.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDiscoveredResources\n<公共请求参数>\n\n{\n \"OrderType\": \"xx\",\n \"NextToken\": \"xx\",\n \"MaxResults\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"xx\"\n ],\n \"Name\": \"xx\"\n }\n ],\n \"Tags\": [\n {\n \"TagKey\": \"xx\",\n \"TagValue\": \"xx\"\n }\n ]\n}",
31
+ "output": "{\n \"Response\": {\n \"Items\": [\n {\n \"ResourceStatus\": \"xx\",\n \"Tags\": [\n {\n \"TagKey\": \"xx\",\n \"TagValue\": \"xx\"\n }\n ],\n \"ResourceType\": \"xx\",\n \"ResourceId\": \"xx\",\n \"ResourceCreateTime\": 1,\n \"ResourceRegion\": \"xx\",\n \"ResourceName\": \"xx\",\n \"ResourceZone\": \"xx\",\n \"ResourceDelete\": 1,\n \"ComplianceResult\": \"xx\"\n }\n ],\n \"NextToken\": \"xx\",\n \"RequestId\": \"xx\"\n }\n}",
32
+ "title": "获取资源列表"
33
+ }
34
+ ],
19
35
  "PutEvaluations": [
20
36
  {
21
37
  "document": "上报自定义规则评估结果",