tccli 3.0.1047.1__py2.py3-none-any.whl → 3.0.1049.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/examples/antiddos/v20200309/DescribeBGPIPL7Rules.md +87 -0
- tccli/examples/billing/v20180709/DescribeSavingPlanResourceInfo.md +24 -0
- tccli/examples/ckafka/v20190819/DescribeGroup.md +6 -5
- tccli/examples/csip/v20221121/ModifyOrganizationAccountStatus.md +21 -0
- tccli/examples/cynosdb/v20190107/AddInstances.md +2 -2
- tccli/examples/cynosdb/v20190107/DescribeClusterInstanceGrps.md +235 -79
- tccli/examples/cynosdb/v20190107/DescribeClusterParams.md +3 -1
- tccli/examples/cynosdb/v20190107/DescribeClusterPasswordComplexity.md +18 -6
- tccli/examples/cynosdb/v20190107/DescribeInstances.md +63 -55
- tccli/examples/cynosdb/v20190107/DescribeParamTemplateDetail.md +3 -1
- tccli/examples/cynosdb/v20190107/ModifyVipVport.md +3 -3
- tccli/examples/emr/v20190103/DescribeInsightList.md +41 -0
- tccli/examples/ess/v20201111/CreateFlowByFiles.md +155 -0
- tccli/examples/ess/v20201111/CreateOrganizationBatchSignUrl.md +9 -9
- tccli/examples/essbasic/v20210526/ChannelCreatePrepareFlow.md +44 -2
- tccli/examples/iotvideo/v20211125/DeleteCloudStorageEvent.md +2 -1
- tccli/examples/iotvideo/v20211125/DescribeCloudStorageOrder.md +2 -1
- tccli/examples/oceanus/v20190422/CopyJobs.md +11 -20
- tccli/examples/teo/v20220901/DescribeDefaultCertificates.md +2 -1
- tccli/examples/trocket/v20230308/CreateMQTTInstance.md +31 -0
- tccli/examples/trocket/v20230308/DescribeMQTTInstanceList.md +176 -0
- tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +94 -0
- tccli/examples/wedata/v20210820/DeleteCustomFunction.md +11 -8
- tccli/services/antiddos/antiddos_client.py +53 -0
- tccli/services/antiddos/v20200309/api.json +439 -0
- tccli/services/antiddos/v20200309/examples.json +8 -0
- tccli/services/billing/billing_client.py +53 -0
- tccli/services/billing/v20180709/api.json +71 -0
- tccli/services/billing/v20180709/examples.json +8 -0
- tccli/services/cfg/v20210820/api.json +21 -10
- tccli/services/ckafka/v20190819/api.json +6 -5
- tccli/services/ckafka/v20190819/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +52 -23
- tccli/services/csip/csip_client.py +53 -0
- tccli/services/csip/v20221121/api.json +43 -0
- tccli/services/csip/v20221121/examples.json +8 -0
- tccli/services/cvm/v20170312/api.json +20 -20
- tccli/services/cynosdb/v20190107/api.json +415 -87
- tccli/services/cynosdb/v20190107/examples.json +12 -12
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +228 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/ess/v20201111/api.json +10 -10
- tccli/services/ess/v20201111/examples.json +15 -3
- tccli/services/essbasic/v20210526/api.json +5 -5
- tccli/services/essbasic/v20210526/examples.json +8 -2
- tccli/services/iotvideo/v20211125/api.json +28 -0
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/live/v20180801/api.json +3 -3
- tccli/services/monitor/v20180724/api.json +1 -1
- tccli/services/oceanus/v20190422/api.json +32 -3
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/privatedns/v20201028/api.json +29 -19
- tccli/services/ssl/ssl_client.py +0 -53
- tccli/services/ssl/v20191205/api.json +0 -99
- tccli/services/ssl/v20191205/examples.json +0 -8
- tccli/services/teo/v20220901/api.json +14 -3
- tccli/services/teo/v20220901/examples.json +1 -1
- tccli/services/trocket/trocket_client.py +171 -12
- tccli/services/trocket/v20230308/api.json +492 -0
- tccli/services/trocket/v20230308/examples.json +30 -0
- tccli/services/wedata/v20210820/api.json +403 -49
- tccli/services/wedata/v20210820/examples.json +4 -4
- {tccli-3.0.1047.1.dist-info → tccli-3.0.1049.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1047.1.dist-info → tccli-3.0.1049.1.dist-info}/RECORD +69 -62
- {tccli-3.0.1047.1.dist-info → tccli-3.0.1049.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1047.1.dist-info → tccli-3.0.1049.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1047.1.dist-info → tccli-3.0.1049.1.dist-info}/license_files/LICENSE +0 -0
@@ -1854,6 +1854,7 @@
|
|
1854
1854
|
"example": "1",
|
1855
1855
|
"member": "int64",
|
1856
1856
|
"name": "TaskGroupInstanceId",
|
1857
|
+
"output_required": true,
|
1857
1858
|
"required": true,
|
1858
1859
|
"type": "int",
|
1859
1860
|
"value_allowed_null": false
|
@@ -1864,6 +1865,7 @@
|
|
1864
1865
|
"example": "ins_d1fr3",
|
1865
1866
|
"member": "string",
|
1866
1867
|
"name": "TaskGroupInstanceObjectId",
|
1868
|
+
"output_required": true,
|
1867
1869
|
"required": true,
|
1868
1870
|
"type": "string",
|
1869
1871
|
"value_allowed_null": true
|
@@ -1874,26 +1876,18 @@
|
|
1874
1876
|
"example": "1",
|
1875
1877
|
"member": "int64",
|
1876
1878
|
"name": "TaskGroupInstanceStatus",
|
1879
|
+
"output_required": true,
|
1877
1880
|
"required": true,
|
1878
1881
|
"type": "int",
|
1879
1882
|
"value_allowed_null": false
|
1880
1883
|
},
|
1881
|
-
{
|
1882
|
-
"disabled": false,
|
1883
|
-
"document": "实例动作执行日志\n注意:此字段可能返回 null,表示取不到有效值。",
|
1884
|
-
"example": "{}",
|
1885
|
-
"member": "string",
|
1886
|
-
"name": "TaskGroupInstanceExecuteLog",
|
1887
|
-
"required": true,
|
1888
|
-
"type": "string",
|
1889
|
-
"value_allowed_null": true
|
1890
|
-
},
|
1891
1884
|
{
|
1892
1885
|
"disabled": false,
|
1893
1886
|
"document": "实例创建时间",
|
1894
1887
|
"example": "\"2021-08-17 20:05:04\"",
|
1895
1888
|
"member": "string",
|
1896
1889
|
"name": "TaskGroupInstanceCreateTime",
|
1890
|
+
"output_required": true,
|
1897
1891
|
"required": true,
|
1898
1892
|
"type": "string",
|
1899
1893
|
"value_allowed_null": false
|
@@ -1904,6 +1898,7 @@
|
|
1904
1898
|
"example": "\"2021-08-17 20:05:04\"",
|
1905
1899
|
"member": "string",
|
1906
1900
|
"name": "TaskGroupInstanceUpdateTime",
|
1901
|
+
"output_required": true,
|
1907
1902
|
"required": true,
|
1908
1903
|
"type": "string",
|
1909
1904
|
"value_allowed_null": false
|
@@ -1914,6 +1909,7 @@
|
|
1914
1909
|
"example": "1",
|
1915
1910
|
"member": "int64",
|
1916
1911
|
"name": "TaskGroupInstanceStatusType",
|
1912
|
+
"output_required": true,
|
1917
1913
|
"required": true,
|
1918
1914
|
"type": "int",
|
1919
1915
|
"value_allowed_null": false
|
@@ -1924,6 +1920,7 @@
|
|
1924
1920
|
"example": "\"2021-08-17 20:05:04\"",
|
1925
1921
|
"member": "string",
|
1926
1922
|
"name": "TaskGroupInstanceStartTime",
|
1923
|
+
"output_required": true,
|
1927
1924
|
"required": true,
|
1928
1925
|
"type": "string",
|
1929
1926
|
"value_allowed_null": true
|
@@ -1934,16 +1931,29 @@
|
|
1934
1931
|
"example": "\"2021-08-17 20:05:04\"",
|
1935
1932
|
"member": "string",
|
1936
1933
|
"name": "TaskGroupInstanceEndTime",
|
1934
|
+
"output_required": true,
|
1937
1935
|
"required": true,
|
1938
1936
|
"type": "string",
|
1939
1937
|
"value_allowed_null": true
|
1940
1938
|
},
|
1939
|
+
{
|
1940
|
+
"disabled": true,
|
1941
|
+
"document": "实例动作执行日志\n注意:此字段可能返回 null,表示取不到有效值。",
|
1942
|
+
"example": "{}",
|
1943
|
+
"member": "string",
|
1944
|
+
"name": "TaskGroupInstanceExecuteLog",
|
1945
|
+
"output_required": true,
|
1946
|
+
"required": false,
|
1947
|
+
"type": "string",
|
1948
|
+
"value_allowed_null": true
|
1949
|
+
},
|
1941
1950
|
{
|
1942
1951
|
"disabled": false,
|
1943
1952
|
"document": "实例是否可重试\n注意:此字段可能返回 null,表示取不到有效值。",
|
1944
1953
|
"example": "true",
|
1945
1954
|
"member": "bool",
|
1946
1955
|
"name": "TaskGroupInstanceIsRedo",
|
1956
|
+
"output_required": true,
|
1947
1957
|
"required": false,
|
1948
1958
|
"type": "bool",
|
1949
1959
|
"value_allowed_null": true
|
@@ -1954,6 +1964,7 @@
|
|
1954
1964
|
"example": "10",
|
1955
1965
|
"member": "int64",
|
1956
1966
|
"name": "TaskGroupInstanceExecuteTime",
|
1967
|
+
"output_required": true,
|
1957
1968
|
"required": false,
|
1958
1969
|
"type": "int",
|
1959
1970
|
"value_allowed_null": true
|
@@ -7535,7 +7535,7 @@
|
|
7535
7535
|
{
|
7536
7536
|
"disabled": false,
|
7537
7537
|
"document": "实例ID",
|
7538
|
-
"example": "",
|
7538
|
+
"example": "ckafka-i18j8cn1",
|
7539
7539
|
"member": "string",
|
7540
7540
|
"name": "InstanceId",
|
7541
7541
|
"required": true,
|
@@ -7544,7 +7544,7 @@
|
|
7544
7544
|
{
|
7545
7545
|
"disabled": false,
|
7546
7546
|
"document": "搜索关键字",
|
7547
|
-
"example": "",
|
7547
|
+
"example": "group",
|
7548
7548
|
"member": "string",
|
7549
7549
|
"name": "SearchWord",
|
7550
7550
|
"required": false,
|
@@ -7553,7 +7553,7 @@
|
|
7553
7553
|
{
|
7554
7554
|
"disabled": false,
|
7555
7555
|
"document": "偏移量",
|
7556
|
-
"example": "",
|
7556
|
+
"example": "0",
|
7557
7557
|
"member": "int64",
|
7558
7558
|
"name": "Offset",
|
7559
7559
|
"required": false,
|
@@ -7562,7 +7562,7 @@
|
|
7562
7562
|
{
|
7563
7563
|
"disabled": false,
|
7564
7564
|
"document": "最大返回数量",
|
7565
|
-
"example": "",
|
7565
|
+
"example": "20",
|
7566
7566
|
"member": "int64",
|
7567
7567
|
"name": "Limit",
|
7568
7568
|
"required": false,
|
@@ -7577,9 +7577,10 @@
|
|
7577
7577
|
{
|
7578
7578
|
"disabled": false,
|
7579
7579
|
"document": "返回结果集列表",
|
7580
|
-
"example": "",
|
7580
|
+
"example": "无",
|
7581
7581
|
"member": "GroupResponse",
|
7582
7582
|
"name": "Result",
|
7583
|
+
"output_required": true,
|
7583
7584
|
"type": "object",
|
7584
7585
|
"value_allowed_null": false
|
7585
7586
|
},
|
@@ -422,7 +422,7 @@
|
|
422
422
|
{
|
423
423
|
"document": "",
|
424
424
|
"input": "https://ckafka.tencentcloudapi.com/?Action=DescribeGroup\r\n&InstanceId=xxxx\r\n&<公共请求参数>",
|
425
|
-
"output": "{\n \"Response\": {\n \"Result\": {\n \"TotalCount\":
|
425
|
+
"output": "{\n \"Response\": {\n \"Result\": {\n \"TotalCount\": 0,\n \"GroupList\": [\n {\n \"Group\": \"abc\",\n \"Protocol\": \"abc\"\n }\n ],\n \"GroupCountQuota\": 1\n },\n \"RequestId\": \"abc\"\n }\n}",
|
426
426
|
"title": "枚举消费分组"
|
427
427
|
}
|
428
428
|
],
|
@@ -932,7 +932,7 @@
|
|
932
932
|
},
|
933
933
|
{
|
934
934
|
"disabled": false,
|
935
|
-
"document": "告警模板的类型。可选值:\n<br><li> Trigger -
|
935
|
+
"document": "告警模板的类型。可选值:\n<br><li> Trigger - 告警触发</li>\n<br><li> Recovery - 告警恢复</li>\n<br><li> All - 告警触发和告警恢复</li>",
|
936
936
|
"example": "All",
|
937
937
|
"member": "string",
|
938
938
|
"name": "Type",
|
@@ -2599,7 +2599,7 @@
|
|
2599
2599
|
},
|
2600
2600
|
{
|
2601
2601
|
"disabled": false,
|
2602
|
-
"document": "通知类型。可选值:\n<li> Trigger -
|
2602
|
+
"document": "通知类型。可选值:\n<li> Trigger - 告警触发 </li>\n<li> Recovery - 告警恢复</li>\n<li> All - 告警触发和告警恢复</li>",
|
2603
2603
|
"example": "All",
|
2604
2604
|
"member": "string",
|
2605
2605
|
"name": "Type",
|
@@ -4199,6 +4199,15 @@
|
|
4199
4199
|
"name": "EndTime",
|
4200
4200
|
"required": false,
|
4201
4201
|
"type": "int"
|
4202
|
+
},
|
4203
|
+
{
|
4204
|
+
"disabled": false,
|
4205
|
+
"document": "cos桶存储类型",
|
4206
|
+
"example": "STANDARD",
|
4207
|
+
"member": "string",
|
4208
|
+
"name": "StorageType",
|
4209
|
+
"required": false,
|
4210
|
+
"type": "string"
|
4202
4211
|
}
|
4203
4212
|
],
|
4204
4213
|
"type": "object"
|
@@ -4212,6 +4221,7 @@
|
|
4212
4221
|
"example": "57f5808c-4a55-11eb-b378-0242ac130002",
|
4213
4222
|
"member": "string",
|
4214
4223
|
"name": "ShipperId",
|
4224
|
+
"output_required": true,
|
4215
4225
|
"type": "string",
|
4216
4226
|
"value_allowed_null": false
|
4217
4227
|
},
|
@@ -5184,7 +5194,7 @@
|
|
5184
5194
|
"members": [
|
5185
5195
|
{
|
5186
5196
|
"disabled": false,
|
5187
|
-
"document": "<li> name\n按照【通知渠道组名称】进行过滤。\n类型:String\n
|
5197
|
+
"document": "<li> name\n按照【通知渠道组名称】进行过滤。\n类型:String\n必选:否</li>\n<li> alarmNoticeId\n按照【通知渠道组ID】进行过滤。\n类型:String\n必选:否</li>\n<li> uid\n按照【接收用户ID】进行过滤。\n类型:String\n必选:否</li>\n<li> groupId\n按照【接收用户组ID】进行过滤。\n类型:String\n必选:否</li>\n\n<li> deliverFlag\n按照【投递状态】进行过滤。\n类型:String\n必选:否\n可选值: \"1\":未启用, \"2\": 已启用, \"3\":投递异常</li>\n\n每次请求的Filters的上限为10,Filter.Values的上限为5。",
|
5188
5198
|
"example": "无",
|
5189
5199
|
"member": "Filter",
|
5190
5200
|
"name": "Filters",
|
@@ -8955,7 +8965,7 @@
|
|
8955
8965
|
},
|
8956
8966
|
{
|
8957
8967
|
"disabled": false,
|
8958
|
-
"document": "通知类型。可选值:\n<li> Trigger -
|
8968
|
+
"document": "通知类型。可选值:\n<li> Trigger - 告警触发</li>\n<li> Recovery - 告警恢复</li>\n<li> All - 告警触发和告警恢复</li>",
|
8959
8969
|
"example": "All",
|
8960
8970
|
"member": "string",
|
8961
8971
|
"name": "Type",
|
@@ -10284,6 +10294,15 @@
|
|
10284
10294
|
"name": "FilenameMode",
|
10285
10295
|
"required": false,
|
10286
10296
|
"type": "int"
|
10297
|
+
},
|
10298
|
+
{
|
10299
|
+
"disabled": false,
|
10300
|
+
"document": "cos桶类型",
|
10301
|
+
"example": "STANDARD",
|
10302
|
+
"member": "string",
|
10303
|
+
"name": "StorageType",
|
10304
|
+
"required": false,
|
10305
|
+
"type": "string"
|
10287
10306
|
}
|
10288
10307
|
],
|
10289
10308
|
"type": "object"
|
@@ -11987,7 +12006,7 @@
|
|
11987
12006
|
"example": "57f5808c-4a55-11eb-b378-0242ac130002",
|
11988
12007
|
"member": "string",
|
11989
12008
|
"name": "ShipperId",
|
11990
|
-
"
|
12009
|
+
"output_required": true,
|
11991
12010
|
"type": "string",
|
11992
12011
|
"value_allowed_null": false
|
11993
12012
|
},
|
@@ -11997,7 +12016,7 @@
|
|
11997
12016
|
"example": "57f5808c-4a55-11eb-b378-0242ac130002",
|
11998
12017
|
"member": "string",
|
11999
12018
|
"name": "TopicId",
|
12000
|
-
"
|
12019
|
+
"output_required": true,
|
12001
12020
|
"type": "string",
|
12002
12021
|
"value_allowed_null": false
|
12003
12022
|
},
|
@@ -12007,7 +12026,7 @@
|
|
12007
12026
|
"example": "无",
|
12008
12027
|
"member": "string",
|
12009
12028
|
"name": "Bucket",
|
12010
|
-
"
|
12029
|
+
"output_required": true,
|
12011
12030
|
"type": "string",
|
12012
12031
|
"value_allowed_null": false
|
12013
12032
|
},
|
@@ -12017,7 +12036,7 @@
|
|
12017
12036
|
"example": "无",
|
12018
12037
|
"member": "string",
|
12019
12038
|
"name": "Prefix",
|
12020
|
-
"
|
12039
|
+
"output_required": true,
|
12021
12040
|
"type": "string",
|
12022
12041
|
"value_allowed_null": false
|
12023
12042
|
},
|
@@ -12027,7 +12046,7 @@
|
|
12027
12046
|
"example": "testShipper",
|
12028
12047
|
"member": "string",
|
12029
12048
|
"name": "ShipperName",
|
12030
|
-
"
|
12049
|
+
"output_required": true,
|
12031
12050
|
"type": "string",
|
12032
12051
|
"value_allowed_null": false
|
12033
12052
|
},
|
@@ -12037,7 +12056,7 @@
|
|
12037
12056
|
"example": "300",
|
12038
12057
|
"member": "uint64",
|
12039
12058
|
"name": "Interval",
|
12040
|
-
"
|
12059
|
+
"output_required": true,
|
12041
12060
|
"type": "int",
|
12042
12061
|
"value_allowed_null": false
|
12043
12062
|
},
|
@@ -12047,7 +12066,7 @@
|
|
12047
12066
|
"example": "256",
|
12048
12067
|
"member": "uint64",
|
12049
12068
|
"name": "MaxSize",
|
12050
|
-
"
|
12069
|
+
"output_required": true,
|
12051
12070
|
"type": "int",
|
12052
12071
|
"value_allowed_null": false
|
12053
12072
|
},
|
@@ -12057,7 +12076,7 @@
|
|
12057
12076
|
"example": "true",
|
12058
12077
|
"member": "bool",
|
12059
12078
|
"name": "Status",
|
12060
|
-
"
|
12079
|
+
"output_required": true,
|
12061
12080
|
"type": "bool",
|
12062
12081
|
"value_allowed_null": false
|
12063
12082
|
},
|
@@ -12067,7 +12086,7 @@
|
|
12067
12086
|
"example": "无",
|
12068
12087
|
"member": "FilterRuleInfo",
|
12069
12088
|
"name": "FilterRules",
|
12070
|
-
"
|
12089
|
+
"output_required": true,
|
12071
12090
|
"type": "list",
|
12072
12091
|
"value_allowed_null": true
|
12073
12092
|
},
|
@@ -12077,7 +12096,7 @@
|
|
12077
12096
|
"example": "无",
|
12078
12097
|
"member": "string",
|
12079
12098
|
"name": "Partition",
|
12080
|
-
"
|
12099
|
+
"output_required": true,
|
12081
12100
|
"type": "string",
|
12082
12101
|
"value_allowed_null": false
|
12083
12102
|
},
|
@@ -12087,7 +12106,7 @@
|
|
12087
12106
|
"example": "无",
|
12088
12107
|
"member": "CompressInfo",
|
12089
12108
|
"name": "Compress",
|
12090
|
-
"
|
12109
|
+
"output_required": true,
|
12091
12110
|
"type": "object",
|
12092
12111
|
"value_allowed_null": true
|
12093
12112
|
},
|
@@ -12097,7 +12116,7 @@
|
|
12097
12116
|
"example": "无",
|
12098
12117
|
"member": "ContentInfo",
|
12099
12118
|
"name": "Content",
|
12100
|
-
"
|
12119
|
+
"output_required": true,
|
12101
12120
|
"type": "object",
|
12102
12121
|
"value_allowed_null": true
|
12103
12122
|
},
|
@@ -12107,7 +12126,7 @@
|
|
12107
12126
|
"example": "无",
|
12108
12127
|
"member": "string",
|
12109
12128
|
"name": "CreateTime",
|
12110
|
-
"
|
12129
|
+
"output_required": true,
|
12111
12130
|
"type": "string",
|
12112
12131
|
"value_allowed_null": false
|
12113
12132
|
},
|
@@ -12117,7 +12136,7 @@
|
|
12117
12136
|
"example": "无",
|
12118
12137
|
"member": "uint64",
|
12119
12138
|
"name": "FilenameMode",
|
12120
|
-
"
|
12139
|
+
"output_required": true,
|
12121
12140
|
"type": "int",
|
12122
12141
|
"value_allowed_null": true
|
12123
12142
|
},
|
@@ -12127,7 +12146,7 @@
|
|
12127
12146
|
"example": "1670642281",
|
12128
12147
|
"member": "int64",
|
12129
12148
|
"name": "StartTime",
|
12130
|
-
"
|
12149
|
+
"output_required": true,
|
12131
12150
|
"type": "int",
|
12132
12151
|
"value_allowed_null": true
|
12133
12152
|
},
|
@@ -12137,7 +12156,7 @@
|
|
12137
12156
|
"example": "0",
|
12138
12157
|
"member": "int64",
|
12139
12158
|
"name": "EndTime",
|
12140
|
-
"
|
12159
|
+
"output_required": true,
|
12141
12160
|
"type": "int",
|
12142
12161
|
"value_allowed_null": true
|
12143
12162
|
},
|
@@ -12147,7 +12166,7 @@
|
|
12147
12166
|
"example": "5.6",
|
12148
12167
|
"member": "float",
|
12149
12168
|
"name": "Progress",
|
12150
|
-
"
|
12169
|
+
"output_required": true,
|
12151
12170
|
"type": "float",
|
12152
12171
|
"value_allowed_null": true
|
12153
12172
|
},
|
@@ -12157,7 +12176,7 @@
|
|
12157
12176
|
"example": "23",
|
12158
12177
|
"member": "int64",
|
12159
12178
|
"name": "RemainTime",
|
12160
|
-
"
|
12179
|
+
"output_required": true,
|
12161
12180
|
"type": "int",
|
12162
12181
|
"value_allowed_null": true
|
12163
12182
|
},
|
@@ -12167,9 +12186,19 @@
|
|
12167
12186
|
"example": "1",
|
12168
12187
|
"member": "int64",
|
12169
12188
|
"name": "HistoryStatus",
|
12170
|
-
"
|
12189
|
+
"output_required": true,
|
12171
12190
|
"type": "int",
|
12172
12191
|
"value_allowed_null": true
|
12192
|
+
},
|
12193
|
+
{
|
12194
|
+
"disabled": false,
|
12195
|
+
"document": "cos桶类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
12196
|
+
"example": "无",
|
12197
|
+
"member": "string",
|
12198
|
+
"name": "StorageType",
|
12199
|
+
"output_required": false,
|
12200
|
+
"type": "string",
|
12201
|
+
"value_allowed_null": true
|
12173
12202
|
}
|
12174
12203
|
],
|
12175
12204
|
"usage": "out"
|
@@ -1629,6 +1629,58 @@ def doModifyRiskCenterRiskStatus(args, parsed_globals):
|
|
1629
1629
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1630
1630
|
|
1631
1631
|
|
1632
|
+
def doModifyOrganizationAccountStatus(args, parsed_globals):
|
1633
|
+
g_param = parse_global_arg(parsed_globals)
|
1634
|
+
|
1635
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1636
|
+
cred = credential.CVMRoleCredential()
|
1637
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1638
|
+
cred = credential.STSAssumeRoleCredential(
|
1639
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1640
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1641
|
+
)
|
1642
|
+
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):
|
1643
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1644
|
+
else:
|
1645
|
+
cred = credential.Credential(
|
1646
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1647
|
+
)
|
1648
|
+
http_profile = HttpProfile(
|
1649
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1650
|
+
reqMethod="POST",
|
1651
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1652
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1653
|
+
)
|
1654
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1655
|
+
if g_param[OptionsDefine.Language]:
|
1656
|
+
profile.language = g_param[OptionsDefine.Language]
|
1657
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1658
|
+
client = mod.CsipClient(cred, g_param[OptionsDefine.Region], profile)
|
1659
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1660
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1661
|
+
model = models.ModifyOrganizationAccountStatusRequest()
|
1662
|
+
model.from_json_string(json.dumps(args))
|
1663
|
+
start_time = time.time()
|
1664
|
+
while True:
|
1665
|
+
rsp = client.ModifyOrganizationAccountStatus(model)
|
1666
|
+
result = rsp.to_json_string()
|
1667
|
+
try:
|
1668
|
+
json_obj = json.loads(result)
|
1669
|
+
except TypeError as e:
|
1670
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1671
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1672
|
+
break
|
1673
|
+
cur_time = time.time()
|
1674
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1675
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1676
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1677
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1678
|
+
else:
|
1679
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1680
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1681
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1682
|
+
|
1683
|
+
|
1632
1684
|
def doDescribeOrganizationUserInfo(args, parsed_globals):
|
1633
1685
|
g_param = parse_global_arg(parsed_globals)
|
1634
1686
|
|
@@ -1827,6 +1879,7 @@ ACTION_MAP = {
|
|
1827
1879
|
"DescribeRiskCenterAssetViewPortRiskList": doDescribeRiskCenterAssetViewPortRiskList,
|
1828
1880
|
"DescribeVULRiskAdvanceCFGList": doDescribeVULRiskAdvanceCFGList,
|
1829
1881
|
"ModifyRiskCenterRiskStatus": doModifyRiskCenterRiskStatus,
|
1882
|
+
"ModifyOrganizationAccountStatus": doModifyOrganizationAccountStatus,
|
1830
1883
|
"DescribeOrganizationUserInfo": doDescribeOrganizationUserInfo,
|
1831
1884
|
"DescribeTaskLogURL": doDescribeTaskLogURL,
|
1832
1885
|
"DescribeCVMAssetInfo": doDescribeCVMAssetInfo,
|
@@ -224,6 +224,13 @@
|
|
224
224
|
"output": "DescribeVpcAssetsResponse",
|
225
225
|
"status": "online"
|
226
226
|
},
|
227
|
+
"ModifyOrganizationAccountStatus": {
|
228
|
+
"document": "修改集团账号状态",
|
229
|
+
"input": "ModifyOrganizationAccountStatusRequest",
|
230
|
+
"name": "修改集团账号状态",
|
231
|
+
"output": "ModifyOrganizationAccountStatusResponse",
|
232
|
+
"status": "online"
|
233
|
+
},
|
227
234
|
"ModifyRiskCenterRiskStatus": {
|
228
235
|
"document": "修改风险中心风险状态",
|
229
236
|
"input": "ModifyRiskCenterRiskStatusRequest",
|
@@ -6866,6 +6873,42 @@
|
|
6866
6873
|
],
|
6867
6874
|
"usage": "out"
|
6868
6875
|
},
|
6876
|
+
"ModifyOrganizationAccountStatusRequest": {
|
6877
|
+
"document": "ModifyOrganizationAccountStatus请求参数结构体",
|
6878
|
+
"members": [
|
6879
|
+
{
|
6880
|
+
"disabled": false,
|
6881
|
+
"document": "修改集团账号状态,1 开启, 2关闭",
|
6882
|
+
"example": "无",
|
6883
|
+
"member": "int64",
|
6884
|
+
"name": "Status",
|
6885
|
+
"required": true,
|
6886
|
+
"type": "int"
|
6887
|
+
}
|
6888
|
+
],
|
6889
|
+
"type": "object"
|
6890
|
+
},
|
6891
|
+
"ModifyOrganizationAccountStatusResponse": {
|
6892
|
+
"document": "ModifyOrganizationAccountStatus返回参数结构体",
|
6893
|
+
"members": [
|
6894
|
+
{
|
6895
|
+
"disabled": false,
|
6896
|
+
"document": "返回值为0,则修改成功",
|
6897
|
+
"example": "0",
|
6898
|
+
"member": "int64",
|
6899
|
+
"name": "Status",
|
6900
|
+
"type": "int",
|
6901
|
+
"value_allowed_null": false
|
6902
|
+
},
|
6903
|
+
{
|
6904
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
6905
|
+
"member": "string",
|
6906
|
+
"name": "RequestId",
|
6907
|
+
"type": "string"
|
6908
|
+
}
|
6909
|
+
],
|
6910
|
+
"type": "object"
|
6911
|
+
},
|
6869
6912
|
"ModifyRiskCenterRiskStatusRequest": {
|
6870
6913
|
"document": "ModifyRiskCenterRiskStatus请求参数结构体",
|
6871
6914
|
"members": [
|
@@ -256,6 +256,14 @@
|
|
256
256
|
"title": "空示例"
|
257
257
|
}
|
258
258
|
],
|
259
|
+
"ModifyOrganizationAccountStatus": [
|
260
|
+
{
|
261
|
+
"document": "修改集团账号状态",
|
262
|
+
"input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyOrganizationAccountStatus\n<公共请求参数>\n\n{\n \"Status\": 0\n}",
|
263
|
+
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
264
|
+
"title": "修改集团账号状态"
|
265
|
+
}
|
266
|
+
],
|
259
267
|
"ModifyRiskCenterRiskStatus": [
|
260
268
|
{
|
261
269
|
"document": "修改风险中心风险状态",
|