tccli 3.0.1163.1__py2.py3-none-any.whl → 3.0.1165.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/aiart/v20221229/api.json +5 -5
- tccli/services/cbs/v20170312/api.json +1 -1
- tccli/services/cdb/v20170320/api.json +48 -12
- tccli/services/cdwdoris/cdwdoris_client.py +1260 -94
- tccli/services/cdwdoris/v20211228/api.json +3331 -617
- tccli/services/cdwdoris/v20211228/examples.json +176 -0
- tccli/services/cfs/v20190719/api.json +56 -9
- tccli/services/csip/v20221121/api.json +20 -0
- tccli/services/emr/v20190103/api.json +21 -3
- tccli/services/emr/v20190103/examples.json +2 -2
- tccli/services/ess/v20201111/api.json +6 -6
- tccli/services/ess/v20201111/examples.json +3 -3
- tccli/services/essbasic/v20210526/api.json +4 -4
- tccli/services/essbasic/v20210526/examples.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +10 -1
- tccli/services/hunyuan/v20230901/examples.json +1 -1
- tccli/services/iotexplorer/iotexplorer_client.py +110 -4
- tccli/services/iotexplorer/v20190423/api.json +190 -0
- tccli/services/iotexplorer/v20190423/examples.json +59 -1
- tccli/services/lcic/v20220817/api.json +20 -0
- tccli/services/monitor/v20180724/api.json +13 -13
- tccli/services/monitor/v20180724/examples.json +8 -8
- tccli/services/mps/v20190612/api.json +20 -0
- tccli/services/mps/v20190612/examples.json +2 -2
- tccli/services/organization/organization_client.py +53 -0
- tccli/services/organization/v20210331/api.json +208 -0
- tccli/services/organization/v20210331/examples.json +8 -0
- tccli/services/rce/rce_client.py +477 -0
- tccli/services/rce/v20201103/api.json +1749 -231
- tccli/services/rce/v20201103/examples.json +72 -0
- tccli/services/redis/redis_client.py +114 -8
- tccli/services/redis/v20180412/api.json +392 -0
- tccli/services/redis/v20180412/examples.json +17 -1
- tccli/services/sqlserver/sqlserver_client.py +53 -0
- tccli/services/sqlserver/v20180328/api.json +34 -0
- tccli/services/sqlserver/v20180328/examples.json +8 -0
- tccli/services/tmt/v20180321/api.json +2 -2
- tccli/services/trtc/v20190722/api.json +14 -6
- tccli/services/tse/v20201207/api.json +11 -0
- tccli/services/tsi/v20210325/api.json +5 -5
- {tccli-3.0.1163.1.dist-info → tccli-3.0.1165.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1163.1.dist-info → tccli-3.0.1165.1.dist-info}/RECORD +46 -46
- {tccli-3.0.1163.1.dist-info → tccli-3.0.1165.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1163.1.dist-info → tccli-3.0.1165.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1163.1.dist-info → tccli-3.0.1165.1.dist-info}/license_files/LICENSE +0 -0
@@ -3246,7 +3246,7 @@
|
|
3246
3246
|
},
|
3247
3247
|
{
|
3248
3248
|
"disabled": false,
|
3249
|
-
"document": "回调通知 最多
|
3249
|
+
"document": "回调通知 最多6个",
|
3250
3250
|
"example": "无",
|
3251
3251
|
"member": "URLNotice",
|
3252
3252
|
"name": "URLNotices",
|
@@ -3283,7 +3283,7 @@
|
|
3283
3283
|
"example": "notice-abcdef",
|
3284
3284
|
"member": "string",
|
3285
3285
|
"name": "NoticeId",
|
3286
|
-
"
|
3286
|
+
"output_required": true,
|
3287
3287
|
"type": "string",
|
3288
3288
|
"value_allowed_null": false
|
3289
3289
|
},
|
@@ -3310,7 +3310,7 @@
|
|
3310
3310
|
},
|
3311
3311
|
{
|
3312
3312
|
"disabled": false,
|
3313
|
-
"document": "策略名称,不超过
|
3313
|
+
"document": "策略名称,不超过60字符",
|
3314
3314
|
"example": "云服务器告警策略",
|
3315
3315
|
"member": "string",
|
3316
3316
|
"name": "PolicyName",
|
@@ -6151,7 +6151,7 @@
|
|
6151
6151
|
},
|
6152
6152
|
{
|
6153
6153
|
"disabled": false,
|
6154
|
-
"document": "根据监控类型过滤,不选默认查所有类型。\"MT_QCE\"=云产品监控,支持的枚举值有:\"MT_QCE\"=云产品监控;\"MT_TAW\"=应用性能监控;\"MT_RUM\"=前端性能监控;\"MT_PROBE\"
|
6154
|
+
"document": "根据监控类型过滤,不选默认查所有类型。\"MT_QCE\"=云产品监控,支持的枚举值有:\"MT_QCE\"=云产品监控;\"MT_TAW\"=应用性能监控;\"MT_RUM\"=前端性能监控;\"MT_PROBE\"=云拨测,\"MT_TRTC\"=实时音视频,\n\"MT_RUMAPP\"=终端性能监控",
|
6155
6155
|
"example": "MT_QCE",
|
6156
6156
|
"member": "string",
|
6157
6157
|
"name": "MonitorTypes",
|
@@ -7629,7 +7629,7 @@
|
|
7629
7629
|
"example": "无",
|
7630
7630
|
"member": "DescribeBasicAlarmListAlarms",
|
7631
7631
|
"name": "Alarms",
|
7632
|
-
"
|
7632
|
+
"output_required": true,
|
7633
7633
|
"type": "list",
|
7634
7634
|
"value_allowed_null": true
|
7635
7635
|
},
|
@@ -7639,7 +7639,7 @@
|
|
7639
7639
|
"example": "2",
|
7640
7640
|
"member": "int64",
|
7641
7641
|
"name": "Total",
|
7642
|
-
"
|
7642
|
+
"output_required": true,
|
7643
7643
|
"type": "int",
|
7644
7644
|
"value_allowed_null": true
|
7645
7645
|
},
|
@@ -7649,7 +7649,7 @@
|
|
7649
7649
|
"example": "This method is deprecated! Use `DescribeAlarmHistories` instead!",
|
7650
7650
|
"member": "string",
|
7651
7651
|
"name": "Warning",
|
7652
|
-
"
|
7652
|
+
"output_required": true,
|
7653
7653
|
"type": "string",
|
7654
7654
|
"value_allowed_null": true
|
7655
7655
|
},
|
@@ -8056,7 +8056,7 @@
|
|
8056
8056
|
"example": "1",
|
8057
8057
|
"member": "int64",
|
8058
8058
|
"name": "Total",
|
8059
|
-
"
|
8059
|
+
"output_required": true,
|
8060
8060
|
"type": "int",
|
8061
8061
|
"value_allowed_null": false
|
8062
8062
|
},
|
@@ -8066,7 +8066,7 @@
|
|
8066
8066
|
"example": "无",
|
8067
8067
|
"member": "TemplateGroup",
|
8068
8068
|
"name": "TemplateGroupList",
|
8069
|
-
"
|
8069
|
+
"output_required": true,
|
8070
8070
|
"type": "list",
|
8071
8071
|
"value_allowed_null": true
|
8072
8072
|
},
|
@@ -10519,7 +10519,7 @@
|
|
10519
10519
|
"example": "无",
|
10520
10520
|
"member": "DescribePolicyGroupListGroup",
|
10521
10521
|
"name": "GroupList",
|
10522
|
-
"
|
10522
|
+
"output_required": true,
|
10523
10523
|
"type": "list",
|
10524
10524
|
"value_allowed_null": true
|
10525
10525
|
},
|
@@ -10529,7 +10529,7 @@
|
|
10529
10529
|
"example": "142",
|
10530
10530
|
"member": "int64",
|
10531
10531
|
"name": "Total",
|
10532
|
-
"
|
10532
|
+
"output_required": true,
|
10533
10533
|
"type": "int",
|
10534
10534
|
"value_allowed_null": false
|
10535
10535
|
},
|
@@ -10539,7 +10539,7 @@
|
|
10539
10539
|
"example": "This method is deprecated! Use `DescribeAlarmPolicies` instead!",
|
10540
10540
|
"member": "string",
|
10541
10541
|
"name": "Warning",
|
10542
|
-
"
|
10542
|
+
"output_required": true,
|
10543
10543
|
"type": "string",
|
10544
10544
|
"value_allowed_null": true
|
10545
10545
|
},
|
@@ -15010,7 +15010,7 @@
|
|
15010
15010
|
},
|
15011
15011
|
{
|
15012
15012
|
"disabled": false,
|
15013
|
-
"document": "回调通知 最多
|
15013
|
+
"document": "回调通知 最多6个",
|
15014
15014
|
"example": "无",
|
15015
15015
|
"member": "URLNotice",
|
15016
15016
|
"name": "URLNotices",
|
@@ -617,8 +617,8 @@
|
|
617
617
|
"DescribeBasicAlarmList": [
|
618
618
|
{
|
619
619
|
"document": "",
|
620
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBasicAlarmList\n<公共请求参数>\n\n{\n \"AlarmStatus\": [\n \"1\"\n ],\n \"MetricNames\": [\n \"mem_used\"\n ],\n \"Module\": \"monitor\",\n \"ViewNames\": [\n \"cvm_device\"\n ],\n \"Limit\":
|
621
|
-
"output": "{\n \"Response\": {\n \"Alarms\": [\n {\n \"
|
620
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBasicAlarmList\n<公共请求参数>\n\n{\n \"AlarmStatus\": [\n \"1\"\n ],\n \"MetricNames\": [\n \"mem_used\"\n ],\n \"Module\": \"monitor\",\n \"ViewNames\": [\n \"cvm_device\"\n ],\n \"Limit\": 20,\n \"StartTime\": 1573660800,\n \"Offset\": 0,\n \"ProjectIds\": [\n \"0\"\n ],\n \"EndTime\": 1573919999,\n \"OccurTimeOrder\": \"DESC\"\n}",
|
621
|
+
"output": "{\n \"Response\": {\n \"Alarms\": [\n {\n \"Id\": 1,\n \"ProjectId\": 0,\n \"ProjectName\": \"abc\",\n \"Status\": 0,\n \"AlarmStatus\": \"abc\",\n \"GroupId\": 0,\n \"GroupName\": \"abc\",\n \"FirstOccurTime\": \"abc\",\n \"Duration\": 0,\n \"LastOccurTime\": \"abc\",\n \"Content\": \"abc\",\n \"ObjName\": \"abc\",\n \"ObjId\": \"abc\",\n \"ViewName\": \"abc\",\n \"Vpc\": \"abc\",\n \"MetricId\": 0,\n \"MetricName\": \"abc\",\n \"AlarmType\": 0,\n \"Region\": \"abc\",\n \"Dimensions\": \"abc\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"InstanceGroup\": [\n {\n \"InstanceGroupId\": 0,\n \"InstanceGroupName\": \"abc\"\n }\n ]\n }\n ],\n \"Total\": 0,\n \"Warning\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
622
622
|
"title": "获取基础告警列表"
|
623
623
|
}
|
624
624
|
],
|
@@ -641,8 +641,8 @@
|
|
641
641
|
"DescribeConditionsTemplateList": [
|
642
642
|
{
|
643
643
|
"document": "",
|
644
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConditionsTemplateList\n<公共请求参数>\n\n{\n \"ViewName\": \"cvm_device\",\n \"Module\": \"monitor\",\n \"UpdateTimeOrder\": \"desc\",\n \"GroupName\": \"test\",\n \"Limit\":
|
645
|
-
"output": "{\n \"Response\": {\n \"
|
644
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConditionsTemplateList\n<公共请求参数>\n\n{\n \"ViewName\": \"cvm_device\",\n \"Module\": \"monitor\",\n \"UpdateTimeOrder\": \"desc\",\n \"GroupName\": \"test\",\n \"Limit\": 1,\n \"Offset\": 0,\n \"GroupID\": \" 1998658\"\n}",
|
645
|
+
"output": "{\n \"Response\": {\n \"Total\": 0,\n \"TemplateGroupList\": [\n {\n \"Conditions\": [\n {\n \"AlarmNotifyPeriod\": 0,\n \"AlarmNotifyType\": 0,\n \"CalcType\": \"abc\",\n \"CalcValue\": \"abc\",\n \"ContinueTime\": \"abc\",\n \"MetricID\": 0,\n \"MetricDisplayName\": \"abc\",\n \"Period\": 0,\n \"RuleID\": 0,\n \"Unit\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n }\n }\n ],\n \"EventConditions\": [\n {\n \"AlarmNotifyPeriod\": \"abc\",\n \"AlarmNotifyType\": \"abc\",\n \"EventID\": \"abc\",\n \"EventDisplayName\": \"abc\",\n \"RuleID\": \"abc\",\n \"MetricName\": \"abc\"\n }\n ],\n \"PolicyGroups\": [\n {\n \"CanSetDefault\": true,\n \"GroupID\": 0,\n \"GroupName\": \"abc\",\n \"InsertTime\": 0,\n \"IsDefault\": 0,\n \"Enable\": true,\n \"LastEditUin\": 0,\n \"NoShieldedInstanceCount\": 0,\n \"ParentGroupID\": 0,\n \"ProjectID\": 0,\n \"ReceiverInfos\": [\n {\n \"EndTime\": 0,\n \"NeedSendNotice\": 0,\n \"NotifyWay\": [\n \"abc\"\n ],\n \"PersonInterval\": 0,\n \"ReceiverGroupList\": [\n 0\n ],\n \"ReceiverType\": \"abc\",\n \"ReceiverUserList\": [\n 0\n ],\n \"RecoverNotify\": [\n \"abc\"\n ],\n \"RoundInterval\": 0,\n \"RoundNumber\": 0,\n \"SendFor\": [\n \"abc\"\n ],\n \"StartTime\": 0,\n \"UIDList\": [\n 0\n ]\n }\n ],\n \"Remark\": \"abc\",\n \"UpdateTime\": 0,\n \"TotalInstanceCount\": 0,\n \"ViewName\": \"abc\",\n \"IsUnionRule\": 0\n }\n ],\n \"GroupID\": 0,\n \"GroupName\": \"abc\",\n \"InsertTime\": 0,\n \"LastEditUin\": 0,\n \"Remark\": \"abc\",\n \"UpdateTime\": 0,\n \"ViewName\": \"abc\",\n \"IsUnionRule\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
646
646
|
"title": "获取告警策略模板列表"
|
647
647
|
}
|
648
648
|
],
|
@@ -783,8 +783,8 @@
|
|
783
783
|
"DescribePolicyGroupList": [
|
784
784
|
{
|
785
785
|
"document": "",
|
786
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePolicyGroupList\n<公共请求参数>\n\n{\n \"Limit\":
|
787
|
-
"output": "{\n \"Response\": {\n \"GroupList\": [\n {\n \"
|
786
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePolicyGroupList\n<公共请求参数>\n\n{\n \"Limit\": 2,\n \"Module\": \"monitor\",\n \"Offset\": 0\n}",
|
787
|
+
"output": "{\n \"Response\": {\n \"GroupList\": [\n {\n \"GroupId\": 0,\n \"GroupName\": \"abc\",\n \"IsOpen\": true,\n \"ViewName\": \"abc\",\n \"LastEditUin\": \"abc\",\n \"UpdateTime\": 0,\n \"InsertTime\": 0,\n \"UseSum\": 0,\n \"NoShieldedSum\": 0,\n \"IsDefault\": 0,\n \"CanSetDefault\": true,\n \"ParentGroupId\": 0,\n \"Remark\": \"abc\",\n \"ProjectId\": 0,\n \"Conditions\": [\n {\n \"MetricShowName\": \"abc\",\n \"Period\": 0,\n \"MetricId\": 0,\n \"RuleId\": 0,\n \"Unit\": \"abc\",\n \"AlarmNotifyType\": 0,\n \"AlarmNotifyPeriod\": 0,\n \"CalcType\": 0,\n \"CalcValue\": \"abc\",\n \"ContinueTime\": 0,\n \"MetricName\": \"abc\"\n }\n ],\n \"EventConditions\": [\n {\n \"EventId\": 0,\n \"RuleId\": 0,\n \"EventShowName\": \"abc\",\n \"AlarmNotifyPeriod\": 0,\n \"AlarmNotifyType\": 0\n }\n ],\n \"ReceiverInfos\": [\n {\n \"ReceiverGroupList\": [\n 0\n ],\n \"ReceiverUserList\": [\n 0\n ],\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"ReceiverType\": \"abc\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"UidList\": [\n 0\n ],\n \"RoundNumber\": 0,\n \"RoundInterval\": 0,\n \"PersonInterval\": 0,\n \"NeedSendNotice\": 0,\n \"SendFor\": [\n \"abc\"\n ],\n \"RecoverNotify\": [\n \"abc\"\n ],\n \"ReceiveLanguage\": \"abc\"\n }\n ],\n \"ConditionsTemp\": {\n \"GroupId\": 0,\n \"GroupName\": \"abc\",\n \"ViewName\": \"abc\",\n \"Remark\": \"abc\",\n \"LastEditUin\": \"abc\",\n \"UpdateTime\": 0,\n \"InsertTime\": 0,\n \"IsUnionRule\": 0\n },\n \"InstanceGroup\": {\n \"InstanceGroupId\": 0,\n \"ViewName\": \"abc\",\n \"LastEditUin\": \"abc\",\n \"GroupName\": \"abc\",\n \"InstanceSum\": 0,\n \"UpdateTime\": 0,\n \"InsertTime\": 0\n },\n \"IsUnionRule\": 0\n }\n ],\n \"Total\": 0,\n \"Warning\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
788
788
|
"title": "获取头两个基础策略告警组列表"
|
789
789
|
}
|
790
790
|
],
|
@@ -1255,7 +1255,7 @@
|
|
1255
1255
|
"UnBindingAllPolicyObject": [
|
1256
1256
|
{
|
1257
1257
|
"document": "",
|
1258
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnBindingAllPolicyObject\n<公共请求参数>\n\n{\n \"GroupId\":
|
1258
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnBindingAllPolicyObject\n<公共请求参数>\n\n{\n \"GroupId\": 11111,\n \"Module\": \"monitor\"\n}",
|
1259
1259
|
"output": "{\n \"Response\": {\n \"RequestId\": \"0dbb66c2-b4d6-4c2c-90a9-617d80347ab5\"\n }\n}",
|
1260
1260
|
"title": "删除全部的关联对象"
|
1261
1261
|
}
|
@@ -1263,7 +1263,7 @@
|
|
1263
1263
|
"UnBindingPolicyObject": [
|
1264
1264
|
{
|
1265
1265
|
"document": "",
|
1266
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnBindingPolicyObject\n<公共请求参数>\n\n{\n \"UniqueId\": [\n \"3dd5113208fd467b2e5d0c1111111111\"\n ],\n \"GroupId\":
|
1266
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnBindingPolicyObject\n<公共请求参数>\n\n{\n \"UniqueId\": [\n \"3dd5113208fd467b2e5d0c1111111111\"\n ],\n \"GroupId\": 11111,\n \"Module\": \"monitor\"\n}",
|
1267
1267
|
"output": "{\n \"Response\": {\n \"RequestId\": \"0dbb66c2-1111-1111-1111-11111111111\"\n }\n}",
|
1268
1268
|
"title": "删除策略的关联对象"
|
1269
1269
|
}
|
@@ -26184,6 +26184,17 @@
|
|
26184
26184
|
"required": false,
|
26185
26185
|
"type": "string",
|
26186
26186
|
"value_allowed_null": false
|
26187
|
+
},
|
26188
|
+
{
|
26189
|
+
"disabled": false,
|
26190
|
+
"document": "生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:\n<li>vtt:生成 WebVTT 字幕文件。</li>\n注意:此字段可能返回 null,表示取不到有效值。",
|
26191
|
+
"example": "无",
|
26192
|
+
"member": "string",
|
26193
|
+
"name": "SubtitleFormat",
|
26194
|
+
"output_required": false,
|
26195
|
+
"required": false,
|
26196
|
+
"type": "string",
|
26197
|
+
"value_allowed_null": true
|
26187
26198
|
}
|
26188
26199
|
],
|
26189
26200
|
"usage": "both"
|
@@ -26217,6 +26228,15 @@
|
|
26217
26228
|
"name": "DestinationLanguage",
|
26218
26229
|
"required": false,
|
26219
26230
|
"type": "string"
|
26231
|
+
},
|
26232
|
+
{
|
26233
|
+
"disabled": false,
|
26234
|
+
"document": "生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:\n<li>vtt:生成 WebVTT 字幕文件。</li>",
|
26235
|
+
"example": "无",
|
26236
|
+
"member": "string",
|
26237
|
+
"name": "SubtitleFormat",
|
26238
|
+
"required": false,
|
26239
|
+
"type": "string"
|
26220
26240
|
}
|
26221
26241
|
],
|
26222
26242
|
"usage": "in"
|
@@ -410,13 +410,13 @@
|
|
410
410
|
{
|
411
411
|
"document": "获取序号从 0 开始,总共 10 个视频内容识别模板。",
|
412
412
|
"input": "https://mps.tencentcloudapi.com/?Action=DescribeAIRecognitionTemplates\n&Offset=0\n&Limit=10\n&<公共请求参数>",
|
413
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AIRecognitionTemplateSet\": [\n {\n \"Definition\": 0,\n \"Name\": \"abc\",\n \"Comment\": \"abc\",\n \"FaceConfigure\": {\n \"Switch\": \"abc\",\n \"Score\": 0,\n \"DefaultLibraryLabelSet\": [\n \"abc\"\n ],\n \"UserDefineLibraryLabelSet\": [\n \"abc\"\n ],\n \"FaceLibrary\": \"abc\"\n },\n \"OcrFullTextConfigure\": {\n \"Switch\": \"abc\"\n },\n \"OcrWordsConfigure\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ]\n },\n \"AsrFullTextConfigure\": {\n \"Switch\": \"abc\",\n \"SubtitleFormat\": \"abc\",\n \"SourceLanguage\": \"abc\"\n },\n \"AsrWordsConfigure\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ]\n },\n \"TranslateConfigure\": {\n \"Switch\": \"abc\",\n \"SourceLanguage\": \"abc\",\n \"DestinationLanguage\": \"abc\"\n },\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Type\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
413
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AIRecognitionTemplateSet\": [\n {\n \"Definition\": 0,\n \"Name\": \"abc\",\n \"Comment\": \"abc\",\n \"FaceConfigure\": {\n \"Switch\": \"abc\",\n \"Score\": 0,\n \"DefaultLibraryLabelSet\": [\n \"abc\"\n ],\n \"UserDefineLibraryLabelSet\": [\n \"abc\"\n ],\n \"FaceLibrary\": \"abc\"\n },\n \"OcrFullTextConfigure\": {\n \"Switch\": \"abc\"\n },\n \"OcrWordsConfigure\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ]\n },\n \"AsrFullTextConfigure\": {\n \"Switch\": \"abc\",\n \"SubtitleFormat\": \"abc\",\n \"SourceLanguage\": \"abc\"\n },\n \"AsrWordsConfigure\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ]\n },\n \"TranslateConfigure\": {\n \"Switch\": \"abc\",\n \"SourceLanguage\": \"abc\",\n \"DestinationLanguage\": \"abc\",\n \"SubtitleFormat\": \"abc\"\n },\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Type\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
414
414
|
"title": "获取指定个数的视频内容识别模板"
|
415
415
|
},
|
416
416
|
{
|
417
417
|
"document": "",
|
418
418
|
"input": "https://mps.tencentcloudapi.com/?Action=DescribeAIRecognitionTemplates\n&Definitions.0=30\n&<公共请求参数>",
|
419
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AIRecognitionTemplateSet\": [\n {\n \"Definition\": 0,\n \"Name\": \"abc\",\n \"Comment\": \"abc\",\n \"FaceConfigure\": {\n \"Switch\": \"abc\",\n \"Score\": 0,\n \"DefaultLibraryLabelSet\": [\n \"abc\"\n ],\n \"UserDefineLibraryLabelSet\": [\n \"abc\"\n ],\n \"FaceLibrary\": \"abc\"\n },\n \"OcrFullTextConfigure\": {\n \"Switch\": \"abc\"\n },\n \"OcrWordsConfigure\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ]\n },\n \"AsrFullTextConfigure\": {\n \"Switch\": \"abc\",\n \"SubtitleFormat\": \"abc\",\n \"SourceLanguage\": \"abc\"\n },\n \"AsrWordsConfigure\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ]\n },\n \"TranslateConfigure\": {\n \"Switch\": \"abc\",\n \"SourceLanguage\": \"abc\",\n \"DestinationLanguage\": \"abc\"\n },\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Type\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
419
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AIRecognitionTemplateSet\": [\n {\n \"Definition\": 0,\n \"Name\": \"abc\",\n \"Comment\": \"abc\",\n \"FaceConfigure\": {\n \"Switch\": \"abc\",\n \"Score\": 0,\n \"DefaultLibraryLabelSet\": [\n \"abc\"\n ],\n \"UserDefineLibraryLabelSet\": [\n \"abc\"\n ],\n \"FaceLibrary\": \"abc\"\n },\n \"OcrFullTextConfigure\": {\n \"Switch\": \"abc\"\n },\n \"OcrWordsConfigure\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ]\n },\n \"AsrFullTextConfigure\": {\n \"Switch\": \"abc\",\n \"SubtitleFormat\": \"abc\",\n \"SourceLanguage\": \"abc\"\n },\n \"AsrWordsConfigure\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ]\n },\n \"TranslateConfigure\": {\n \"Switch\": \"abc\",\n \"SourceLanguage\": \"abc\",\n \"DestinationLanguage\": \"abc\",\n \"SubtitleFormat\": \"abc\"\n },\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Type\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
420
420
|
"title": "获取模板 ID 为 30 的视频内容识别模板"
|
421
421
|
}
|
422
422
|
],
|
@@ -3659,6 +3659,58 @@ def doCreateOrganizationMemberPolicy(args, parsed_globals):
|
|
3659
3659
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3660
3660
|
|
3661
3661
|
|
3662
|
+
def doListOrganizationService(args, parsed_globals):
|
3663
|
+
g_param = parse_global_arg(parsed_globals)
|
3664
|
+
|
3665
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3666
|
+
cred = credential.CVMRoleCredential()
|
3667
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3668
|
+
cred = credential.STSAssumeRoleCredential(
|
3669
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3670
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3671
|
+
)
|
3672
|
+
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):
|
3673
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3674
|
+
else:
|
3675
|
+
cred = credential.Credential(
|
3676
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3677
|
+
)
|
3678
|
+
http_profile = HttpProfile(
|
3679
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3680
|
+
reqMethod="POST",
|
3681
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3682
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3683
|
+
)
|
3684
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3685
|
+
if g_param[OptionsDefine.Language]:
|
3686
|
+
profile.language = g_param[OptionsDefine.Language]
|
3687
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3688
|
+
client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
|
3689
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3690
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3691
|
+
model = models.ListOrganizationServiceRequest()
|
3692
|
+
model.from_json_string(json.dumps(args))
|
3693
|
+
start_time = time.time()
|
3694
|
+
while True:
|
3695
|
+
rsp = client.ListOrganizationService(model)
|
3696
|
+
result = rsp.to_json_string()
|
3697
|
+
try:
|
3698
|
+
json_obj = json.loads(result)
|
3699
|
+
except TypeError as e:
|
3700
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3701
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3702
|
+
break
|
3703
|
+
cur_time = time.time()
|
3704
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3705
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3706
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3707
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3708
|
+
else:
|
3709
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3710
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3711
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3712
|
+
|
3713
|
+
|
3662
3714
|
def doDeletePolicy(args, parsed_globals):
|
3663
3715
|
g_param = parse_global_arg(parsed_globals)
|
3664
3716
|
|
@@ -4002,6 +4054,7 @@ ACTION_MAP = {
|
|
4002
4054
|
"CheckAccountDelete": doCheckAccountDelete,
|
4003
4055
|
"CreatePolicy": doCreatePolicy,
|
4004
4056
|
"CreateOrganizationMemberPolicy": doCreateOrganizationMemberPolicy,
|
4057
|
+
"ListOrganizationService": doListOrganizationService,
|
4005
4058
|
"DeletePolicy": doDeletePolicy,
|
4006
4059
|
"ListTargetsForPolicy": doListTargetsForPolicy,
|
4007
4060
|
"ListOrganizationNodeMembers": doListOrganizationNodeMembers,
|
@@ -357,6 +357,13 @@
|
|
357
357
|
"output": "ListOrganizationIdentityResponse",
|
358
358
|
"status": "online"
|
359
359
|
},
|
360
|
+
"ListOrganizationService": {
|
361
|
+
"document": "获取集团服务设置列表",
|
362
|
+
"input": "ListOrganizationServiceRequest",
|
363
|
+
"name": "获取集团服务设置列表",
|
364
|
+
"output": "ListOrganizationServiceResponse",
|
365
|
+
"status": "online"
|
366
|
+
},
|
360
367
|
"ListPolicies": {
|
361
368
|
"document": "本接口(ListPolicies)可用于查询查看策略列表数据",
|
362
369
|
"input": "ListPoliciesRequest",
|
@@ -3628,6 +3635,71 @@
|
|
3628
3635
|
],
|
3629
3636
|
"type": "object"
|
3630
3637
|
},
|
3638
|
+
"ListOrganizationServiceRequest": {
|
3639
|
+
"document": "ListOrganizationService请求参数结构体",
|
3640
|
+
"members": [
|
3641
|
+
{
|
3642
|
+
"disabled": false,
|
3643
|
+
"document": "偏移量。取值是limit的整数倍,默认值 : 0",
|
3644
|
+
"example": "1",
|
3645
|
+
"member": "uint64",
|
3646
|
+
"name": "Offset",
|
3647
|
+
"required": true,
|
3648
|
+
"type": "int"
|
3649
|
+
},
|
3650
|
+
{
|
3651
|
+
"disabled": false,
|
3652
|
+
"document": "限制数目。取值范围:1~50,默认值:10",
|
3653
|
+
"example": "10",
|
3654
|
+
"member": "uint64",
|
3655
|
+
"name": "Limit",
|
3656
|
+
"required": true,
|
3657
|
+
"type": "int"
|
3658
|
+
},
|
3659
|
+
{
|
3660
|
+
"disabled": false,
|
3661
|
+
"document": "名称搜索关键字。",
|
3662
|
+
"example": "\"\"",
|
3663
|
+
"member": "string",
|
3664
|
+
"name": "SearchKey",
|
3665
|
+
"required": false,
|
3666
|
+
"type": "string"
|
3667
|
+
}
|
3668
|
+
],
|
3669
|
+
"type": "object"
|
3670
|
+
},
|
3671
|
+
"ListOrganizationServiceResponse": {
|
3672
|
+
"document": "ListOrganizationService返回参数结构体",
|
3673
|
+
"members": [
|
3674
|
+
{
|
3675
|
+
"disabled": false,
|
3676
|
+
"document": "总数。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3677
|
+
"example": "1",
|
3678
|
+
"member": "int64",
|
3679
|
+
"name": "Total",
|
3680
|
+
"output_required": true,
|
3681
|
+
"type": "int",
|
3682
|
+
"value_allowed_null": true
|
3683
|
+
},
|
3684
|
+
{
|
3685
|
+
"disabled": false,
|
3686
|
+
"document": "集团服务列表。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3687
|
+
"example": "无",
|
3688
|
+
"member": "OrganizationServiceAssign",
|
3689
|
+
"name": "Items",
|
3690
|
+
"output_required": true,
|
3691
|
+
"type": "list",
|
3692
|
+
"value_allowed_null": true
|
3693
|
+
},
|
3694
|
+
{
|
3695
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3696
|
+
"member": "string",
|
3697
|
+
"name": "RequestId",
|
3698
|
+
"type": "string"
|
3699
|
+
}
|
3700
|
+
],
|
3701
|
+
"type": "object"
|
3702
|
+
},
|
3631
3703
|
"ListPoliciesForTarget": {
|
3632
3704
|
"document": "查询目标关联的SCP策略列表",
|
3633
3705
|
"members": [
|
@@ -5148,6 +5220,142 @@
|
|
5148
5220
|
],
|
5149
5221
|
"usage": "out"
|
5150
5222
|
},
|
5223
|
+
"OrganizationServiceAssign": {
|
5224
|
+
"document": "集团服务设置",
|
5225
|
+
"members": [
|
5226
|
+
{
|
5227
|
+
"disabled": false,
|
5228
|
+
"document": "集团服务ID。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5229
|
+
"example": "1",
|
5230
|
+
"member": "uint64",
|
5231
|
+
"name": "ServiceId",
|
5232
|
+
"output_required": true,
|
5233
|
+
"type": "int",
|
5234
|
+
"value_allowed_null": true
|
5235
|
+
},
|
5236
|
+
{
|
5237
|
+
"disabled": false,
|
5238
|
+
"document": "集团服务产品名称。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5239
|
+
"example": "CloudAudit",
|
5240
|
+
"member": "string",
|
5241
|
+
"name": "ProductName",
|
5242
|
+
"output_required": true,
|
5243
|
+
"type": "string",
|
5244
|
+
"value_allowed_null": true
|
5245
|
+
},
|
5246
|
+
{
|
5247
|
+
"disabled": false,
|
5248
|
+
"document": "是否支持委派。取值: 1-是 2-否\n注意:此字段可能返回 null,表示取不到有效值。",
|
5249
|
+
"example": "1",
|
5250
|
+
"member": "uint64",
|
5251
|
+
"name": "IsAssign",
|
5252
|
+
"output_required": true,
|
5253
|
+
"type": "int",
|
5254
|
+
"value_allowed_null": true
|
5255
|
+
},
|
5256
|
+
{
|
5257
|
+
"disabled": false,
|
5258
|
+
"document": "集团服务描述。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5259
|
+
"example": "\"\"",
|
5260
|
+
"member": "string",
|
5261
|
+
"name": "Description",
|
5262
|
+
"output_required": true,
|
5263
|
+
"type": "string",
|
5264
|
+
"value_allowed_null": true
|
5265
|
+
},
|
5266
|
+
{
|
5267
|
+
"disabled": false,
|
5268
|
+
"document": "当前委派管理员数。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5269
|
+
"example": "0",
|
5270
|
+
"member": "string",
|
5271
|
+
"name": "MemberNum",
|
5272
|
+
"output_required": true,
|
5273
|
+
"type": "string",
|
5274
|
+
"value_allowed_null": true
|
5275
|
+
},
|
5276
|
+
{
|
5277
|
+
"disabled": false,
|
5278
|
+
"document": "帮助文档。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5279
|
+
"example": "\"\"",
|
5280
|
+
"member": "string",
|
5281
|
+
"name": "Document",
|
5282
|
+
"output_required": true,
|
5283
|
+
"type": "string",
|
5284
|
+
"value_allowed_null": true
|
5285
|
+
},
|
5286
|
+
{
|
5287
|
+
"disabled": false,
|
5288
|
+
"document": "集团服务产品控制台路径。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5289
|
+
"example": "\"\"",
|
5290
|
+
"member": "string",
|
5291
|
+
"name": "ConsoleUrl",
|
5292
|
+
"output_required": true,
|
5293
|
+
"type": "string",
|
5294
|
+
"value_allowed_null": true
|
5295
|
+
},
|
5296
|
+
{
|
5297
|
+
"disabled": false,
|
5298
|
+
"document": "是否接入使用状态。取值: 1-是 \n 2-否\n注意:此字段可能返回 null,表示取不到有效值。",
|
5299
|
+
"example": "2",
|
5300
|
+
"member": "uint64",
|
5301
|
+
"name": "IsUsageStatus",
|
5302
|
+
"output_required": true,
|
5303
|
+
"type": "int",
|
5304
|
+
"value_allowed_null": true
|
5305
|
+
},
|
5306
|
+
{
|
5307
|
+
"disabled": false,
|
5308
|
+
"document": "委派管理员数量限制。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5309
|
+
"example": "5",
|
5310
|
+
"member": "uint64",
|
5311
|
+
"name": "CanAssignCount",
|
5312
|
+
"output_required": true,
|
5313
|
+
"type": "int",
|
5314
|
+
"value_allowed_null": true
|
5315
|
+
},
|
5316
|
+
{
|
5317
|
+
"disabled": false,
|
5318
|
+
"document": "集团服务产品标识。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5319
|
+
"example": "cloudaudit",
|
5320
|
+
"member": "string",
|
5321
|
+
"name": "Product",
|
5322
|
+
"output_required": false,
|
5323
|
+
"type": "string",
|
5324
|
+
"value_allowed_null": true
|
5325
|
+
},
|
5326
|
+
{
|
5327
|
+
"disabled": false,
|
5328
|
+
"document": "是否支持集团服务授权。取值 1-是、2-否\n注意:此字段可能返回 null,表示取不到有效值。",
|
5329
|
+
"example": "2",
|
5330
|
+
"member": "uint64",
|
5331
|
+
"name": "ServiceGrant",
|
5332
|
+
"output_required": false,
|
5333
|
+
"type": "int",
|
5334
|
+
"value_allowed_null": true
|
5335
|
+
},
|
5336
|
+
{
|
5337
|
+
"disabled": false,
|
5338
|
+
"document": "集团服务授权启用状态。ServiceGrant值为1时该字段有效 ,取值:Enabled-开启 Disabled-关闭 \n注意:此字段可能返回 null,表示取不到有效值。",
|
5339
|
+
"example": "Disabled",
|
5340
|
+
"member": "string",
|
5341
|
+
"name": "GrantStatus",
|
5342
|
+
"output_required": false,
|
5343
|
+
"type": "string",
|
5344
|
+
"value_allowed_null": true
|
5345
|
+
},
|
5346
|
+
{
|
5347
|
+
"disabled": false,
|
5348
|
+
"document": "是否支持设置委派管理范围。取值: 1-是 2-否\n注意:此字段可能返回 null,表示取不到有效值。",
|
5349
|
+
"example": "2",
|
5350
|
+
"member": "uint64",
|
5351
|
+
"name": "IsSetManagementScope",
|
5352
|
+
"output_required": false,
|
5353
|
+
"type": "int",
|
5354
|
+
"value_allowed_null": true
|
5355
|
+
}
|
5356
|
+
],
|
5357
|
+
"usage": "out"
|
5358
|
+
},
|
5151
5359
|
"ProductResource": {
|
5152
5360
|
"document": "产品资源",
|
5153
5361
|
"members": [
|
@@ -408,6 +408,14 @@
|
|
408
408
|
"title": "获取组织成员访问身份列表"
|
409
409
|
}
|
410
410
|
],
|
411
|
+
"ListOrganizationService": [
|
412
|
+
{
|
413
|
+
"document": "获取集团服务设置列表",
|
414
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListOrganizationService\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
415
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"ServiceId\": 1,\n \"ProductName\": \"CloudAudit\",\n \"IsAssign\": 1,\n \"CanAssignCount\": 5,\n \"Description\": \"\",\n \"MemberNum\": \"0\",\n \"Document\": \"\",\n \"ConsoleUrl\": \"\",\n \"IsUsageStatus\": 2,\n \"Product\": \"cloudaudit\",\n \"ServiceGrant\": 2,\n \"GrantStatus\": \"Disabled\",\n \"IsSetManagementScope\": 2\n }\n ],\n \"RequestId\": \"1d744bef-fa56-40e9-8e3b-5a88b122ad5e\",\n \"Total\": 1\n }\n}",
|
416
|
+
"title": "获取集团服务设置列表"
|
417
|
+
}
|
418
|
+
],
|
411
419
|
"ListPolicies": [
|
412
420
|
{
|
413
421
|
"document": "查看策略列表数据",
|