tccli 3.0.1343.1__py2.py3-none-any.whl → 3.0.1344.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.
Files changed (79) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +6 -0
  3. tccli/services/ams/v20201229/api.json +46 -46
  4. tccli/services/ams/v20201229/examples.json +1 -1
  5. tccli/services/batch/batch_client.py +53 -0
  6. tccli/services/batch/v20170312/api.json +125 -0
  7. tccli/services/batch/v20170312/examples.json +8 -0
  8. tccli/services/bh/v20230418/api.json +282 -1
  9. tccli/services/bh/v20230418/examples.json +3 -3
  10. tccli/services/bi/v20220105/api.json +9 -0
  11. tccli/services/ccc/v20200210/api.json +9 -0
  12. tccli/services/cdb/v20170320/api.json +38 -38
  13. tccli/services/cdb/v20170320/examples.json +3 -3
  14. tccli/services/cdwch/cdwch_client.py +53 -0
  15. tccli/services/cdwch/v20200915/api.json +410 -0
  16. tccli/services/cdwch/v20200915/examples.json +8 -0
  17. tccli/services/cdwdoris/v20211228/api.json +22 -2
  18. tccli/services/cfg/v20210820/api.json +72 -0
  19. tccli/services/ckafka/v20190819/api.json +21 -1
  20. tccli/services/csip/csip_client.py +163 -4
  21. tccli/services/csip/v20221121/api.json +967 -164
  22. tccli/services/csip/v20221121/examples.json +29 -5
  23. tccli/services/cvm/v20170312/api.json +16 -5
  24. tccli/services/cvm/v20170312/examples.json +1 -1
  25. tccli/services/dlc/v20210125/api.json +61 -0
  26. tccli/services/emr/emr_client.py +167 -8
  27. tccli/services/emr/v20190103/api.json +809 -14
  28. tccli/services/emr/v20190103/examples.json +24 -0
  29. tccli/services/es/v20250101/examples.json +2 -2
  30. tccli/services/ess/v20201111/api.json +15 -6
  31. tccli/services/essbasic/v20210526/api.json +2 -2
  32. tccli/services/gs/v20191118/api.json +40 -1
  33. tccli/services/gs/v20191118/examples.json +2 -2
  34. tccli/services/hunyuan/v20230901/api.json +1 -1
  35. tccli/services/igtm/__init__.py +4 -0
  36. tccli/services/igtm/igtm_client.py +1373 -0
  37. tccli/services/igtm/v20231024/api.json +3569 -0
  38. tccli/services/igtm/v20231024/examples.json +207 -0
  39. tccli/services/ims/v20201229/api.json +20 -28
  40. tccli/services/ioa/ioa_client.py +114 -8
  41. tccli/services/ioa/v20220601/api.json +218 -3
  42. tccli/services/ioa/v20220601/examples.json +16 -0
  43. tccli/services/iss/v20230517/api.json +11 -2
  44. tccli/services/kms/v20190118/api.json +4 -4
  45. tccli/services/lighthouse/v20200324/api.json +1 -1
  46. tccli/services/mps/v20190612/api.json +43 -5
  47. tccli/services/ocr/v20181119/api.json +127 -118
  48. tccli/services/partners/v20180321/api.json +1 -1
  49. tccli/services/securitylake/__init__.py +4 -0
  50. tccli/services/securitylake/securitylake_client.py +207 -0
  51. tccli/services/securitylake/v20240117/api.json +723 -0
  52. tccli/services/securitylake/v20240117/examples.json +13 -0
  53. tccli/services/tcbr/v20220217/api.json +70 -0
  54. tccli/services/tdmq/v20200217/api.json +263 -5
  55. tccli/services/tdmq/v20200217/examples.json +1 -1
  56. tccli/services/teo/v20220901/api.json +40 -30
  57. tccli/services/teo/v20220901/examples.json +19 -19
  58. tccli/services/tione/tione_client.py +57 -4
  59. tccli/services/tione/v20211111/api.json +283 -1
  60. tccli/services/tione/v20211111/examples.json +8 -0
  61. tccli/services/tke/v20180525/api.json +37 -28
  62. tccli/services/tms/v20201229/api.json +14 -21
  63. tccli/services/trocket/v20230308/api.json +80 -80
  64. tccli/services/trocket/v20230308/examples.json +1 -1
  65. tccli/services/tsf/tsf_client.py +61 -8
  66. tccli/services/tsf/v20180326/api.json +3161 -2106
  67. tccli/services/tsf/v20180326/examples.json +8 -0
  68. tccli/services/vdb/v20230616/api.json +49 -0
  69. tccli/services/vdb/v20230616/examples.json +1 -1
  70. tccli/services/vm/v20210922/api.json +8 -8
  71. tccli/services/vpc/v20170312/api.json +1 -1
  72. tccli/services/wav/v20210129/api.json +10 -10
  73. tccli/services/wav/v20210129/examples.json +3 -3
  74. tccli/services/wedata/v20210820/api.json +11 -0
  75. {tccli-3.0.1343.1.dist-info → tccli-3.0.1344.1.dist-info}/METADATA +2 -2
  76. {tccli-3.0.1343.1.dist-info → tccli-3.0.1344.1.dist-info}/RECORD +79 -71
  77. {tccli-3.0.1343.1.dist-info → tccli-3.0.1344.1.dist-info}/WHEEL +0 -0
  78. {tccli-3.0.1343.1.dist-info → tccli-3.0.1344.1.dist-info}/entry_points.txt +0 -0
  79. {tccli-3.0.1343.1.dist-info → tccli-3.0.1344.1.dist-info}/license_files/LICENSE +0 -0
@@ -0,0 +1,207 @@
1
+ {
2
+ "actions": {
3
+ "CreateAddressPool": [
4
+ {
5
+ "document": "",
6
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAddressPool\n<公共请求参数>\n\n{\n \"PoolName\": \"abc\",\n \"TrafficStrategy\": \"abc\",\n \"MonitorId\": 1,\n \"AddressSet\": [\n {\n \"AddressId\": 1,\n \"Addr\": \"abc\",\n \"Location\": \"abc\",\n \"Status\": \"abc\",\n \"IsEnable\": \"abc\",\n \"Weight\": 1,\n \"CreatedOn\": \"2020-09-22T00:00:00+00:00\",\n \"UpdatedOn\": \"2020-09-22T00:00:00+00:00\"\n }\n ]\n}",
7
+ "output": "{\n \"Response\": {\n \"AddressPoolId\": 1,\n \"RequestId\": \"abc\"\n }\n}",
8
+ "title": "创建地址池"
9
+ }
10
+ ],
11
+ "CreateInstance": [
12
+ {
13
+ "document": "创建免费版套餐",
14
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstance\n<公共请求参数>\n\n{\n \"InstanceName\": \"example-test-instance\",\n \"Domain\": \"igtm.example.com\",\n \"AccessType\": \"custom\",\n \"AccessDomain\": \"example.com\",\n \"AccessSubDomain\": \"access.igtm\",\n \"GlobalTtl\": 300,\n \"PackageType\": \"Free\",\n \"Remark\": \"测试实例\"\n}",
15
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ec040ddf-7c7d-4aef-9e0d-6f3105fa0a4c\"\n }\n}",
16
+ "title": "创建免费版套餐"
17
+ }
18
+ ],
19
+ "CreateMonitor": [
20
+ {
21
+ "document": "tcp监控",
22
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMonitor\n<公共请求参数>\n\n{\n \"MonitorName\": \"监控tcp\",\n \"CheckProtocol\": \"TCP\",\n \"CheckInterval\": 60,\n \"Timeout\": 2,\n \"FailTimes\": 0,\n \"FailRate\": 50,\n \"DetectorStyle\": \"AUTO\",\n \"DetectorGroupIds\": [\n 1\n ],\n \"TcpPort\": 80\n}",
23
+ "output": "{\n \"Response\": {\n \"MonitorId\": 92,\n \"RequestId\": \"ea6eaf52-428b-4d1d-b7d7-1712cf508124\"\n }\n}",
24
+ "title": "tcp监控"
25
+ },
26
+ {
27
+ "document": "http监控",
28
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMonitor\n<公共请求参数>\n\n{\n \"MonitorName\": \"监控http\",\n \"CheckProtocol\": \"HTTP\",\n \"CheckInterval\": 60,\n \"Timeout\": 2,\n \"FailTimes\": 0,\n \"FailRate\": 50,\n \"DetectorStyle\": \"AUTO\",\n \"DetectorGroupIds\": [\n 1\n ],\n \"TcpPort\": 80,\n \"ReturnCodeThreshold\": 400,\n \"EnableRedirect\": \"DISABLED\",\n \"EnableSni\": \"DISABLED\"\n}",
29
+ "output": "{\n \"Response\": {\n \"MonitorId\": 93,\n \"RequestId\": \"506ffb0f-a5d4-4b8e-8ce8-14e512ec731e\"\n }\n}",
30
+ "title": "http监控"
31
+ },
32
+ {
33
+ "document": "新增监控器",
34
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMonitor\n<公共请求参数>\n\n{\n \"MonitorName\": \"监控器1\",\n \"DetectorGroupIds\": [\n 5,\n 6,\n 7\n ],\n \"CheckInterval\": 60,\n \"PacketLossRate\": 20,\n \"CheckProtocol\": \"HTTP\",\n \"FailRate\": 20,\n \"TcpPort\": 80,\n \"EnableSni\": \"DISABLED\",\n \"PingNum\": 10,\n \"ReturnCodeThreshold\": 500,\n \"Host\": \"test.com\",\n \"Timeout\": 50,\n \"Path\": \"/index.html\",\n \"FailTimes\": 2,\n \"DetectorStyle\": \"AUTO\"\n}",
35
+ "output": "{\n \"Response\": {\n \"MonitorId\": 1,\n \"RequestId\": \"ea6eaf52-428b-4d1d-b7d7-1712cf508124\"\n }\n}",
36
+ "title": "新增监控器"
37
+ },
38
+ {
39
+ "document": "监控器ping协议",
40
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMonitor\n<公共请求参数>\n\n{\n \"MonitorName\": \"监控ping\",\n \"CheckProtocol\": \"PING\",\n \"CheckInterval\": 60,\n \"Timeout\": 2,\n \"FailTimes\": 0,\n \"FailRate\": 50,\n \"DetectorStyle\": \"AUTO\",\n \"DetectorGroupIds\": [\n 1\n ],\n \"PingNum\": 20,\n \"PacketLossRate\": 10\n}",
41
+ "output": "{\n \"Response\": {\n \"MonitorId\": 91,\n \"RequestId\": \"93ba54c1-a533-42bb-aab5-458aef4b1666\"\n }\n}",
42
+ "title": "监控器ping协议"
43
+ }
44
+ ],
45
+ "CreateStrategy": [
46
+ {
47
+ "document": "",
48
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStrategy\n<公共请求参数>\n\n{\n \"InstanceId\": \"gtm-sdsderd12e\",\n \"StrategyName\": \"testname\",\n \"Source\": [\n {\n \"DnsLineId\": 1,\n \"Name\": \"line1\"\n }\n ],\n \"MainAddressPoolSet\": [\n {\n \"MainAddressPoolId\": 1,\n \"AddressPools\": [\n {\n \"PoolId\": 1,\n \"Weight\": 1\n }\n ],\n \"MinSurviveNum\": 1,\n \"TrafficStrategy\": \"all\"\n }\n ],\n \"FallbackAddressPoolSet\": [\n {\n \"MainAddressPoolId\": 1,\n \"AddressPools\": [\n {\n \"PoolId\": 1,\n \"Weight\": 1\n }\n ],\n \"MinSurviveNum\": 1,\n \"TrafficStrategy\": \"all\"\n }\n ],\n \"KeepDomainRecords\": \"DISABLED\"\n}",
49
+ "output": "{\n \"Response\": {\n \"StrategyId\": 0,\n \"RequestId\": \"abcasd232dsad1dsadasd\"\n }\n}",
50
+ "title": "创建策略"
51
+ }
52
+ ],
53
+ "DeleteAddressPool": [
54
+ {
55
+ "document": "",
56
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAddressPool\n<公共请求参数>\n\n{\n \"PoolId\": 1\n}",
57
+ "output": "{\n \"Response\": {\n \"Msg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
58
+ "title": "删除地址池"
59
+ }
60
+ ],
61
+ "DeleteMonitor": [
62
+ {
63
+ "document": "删除监控器",
64
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMonitor\n<公共请求参数>\n\n{\n \"MonitorId\": 1\n}",
65
+ "output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"xxx\"\n }\n}",
66
+ "title": "删除监控器"
67
+ }
68
+ ],
69
+ "DeleteStrategy": [
70
+ {
71
+ "document": "",
72
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStrategy\n<公共请求参数>\n\n{\n \"StrategyId\": 1,\n \"InstanceId\": \"gtm-ddgasdwe\"\n}",
73
+ "output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"9b19115c-8732-4940-9199-98952a13dsf15\"\n }\n}",
74
+ "title": "删除策略"
75
+ }
76
+ ],
77
+ "DescribeAddressLocation": [
78
+ {
79
+ "document": "{\n \"Address\": [\n \"0.0.0.1\"\n ]\n}",
80
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAddressLocation\n<公共请求参数>\n\n{\n \"Address\": [\n \"abc\"\n ]\n}",
81
+ "output": "{\n \"Response\": {\n \"AddressLocation\": [\n {\n \"Addr\": \"0.0.0.1\",\n \"Location\": \"未知\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
82
+ "title": "获取IP归属"
83
+ }
84
+ ],
85
+ "DescribeAddressPoolDetail": [
86
+ {
87
+ "document": "",
88
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAddressPoolDetail\n<公共请求参数>\n\n{\n \"PoolId\": 0\n}",
89
+ "output": "{\n \"Response\": {\n \"AddressPool\": {\n \"PoolId\": 1,\n \"PoolName\": \"abc\",\n \"TrafficStrategy\": \"abc\",\n \"MonitorId\": 1,\n \"CreatedOn\": \"2020-09-22T00:00:00+00:00\",\n \"UpdatedOn\": \"2020-09-22T00:00:00+00:00\"\n },\n \"AddressSet\": [\n {\n \"AddressId\": 1,\n \"Addr\": \"abc\",\n \"Location\": \"abc\",\n \"Status\": \"abc\",\n \"IsEnable\": \"abc\",\n \"Weight\": 1,\n \"CreatedOn\": \"2020-09-22T00:00:00+00:00\",\n \"UpdatedOn\": \"2020-09-22T00:00:00+00:00\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
90
+ "title": "地址池详情"
91
+ }
92
+ ],
93
+ "DescribeAddressPoolList": [
94
+ {
95
+ "document": "",
96
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAddressPools\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Value\": [\n \"abc\"\n ],\n \"Fuzzy\": true\n }\n ],\n \"Offset\": 1,\n \"Limit\": 1\n}",
97
+ "output": "{\n \"Response\": {\n \"AddressPoolSet\": [\n {\n \"PoolId\": 1,\n \"PoolName\": \"abc\",\n \"TrafficStrategy\": \"abc\",\n \"MonitorId\": 1,\n \"Status\": \"abc\",\n \"AddressNum\": 0,\n \"MonitorGroupNum\": 0,\n \"MonitorTaskNum\": 0,\n \"AddressSet\": [\n {\n \"AddressId\": 1,\n \"Addr\": \"abc\",\n \"Location\": \"abc\",\n \"Status\": \"abc\",\n \"IsEnable\": \"abc\",\n \"Weight\": 1,\n \"CreatedOn\": \"2020-09-22T00:00:00+00:00\",\n \"UpdatedOn\": \"2020-09-22T00:00:00+00:00\"\n }\n ],\n \"CreatedOn\": \"2020-09-22T00:00:00+00:00\",\n \"UpdatedOn\": \"2020-09-22T00:00:00+00:00\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"abc\"\n }\n}",
98
+ "title": "地址池列表"
99
+ }
100
+ ],
101
+ "DescribeDetectors": [
102
+ {
103
+ "document": "获取探测节点列表",
104
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDetectors\n<公共请求参数>\n\n{}",
105
+ "output": "{\n \"Response\": {\n \"RequestId\": \"xxx\",\n \"DetectorGroupSet\": [\n {\n \"Gid\": 30,\n \"InternetFamily\": \"ipv4\",\n \"GroupType\": \"bgp\",\n \"GroupName\": \"广州\",\n \"PackageSet\": [\n \"FREE\",\n \"STANDARD\",\n \"ULTIMATE\"\n ]\n }\n ]\n }\n}",
106
+ "title": "获取探测节点列表"
107
+ }
108
+ ],
109
+ "DescribeDnsLineList": [
110
+ {
111
+ "document": "",
112
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDnsLines\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\"\n}",
113
+ "output": "{\n \"Response\": {\n \"DnsLineSet\": [\n {\n \"Parent\": 1,\n \"LineName\": \"abc\",\n \"LineId\": \"abc\",\n \"Useful\": true,\n \"SubGroup\": 1,\n \"LinePackage\": 1,\n \"Weight\": 1\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
114
+ "title": "线路列表"
115
+ }
116
+ ],
117
+ "DescribeInstanceDetail": [
118
+ {
119
+ "document": "{\n \"InstanceId\": \"abc\"\n}",
120
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceDetail\n<公共请求参数>\n\n{}",
121
+ "output": "{\n \"Response\": {\n \"Instance\": {\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"Domain\": \"abc\",\n \"AccessType\": \"abc\",\n \"AccessSubDomain\": \"abc\",\n \"AccessDomain\": \"abc\",\n \"GlobalTtl\": 1,\n \"PackageType\": \"abc\",\n \"WorkingStatus\": \"abc\",\n \"Status\": \"abc\",\n \"IsCnameConfigured\": true,\n \"Remark\": \"abc\",\n \"StrategyNum\": 0,\n \"AddressPoolNum\": 0,\n \"MonitorNum\": 0,\n \"ResourceId\": \"abc\",\n \"NotifyEventSet\": [\n \"abc\"\n ],\n \"CreatedOn\": \"abc\",\n \"UpdatedOn\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
122
+ "title": "实例详情"
123
+ }
124
+ ],
125
+ "DescribeInstanceList": [
126
+ {
127
+ "document": "",
128
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceList\n<公共请求参数>\n\n{\n \"Offset\": 1,\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Value\": [\n \"abc\"\n ],\n \"Fuzzy\": true\n }\n ]\n}",
129
+ "output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"Domain\": \"abc\",\n \"AccessType\": \"abc\",\n \"AccessDomain\": \"abc\",\n \"AccessSubDomain\": \"abc\",\n \"GlobalTtl\": 0,\n \"PackageType\": \"abc\",\n \"WorkingStatus\": \"abc\",\n \"Status\": \"abc\",\n \"Remark\": \"abc\",\n \"StrategyNum\": 0,\n \"AddressPoolNum\": 0,\n \"MonitorNum\": 0,\n \"CreatedOn\": \"abc\",\n \"UpdatedOn\": \"abc\",\n \"ResourceId\": \"abc\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"abc\"\n }\n}",
130
+ "title": "实例列表"
131
+ }
132
+ ],
133
+ "DescribeMonitorDetail": [
134
+ {
135
+ "document": "查询监控器详情",
136
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHealthyCheckRule\n<公共请求参数>\n\n{\n \"MonitorId\": 1\n}",
137
+ "output": "{\n \"Response\": {\n \"MonitorDetail\": {\n \"MonitorId\": 1,\n \"MonitorName\": \"abc\",\n \"Uin\": \"abc\",\n \"DetectorGroupIds\": [\n 1\n ],\n \"CheckProtocol\": \"abc\",\n \"CheckInterval\": 1,\n \"PingNum\": 1,\n \"TcpPort\": 1,\n \"Host\": \"abc\",\n \"Path\": \"abc\",\n \"ReturnCodeThreshold\": 1,\n \"EnableRedirect\": \"abc\",\n \"EnableSni\": \"abc\",\n \"PacketLossRate\": 1,\n \"Timeout\": 1,\n \"FailTimes\": 1,\n \"FailRate\": 1,\n \"DetectorStyle\": \"abc\"\n },\n \"RequestId\": \"xxx\"\n }\n}",
138
+ "title": " 查询监控器详情"
139
+ }
140
+ ],
141
+ "DescribeMonitors": [
142
+ {
143
+ "document": "获取所有监控器",
144
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMonitors\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 1\n}",
145
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"MonitorDataSet\": [\n {\n \"MonitorId\": 1,\n \"MonitorName\": \"abc\",\n \"Uin\": \"abc\",\n \"DetectorGroupIds\": [\n 1\n ],\n \"CheckProtocol\": \"abc\",\n \"CheckInterval\": 1,\n \"PingNum\": 1,\n \"TcpPort\": 1,\n \"Host\": \"abc\",\n \"Path\": \"abc\",\n \"ReturnCodeThreshold\": 1,\n \"EnableRedirect\": \"abc\",\n \"EnableSni\": \"abc\",\n \"PacketLossRate\": 1,\n \"Timeout\": 1,\n \"FailTimes\": 1,\n \"FailRate\": 1,\n \"CreatedOn\": \"abc\",\n \"UpdatedOn\": \"abc\",\n \"DetectorStyle\": \"abc\"\n }\n ],\n \"RequestId\": \"398db591-8793-4a0f-aaa3-3a0131494184\"\n }\n}",
146
+ "title": "获取所有监控器"
147
+ }
148
+ ],
149
+ "DescribeQuotas": [
150
+ {
151
+ "document": "",
152
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeQuotas\n<公共请求参数>\n\n{}",
153
+ "output": "{\n \"Response\": {\n \"Quotas\": {\n \"TaskQuota\": 1,\n \"PoolQuota\": 1,\n \"AddressQuota\": 1,\n \"MonitorQuota\": 1,\n \"MessageQuota\": 1\n },\n \"RequestId\": \"abc\"\n }\n}",
154
+ "title": "配额"
155
+ }
156
+ ],
157
+ "DescribeStrategyDetail": [
158
+ {
159
+ "document": "",
160
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStrategyDetail\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"StrategyId\": 0\n}",
161
+ "output": "{\n \"Response\": {\n \"StrategyDetail\": {\n \"InstanceId\": \"abc\",\n \"StrategyId\": 1,\n \"Name\": \"abc\",\n \"Source\": [\n {\n \"DnsLineId\": 1,\n \"Name\": \"abc\"\n }\n ],\n \"MainAddressPoolSet\": [\n {\n \"MainAddressPoolId\": 1,\n \"AddressPools\": [\n {\n \"PoolId\": 1,\n \"Weight\": 1\n }\n ],\n \"MinSurviveNum\": 1,\n \"TrafficStrategy\": \"abc\"\n }\n ],\n \"FallbackAddressPoolSet\": [\n {\n \"MainAddressPoolId\": 1,\n \"AddressPools\": [\n {\n \"PoolId\": 1,\n \"Weight\": 1\n }\n ],\n \"MinSurviveNum\": 1,\n \"TrafficStrategy\": \"abc\"\n }\n ],\n \"KeepDomainRecords\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
162
+ "title": "策略详情"
163
+ }
164
+ ],
165
+ "DescribeStrategyList": [
166
+ {
167
+ "document": "",
168
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStrategies\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Offset\": 1,\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Value\": [\n \"abc\"\n ],\n \"Fuzzy\": true\n }\n ]\n}",
169
+ "output": "{\n \"Response\": {\n \"StrategySet\": [\n {\n \"InstanceId\": \"abc\",\n \"StrategyId\": 1,\n \"Name\": \"abc\",\n \"Source\": [\n {\n \"DnsLineId\": 1,\n \"Name\": \"abc\"\n }\n ],\n \"Status\": \"abc\",\n \"ActivePoolType\": \"abc\",\n \"ActiveTrafficStrategy\": \"abc\",\n \"MonitorNum\": 1,\n \"KeepDomainRecords\": \"abc\",\n \"CreatedOn\": \"2020-09-22T00:00:00+00:00\",\n \"UpdatedOn\": \"2020-09-22T00:00:00+00:00\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"abc\"\n }\n}",
170
+ "title": "策略列表"
171
+ }
172
+ ],
173
+ "ModifyAddressPool": [
174
+ {
175
+ "document": "",
176
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAddressPool\n<公共请求参数>\n\n{\n \"PoolId\": 1,\n \"PoolName\": \"testname\",\n \"TrafficStrategy\": \"all\",\n \"MonitorId\": 1,\n \"AddressSet\": [\n {\n \"AddressId\": 1,\n \"Addr\": \"1.1.1.2\",\n \"Location\": \"中国上海\",\n \"Status\": \"ok\",\n \"IsEnable\": \"ENABLED\",\n \"Weight\": 1,\n \"CreatedOn\": \"2020-09-22T00:00:00+00:00\",\n \"UpdatedOn\": \"2020-09-22T00:00:00+00:00\"\n }\n ]\n}",
177
+ "output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"9b19115c-873gt2-4940-91339-98952a13f159\"\n }\n}",
178
+ "title": "编辑地址池"
179
+ }
180
+ ],
181
+ "ModifyInstanceConfig": [
182
+ {
183
+ "document": "",
184
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceConfig\n<公共请求参数>\n\n{\n \"InstanceConfig\": {\n \"InstanceName\": \"测试实例 1\",\n \"Domain\": \"xxxx.xxxx.xxxxxxxx@exmaple.com\",\n \"AccessType\": \"CUSTOM\",\n \"AccessDomain\": \"exmaple-access.com\",\n \"AccessSubDomain\": \"xxxx.xxxx.xxxxxxxx.access\",\n \"Remark\": \"测试实例\",\n \"GlobalTtl\": 300\n }\n}",
185
+ "output": "{\n \"Response\": {\n \"Instance\": {\n \"InstanceName\": \"测试实例 1\",\n \"InstanceId\": \"gtm-xxxxxxxxxxx\",\n \"ResourceId\": \"\",\n \"Domain\": \"xxxx.xxxx.xxxxxxxx@exmaple.com\",\n \"AccessType\": \"CUSTOM\",\n \"AccessDomain\": \"exmaple-access.com\",\n \"AccessSubDomain\": \"xxxx.xxxx.xxxxxxxx.access\",\n \"GlobalTtl\": 300,\n \"PackageType\": \"FREE\",\n \"WorkingStatus\": \"NORMAL\",\n \"Status\": \"ENABLED\",\n \"Remark\": \"测试实例\",\n \"StrategyNum\": 0,\n \"AddressPoolNum\": 0,\n \"MonitorNum\": 0,\n \"CreatedOn\": \"2023-12-20 06:43:16\",\n \"UpdatedOn\": \"2023-12-26 20:00:03\",\n \"NotifyEventSet\": []\n },\n \"RequestId\": \"be7d3d39-82cf-41e8-9b60-151e9745c422\"\n }\n}",
186
+ "title": "修改实例配置"
187
+ }
188
+ ],
189
+ "ModifyMonitor": [
190
+ {
191
+ "document": "修改监控器",
192
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMonitor\n<公共请求参数>\n\n{\n \"MonitorId\": 1,\n \"MonitorName\": \"test\",\n \"CheckProtocol\": \"PING\",\n \"CheckInterval\": 1,\n \"Timeout\": 1,\n \"FailTimes\": 1,\n \"FailRate\": 1,\n \"DetectorStyle\": \"AUTO\",\n \"DetectorGroupIds\": [\n 1\n ],\n \"PingNum\": 1,\n \"TcpPort\": 1,\n \"Host\": \"url\",\n \"Path\": \"/path\",\n \"ReturnCodeThreshold\": 1,\n \"EnableRedirect\": \"DISABLED\",\n \"EnableSni\": \"DISABLED\",\n \"PacketLossRate\": 1\n}",
193
+ "output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"100-222\"\n }\n}",
194
+ "title": "修改监控器"
195
+ }
196
+ ],
197
+ "ModifyStrategy": [
198
+ {
199
+ "document": "",
200
+ "input": "POST / HTTP/1.1\nHost: igtm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyStrategy\n<公共请求参数>\n\n{\n \"InstanceId\": \"gtm-sdsdrdasd\",\n \"StrategyId\": 1,\n \"StrategyName\": \"test_strategy\",\n \"Source\": [\n {\n \"DnsLineId\": 1,\n \"Name\": \"默认\"\n }\n ],\n \"MainAddressPoolSet\": [\n {\n \"MainAddressPoolId\": 1,\n \"AddressPools\": [\n {\n \"PoolId\": 1,\n \"Weight\": 1\n }\n ],\n \"MinSurviveNum\": 1,\n \"TrafficStrategy\": \"all\"\n }\n ],\n \"FallbackAddressPoolSet\": [\n {\n \"MainAddressPoolId\": 1,\n \"AddressPools\": [\n {\n \"PoolId\": 1,\n \"Weight\": 1\n }\n ],\n \"MinSurviveNum\": 1,\n \"TrafficStrategy\": \"all\"\n }\n ],\n \"IsEnabled\": \"ENABLED\",\n \"KeepDomainRecords\": \"DISABLED\"\n}",
201
+ "output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"abdsadasddc12312jhjyg\"\n }\n}",
202
+ "title": "修改策略"
203
+ }
204
+ ]
205
+ },
206
+ "version": "1.0"
207
+ }
@@ -137,82 +137,74 @@
137
137
  {
138
138
  "disabled": false,
139
139
  "document": "该字段表示业务用户对应设备的IP地址,同时**支持IPv4和IPv6**地址的记录;需要与IpType参数配合使用。",
140
- "example": "",
140
+ "example": "10.10.11.11",
141
141
  "member": "string",
142
142
  "name": "Ip",
143
143
  "required": false,
144
- "type": "string",
145
- "value_allowed_null": false
144
+ "type": "string"
146
145
  },
147
146
  {
148
147
  "disabled": false,
149
148
  "document": "该字段表示业务用户对应的MAC地址,以方便设备识别与管理;其格式与取值与标准MAC地址一致。",
150
- "example": "",
149
+ "example": "01:xx:xx:xx:xx:xx",
151
150
  "member": "string",
152
151
  "name": "Mac",
153
152
  "required": false,
154
- "type": "string",
155
- "value_allowed_null": false
153
+ "type": "string"
156
154
  },
157
155
  {
158
156
  "disabled": false,
159
157
  "document": "*内测中,敬请期待。*",
160
- "example": "",
158
+ "example": "token",
161
159
  "member": "string",
162
160
  "name": "TokenId",
163
161
  "required": false,
164
- "type": "string",
165
- "value_allowed_null": false
162
+ "type": "string"
166
163
  },
167
164
  {
168
165
  "disabled": false,
169
166
  "document": "*内测中,敬请期待。*",
170
- "example": "",
167
+ "example": "Device_Id",
171
168
  "member": "string",
172
169
  "name": "DeviceId",
173
170
  "required": false,
174
- "type": "string",
175
- "value_allowed_null": false
171
+ "type": "string"
176
172
  },
177
173
  {
178
174
  "disabled": false,
179
175
  "document": "该字段表示业务用户对应设备的**IMEI码**(国际移动设备识别码),该识别码可用于识别每一部独立的手机等移动通信设备,方便设备识别与管理。<br>备注:格式为**15-17位纯数字**。",
180
- "example": "",
176
+ "example": "490154203237518",
181
177
  "member": "string",
182
178
  "name": "IMEI",
183
179
  "required": false,
184
- "type": "string",
185
- "value_allowed_null": false
180
+ "type": "string"
186
181
  },
187
182
  {
188
183
  "disabled": false,
189
184
  "document": "**iOS设备专用**,该字段表示业务用户对应的**IDFA**(广告标识符),这是由苹果公司提供的用于标识用户的广告标识符,由一串16进制的32位数字和字母组成。<br>\n备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。",
190
- "example": "",
185
+ "example": "3D4D-510F-DE8A-FA9E-BC8A-1C1E-3422-2E76",
191
186
  "member": "string",
192
187
  "name": "IDFA",
193
188
  "required": false,
194
- "type": "string",
195
- "value_allowed_null": false
189
+ "type": "string"
196
190
  },
197
191
  {
198
192
  "disabled": false,
199
193
  "document": "**iOS设备专用**,该字段表示业务用户对应的**IDFV**(应用开发商标识符),这是由苹果公司提供的用于标注应用开发商的标识符,由一串16进制的32位数字和字母组成,可被用于唯一标识设备。",
200
- "example": "",
194
+ "example": "5A3C-0DD9-DE8A-FA9E-BC8A-1C1E-3422-2E76",
201
195
  "member": "string",
202
196
  "name": "IDFV",
203
197
  "required": false,
204
- "type": "string",
205
- "value_allowed_null": false
198
+ "type": "string"
206
199
  },
207
200
  {
208
201
  "disabled": false,
209
202
  "document": "该字段表示记录的IP地址的类型,取值:**0**(代表IPv4地址)、**1**(代表IPv6地址);需要与IpType参数配合使用。",
210
- "example": "",
203
+ "example": "1",
211
204
  "member": "uint64",
212
205
  "name": "IpType",
213
206
  "required": false,
214
- "type": "int",
215
- "value_allowed_null": false
207
+ "type": "int"
216
208
  }
217
209
  ],
218
210
  "usage": "in"
@@ -573,13 +565,13 @@
573
565
  },
574
566
  {
575
567
  "disabled": false,
576
- "document": "该字段用于返回自定义库的名称,以方便自定义库管理和配置。\n注意:此字段可能返回 null,表示取不到有效值。",
568
+ "document": "该字段用于返回自定义库的名称,以方便自定义库管理和配置。",
577
569
  "example": "测试图库",
578
570
  "member": "string",
579
571
  "name": "LibName",
580
572
  "output_required": true,
581
573
  "type": "string",
582
- "value_allowed_null": true
574
+ "value_allowed_null": false
583
575
  },
584
576
  {
585
577
  "disabled": false,
@@ -603,13 +595,13 @@
603
595
  },
604
596
  {
605
597
  "disabled": false,
606
- "document": "该字段用于返回其他自定义标签以满足您的定制化场景需求,若无需求则可略过。\n注意:此字段可能返回 null,表示取不到有效值。",
598
+ "document": "该字段用于返回其他自定义标签以满足您的定制化场景需求,若无需求则可略过。",
607
599
  "example": "Phone",
608
600
  "member": "string",
609
601
  "name": "Tag",
610
602
  "output_required": true,
611
603
  "type": "string",
612
- "value_allowed_null": true
604
+ "value_allowed_null": false
613
605
  },
614
606
  {
615
607
  "disabled": false,
@@ -121,7 +121,7 @@ def doDescribeLocalAccounts(args, parsed_globals):
121
121
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
122
122
 
123
123
 
124
- def doCreateDeviceTask(args, parsed_globals):
124
+ def doDescribeVirtualDevices(args, parsed_globals):
125
125
  g_param = parse_global_arg(parsed_globals)
126
126
 
127
127
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -150,11 +150,11 @@ def doCreateDeviceTask(args, parsed_globals):
150
150
  client = mod.IoaClient(cred, g_param[OptionsDefine.Region], profile)
151
151
  client._sdkVersion += ("_CLI_" + __version__)
152
152
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
153
- model = models.CreateDeviceTaskRequest()
153
+ model = models.DescribeVirtualDevicesRequest()
154
154
  model.from_json_string(json.dumps(args))
155
155
  start_time = time.time()
156
156
  while True:
157
- rsp = client.CreateDeviceTask(model)
157
+ rsp = client.DescribeVirtualDevices(model)
158
158
  result = rsp.to_json_string()
159
159
  try:
160
160
  json_obj = json.loads(result)
@@ -433,6 +433,58 @@ def doDescribeSoftwareInformation(args, parsed_globals):
433
433
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
434
434
 
435
435
 
436
+ def doDescribeSoftCensusListByDevice(args, parsed_globals):
437
+ g_param = parse_global_arg(parsed_globals)
438
+
439
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
440
+ cred = credential.CVMRoleCredential()
441
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
442
+ cred = credential.STSAssumeRoleCredential(
443
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
444
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
445
+ )
446
+ 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):
447
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
448
+ else:
449
+ cred = credential.Credential(
450
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
451
+ )
452
+ http_profile = HttpProfile(
453
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
454
+ reqMethod="POST",
455
+ endpoint=g_param[OptionsDefine.Endpoint],
456
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
457
+ )
458
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
459
+ if g_param[OptionsDefine.Language]:
460
+ profile.language = g_param[OptionsDefine.Language]
461
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
462
+ client = mod.IoaClient(cred, g_param[OptionsDefine.Region], profile)
463
+ client._sdkVersion += ("_CLI_" + __version__)
464
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
465
+ model = models.DescribeSoftCensusListByDeviceRequest()
466
+ model.from_json_string(json.dumps(args))
467
+ start_time = time.time()
468
+ while True:
469
+ rsp = client.DescribeSoftCensusListByDevice(model)
470
+ result = rsp.to_json_string()
471
+ try:
472
+ json_obj = json.loads(result)
473
+ except TypeError as e:
474
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
475
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
476
+ break
477
+ cur_time = time.time()
478
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
479
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
480
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
481
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
482
+ else:
483
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
484
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
485
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
486
+
487
+
436
488
  def doDescribeDeviceHardwareInfoList(args, parsed_globals):
437
489
  g_param = parse_global_arg(parsed_globals)
438
490
 
@@ -485,6 +537,58 @@ def doDescribeDeviceHardwareInfoList(args, parsed_globals):
485
537
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
486
538
 
487
539
 
540
+ def doModifyVirtualDeviceGroups(args, parsed_globals):
541
+ g_param = parse_global_arg(parsed_globals)
542
+
543
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
544
+ cred = credential.CVMRoleCredential()
545
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
546
+ cred = credential.STSAssumeRoleCredential(
547
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
548
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
549
+ )
550
+ 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):
551
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
552
+ else:
553
+ cred = credential.Credential(
554
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
555
+ )
556
+ http_profile = HttpProfile(
557
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
558
+ reqMethod="POST",
559
+ endpoint=g_param[OptionsDefine.Endpoint],
560
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
561
+ )
562
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
563
+ if g_param[OptionsDefine.Language]:
564
+ profile.language = g_param[OptionsDefine.Language]
565
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
566
+ client = mod.IoaClient(cred, g_param[OptionsDefine.Region], profile)
567
+ client._sdkVersion += ("_CLI_" + __version__)
568
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
569
+ model = models.ModifyVirtualDeviceGroupsRequest()
570
+ model.from_json_string(json.dumps(args))
571
+ start_time = time.time()
572
+ while True:
573
+ rsp = client.ModifyVirtualDeviceGroups(model)
574
+ result = rsp.to_json_string()
575
+ try:
576
+ json_obj = json.loads(result)
577
+ except TypeError as e:
578
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
579
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
580
+ break
581
+ cur_time = time.time()
582
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
583
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
584
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
585
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
586
+ else:
587
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
588
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
589
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
590
+
591
+
488
592
  def doDescribeRootAccountGroup(args, parsed_globals):
489
593
  g_param = parse_global_arg(parsed_globals)
490
594
 
@@ -589,7 +693,7 @@ def doDescribeDLPFileDetectResult(args, parsed_globals):
589
693
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
590
694
 
591
695
 
592
- def doDescribeSoftCensusListByDevice(args, parsed_globals):
696
+ def doCreateDeviceTask(args, parsed_globals):
593
697
  g_param = parse_global_arg(parsed_globals)
594
698
 
595
699
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -618,11 +722,11 @@ def doDescribeSoftCensusListByDevice(args, parsed_globals):
618
722
  client = mod.IoaClient(cred, g_param[OptionsDefine.Region], profile)
619
723
  client._sdkVersion += ("_CLI_" + __version__)
620
724
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
621
- model = models.DescribeSoftCensusListByDeviceRequest()
725
+ model = models.CreateDeviceTaskRequest()
622
726
  model.from_json_string(json.dumps(args))
623
727
  start_time = time.time()
624
728
  while True:
625
- rsp = client.DescribeSoftCensusListByDevice(model)
729
+ rsp = client.CreateDeviceTask(model)
626
730
  result = rsp.to_json_string()
627
731
  try:
628
732
  json_obj = json.loads(result)
@@ -706,16 +810,18 @@ MODELS_MAP = {
706
810
  ACTION_MAP = {
707
811
  "CreateDeviceVirtualGroup": doCreateDeviceVirtualGroup,
708
812
  "DescribeLocalAccounts": doDescribeLocalAccounts,
709
- "CreateDeviceTask": doCreateDeviceTask,
813
+ "DescribeVirtualDevices": doDescribeVirtualDevices,
710
814
  "DescribeDevices": doDescribeDevices,
711
815
  "CreateDLPFileDetectionTask": doCreateDLPFileDetectionTask,
712
816
  "CreatePrivilegeCode": doCreatePrivilegeCode,
713
817
  "DescribeDeviceInfo": doDescribeDeviceInfo,
714
818
  "DescribeSoftwareInformation": doDescribeSoftwareInformation,
819
+ "DescribeSoftCensusListByDevice": doDescribeSoftCensusListByDevice,
715
820
  "DescribeDeviceHardwareInfoList": doDescribeDeviceHardwareInfoList,
821
+ "ModifyVirtualDeviceGroups": doModifyVirtualDeviceGroups,
716
822
  "DescribeRootAccountGroup": doDescribeRootAccountGroup,
717
823
  "DescribeDLPFileDetectResult": doDescribeDLPFileDetectResult,
718
- "DescribeSoftCensusListByDevice": doDescribeSoftCensusListByDevice,
824
+ "CreateDeviceTask": doCreateDeviceTask,
719
825
  "DescribeAccountGroups": doDescribeAccountGroups,
720
826
 
721
827
  }