tccli 3.0.1243.1__py2.py3-none-any.whl → 3.0.1245.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/aca/v20210323/api.json +107 -107
- tccli/services/aca/v20210323/examples.json +5 -5
- tccli/services/asr/v20190614/examples.json +6 -6
- tccli/services/cbs/v20170312/api.json +9 -0
- tccli/services/cdwdoris/v20211228/api.json +22 -2
- tccli/services/cdwdoris/v20211228/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +185 -156
- tccli/services/cls/v20201016/examples.json +5 -5
- tccli/services/cvm/v20170312/api.json +8 -8
- tccli/services/cvm/v20170312/examples.json +4 -4
- tccli/services/dbbrain/dbbrain_client.py +57 -4
- tccli/services/dbbrain/v20210527/api.json +145 -0
- tccli/services/dbbrain/v20210527/examples.json +8 -0
- tccli/services/dts/v20211206/api.json +9 -0
- tccli/services/dts/v20211206/examples.json +1 -1
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/lke/v20231130/api.json +30 -0
- tccli/services/mna/v20210119/examples.json +1 -1
- tccli/services/monitor/v20180724/api.json +55 -0
- tccli/services/scf/scf_client.py +118 -65
- tccli/services/scf/v20180416/api.json +570 -475
- tccli/services/scf/v20180416/examples.json +52 -44
- tccli/services/tcb/v20180608/api.json +13 -13
- tccli/services/tcm/v20210413/api.json +52 -48
- tccli/services/tcm/v20210413/examples.json +7 -7
- tccli/services/tcr/v20190924/api.json +435 -407
- tccli/services/tcr/v20190924/examples.json +49 -49
- tccli/services/teo/v20220901/api.json +3 -3
- tccli/services/tke/v20180525/api.json +1544 -1258
- tccli/services/tke/v20180525/examples.json +165 -165
- tccli/services/tke/v20220501/api.json +16 -16
- tccli/services/tke/v20220501/examples.json +2 -2
- tccli/services/trocket/trocket_client.py +57 -4
- tccli/services/trocket/v20230308/api.json +143 -51
- tccli/services/trocket/v20230308/examples.json +11 -3
- tccli/services/vclm/v20240523/api.json +3 -3
- tccli/services/vpc/v20170312/api.json +182 -154
- tccli/services/vpc/v20170312/examples.json +12 -34
- tccli/services/waf/v20180125/api.json +1 -1
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/RECORD +47 -47
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/license_files/LICENSE +0 -0
@@ -235,7 +235,7 @@
|
|
235
235
|
"CreateWebCallback": [
|
236
236
|
{
|
237
237
|
"document": "创建告警渠道回调配置",
|
238
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateWebCallback\n<公共请求参数>\n\n{\n \"Name\": \"
|
238
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateWebCallback\n<公共请求参数>\n\n{\n \"Name\": \"监控告警专用\",\n \"Type\": \"WeCom\",\n \"Webhook\": \"http://www.xxx.com/send\",\n \"Method\": \"POST\",\n \"Key\": \"AADSHFYFNJKGYENGKVYDNGKFH<\"\n}",
|
239
239
|
"output": "{\n \"Response\": {\n \"WebCallbackId\": \"webcallback-aaa-bbb-ccc-ddd\",\n \"RequestId\": \"abc-abc-abc-abc\"\n }\n}",
|
240
240
|
"title": "创建告警渠道回调配置"
|
241
241
|
}
|
@@ -665,8 +665,8 @@
|
|
665
665
|
"DescribeWebCallbacks": [
|
666
666
|
{
|
667
667
|
"document": "获取告警渠道回调配置列表",
|
668
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWebCallbacks\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"name\",\n \"Values\": [\n \"
|
669
|
-
"output": "{\n \"Response\": {\n \"WebCallbacks\": [\n {\n \"WebCallbackId\": \"webcallback-
|
668
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWebCallbacks\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"name\",\n \"Values\": [\n \"监控告警专用\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
669
|
+
"output": "{\n \"Response\": {\n \"WebCallbacks\": [\n {\n \"WebCallbackId\": \"webcallback-285a1bef-xxxx-xxxx-b6b3-6fd9326d6876\",\n \"Name\": \"监控告警专用\",\n \"Type\": \"WeCom\",\n \"Webhook\": \"http://www.xxx.com\",\n \"Method\": \"POST\",\n \"Uin\": 100001000000,\n \"SubUin\": 100021900000,\n \"CreateTime\": 1705998110,\n \"UpdateTime\": 1705998110\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"d20a21f7-xxxx-xxxx-ba1b-1aa49be5fed1\"\n }\n}",
|
670
670
|
"title": "获取告警渠道回调配置列表"
|
671
671
|
}
|
672
672
|
],
|
@@ -867,8 +867,8 @@
|
|
867
867
|
"ModifyWebCallback": [
|
868
868
|
{
|
869
869
|
"document": "修改告警渠道回调配置",
|
870
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWebCallback\n<公共请求参数>\n\n{\n \"WebCallbackId\": \"webcallback-d20a21f7-
|
871
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"d20a21f7-
|
870
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWebCallback\n<公共请求参数>\n\n{\n \"WebCallbackId\": \"webcallback-d20a21f7-xxxx-xxxx-ba1b-1aa49be5fed1\",\n \"Name\": \"监控告警专用\",\n \"Type\": \"Http\",\n \"Webhook\": \"http://www.xxx.com\",\n \"Method\": \"POST\",\n \"Key\": \"HHFNIKFKLAUPOISNFIUYIOIA\"\n}",
|
871
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d20a21f7-xxxx-xxxx-ba1b-1aa49be5fed1\"\n }\n}",
|
872
872
|
"title": "修改告警渠道回调配置"
|
873
873
|
}
|
874
874
|
],
|
@@ -1256,7 +1256,7 @@
|
|
1256
1256
|
{
|
1257
1257
|
"disabled": false,
|
1258
1258
|
"document": "CHC物理服务器的磁盘信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
1259
|
-
"example": "
|
1259
|
+
"example": "10T",
|
1260
1260
|
"member": "string",
|
1261
1261
|
"name": "Disk",
|
1262
1262
|
"output_required": true,
|
@@ -3527,7 +3527,7 @@
|
|
3527
3527
|
"members": [
|
3528
3528
|
{
|
3529
3529
|
"disabled": false,
|
3530
|
-
"document": "镜像ID列表 。镜像ID如:`img-gvbnzy6f`。array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/15688)。镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId
|
3530
|
+
"document": "镜像ID列表 。镜像ID如:`img-gvbnzy6f`。array型参数的格式可以参考[API简介](https://cloud.tencent.com/document/api/213/15688)。镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。</li><li>通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。</li>",
|
3531
3531
|
"example": "[\"img-gvbnzy6f\"]",
|
3532
3532
|
"member": "string",
|
3533
3533
|
"name": "ImageIds",
|
@@ -3564,7 +3564,7 @@
|
|
3564
3564
|
{
|
3565
3565
|
"disabled": false,
|
3566
3566
|
"document": "实例类型,如 `S1.SMALL1`",
|
3567
|
-
"example": "
|
3567
|
+
"example": "S1.SMALL1",
|
3568
3568
|
"member": "string",
|
3569
3569
|
"name": "InstanceType",
|
3570
3570
|
"required": false,
|
@@ -3582,7 +3582,7 @@
|
|
3582
3582
|
"example": "无",
|
3583
3583
|
"member": "Image",
|
3584
3584
|
"name": "ImageSet",
|
3585
|
-
"
|
3585
|
+
"output_required": true,
|
3586
3586
|
"type": "list",
|
3587
3587
|
"value_allowed_null": false
|
3588
3588
|
},
|
@@ -3592,7 +3592,7 @@
|
|
3592
3592
|
"example": "1",
|
3593
3593
|
"member": "int64",
|
3594
3594
|
"name": "TotalCount",
|
3595
|
-
"
|
3595
|
+
"output_required": true,
|
3596
3596
|
"type": "int",
|
3597
3597
|
"value_allowed_null": false
|
3598
3598
|
},
|
@@ -7968,7 +7968,7 @@
|
|
7968
7968
|
{
|
7969
7969
|
"disabled": false,
|
7970
7970
|
"document": "密钥对名称。",
|
7971
|
-
"example": "
|
7971
|
+
"example": "mySkey",
|
7972
7972
|
"member": "string",
|
7973
7973
|
"name": "KeyName",
|
7974
7974
|
"output_required": true,
|
@@ -8018,7 +8018,7 @@
|
|
8018
8018
|
{
|
8019
8019
|
"disabled": false,
|
8020
8020
|
"document": "密钥关联的实例`ID`列表。",
|
8021
|
-
"example": "
|
8021
|
+
"example": "[\"ins-xxxxx\"]",
|
8022
8022
|
"member": "string",
|
8023
8023
|
"name": "AssociatedInstanceIds",
|
8024
8024
|
"output_required": false,
|
@@ -8753,7 +8753,7 @@
|
|
8753
8753
|
{
|
8754
8754
|
"disabled": false,
|
8755
8755
|
"document": "高性能计算集群新备注。",
|
8756
|
-
"example": "
|
8756
|
+
"example": "myRemark",
|
8757
8757
|
"member": "string",
|
8758
8758
|
"name": "Remark",
|
8759
8759
|
"required": false,
|
@@ -178,7 +178,7 @@
|
|
178
178
|
{
|
179
179
|
"document": "根据CHC物理服务器ID查看实例",
|
180
180
|
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeChcHosts\n<公共请求参数>\n\n{\n \"ChcIds\": [\n \"chc-1a2b3c4d\"\n ]\n}",
|
181
|
-
"output": "{\n \"Response\": {\n \"ChcHostSet\": [\n {\n \"BmcIp\": \"10.0.0.17\",\n \"BmcMAC\": \"52:54:00:71:B5:A1\",\n \"BmcSecurityGroupIds\": [\n \"sg-8l03md6z\"\n ],\n \"BmcVirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-hmpeps7u\",\n \"VpcId\": \"vpc-b9y7wgix\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 0,\n \"PrivateIpAddresses\": [\n \"10.10.2.4\"\n ]\n },\n \"CPU\": 64,\n \"ChcId\": \"chc-1a2b3c4d\",\n \"ChcInstanceFamily\": \"CHCS5\",\n \"ChcInstanceFamilyName\": \"高性能计算型CHCS5\",\n \"ChcInstanceType\": \"CHCS5.128C384M\",\n \"CreatedTime\": \"2024-07-19 16:41:20\",\n \"CvmInstanceId\": \"\",\n \"DeployExtraConfig\": {\n \"BootFile\": \"pxelinux.0\",\n \"BootType\": \"x86_uefi\",\n \"MiniOsType\": \"public\",\n \"NextServerAddress\": \"169.254.68.10\"\n },\n \"DeployIp\": \"172.16.0.17\",\n \"DeployMAC\": \"52:54:00:41:8D:7B\",\n \"DeploySecurityGroupIds\": [\n \"sg-8l03md6z\"\n ],\n \"DeployVirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-pad8nabc\",\n \"VpcId\": \"vpc-gbgzjb6r\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 0,\n \"PrivateIpAddresses\": [\n \"10.10.2.4\"\n ]\n },\n \"DeviceType\": \"CHCS5\",\n \"Disk\": \"480GB*2/3.84TB*12\",\n \"Gpu\": \"\",\n \"HardwareDescription\": \"64核 256GB 480GB*2/3.84TB*12\",\n \"InstanceName\": \"vlan502\",\n \"InstanceState\": \"PREPARED\",\n \"IsPredefinedType\": true,\n \"Memory\": 256,\n \"NetworkCard\": \"\",\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-2\",\n \"ProjectId\": 0\n },\n \"ResaleAccountId\": \"\",\n \"ResaleAppId\": \"\",\n \"SaleStatus\": \"NOT_FOR_SALE\",\n \"SerialNumber\": \"7DF112345678\",\n \"Tags\": [\n {\n \"Key\": \"
|
181
|
+
"output": "{\n \"Response\": {\n \"ChcHostSet\": [\n {\n \"BmcIp\": \"10.0.0.17\",\n \"BmcMAC\": \"52:54:00:71:B5:A1\",\n \"BmcSecurityGroupIds\": [\n \"sg-8l03md6z\"\n ],\n \"BmcVirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-hmpeps7u\",\n \"VpcId\": \"vpc-b9y7wgix\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 0,\n \"PrivateIpAddresses\": [\n \"10.10.2.4\"\n ]\n },\n \"CPU\": 64,\n \"ChcId\": \"chc-1a2b3c4d\",\n \"ChcInstanceFamily\": \"CHCS5\",\n \"ChcInstanceFamilyName\": \"高性能计算型CHCS5\",\n \"ChcInstanceType\": \"CHCS5.128C384M\",\n \"CreatedTime\": \"2024-07-19 16:41:20\",\n \"CvmInstanceId\": \"\",\n \"DeployExtraConfig\": {\n \"BootFile\": \"pxelinux.0\",\n \"BootType\": \"x86_uefi\",\n \"MiniOsType\": \"public\",\n \"NextServerAddress\": \"169.254.68.10\"\n },\n \"DeployIp\": \"172.16.0.17\",\n \"DeployMAC\": \"52:54:00:41:8D:7B\",\n \"DeploySecurityGroupIds\": [\n \"sg-8l03md6z\"\n ],\n \"DeployVirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-pad8nabc\",\n \"VpcId\": \"vpc-gbgzjb6r\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 0,\n \"PrivateIpAddresses\": [\n \"10.10.2.4\"\n ]\n },\n \"DeviceType\": \"CHCS5\",\n \"Disk\": \"480GB*2/3.84TB*12\",\n \"Gpu\": \"\",\n \"HardwareDescription\": \"64核 256GB 480GB*2/3.84TB*12\",\n \"InstanceName\": \"vlan502\",\n \"InstanceState\": \"PREPARED\",\n \"IsPredefinedType\": true,\n \"Memory\": 256,\n \"NetworkCard\": \"\",\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-2\",\n \"ProjectId\": 0\n },\n \"ResaleAccountId\": \"\",\n \"ResaleAppId\": \"\",\n \"SaleStatus\": \"NOT_FOR_SALE\",\n \"SerialNumber\": \"7DF112345678\",\n \"Tags\": [\n {\n \"Key\": \"myKey\",\n \"Value\": \"myValue\"\n }\n ],\n \"TenantType\": \"HOSTING\"\n }\n ],\n \"RequestId\": \"d2ab63c0-576f-44c4-b6c1-f519fb58654b\",\n \"TotalCount\": 1\n }\n}",
|
182
182
|
"title": "查看CHC物理服务器实例"
|
183
183
|
}
|
184
184
|
],
|
@@ -242,13 +242,13 @@
|
|
242
242
|
{
|
243
243
|
"document": "已经知道镜像ID,查询镜像相关信息。",
|
244
244
|
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeImages\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"img-9qabwvbn\"\n ],\n \"Name\": \"image-id\"\n }\n ]\n}",
|
245
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ImageSet\": [\n {\n \"ImageId\": \"img-9qabwvbn\",\n \"OsName\": \"CentOS 7.6 64位\",\n \"ImageSize\": 50,\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"ImageState\": \"NORMAL\",\n \"ImageSource\": \"OFFICIAL\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"ImageCreator\":
|
245
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ImageSet\": [\n {\n \"LicenseType\": \"TencentCloud\",\n \"ImageId\": \"img-9qabwvbn\",\n \"OsName\": \"CentOS 7.6 64位\",\n \"ImageSize\": 50,\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"ImageState\": \"NORMAL\",\n \"ImageSource\": \"OFFICIAL\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"ImageCreator\": \"tencent\",\n \"SyncPercent\": 20,\n \"IsSupportCloudinit\": true,\n \"Platform\": \"CentOS\",\n \"Architecture\": \"x86_64\",\n \"SnapshotSet\": [],\n \"Tags\": [\n {\n \"Value\": \"myKey\",\n \"Key\": \"myValue\"\n }\n ]\n }\n ],\n \"RequestId\": \"db145873-3128-4079-8cec-65e05a7c9f89\"\n }\n}",
|
246
246
|
"title": "按镜像ID查询镜像"
|
247
247
|
},
|
248
248
|
{
|
249
249
|
"document": "查询账户下所有私有镜像。",
|
250
250
|
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeImages\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"PRIVATE_IMAGE\"\n ],\n \"Name\": \"image-type\"\n }\n ]\n}",
|
251
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 408,\n \"ImageSet\": [\n {\n \"OsName\": \"CentOS 7.4 64位\",\n \"ImageSize\": 20,\n \"ImageType\": \"PRIVATE_IMAGE\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"ImageDescription\": \"test-image\",\n \"ImageSource\": \"CREATE_IMAGE\",\n \"ImageId\": \"img-qlzp4oea\",\n \"ImageName\": \"test-image\",\n \"ImageCreator\": \"3205597606\",\n \"ImageState\": \"NORMAL\",\n \"SyncPercent\": null,\n \"SnapshotSet\": [\n {\n \"SnapshotId\": \"snap-gqa37j2p\",\n \"DiskUsage\": \"SYSTEM_DISK\",\n \"DiskSize\": 20\n }\n ],\n \"Tags\": [\n {\n \"Value\": \"
|
251
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 408,\n \"ImageSet\": [\n {\n \"LicenseType\": \"TencentCloud\",\n \"OsName\": \"CentOS 7.4 64位\",\n \"ImageSize\": 20,\n \"ImageType\": \"PRIVATE_IMAGE\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"ImageDescription\": \"test-image\",\n \"ImageSource\": \"CREATE_IMAGE\",\n \"ImageId\": \"img-qlzp4oea\",\n \"ImageName\": \"test-image\",\n \"ImageCreator\": \"3205597606\",\n \"ImageState\": \"NORMAL\",\n \"SyncPercent\": null,\n \"SnapshotSet\": [\n {\n \"SnapshotId\": \"snap-gqa37j2p\",\n \"DiskUsage\": \"SYSTEM_DISK\",\n \"DiskSize\": 20\n }\n ],\n \"Tags\": [\n {\n \"Value\": \"myKey\",\n \"Key\": \"myValue\"\n }\n ],\n \"Architecture\": \"x86_64\",\n \"Platform\": \"CentOS\",\n \"IsSupportCloudinit\": true\n }\n ],\n \"RequestId\": \"5908394c-5b3f-42e0-a537-8410553890a5\"\n }\n}",
|
252
252
|
"title": "按镜像类型查询镜像"
|
253
253
|
}
|
254
254
|
],
|
@@ -589,7 +589,7 @@
|
|
589
589
|
"ModifyHpcClusterAttribute": [
|
590
590
|
{
|
591
591
|
"document": "修改高性能计算集群名称",
|
592
|
-
"input": "https://cvm.tencentcloudapi.com/?Action=ModifyHpcClusterAttribute\
|
592
|
+
"input": "https://cvm.tencentcloudapi.com/?Action=ModifyHpcClusterAttribute\n&HpcClusterId=hpc-gzahhoy5\n&Name=myCluster\n&<公共请求参数>",
|
593
593
|
"output": "{\n \"Response\": {\n \"RequestId\": \"5834f1a5-cd9c-449d-acba-df1803a8583e\"\n }\n}",
|
594
594
|
"title": "修改高性能计算集群名称"
|
595
595
|
}
|
@@ -1423,7 +1423,7 @@ def doDescribeHealthScore(args, parsed_globals):
|
|
1423
1423
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1424
1424
|
|
1425
1425
|
|
1426
|
-
def
|
1426
|
+
def doDescribeRedisTopHotKeys(args, parsed_globals):
|
1427
1427
|
g_param = parse_global_arg(parsed_globals)
|
1428
1428
|
|
1429
1429
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1452,11 +1452,11 @@ def doCancelKillTask(args, parsed_globals):
|
|
1452
1452
|
client = mod.DbbrainClient(cred, g_param[OptionsDefine.Region], profile)
|
1453
1453
|
client._sdkVersion += ("_CLI_" + __version__)
|
1454
1454
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1455
|
-
model = models.
|
1455
|
+
model = models.DescribeRedisTopHotKeysRequest()
|
1456
1456
|
model.from_json_string(json.dumps(args))
|
1457
1457
|
start_time = time.time()
|
1458
1458
|
while True:
|
1459
|
-
rsp = client.
|
1459
|
+
rsp = client.DescribeRedisTopHotKeys(model)
|
1460
1460
|
result = rsp.to_json_string()
|
1461
1461
|
try:
|
1462
1462
|
json_obj = json.loads(result)
|
@@ -2359,6 +2359,58 @@ def doDeleteSqlFilters(args, parsed_globals):
|
|
2359
2359
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2360
2360
|
|
2361
2361
|
|
2362
|
+
def doCancelKillTask(args, parsed_globals):
|
2363
|
+
g_param = parse_global_arg(parsed_globals)
|
2364
|
+
|
2365
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2366
|
+
cred = credential.CVMRoleCredential()
|
2367
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2368
|
+
cred = credential.STSAssumeRoleCredential(
|
2369
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2370
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2371
|
+
)
|
2372
|
+
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):
|
2373
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2374
|
+
else:
|
2375
|
+
cred = credential.Credential(
|
2376
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2377
|
+
)
|
2378
|
+
http_profile = HttpProfile(
|
2379
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2380
|
+
reqMethod="POST",
|
2381
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2382
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2383
|
+
)
|
2384
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2385
|
+
if g_param[OptionsDefine.Language]:
|
2386
|
+
profile.language = g_param[OptionsDefine.Language]
|
2387
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2388
|
+
client = mod.DbbrainClient(cred, g_param[OptionsDefine.Region], profile)
|
2389
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2390
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2391
|
+
model = models.CancelKillTaskRequest()
|
2392
|
+
model.from_json_string(json.dumps(args))
|
2393
|
+
start_time = time.time()
|
2394
|
+
while True:
|
2395
|
+
rsp = client.CancelKillTask(model)
|
2396
|
+
result = rsp.to_json_string()
|
2397
|
+
try:
|
2398
|
+
json_obj = json.loads(result)
|
2399
|
+
except TypeError as e:
|
2400
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2401
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2402
|
+
break
|
2403
|
+
cur_time = time.time()
|
2404
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2405
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2406
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2407
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2408
|
+
else:
|
2409
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2410
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2411
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2412
|
+
|
2413
|
+
|
2362
2414
|
def doDescribeDiagDBInstances(args, parsed_globals):
|
2363
2415
|
g_param = parse_global_arg(parsed_globals)
|
2364
2416
|
|
@@ -3335,7 +3387,7 @@ ACTION_MAP = {
|
|
3335
3387
|
"DescribeDBSpaceStatus": doDescribeDBSpaceStatus,
|
3336
3388
|
"CreateProxySessionKillTask": doCreateProxySessionKillTask,
|
3337
3389
|
"DescribeHealthScore": doDescribeHealthScore,
|
3338
|
-
"
|
3390
|
+
"DescribeRedisTopHotKeys": doDescribeRedisTopHotKeys,
|
3339
3391
|
"CreateSecurityAuditLogExportTask": doCreateSecurityAuditLogExportTask,
|
3340
3392
|
"CloseAuditService": doCloseAuditService,
|
3341
3393
|
"DeleteSecurityAuditLogExportTasks": doDeleteSecurityAuditLogExportTasks,
|
@@ -3353,6 +3405,7 @@ ACTION_MAP = {
|
|
3353
3405
|
"DescribeSlowLogTimeSeriesStats": doDescribeSlowLogTimeSeriesStats,
|
3354
3406
|
"DescribeTopSpaceSchemaTimeSeries": doDescribeTopSpaceSchemaTimeSeries,
|
3355
3407
|
"DeleteSqlFilters": doDeleteSqlFilters,
|
3408
|
+
"CancelKillTask": doCancelKillTask,
|
3356
3409
|
"DescribeDiagDBInstances": doDescribeDiagDBInstances,
|
3357
3410
|
"AddUserContact": doAddUserContact,
|
3358
3411
|
"DescribeIndexRecommendInfo": doDescribeIndexRecommendInfo,
|
@@ -280,6 +280,13 @@
|
|
280
280
|
"output": "DescribeRedisTopBigKeysResponse",
|
281
281
|
"status": "online"
|
282
282
|
},
|
283
|
+
"DescribeRedisTopHotKeys": {
|
284
|
+
"document": "热Key分析",
|
285
|
+
"input": "DescribeRedisTopHotKeysRequest",
|
286
|
+
"name": "获取redis top热key",
|
287
|
+
"output": "DescribeRedisTopHotKeysResponse",
|
288
|
+
"status": "online"
|
289
|
+
},
|
283
290
|
"DescribeRedisTopKeyPrefixList": {
|
284
291
|
"document": "查询redis实例top key前缀列表。",
|
285
292
|
"input": "DescribeRedisTopKeyPrefixListRequest",
|
@@ -4268,6 +4275,88 @@
|
|
4268
4275
|
],
|
4269
4276
|
"type": "object"
|
4270
4277
|
},
|
4278
|
+
"DescribeRedisTopHotKeysRequest": {
|
4279
|
+
"document": "DescribeRedisTopHotKeys请求参数结构体",
|
4280
|
+
"members": [
|
4281
|
+
{
|
4282
|
+
"disabled": false,
|
4283
|
+
"document": "实例 ID 。",
|
4284
|
+
"example": "crs-test1234",
|
4285
|
+
"member": "string",
|
4286
|
+
"name": "InstanceId",
|
4287
|
+
"required": true,
|
4288
|
+
"type": "string"
|
4289
|
+
},
|
4290
|
+
{
|
4291
|
+
"disabled": false,
|
4292
|
+
"document": "开始时间,如“2024-09-22T00:00:00+00:00”。0天 < 当前服务器时间 - 开始时间 <= 10天。",
|
4293
|
+
"example": "2024-09-22T00:00:00+00:00",
|
4294
|
+
"member": "datetime_iso",
|
4295
|
+
"name": "StartTime",
|
4296
|
+
"required": true,
|
4297
|
+
"type": "string"
|
4298
|
+
},
|
4299
|
+
{
|
4300
|
+
"disabled": false,
|
4301
|
+
"document": "结束时间,如“2024-09-22T01:00:00+00:00”,0天 < 结束时间 - 开始时间 <= 10天。",
|
4302
|
+
"example": "2024-09-22T01:00:00+00:00",
|
4303
|
+
"member": "datetime_iso",
|
4304
|
+
"name": "EndTime",
|
4305
|
+
"required": true,
|
4306
|
+
"type": "string"
|
4307
|
+
},
|
4308
|
+
{
|
4309
|
+
"disabled": false,
|
4310
|
+
"document": "服务产品类型,仅仅支持值 \"redis\" - 云数据库 Redis。",
|
4311
|
+
"example": "redis",
|
4312
|
+
"member": "string",
|
4313
|
+
"name": "Product",
|
4314
|
+
"required": true,
|
4315
|
+
"type": "string"
|
4316
|
+
},
|
4317
|
+
{
|
4318
|
+
"disabled": false,
|
4319
|
+
"document": "Redis 节点数组。",
|
4320
|
+
"example": "[\"fa765e5e2e432806328a3e91d591e47097ecd17r\"]",
|
4321
|
+
"member": "string",
|
4322
|
+
"name": "InstanceNodeIds",
|
4323
|
+
"required": false,
|
4324
|
+
"type": "list"
|
4325
|
+
},
|
4326
|
+
{
|
4327
|
+
"disabled": false,
|
4328
|
+
"document": "top 数目,默认为20,最大值为100。",
|
4329
|
+
"example": "20",
|
4330
|
+
"member": "int64",
|
4331
|
+
"name": "Limit",
|
4332
|
+
"required": false,
|
4333
|
+
"type": "int"
|
4334
|
+
}
|
4335
|
+
],
|
4336
|
+
"type": "object"
|
4337
|
+
},
|
4338
|
+
"DescribeRedisTopHotKeysResponse": {
|
4339
|
+
"document": "DescribeRedisTopHotKeys返回参数结构体",
|
4340
|
+
"members": [
|
4341
|
+
{
|
4342
|
+
"disabled": false,
|
4343
|
+
"document": "热Key分析结果",
|
4344
|
+
"example": "无",
|
4345
|
+
"member": "TopHotKeys",
|
4346
|
+
"name": "TopHotKeys",
|
4347
|
+
"output_required": false,
|
4348
|
+
"type": "list",
|
4349
|
+
"value_allowed_null": false
|
4350
|
+
},
|
4351
|
+
{
|
4352
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4353
|
+
"member": "string",
|
4354
|
+
"name": "RequestId",
|
4355
|
+
"type": "string"
|
4356
|
+
}
|
4357
|
+
],
|
4358
|
+
"type": "object"
|
4359
|
+
},
|
4271
4360
|
"DescribeRedisTopKeyPrefixListRequest": {
|
4272
4361
|
"document": "DescribeRedisTopKeyPrefixList请求参数结构体",
|
4273
4362
|
"members": [
|
@@ -9326,6 +9415,62 @@
|
|
9326
9415
|
],
|
9327
9416
|
"usage": "out"
|
9328
9417
|
},
|
9418
|
+
"TopHotKeys": {
|
9419
|
+
"document": "热key分析返回信息",
|
9420
|
+
"members": [
|
9421
|
+
{
|
9422
|
+
"disabled": false,
|
9423
|
+
"document": "访问频次。",
|
9424
|
+
"example": "100",
|
9425
|
+
"member": "int64",
|
9426
|
+
"name": "Count",
|
9427
|
+
"output_required": false,
|
9428
|
+
"type": "int",
|
9429
|
+
"value_allowed_null": false
|
9430
|
+
},
|
9431
|
+
{
|
9432
|
+
"disabled": false,
|
9433
|
+
"document": "热Key所属数据库。",
|
9434
|
+
"example": "0",
|
9435
|
+
"member": "string",
|
9436
|
+
"name": "Db",
|
9437
|
+
"output_required": false,
|
9438
|
+
"type": "string",
|
9439
|
+
"value_allowed_null": false
|
9440
|
+
},
|
9441
|
+
{
|
9442
|
+
"disabled": false,
|
9443
|
+
"document": "Redis节点。",
|
9444
|
+
"example": "fa765e5e2e432806328a3e91d591e47097ecd27d",
|
9445
|
+
"member": "string",
|
9446
|
+
"name": "InstanceNodeId",
|
9447
|
+
"output_required": false,
|
9448
|
+
"type": "string",
|
9449
|
+
"value_allowed_null": false
|
9450
|
+
},
|
9451
|
+
{
|
9452
|
+
"disabled": false,
|
9453
|
+
"document": "热Key。",
|
9454
|
+
"example": "string|key:00000009688",
|
9455
|
+
"member": "string",
|
9456
|
+
"name": "Key",
|
9457
|
+
"output_required": false,
|
9458
|
+
"type": "string",
|
9459
|
+
"value_allowed_null": false
|
9460
|
+
},
|
9461
|
+
{
|
9462
|
+
"disabled": false,
|
9463
|
+
"document": "数据类型。",
|
9464
|
+
"example": "string",
|
9465
|
+
"member": "string",
|
9466
|
+
"name": "Type",
|
9467
|
+
"output_required": false,
|
9468
|
+
"type": "string",
|
9469
|
+
"value_allowed_null": false
|
9470
|
+
}
|
9471
|
+
],
|
9472
|
+
"usage": "out"
|
9473
|
+
},
|
9329
9474
|
"UpdateAgentSwitchRequest": {
|
9330
9475
|
"document": "UpdateAgentSwitch请求参数结构体",
|
9331
9476
|
"members": [
|
@@ -320,6 +320,14 @@
|
|
320
320
|
"title": "查询redis实例大key列表"
|
321
321
|
}
|
322
322
|
],
|
323
|
+
"DescribeRedisTopHotKeys": [
|
324
|
+
{
|
325
|
+
"document": "",
|
326
|
+
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRedisTopHotKeys\n<公共请求参数>\n\n{\n \"Product\": \"redis\",\n \"InstanceId\": \"crs-179943dsc\",\n \"StartTime\": \"2024-09-22T00:00:00+00:00\",\n \"EndTime\": \"2024-09-22T01:00:00+00:00\"\n}",
|
327
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"75421bae-7fcb-4b32-83df-d66b060b4cbf\",\n \"TopHotKeys\": [\n {\n \"Count\": 100,\n \"Db\": \"0\",\n \"InstanceNodeId\": \"fa765e5e2e432806328a691d591e47097ecd133d\",\n \"Key\": \"string|key:000000096\",\n \"Type\": \"string\"\n }\n ]\n }\n}",
|
328
|
+
"title": "查询热Key分析"
|
329
|
+
}
|
330
|
+
],
|
323
331
|
"DescribeRedisTopKeyPrefixList": [
|
324
332
|
{
|
325
333
|
"document": "",
|
@@ -2216,6 +2216,15 @@
|
|
2216
2216
|
"required": false,
|
2217
2217
|
"type": "string"
|
2218
2218
|
},
|
2219
|
+
{
|
2220
|
+
"disabled": false,
|
2221
|
+
"document": "购买时长(单位:月),当PayMode值为PrePay则此项配置有意义,默认为1月,取值范围为[1,100]",
|
2222
|
+
"example": "1",
|
2223
|
+
"member": "uint64",
|
2224
|
+
"name": "TimeSpan",
|
2225
|
+
"required": false,
|
2226
|
+
"type": "int"
|
2227
|
+
},
|
2219
2228
|
{
|
2220
2229
|
"disabled": false,
|
2221
2230
|
"document": "标签信息",
|
@@ -113,7 +113,7 @@
|
|
113
113
|
"CreateSyncJob": [
|
114
114
|
{
|
115
115
|
"document": "创建一个同步任务",
|
116
|
-
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSyncJob\n<公共请求参数>\n\n{\n \"Count\": 1,\n \"Specification\": \"Standard\",\n \"PayMode\": \"PrePay\",\n \"DstDatabaseType\": \"mysql\",\n \"DstRegion\": \"ap-guangzhou\",\n \"SrcDatabaseType\": \"mysql\",\n \"SrcRegion\": \"ap-guangzhou\",\n \"ExistedJobId\": \"sync-xascasas\"\n}",
|
116
|
+
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSyncJob\n<公共请求参数>\n\n{\n \"Count\": 1,\n \"TimeSpan\": \"1\",\n \"Specification\": \"Standard\",\n \"PayMode\": \"PrePay\",\n \"DstDatabaseType\": \"mysql\",\n \"DstRegion\": \"ap-guangzhou\",\n \"SrcDatabaseType\": \"mysql\",\n \"SrcRegion\": \"ap-guangzhou\",\n \"ExistedJobId\": \"sync-xascasas\"\n}",
|
117
117
|
"output": "{\n \"Response\": {\n \"JobIds\": [\n \"sync-eivc87yk\"\n ],\n \"RequestId\": \"03a378be-372a-478b-beb7-19e4dd5027e2\"\n }\n}",
|
118
118
|
"title": "创建一个同步任务"
|
119
119
|
}
|
@@ -281,7 +281,7 @@
|
|
281
281
|
"status": "online"
|
282
282
|
},
|
283
283
|
"ChannelDescribeSignFaceVideo": {
|
284
|
-
"document": "该接口用于在使用视频认证方式签署合同后,获取用户的签署人脸认证视频。\n\n1. 该接口**仅适用于在H5
|
284
|
+
"document": "该接口用于在使用视频认证方式签署合同后,获取用户的签署人脸认证视频。\n\n1. 该接口**仅适用于在H5端签署**的合同,**在通过视频认证后**获取认证的视频内容。\n2. 该接口**不支持小程序端**的签署认证的视频获取。\n3. 请在**签署完成后的三天内**获取视频,**过期后将无法获取**。\n\n**注意:该接口需要开通白名单,请联系客户经理开通后使用。**",
|
285
285
|
"input": "ChannelDescribeSignFaceVideoRequest",
|
286
286
|
"name": "查询签署认证人脸视频",
|
287
287
|
"output": "ChannelDescribeSignFaceVideoResponse",
|
@@ -173,7 +173,7 @@
|
|
173
173
|
"members": [
|
174
174
|
{
|
175
175
|
"disabled": false,
|
176
|
-
"document": "模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest、 hunyuan-large、 hunyuan-large-longcontext、 hunyuan-turbo-vision。\n各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。\n\n注意:\n不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。",
|
176
|
+
"document": "模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest、 hunyuan-large、 hunyuan-large-longcontext、 hunyuan-turbo-vision、 hunyuan-standard-vision。\n各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。\n\n注意:\n不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。",
|
177
177
|
"example": "hunyuan-pro",
|
178
178
|
"member": "string",
|
179
179
|
"name": "Model",
|
@@ -6914,7 +6914,7 @@
|
|
6914
6914
|
},
|
6915
6915
|
{
|
6916
6916
|
"disabled": false,
|
6917
|
-
"document": "自动续费标识。取值范围: \nNOTIFY_AND_MANUAL_RENEW:表示通知即将过期,但不自动续费 \nNOTIFY_AND_AUTO_RENEW:表示通知即将过期,而且自动续费
|
6917
|
+
"document": "自动续费标识。取值范围: \nNOTIFY_AND_MANUAL_RENEW:表示通知即将过期,但不自动续费 \nNOTIFY_AND_AUTO_RENEW:表示通知即将过期,而且自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:不自动续费,且不通知。",
|
6918
6918
|
"example": "NOTIFY_AND_MANUAL_RENEW",
|
6919
6919
|
"member": "string",
|
6920
6920
|
"name": "RenewFlag",
|
@@ -3895,6 +3895,16 @@
|
|
3895
3895
|
"type": "string",
|
3896
3896
|
"value_allowed_null": false
|
3897
3897
|
},
|
3898
|
+
{
|
3899
|
+
"disabled": false,
|
3900
|
+
"document": "知识库使用字符总数",
|
3901
|
+
"example": "无",
|
3902
|
+
"member": "string",
|
3903
|
+
"name": "UsedCharSize",
|
3904
|
+
"output_required": false,
|
3905
|
+
"type": "string",
|
3906
|
+
"value_allowed_null": false
|
3907
|
+
},
|
3898
3908
|
{
|
3899
3909
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3900
3910
|
"member": "string",
|
@@ -5026,6 +5036,26 @@
|
|
5026
5036
|
"type": "int",
|
5027
5037
|
"value_allowed_null": false
|
5028
5038
|
},
|
5039
|
+
{
|
5040
|
+
"disabled": false,
|
5041
|
+
"document": "拆分token消耗量",
|
5042
|
+
"example": "无",
|
5043
|
+
"member": "float",
|
5044
|
+
"name": "SplitTokenUsage",
|
5045
|
+
"output_required": false,
|
5046
|
+
"type": "float",
|
5047
|
+
"value_allowed_null": false
|
5048
|
+
},
|
5049
|
+
{
|
5050
|
+
"disabled": false,
|
5051
|
+
"document": "Rag检索次数",
|
5052
|
+
"example": "无",
|
5053
|
+
"member": "float",
|
5054
|
+
"name": "RagSearchUsage",
|
5055
|
+
"output_required": false,
|
5056
|
+
"type": "float",
|
5057
|
+
"value_allowed_null": false
|
5058
|
+
},
|
5029
5059
|
{
|
5030
5060
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5031
5061
|
"member": "string",
|
@@ -170,7 +170,7 @@
|
|
170
170
|
{
|
171
171
|
"document": "",
|
172
172
|
"input": "POST / HTTP/1.1\nHost: mna.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetGroupDetail\n<公共请求参数>\n\n{\n \"GroupId\": \"cliGrp-xf8rboasb\",\n \"PageSize\": \"10\",\n \"PageNumber\": \"1\"\n}",
|
173
|
-
"output": "{\n \"Response\": {\n \"GroupInfo\": {\n \"GroupId\": \"cliGrp-xf8rboasb\",\n \"GroupName\": \"groupname\",\n \"CreateTime\": \"1711076263000\",\n \"UpdateTime\": \"1711076263000\",\n \"Description\": \"描述\",\n \"DeviceNum\": 0\n },\n \"DeviceInfos\": [\n {\n \"DeviceId\": \"mna-detr244\",\n \"DeviceName\": \"name\",\n \"CreateTime\": \"1711076263000\",\n \"LastTime\": \"1711076263000\",\n \"Remark\": \"mark\",\n \"AccessScope\": 0,\n \"LicensePayMode\": 0,\n \"Payer\": 0,\n \"GroupId\": \"cliGrp-xf8rboasb\",\n \"GroupName\": \"name2\"\n }\n ],\n \"Length\": 0,\n \"TotalPage\": 0,\n \"RequestId\": \"fd429f79-9914-46e7-94c3-c0695ee1c8b9\"\n }\n}",
|
173
|
+
"output": "{\n \"Response\": {\n \"GroupInfo\": {\n \"GroupId\": \"cliGrp-xf8rboasb\",\n \"GroupName\": \"groupname\",\n \"CreateTime\": \"1711076263000\",\n \"UpdateTime\": \"1711076263000\",\n \"Description\": \"GetGroupDetail描述\",\n \"DeviceNum\": 0\n },\n \"DeviceInfos\": [\n {\n \"DeviceId\": \"mna-detr244\",\n \"DeviceName\": \"name\",\n \"CreateTime\": \"1711076263000\",\n \"LastTime\": \"1711076263000\",\n \"Remark\": \"mark\",\n \"AccessScope\": 0,\n \"LicensePayMode\": 0,\n \"Payer\": 0,\n \"GroupId\": \"cliGrp-xf8rboasb\",\n \"GroupName\": \"name2\"\n }\n ],\n \"Length\": 0,\n \"TotalPage\": 0,\n \"RequestId\": \"fd429f79-9914-46e7-94c3-c0695ee1c8b9\"\n }\n}",
|
174
174
|
"title": "示例1"
|
175
175
|
}
|
176
176
|
],
|