tccli 3.0.1132.1__py2.py3-none-any.whl → 3.0.1133.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/apm/v20210622/api.json +1 -0
- tccli/services/apm/v20210622/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +9 -9
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +18 -0
- tccli/services/cfw/v20190904/api.json +4 -4
- tccli/services/ckafka/v20190819/api.json +130 -74
- tccli/services/ckafka/v20190819/examples.json +17 -17
- tccli/services/cms/v20190321/api.json +2 -0
- tccli/services/cms/v20190321/examples.json +1 -1
- tccli/services/csip/v20221121/api.json +137 -42
- tccli/services/csip/v20221121/examples.json +4 -4
- tccli/services/cynosdb/v20190107/api.json +340 -0
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +34 -0
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/dsgc/v20190723/api.json +20 -18
- tccli/services/dsgc/v20190723/examples.json +5 -5
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +2 -2
- tccli/services/gaap/v20180529/api.json +1 -1
- tccli/services/gaap/v20180529/examples.json +0 -6
- tccli/services/iecp/v20210914/api.json +40 -40
- tccli/services/ims/v20201229/api.json +2 -2
- tccli/services/lke/lke_client.py +171 -12
- tccli/services/lke/v20231130/api.json +524 -0
- tccli/services/lke/v20231130/examples.json +24 -0
- tccli/services/monitor/v20180724/api.json +47 -19
- tccli/services/monitor/v20180724/examples.json +4 -4
- tccli/services/pts/v20210728/api.json +1 -1
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rum/v20210622/api.json +2 -0
- tccli/services/rum/v20210622/examples.json +1 -1
- tccli/services/sms/v20210111/api.json +26 -26
- tccli/services/tcr/v20190924/api.json +13 -10
- tccli/services/tcr/v20190924/examples.json +2 -2
- tccli/services/tke/tke_client.py +53 -0
- tccli/services/tke/v20180525/api.json +227 -41
- tccli/services/tke/v20180525/examples.json +26 -0
- tccli/services/tse/v20201207/api.json +13 -2
- tccli/services/tsf/v20180326/api.json +10 -8
- tccli/services/tsf/v20180326/examples.json +3 -3
- tccli/services/waf/v20180125/api.json +65 -9
- tccli/services/waf/v20180125/examples.json +1 -1
- tccli/services/wedata/v20210820/api.json +30 -19
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1133.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1133.1.dist-info}/RECORD +52 -52
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1133.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1133.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1133.1.dist-info}/license_files/LICENSE +0 -0
@@ -2476,6 +2476,16 @@
|
|
2476
2476
|
"type": "string",
|
2477
2477
|
"value_allowed_null": false
|
2478
2478
|
},
|
2479
|
+
{
|
2480
|
+
"disabled": false,
|
2481
|
+
"document": "地域\n注意:此字段可能返回 null,表示取不到有效值。",
|
2482
|
+
"example": "无",
|
2483
|
+
"member": "string",
|
2484
|
+
"name": "Region",
|
2485
|
+
"output_required": false,
|
2486
|
+
"type": "string",
|
2487
|
+
"value_allowed_null": true
|
2488
|
+
},
|
2479
2489
|
{
|
2480
2490
|
"disabled": false,
|
2481
2491
|
"document": "任务创建时间",
|
@@ -2785,6 +2795,16 @@
|
|
2785
2795
|
"output_required": false,
|
2786
2796
|
"type": "object",
|
2787
2797
|
"value_allowed_null": true
|
2798
|
+
},
|
2799
|
+
{
|
2800
|
+
"disabled": false,
|
2801
|
+
"document": "实例日志投递信息\n\n注意:此字段可能返回 null,表示取不到有效值。",
|
2802
|
+
"example": "无",
|
2803
|
+
"member": "InstanceCLSDeliveryInfo",
|
2804
|
+
"name": "InstanceCLSDeliveryInfos",
|
2805
|
+
"output_required": false,
|
2806
|
+
"type": "list",
|
2807
|
+
"value_allowed_null": true
|
2788
2808
|
}
|
2789
2809
|
],
|
2790
2810
|
"usage": "out"
|
@@ -11470,6 +11490,58 @@
|
|
11470
11490
|
],
|
11471
11491
|
"usage": "both"
|
11472
11492
|
},
|
11493
|
+
"ExchangeInstanceInfo": {
|
11494
|
+
"document": "交换实例信息",
|
11495
|
+
"members": [
|
11496
|
+
{
|
11497
|
+
"disabled": false,
|
11498
|
+
"document": "源实例信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
11499
|
+
"example": "无",
|
11500
|
+
"member": "RollbackInstanceInfo",
|
11501
|
+
"name": "SrcInstanceInfo",
|
11502
|
+
"output_required": false,
|
11503
|
+
"type": "object",
|
11504
|
+
"value_allowed_null": true
|
11505
|
+
},
|
11506
|
+
{
|
11507
|
+
"disabled": false,
|
11508
|
+
"document": "目标实例信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
11509
|
+
"example": "无",
|
11510
|
+
"member": "RollbackInstanceInfo",
|
11511
|
+
"name": "DstInstanceInfo",
|
11512
|
+
"output_required": false,
|
11513
|
+
"type": "object",
|
11514
|
+
"value_allowed_null": true
|
11515
|
+
}
|
11516
|
+
],
|
11517
|
+
"usage": "out"
|
11518
|
+
},
|
11519
|
+
"ExchangeRoGroupInfo": {
|
11520
|
+
"document": "交换RO组信息",
|
11521
|
+
"members": [
|
11522
|
+
{
|
11523
|
+
"disabled": false,
|
11524
|
+
"document": "源RO组信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
11525
|
+
"example": "无",
|
11526
|
+
"member": "RollbackRoGroupInfo",
|
11527
|
+
"name": "SrcRoGroupInfo",
|
11528
|
+
"output_required": false,
|
11529
|
+
"type": "object",
|
11530
|
+
"value_allowed_null": true
|
11531
|
+
},
|
11532
|
+
{
|
11533
|
+
"disabled": false,
|
11534
|
+
"document": "目标RO组信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
11535
|
+
"example": "无",
|
11536
|
+
"member": "RollbackRoGroupInfo",
|
11537
|
+
"name": "DstRoGroupInfo",
|
11538
|
+
"output_required": false,
|
11539
|
+
"type": "object",
|
11540
|
+
"value_allowed_null": true
|
11541
|
+
}
|
11542
|
+
],
|
11543
|
+
"usage": "out"
|
11544
|
+
},
|
11473
11545
|
"ExportInstanceErrorLogsRequest": {
|
11474
11546
|
"document": "ExportInstanceErrorLogs请求参数结构体",
|
11475
11547
|
"members": [
|
@@ -17678,6 +17750,16 @@
|
|
17678
17750
|
"output_required": true,
|
17679
17751
|
"type": "string",
|
17680
17752
|
"value_allowed_null": true
|
17753
|
+
},
|
17754
|
+
{
|
17755
|
+
"disabled": false,
|
17756
|
+
"document": "回档进程\n注意:此字段可能返回 null,表示取不到有效值。",
|
17757
|
+
"example": "无",
|
17758
|
+
"member": "RollbackProcessInfo",
|
17759
|
+
"name": "RollbackProcess",
|
17760
|
+
"output_required": false,
|
17761
|
+
"type": "object",
|
17762
|
+
"value_allowed_null": true
|
17681
17763
|
}
|
17682
17764
|
],
|
17683
17765
|
"usage": "out"
|
@@ -17710,6 +17792,264 @@
|
|
17710
17792
|
],
|
17711
17793
|
"usage": "both"
|
17712
17794
|
},
|
17795
|
+
"RollbackInstanceInfo": {
|
17796
|
+
"document": "回档实例信息",
|
17797
|
+
"members": [
|
17798
|
+
{
|
17799
|
+
"disabled": false,
|
17800
|
+
"document": "集群ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
17801
|
+
"example": "无",
|
17802
|
+
"member": "string",
|
17803
|
+
"name": "ClusterId",
|
17804
|
+
"output_required": false,
|
17805
|
+
"type": "string",
|
17806
|
+
"value_allowed_null": true
|
17807
|
+
},
|
17808
|
+
{
|
17809
|
+
"disabled": false,
|
17810
|
+
"document": "集群名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
17811
|
+
"example": "无",
|
17812
|
+
"member": "string",
|
17813
|
+
"name": "ClusterName",
|
17814
|
+
"output_required": false,
|
17815
|
+
"type": "string",
|
17816
|
+
"value_allowed_null": true
|
17817
|
+
},
|
17818
|
+
{
|
17819
|
+
"disabled": false,
|
17820
|
+
"document": "vpc信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
17821
|
+
"example": "无",
|
17822
|
+
"member": "string",
|
17823
|
+
"name": "UniqVpcId",
|
17824
|
+
"output_required": false,
|
17825
|
+
"type": "string",
|
17826
|
+
"value_allowed_null": true
|
17827
|
+
},
|
17828
|
+
{
|
17829
|
+
"disabled": false,
|
17830
|
+
"document": "子网信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
17831
|
+
"example": "无",
|
17832
|
+
"member": "string",
|
17833
|
+
"name": "UniqSubnetId",
|
17834
|
+
"output_required": false,
|
17835
|
+
"type": "string",
|
17836
|
+
"value_allowed_null": true
|
17837
|
+
},
|
17838
|
+
{
|
17839
|
+
"disabled": false,
|
17840
|
+
"document": "vip信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
17841
|
+
"example": "无",
|
17842
|
+
"member": "string",
|
17843
|
+
"name": "Vip",
|
17844
|
+
"output_required": false,
|
17845
|
+
"type": "string",
|
17846
|
+
"value_allowed_null": true
|
17847
|
+
},
|
17848
|
+
{
|
17849
|
+
"disabled": false,
|
17850
|
+
"document": "vport信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
17851
|
+
"example": "无",
|
17852
|
+
"member": "int64",
|
17853
|
+
"name": "Vport",
|
17854
|
+
"output_required": false,
|
17855
|
+
"type": "int",
|
17856
|
+
"value_allowed_null": true
|
17857
|
+
},
|
17858
|
+
{
|
17859
|
+
"disabled": false,
|
17860
|
+
"document": "实例ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
17861
|
+
"example": "无",
|
17862
|
+
"member": "string",
|
17863
|
+
"name": "InstanceId",
|
17864
|
+
"output_required": false,
|
17865
|
+
"type": "string",
|
17866
|
+
"value_allowed_null": true
|
17867
|
+
},
|
17868
|
+
{
|
17869
|
+
"disabled": false,
|
17870
|
+
"document": "实例名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
17871
|
+
"example": "无",
|
17872
|
+
"member": "string",
|
17873
|
+
"name": "InstanceName",
|
17874
|
+
"output_required": false,
|
17875
|
+
"type": "string",
|
17876
|
+
"value_allowed_null": true
|
17877
|
+
},
|
17878
|
+
{
|
17879
|
+
"disabled": false,
|
17880
|
+
"document": "状态\n注意:此字段可能返回 null,表示取不到有效值。",
|
17881
|
+
"example": "无",
|
17882
|
+
"member": "string",
|
17883
|
+
"name": "Status",
|
17884
|
+
"output_required": false,
|
17885
|
+
"type": "string",
|
17886
|
+
"value_allowed_null": true
|
17887
|
+
},
|
17888
|
+
{
|
17889
|
+
"disabled": false,
|
17890
|
+
"document": "cpu大小\n注意:此字段可能返回 null,表示取不到有效值。",
|
17891
|
+
"example": "无",
|
17892
|
+
"member": "int64",
|
17893
|
+
"name": "Cpu",
|
17894
|
+
"output_required": false,
|
17895
|
+
"type": "int",
|
17896
|
+
"value_allowed_null": true
|
17897
|
+
},
|
17898
|
+
{
|
17899
|
+
"disabled": false,
|
17900
|
+
"document": "内存大小\n注意:此字段可能返回 null,表示取不到有效值。",
|
17901
|
+
"example": "无",
|
17902
|
+
"member": "int64",
|
17903
|
+
"name": "Mem",
|
17904
|
+
"output_required": false,
|
17905
|
+
"type": "int",
|
17906
|
+
"value_allowed_null": true
|
17907
|
+
},
|
17908
|
+
{
|
17909
|
+
"disabled": false,
|
17910
|
+
"document": "存储大小\n注意:此字段可能返回 null,表示取不到有效值。",
|
17911
|
+
"example": "无",
|
17912
|
+
"member": "int64",
|
17913
|
+
"name": "StorageLimit",
|
17914
|
+
"output_required": false,
|
17915
|
+
"type": "int",
|
17916
|
+
"value_allowed_null": true
|
17917
|
+
}
|
17918
|
+
],
|
17919
|
+
"usage": "out"
|
17920
|
+
},
|
17921
|
+
"RollbackProcessInfo": {
|
17922
|
+
"document": "回档进度详情",
|
17923
|
+
"members": [
|
17924
|
+
{
|
17925
|
+
"disabled": false,
|
17926
|
+
"document": "是否可以交换vip\n注意:此字段可能返回 null,表示取不到有效值。",
|
17927
|
+
"example": "无",
|
17928
|
+
"member": "bool",
|
17929
|
+
"name": "IsVipSwitchable",
|
17930
|
+
"output_required": false,
|
17931
|
+
"type": "bool",
|
17932
|
+
"value_allowed_null": true
|
17933
|
+
},
|
17934
|
+
{
|
17935
|
+
"disabled": false,
|
17936
|
+
"document": "vip可交换时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
17937
|
+
"example": "无",
|
17938
|
+
"member": "string",
|
17939
|
+
"name": "VipSwitchableTime",
|
17940
|
+
"output_required": false,
|
17941
|
+
"type": "string",
|
17942
|
+
"value_allowed_null": true
|
17943
|
+
},
|
17944
|
+
{
|
17945
|
+
"disabled": false,
|
17946
|
+
"document": "交换实例列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
17947
|
+
"example": "无",
|
17948
|
+
"member": "ExchangeInstanceInfo",
|
17949
|
+
"name": "ExchangeInstanceInfoList",
|
17950
|
+
"output_required": false,
|
17951
|
+
"type": "list",
|
17952
|
+
"value_allowed_null": true
|
17953
|
+
},
|
17954
|
+
{
|
17955
|
+
"disabled": false,
|
17956
|
+
"document": "交换RO组列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
17957
|
+
"example": "无",
|
17958
|
+
"member": "ExchangeRoGroupInfo",
|
17959
|
+
"name": "ExchangeRoGroupInfoList",
|
17960
|
+
"output_required": false,
|
17961
|
+
"type": "list",
|
17962
|
+
"value_allowed_null": true
|
17963
|
+
},
|
17964
|
+
{
|
17965
|
+
"disabled": false,
|
17966
|
+
"document": "当前步骤\n注意:此字段可能返回 null,表示取不到有效值。",
|
17967
|
+
"example": "无",
|
17968
|
+
"member": "string",
|
17969
|
+
"name": "CurrentStep",
|
17970
|
+
"output_required": false,
|
17971
|
+
"type": "string",
|
17972
|
+
"value_allowed_null": true
|
17973
|
+
},
|
17974
|
+
{
|
17975
|
+
"disabled": false,
|
17976
|
+
"document": "当前步骤进度\n注意:此字段可能返回 null,表示取不到有效值。",
|
17977
|
+
"example": "无",
|
17978
|
+
"member": "int64",
|
17979
|
+
"name": "CurrentStepProgress",
|
17980
|
+
"output_required": false,
|
17981
|
+
"type": "int",
|
17982
|
+
"value_allowed_null": true
|
17983
|
+
},
|
17984
|
+
{
|
17985
|
+
"disabled": false,
|
17986
|
+
"document": "当前步骤剩余时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
17987
|
+
"example": "无",
|
17988
|
+
"member": "string",
|
17989
|
+
"name": "CurrentStepRemainingTime",
|
17990
|
+
"output_required": false,
|
17991
|
+
"type": "string",
|
17992
|
+
"value_allowed_null": true
|
17993
|
+
}
|
17994
|
+
],
|
17995
|
+
"usage": "out"
|
17996
|
+
},
|
17997
|
+
"RollbackRoGroupInfo": {
|
17998
|
+
"document": "回档RO组信息",
|
17999
|
+
"members": [
|
18000
|
+
{
|
18001
|
+
"disabled": false,
|
18002
|
+
"document": "实例组ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
18003
|
+
"example": "无",
|
18004
|
+
"member": "string",
|
18005
|
+
"name": "InstanceGroupId",
|
18006
|
+
"output_required": false,
|
18007
|
+
"type": "string",
|
18008
|
+
"value_allowed_null": true
|
18009
|
+
},
|
18010
|
+
{
|
18011
|
+
"disabled": false,
|
18012
|
+
"document": "vpc信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
18013
|
+
"example": "无",
|
18014
|
+
"member": "string",
|
18015
|
+
"name": "UniqVpcId",
|
18016
|
+
"output_required": false,
|
18017
|
+
"type": "string",
|
18018
|
+
"value_allowed_null": true
|
18019
|
+
},
|
18020
|
+
{
|
18021
|
+
"disabled": false,
|
18022
|
+
"document": "子网信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
18023
|
+
"example": "无",
|
18024
|
+
"member": "string",
|
18025
|
+
"name": "UniqSubnetId",
|
18026
|
+
"output_required": false,
|
18027
|
+
"type": "string",
|
18028
|
+
"value_allowed_null": true
|
18029
|
+
},
|
18030
|
+
{
|
18031
|
+
"disabled": false,
|
18032
|
+
"document": "vip信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
18033
|
+
"example": "无",
|
18034
|
+
"member": "string",
|
18035
|
+
"name": "Vip",
|
18036
|
+
"output_required": false,
|
18037
|
+
"type": "string",
|
18038
|
+
"value_allowed_null": true
|
18039
|
+
},
|
18040
|
+
{
|
18041
|
+
"disabled": false,
|
18042
|
+
"document": "vport信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
18043
|
+
"example": "无",
|
18044
|
+
"member": "int64",
|
18045
|
+
"name": "Vport",
|
18046
|
+
"output_required": false,
|
18047
|
+
"type": "int",
|
18048
|
+
"value_allowed_null": true
|
18049
|
+
}
|
18050
|
+
],
|
18051
|
+
"usage": "out"
|
18052
|
+
},
|
17713
18053
|
"RollbackTable": {
|
17714
18054
|
"document": "回档数据库及表",
|
17715
18055
|
"members": [
|
tccli/services/dlc/dlc_client.py
CHANGED
@@ -5061,6 +5061,58 @@ def doDescribeEngineUsageInfo(args, parsed_globals):
|
|
5061
5061
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5062
5062
|
|
5063
5063
|
|
5064
|
+
def doDescribeTasksOverview(args, parsed_globals):
|
5065
|
+
g_param = parse_global_arg(parsed_globals)
|
5066
|
+
|
5067
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5068
|
+
cred = credential.CVMRoleCredential()
|
5069
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5070
|
+
cred = credential.STSAssumeRoleCredential(
|
5071
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5072
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5073
|
+
)
|
5074
|
+
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):
|
5075
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5076
|
+
else:
|
5077
|
+
cred = credential.Credential(
|
5078
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5079
|
+
)
|
5080
|
+
http_profile = HttpProfile(
|
5081
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5082
|
+
reqMethod="POST",
|
5083
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5084
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5085
|
+
)
|
5086
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5087
|
+
if g_param[OptionsDefine.Language]:
|
5088
|
+
profile.language = g_param[OptionsDefine.Language]
|
5089
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5090
|
+
client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
|
5091
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5092
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5093
|
+
model = models.DescribeTasksOverviewRequest()
|
5094
|
+
model.from_json_string(json.dumps(args))
|
5095
|
+
start_time = time.time()
|
5096
|
+
while True:
|
5097
|
+
rsp = client.DescribeTasksOverview(model)
|
5098
|
+
result = rsp.to_json_string()
|
5099
|
+
try:
|
5100
|
+
json_obj = json.loads(result)
|
5101
|
+
except TypeError as e:
|
5102
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5103
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5104
|
+
break
|
5105
|
+
cur_time = time.time()
|
5106
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5107
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5108
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5109
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5110
|
+
else:
|
5111
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5112
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5113
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5114
|
+
|
5115
|
+
|
5064
5116
|
def doUpdateDataEngineConfig(args, parsed_globals):
|
5065
5117
|
g_param = parse_global_arg(parsed_globals)
|
5066
5118
|
|
@@ -7301,6 +7353,7 @@ ACTION_MAP = {
|
|
7301
7353
|
"DeleteDataEngine": doDeleteDataEngine,
|
7302
7354
|
"DeleteUser": doDeleteUser,
|
7303
7355
|
"DescribeEngineUsageInfo": doDescribeEngineUsageInfo,
|
7356
|
+
"DescribeTasksOverview": doDescribeTasksOverview,
|
7304
7357
|
"UpdateDataEngineConfig": doUpdateDataEngineConfig,
|
7305
7358
|
"CreateTasksInOrder": doCreateTasksInOrder,
|
7306
7359
|
"UpdateRowFilter": doUpdateRowFilter,
|
@@ -637,6 +637,13 @@
|
|
637
637
|
"output": "DescribeTasksCostInfoResponse",
|
638
638
|
"status": "online"
|
639
639
|
},
|
640
|
+
"DescribeTasksOverview": {
|
641
|
+
"document": "查看任务概览页",
|
642
|
+
"input": "DescribeTasksOverviewRequest",
|
643
|
+
"name": "查看任务概览页",
|
644
|
+
"output": "DescribeTasksOverviewResponse",
|
645
|
+
"status": "online"
|
646
|
+
},
|
640
647
|
"DescribeThirdPartyAccessUser": {
|
641
648
|
"document": "本接口(RegisterThirdPartyAccessUser)查询开通第三方平台访问的用户信息",
|
642
649
|
"input": "DescribeThirdPartyAccessUserRequest",
|
@@ -10347,6 +10354,33 @@
|
|
10347
10354
|
],
|
10348
10355
|
"type": "object"
|
10349
10356
|
},
|
10357
|
+
"DescribeTasksOverviewRequest": {
|
10358
|
+
"document": "DescribeTasksOverview请求参数结构体",
|
10359
|
+
"members": [],
|
10360
|
+
"type": "object"
|
10361
|
+
},
|
10362
|
+
"DescribeTasksOverviewResponse": {
|
10363
|
+
"document": "DescribeTasksOverview返回参数结构体",
|
10364
|
+
"members": [
|
10365
|
+
{
|
10366
|
+
"disabled": false,
|
10367
|
+
"document": "各类任务个数大于0",
|
10368
|
+
"example": "无",
|
10369
|
+
"member": "TasksOverview",
|
10370
|
+
"name": "TasksOverview",
|
10371
|
+
"required": true,
|
10372
|
+
"type": "object",
|
10373
|
+
"value_allowed_null": false
|
10374
|
+
},
|
10375
|
+
{
|
10376
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
10377
|
+
"member": "string",
|
10378
|
+
"name": "RequestId",
|
10379
|
+
"type": "string"
|
10380
|
+
}
|
10381
|
+
],
|
10382
|
+
"type": "object"
|
10383
|
+
},
|
10350
10384
|
"DescribeTasksRequest": {
|
10351
10385
|
"document": "DescribeTasks请求参数结构体",
|
10352
10386
|
"members": [
|
@@ -734,6 +734,14 @@
|
|
734
734
|
"title": "查询任务消耗"
|
735
735
|
}
|
736
736
|
],
|
737
|
+
"DescribeTasksOverview": [
|
738
|
+
{
|
739
|
+
"document": "",
|
740
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasksOverview\n<公共请求参数>\n\n{}",
|
741
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"923423423445\",\n \"TasksOverview\": {\n \"TaskQueuedCount\": 0,\n \"TaskInitCount\": 0,\n \"TaskRunningCount\": 0,\n \"TotalTaskCount\": 0\n }\n }\n}",
|
742
|
+
"title": "查询任务概览情况"
|
743
|
+
}
|
744
|
+
],
|
737
745
|
"DescribeThirdPartyAccessUser": [
|
738
746
|
{
|
739
747
|
"document": "查询注册的第三方访问用户信息",
|
@@ -3594,7 +3594,7 @@
|
|
3594
3594
|
{
|
3595
3595
|
"disabled": false,
|
3596
3596
|
"document": "DSPA实例ID。",
|
3597
|
-
"example": "dspa-
|
3597
|
+
"example": "dspa-abcd1234",
|
3598
3598
|
"member": "string",
|
3599
3599
|
"name": "DspaId",
|
3600
3600
|
"required": true,
|
@@ -3612,7 +3612,7 @@
|
|
3612
3612
|
{
|
3613
3613
|
"disabled": true,
|
3614
3614
|
"document": "COS桶列表",
|
3615
|
-
"example": "
|
3615
|
+
"example": "[\"cos-123\",\"cos-456\"]",
|
3616
3616
|
"member": "string",
|
3617
3617
|
"name": "Buckets",
|
3618
3618
|
"required": false,
|
@@ -3621,7 +3621,7 @@
|
|
3621
3621
|
{
|
3622
3622
|
"disabled": false,
|
3623
3623
|
"document": "必填,COS资源列表",
|
3624
|
-
"example": "
|
3624
|
+
"example": "cosItem",
|
3625
3625
|
"member": "CosBucketItem",
|
3626
3626
|
"name": "CosBucketItems",
|
3627
3627
|
"required": false,
|
@@ -4337,7 +4337,7 @@
|
|
4337
4337
|
{
|
4338
4338
|
"disabled": false,
|
4339
4339
|
"document": "DSPA实例ID",
|
4340
|
-
"example": "dspa-
|
4340
|
+
"example": "dspa-abcd1234",
|
4341
4341
|
"member": "string",
|
4342
4342
|
"name": "DspaId",
|
4343
4343
|
"required": true,
|
@@ -4373,7 +4373,7 @@
|
|
4373
4373
|
{
|
4374
4374
|
"disabled": false,
|
4375
4375
|
"document": "规则名称",
|
4376
|
-
"example": "
|
4376
|
+
"example": "手机号",
|
4377
4377
|
"member": "string",
|
4378
4378
|
"name": "RuleName",
|
4379
4379
|
"required": true,
|
@@ -4382,7 +4382,7 @@
|
|
4382
4382
|
{
|
4383
4383
|
"disabled": false,
|
4384
4384
|
"document": "规则别名",
|
4385
|
-
"example": "
|
4385
|
+
"example": "电话号码",
|
4386
4386
|
"member": "string",
|
4387
4387
|
"name": "AnotherName",
|
4388
4388
|
"required": true,
|
@@ -8546,10 +8546,10 @@
|
|
8546
8546
|
{
|
8547
8547
|
"disabled": false,
|
8548
8548
|
"document": "分类树json\n注意:此字段可能返回 null,表示取不到有效值。",
|
8549
|
-
"example": "
|
8549
|
+
"example": "[{\"result\": 1}]",
|
8550
8550
|
"member": "string",
|
8551
8551
|
"name": "ResultJson",
|
8552
|
-
"
|
8552
|
+
"output_required": true,
|
8553
8553
|
"type": "string",
|
8554
8554
|
"value_allowed_null": true
|
8555
8555
|
},
|
@@ -9649,7 +9649,7 @@
|
|
9649
9649
|
"example": "无",
|
9650
9650
|
"member": "LevelItem",
|
9651
9651
|
"name": "Items",
|
9652
|
-
"
|
9652
|
+
"output_required": true,
|
9653
9653
|
"type": "list",
|
9654
9654
|
"value_allowed_null": false
|
9655
9655
|
},
|
@@ -9659,7 +9659,7 @@
|
|
9659
9659
|
"example": "1",
|
9660
9660
|
"member": "int64",
|
9661
9661
|
"name": "TotalCount",
|
9662
|
-
"
|
9662
|
+
"output_required": true,
|
9663
9663
|
"type": "int",
|
9664
9664
|
"value_allowed_null": false
|
9665
9665
|
},
|
@@ -9705,7 +9705,7 @@
|
|
9705
9705
|
"example": "无",
|
9706
9706
|
"member": "DspaDiscoveryLevelDetail",
|
9707
9707
|
"name": "Items",
|
9708
|
-
"
|
9708
|
+
"output_required": true,
|
9709
9709
|
"type": "list",
|
9710
9710
|
"value_allowed_null": true
|
9711
9711
|
},
|
@@ -9715,7 +9715,7 @@
|
|
9715
9715
|
"example": "1",
|
9716
9716
|
"member": "int64",
|
9717
9717
|
"name": "TotalCount",
|
9718
|
-
"
|
9718
|
+
"output_required": true,
|
9719
9719
|
"type": "int",
|
9720
9720
|
"value_allowed_null": true
|
9721
9721
|
},
|
@@ -16819,7 +16819,7 @@
|
|
16819
16819
|
{
|
16820
16820
|
"disabled": false,
|
16821
16821
|
"document": "DSPA实例ID。",
|
16822
|
-
"example": "
|
16822
|
+
"example": "dspa-aaa",
|
16823
16823
|
"member": "string",
|
16824
16824
|
"name": "DspaId",
|
16825
16825
|
"required": true,
|
@@ -16828,7 +16828,7 @@
|
|
16828
16828
|
{
|
16829
16829
|
"disabled": false,
|
16830
16830
|
"document": "资源ID。",
|
16831
|
-
"example": "
|
16831
|
+
"example": "10",
|
16832
16832
|
"member": "string",
|
16833
16833
|
"name": "ResourceId",
|
16834
16834
|
"required": true,
|
@@ -16837,7 +16837,7 @@
|
|
16837
16837
|
{
|
16838
16838
|
"disabled": false,
|
16839
16839
|
"document": "资源所在地域。",
|
16840
|
-
"example": "
|
16840
|
+
"example": "ap-guangzhou",
|
16841
16841
|
"member": "string",
|
16842
16842
|
"name": "ResourceRegion",
|
16843
16843
|
"required": true,
|
@@ -16846,7 +16846,7 @@
|
|
16846
16846
|
{
|
16847
16847
|
"disabled": false,
|
16848
16848
|
"document": "资源类型。",
|
16849
|
-
"example": "
|
16849
|
+
"example": "cdb",
|
16850
16850
|
"member": "string",
|
16851
16851
|
"name": "MetaType",
|
16852
16852
|
"required": true,
|
@@ -16861,18 +16861,20 @@
|
|
16861
16861
|
{
|
16862
16862
|
"disabled": false,
|
16863
16863
|
"document": "绑定DB数量。",
|
16864
|
-
"example": "
|
16864
|
+
"example": "1",
|
16865
16865
|
"member": "uint64",
|
16866
16866
|
"name": "BindDbNums",
|
16867
|
+
"output_required": true,
|
16867
16868
|
"type": "int",
|
16868
16869
|
"value_allowed_null": false
|
16869
16870
|
},
|
16870
16871
|
{
|
16871
16872
|
"disabled": false,
|
16872
16873
|
"document": "未绑定DB数量。",
|
16873
|
-
"example": "
|
16874
|
+
"example": "1",
|
16874
16875
|
"member": "uint64",
|
16875
16876
|
"name": "UnbindDbNums",
|
16877
|
+
"output_required": true,
|
16876
16878
|
"type": "int",
|
16877
16879
|
"value_allowed_null": false
|
16878
16880
|
},
|