tccli 3.0.1168.1__py2.py3-none-any.whl → 3.0.1170.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/aiart/v20221229/api.json +18 -0
- tccli/services/cls/cls_client.py +224 -12
- tccli/services/cls/v20201016/api.json +346 -6
- tccli/services/cls/v20201016/examples.json +32 -0
- tccli/services/cwp/cwp_client.py +118 -65
- tccli/services/cwp/v20180228/api.json +135 -2
- tccli/services/cwp/v20180228/examples.json +8 -0
- tccli/services/emr/emr_client.py +163 -4
- tccli/services/emr/v20190103/api.json +880 -11
- tccli/services/emr/v20190103/examples.json +24 -0
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +2 -2
- tccli/services/ioa/v20220601/api.json +5 -5
- tccli/services/organization/organization_client.py +167 -8
- tccli/services/organization/v20210331/api.json +307 -0
- tccli/services/organization/v20210331/examples.json +24 -0
- tccli/services/pts/v20210728/api.json +10 -10
- tccli/services/pts/v20210728/examples.json +14 -14
- tccli/services/smh/smh_client.py +281 -16
- tccli/services/smh/v20210712/api.json +806 -2
- tccli/services/smh/v20210712/examples.json +40 -0
- tccli/services/tcss/v20201101/api.json +156 -53
- tccli/services/tcss/v20201101/examples.json +39 -9
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +71 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +7 -7
- tccli/services/vod/v20180717/api.json +12 -0
- tccli/services/waf/v20180125/api.json +12 -6
- {tccli-3.0.1168.1.dist-info → tccli-3.0.1170.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1168.1.dist-info → tccli-3.0.1170.1.dist-info}/RECORD +35 -35
- {tccli-3.0.1168.1.dist-info → tccli-3.0.1170.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1168.1.dist-info → tccli-3.0.1170.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1168.1.dist-info → tccli-3.0.1170.1.dist-info}/license_files/LICENSE +0 -0
@@ -70,6 +70,13 @@
|
|
70
70
|
"output": "CheckAccountDeleteResponse",
|
71
71
|
"status": "online"
|
72
72
|
},
|
73
|
+
"CreateOrgServiceAssign": {
|
74
|
+
"document": "添加集团服务委派管理员",
|
75
|
+
"input": "CreateOrgServiceAssignRequest",
|
76
|
+
"name": "添加集团服务委派管理员",
|
77
|
+
"output": "CreateOrgServiceAssignResponse",
|
78
|
+
"status": "online"
|
79
|
+
},
|
73
80
|
"CreateOrganization": {
|
74
81
|
"document": "创建企业组织",
|
75
82
|
"input": "CreateOrganizationRequest",
|
@@ -126,6 +133,13 @@
|
|
126
133
|
"output": "DeleteAccountResponse",
|
127
134
|
"status": "online"
|
128
135
|
},
|
136
|
+
"DeleteOrgServiceAssign": {
|
137
|
+
"document": "删除集团服务委派管理员",
|
138
|
+
"input": "DeleteOrgServiceAssignRequest",
|
139
|
+
"name": "删除集团服务委派管理员",
|
140
|
+
"output": "DeleteOrgServiceAssignResponse",
|
141
|
+
"status": "online"
|
142
|
+
},
|
129
143
|
"DeleteOrganization": {
|
130
144
|
"document": "删除企业组织",
|
131
145
|
"input": "DeleteOrganizationRequest",
|
@@ -350,6 +364,13 @@
|
|
350
364
|
"output": "ListNonCompliantResourceResponse",
|
351
365
|
"status": "online"
|
352
366
|
},
|
367
|
+
"ListOrgServiceAssignMember": {
|
368
|
+
"document": "获取集团服务委派管理员列表",
|
369
|
+
"input": "ListOrgServiceAssignMemberRequest",
|
370
|
+
"name": "获取集团服务委派管理员列表",
|
371
|
+
"output": "ListOrgServiceAssignMemberResponse",
|
372
|
+
"status": "online"
|
373
|
+
},
|
353
374
|
"ListOrganizationIdentity": {
|
354
375
|
"document": "获取组织成员访问身份列表",
|
355
376
|
"input": "ListOrganizationIdentityRequest",
|
@@ -992,6 +1013,69 @@
|
|
992
1013
|
],
|
993
1014
|
"type": "object"
|
994
1015
|
},
|
1016
|
+
"CreateOrgServiceAssignRequest": {
|
1017
|
+
"document": "CreateOrgServiceAssign请求参数结构体",
|
1018
|
+
"members": [
|
1019
|
+
{
|
1020
|
+
"disabled": false,
|
1021
|
+
"document": "集团服务ID。可以通过[ListOrganizationService](https://cloud.tencent.com/document/product/850/109561)获取",
|
1022
|
+
"example": "1",
|
1023
|
+
"member": "uint64",
|
1024
|
+
"name": "ServiceId",
|
1025
|
+
"required": true,
|
1026
|
+
"type": "int"
|
1027
|
+
},
|
1028
|
+
{
|
1029
|
+
"disabled": false,
|
1030
|
+
"document": "委派管理员Uin列表。 最大长度20个",
|
1031
|
+
"example": "[111111111111]",
|
1032
|
+
"member": "int64",
|
1033
|
+
"name": "MemberUins",
|
1034
|
+
"required": true,
|
1035
|
+
"type": "list"
|
1036
|
+
},
|
1037
|
+
{
|
1038
|
+
"disabled": false,
|
1039
|
+
"document": "委派管理员管理范围。 取值:1-全部成员 2-部分成员,默认值1",
|
1040
|
+
"example": "1",
|
1041
|
+
"member": "uint64",
|
1042
|
+
"name": "ManagementScope",
|
1043
|
+
"required": false,
|
1044
|
+
"type": "int"
|
1045
|
+
},
|
1046
|
+
{
|
1047
|
+
"disabled": false,
|
1048
|
+
"document": "管理的成员Uin列表。ManagementScope为2时该参数有效",
|
1049
|
+
"example": "[]",
|
1050
|
+
"member": "int64",
|
1051
|
+
"name": "ManagementScopeUins",
|
1052
|
+
"required": false,
|
1053
|
+
"type": "list"
|
1054
|
+
},
|
1055
|
+
{
|
1056
|
+
"disabled": false,
|
1057
|
+
"document": "管理的部门ID列表。ManagementScope为2时该参数有效",
|
1058
|
+
"example": "[]",
|
1059
|
+
"member": "int64",
|
1060
|
+
"name": "ManagementScopeNodeIds",
|
1061
|
+
"required": false,
|
1062
|
+
"type": "list"
|
1063
|
+
}
|
1064
|
+
],
|
1065
|
+
"type": "object"
|
1066
|
+
},
|
1067
|
+
"CreateOrgServiceAssignResponse": {
|
1068
|
+
"document": "CreateOrgServiceAssign返回参数结构体",
|
1069
|
+
"members": [
|
1070
|
+
{
|
1071
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1072
|
+
"member": "string",
|
1073
|
+
"name": "RequestId",
|
1074
|
+
"type": "string"
|
1075
|
+
}
|
1076
|
+
],
|
1077
|
+
"type": "object"
|
1078
|
+
},
|
995
1079
|
"CreateOrganizationIdentityRequest": {
|
996
1080
|
"document": "CreateOrganizationIdentity请求参数结构体",
|
997
1081
|
"members": [
|
@@ -1457,6 +1541,42 @@
|
|
1457
1541
|
],
|
1458
1542
|
"type": "object"
|
1459
1543
|
},
|
1544
|
+
"DeleteOrgServiceAssignRequest": {
|
1545
|
+
"document": "DeleteOrgServiceAssign请求参数结构体",
|
1546
|
+
"members": [
|
1547
|
+
{
|
1548
|
+
"disabled": false,
|
1549
|
+
"document": "集团服务ID。可以通过[ListOrganizationService](https://cloud.tencent.com/document/product/850/109561)获取",
|
1550
|
+
"example": "1",
|
1551
|
+
"member": "uint64",
|
1552
|
+
"name": "ServiceId",
|
1553
|
+
"required": true,
|
1554
|
+
"type": "int"
|
1555
|
+
},
|
1556
|
+
{
|
1557
|
+
"disabled": false,
|
1558
|
+
"document": "委派管理员Uin。",
|
1559
|
+
"example": "111111111111",
|
1560
|
+
"member": "int64",
|
1561
|
+
"name": "MemberUin",
|
1562
|
+
"required": true,
|
1563
|
+
"type": "int"
|
1564
|
+
}
|
1565
|
+
],
|
1566
|
+
"type": "object"
|
1567
|
+
},
|
1568
|
+
"DeleteOrgServiceAssignResponse": {
|
1569
|
+
"document": "DeleteOrgServiceAssign返回参数结构体",
|
1570
|
+
"members": [
|
1571
|
+
{
|
1572
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1573
|
+
"member": "string",
|
1574
|
+
"name": "RequestId",
|
1575
|
+
"type": "string"
|
1576
|
+
}
|
1577
|
+
],
|
1578
|
+
"type": "object"
|
1579
|
+
},
|
1460
1580
|
"DeleteOrganizationIdentityRequest": {
|
1461
1581
|
"document": "DeleteOrganizationIdentity请求参数结构体",
|
1462
1582
|
"members": [
|
@@ -3552,6 +3672,71 @@
|
|
3552
3672
|
],
|
3553
3673
|
"type": "object"
|
3554
3674
|
},
|
3675
|
+
"ListOrgServiceAssignMemberRequest": {
|
3676
|
+
"document": "ListOrgServiceAssignMember请求参数结构体",
|
3677
|
+
"members": [
|
3678
|
+
{
|
3679
|
+
"disabled": false,
|
3680
|
+
"document": "偏移量。取值是limit的整数倍,默认值 : 0",
|
3681
|
+
"example": "1",
|
3682
|
+
"member": "uint64",
|
3683
|
+
"name": "Offset",
|
3684
|
+
"required": true,
|
3685
|
+
"type": "int"
|
3686
|
+
},
|
3687
|
+
{
|
3688
|
+
"disabled": false,
|
3689
|
+
"document": "限制数目。取值范围:1~50,默认值:10",
|
3690
|
+
"example": "10",
|
3691
|
+
"member": "uint64",
|
3692
|
+
"name": "Limit",
|
3693
|
+
"required": true,
|
3694
|
+
"type": "int"
|
3695
|
+
},
|
3696
|
+
{
|
3697
|
+
"disabled": false,
|
3698
|
+
"document": "集团服务ID。可以通过[ListOrganizationService](https://cloud.tencent.com/document/product/850/109561)获取",
|
3699
|
+
"example": "1",
|
3700
|
+
"member": "uint64",
|
3701
|
+
"name": "ServiceId",
|
3702
|
+
"required": true,
|
3703
|
+
"type": "int"
|
3704
|
+
}
|
3705
|
+
],
|
3706
|
+
"type": "object"
|
3707
|
+
},
|
3708
|
+
"ListOrgServiceAssignMemberResponse": {
|
3709
|
+
"document": "ListOrgServiceAssignMember返回参数结构体",
|
3710
|
+
"members": [
|
3711
|
+
{
|
3712
|
+
"disabled": false,
|
3713
|
+
"document": "总数。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3714
|
+
"example": "1",
|
3715
|
+
"member": "int64",
|
3716
|
+
"name": "Total",
|
3717
|
+
"output_required": true,
|
3718
|
+
"type": "int",
|
3719
|
+
"value_allowed_null": true
|
3720
|
+
},
|
3721
|
+
{
|
3722
|
+
"disabled": false,
|
3723
|
+
"document": "委派管理员列表。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3724
|
+
"example": "无",
|
3725
|
+
"member": "OrganizationServiceAssignMember",
|
3726
|
+
"name": "Items",
|
3727
|
+
"output_required": true,
|
3728
|
+
"type": "list",
|
3729
|
+
"value_allowed_null": true
|
3730
|
+
},
|
3731
|
+
{
|
3732
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3733
|
+
"member": "string",
|
3734
|
+
"name": "RequestId",
|
3735
|
+
"type": "string"
|
3736
|
+
}
|
3737
|
+
],
|
3738
|
+
"type": "object"
|
3739
|
+
},
|
3555
3740
|
"ListOrganizationIdentityRequest": {
|
3556
3741
|
"document": "ListOrganizationIdentity请求参数结构体",
|
3557
3742
|
"members": [
|
@@ -4364,6 +4549,32 @@
|
|
4364
4549
|
],
|
4365
4550
|
"type": "object"
|
4366
4551
|
},
|
4552
|
+
"NodeMainInfo": {
|
4553
|
+
"document": "部门主要信息",
|
4554
|
+
"members": [
|
4555
|
+
{
|
4556
|
+
"disabled": false,
|
4557
|
+
"document": "部门ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
4558
|
+
"example": "1",
|
4559
|
+
"member": "int64",
|
4560
|
+
"name": "NodeId",
|
4561
|
+
"required": true,
|
4562
|
+
"type": "int",
|
4563
|
+
"value_allowed_null": true
|
4564
|
+
},
|
4565
|
+
{
|
4566
|
+
"disabled": false,
|
4567
|
+
"document": "部门名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
4568
|
+
"example": "运营部",
|
4569
|
+
"member": "string",
|
4570
|
+
"name": "NodeName",
|
4571
|
+
"required": true,
|
4572
|
+
"type": "string",
|
4573
|
+
"value_allowed_null": true
|
4574
|
+
}
|
4575
|
+
],
|
4576
|
+
"usage": "out"
|
4577
|
+
},
|
4367
4578
|
"NotAllowReason": {
|
4368
4579
|
"document": "不允许删除的原因。",
|
4369
4580
|
"members": [
|
@@ -5356,6 +5567,102 @@
|
|
5356
5567
|
],
|
5357
5568
|
"usage": "out"
|
5358
5569
|
},
|
5570
|
+
"OrganizationServiceAssignMember": {
|
5571
|
+
"document": "集团服务委派成员信息",
|
5572
|
+
"members": [
|
5573
|
+
{
|
5574
|
+
"disabled": false,
|
5575
|
+
"document": "集团服务ID。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5576
|
+
"example": "1",
|
5577
|
+
"member": "uint64",
|
5578
|
+
"name": "ServiceId",
|
5579
|
+
"output_required": true,
|
5580
|
+
"type": "int",
|
5581
|
+
"value_allowed_null": true
|
5582
|
+
},
|
5583
|
+
{
|
5584
|
+
"disabled": false,
|
5585
|
+
"document": "集团服务产品名称。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5586
|
+
"example": "CloudAudit",
|
5587
|
+
"member": "string",
|
5588
|
+
"name": "ProductName",
|
5589
|
+
"output_required": true,
|
5590
|
+
"type": "string",
|
5591
|
+
"value_allowed_null": true
|
5592
|
+
},
|
5593
|
+
{
|
5594
|
+
"disabled": false,
|
5595
|
+
"document": "委派管理员Uin。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5596
|
+
"example": "111111111111",
|
5597
|
+
"member": "int64",
|
5598
|
+
"name": "MemberUin",
|
5599
|
+
"output_required": true,
|
5600
|
+
"type": "int",
|
5601
|
+
"value_allowed_null": true
|
5602
|
+
},
|
5603
|
+
{
|
5604
|
+
"disabled": false,
|
5605
|
+
"document": "委派管理员名称。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5606
|
+
"example": "mamber_name",
|
5607
|
+
"member": "string",
|
5608
|
+
"name": "MemberName",
|
5609
|
+
"output_required": true,
|
5610
|
+
"type": "string",
|
5611
|
+
"value_allowed_null": true
|
5612
|
+
},
|
5613
|
+
{
|
5614
|
+
"disabled": false,
|
5615
|
+
"document": "启用状态 。取值:0-服务无启用状态 1-已启用 2-未启用\n注意:此字段可能返回 null,表示取不到有效值。",
|
5616
|
+
"example": "1",
|
5617
|
+
"member": "uint64",
|
5618
|
+
"name": "UsageStatus",
|
5619
|
+
"output_required": true,
|
5620
|
+
"type": "int",
|
5621
|
+
"value_allowed_null": true
|
5622
|
+
},
|
5623
|
+
{
|
5624
|
+
"disabled": false,
|
5625
|
+
"document": "委派时间。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5626
|
+
"example": "2022-03-12 12:19:12",
|
5627
|
+
"member": "string",
|
5628
|
+
"name": "CreateTime",
|
5629
|
+
"output_required": true,
|
5630
|
+
"type": "string",
|
5631
|
+
"value_allowed_null": true
|
5632
|
+
},
|
5633
|
+
{
|
5634
|
+
"disabled": false,
|
5635
|
+
"document": "委派管理员管理范围。取值: 1-全部成员 2-部分成员\n注意:此字段可能返回 null,表示取不到有效值。",
|
5636
|
+
"example": "1",
|
5637
|
+
"member": "uint64",
|
5638
|
+
"name": "ManagementScope",
|
5639
|
+
"output_required": false,
|
5640
|
+
"type": "int",
|
5641
|
+
"value_allowed_null": true
|
5642
|
+
},
|
5643
|
+
{
|
5644
|
+
"disabled": false,
|
5645
|
+
"document": "管理的成员Uin列表。ManagementScope值为2时该参数有效\n注意:此字段可能返回 null,表示取不到有效值。",
|
5646
|
+
"example": "[]",
|
5647
|
+
"member": "MemberMainInfo",
|
5648
|
+
"name": "ManagementScopeMembers",
|
5649
|
+
"output_required": false,
|
5650
|
+
"type": "list",
|
5651
|
+
"value_allowed_null": true
|
5652
|
+
},
|
5653
|
+
{
|
5654
|
+
"disabled": false,
|
5655
|
+
"document": "管理的部门ID列表。ManagementScope值为2时该参数有效\n注意:此字段可能返回 null,表示取不到有效值。",
|
5656
|
+
"example": "[]",
|
5657
|
+
"member": "NodeMainInfo",
|
5658
|
+
"name": "ManagementScopeNodes",
|
5659
|
+
"output_required": false,
|
5660
|
+
"type": "list",
|
5661
|
+
"value_allowed_null": true
|
5662
|
+
}
|
5663
|
+
],
|
5664
|
+
"usage": "out"
|
5665
|
+
},
|
5359
5666
|
"ProductResource": {
|
5360
5667
|
"document": "产品资源",
|
5361
5668
|
"members": [
|
@@ -80,6 +80,14 @@
|
|
80
80
|
"title": "成员账号删除检查"
|
81
81
|
}
|
82
82
|
],
|
83
|
+
"CreateOrgServiceAssign": [
|
84
|
+
{
|
85
|
+
"document": "",
|
86
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateOrgServiceAssign\n<公共请求参数>\n\n{\n \"ServiceId\": 1,\n \"MemberUins\": [\n 111111111111\n ]\n}",
|
87
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b46d2afe-6893-4529-bc96-2c82d9214957\"\n }\n}",
|
88
|
+
"title": "添加集团服务委派管理员"
|
89
|
+
}
|
90
|
+
],
|
83
91
|
"CreateOrganization": [
|
84
92
|
{
|
85
93
|
"document": "",
|
@@ -144,6 +152,14 @@
|
|
144
152
|
"title": "删除成员账号"
|
145
153
|
}
|
146
154
|
],
|
155
|
+
"DeleteOrgServiceAssign": [
|
156
|
+
{
|
157
|
+
"document": "",
|
158
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteOrgServiceAssign\n<公共请求参数>\n\n{\n \"ServiceId\": 1,\n \"MemberUin\": 111111111111\n}",
|
159
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b46d2afe-6893-4529-bc96-2c82d9214957\"\n }\n}",
|
160
|
+
"title": "删除集团服务委派管理员"
|
161
|
+
}
|
162
|
+
],
|
147
163
|
"DeleteOrganization": [
|
148
164
|
{
|
149
165
|
"document": "",
|
@@ -400,6 +416,14 @@
|
|
400
416
|
"title": "获取成员标签检测不合规资源列表"
|
401
417
|
}
|
402
418
|
],
|
419
|
+
"ListOrgServiceAssignMember": [
|
420
|
+
{
|
421
|
+
"document": "",
|
422
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListOrgServiceAssignMember\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"Offset\": 0,\n \"ServiceId\": 1\n}",
|
423
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"ServiceId\": 1,\n \"ProductName\": \"CloudAudit\",\n \"MemberUin\": 111111111111,\n \"MemberName\": \"mamber_name\",\n \"UsageStatus\": 2,\n \"CreateTime\": \"2022-03-12 12:19:12\",\n \"ManagementScope\": 1,\n \"ManagementScopeMembers\": [],\n \"ManagementScopeNodes\": []\n }\n ],\n \"RequestId\": \"1d744bef-fa56-40e9-8e3b-5a88b122ad5e\",\n \"Total\": 1\n }\n}",
|
424
|
+
"title": "获取集团服务委派管理员列表"
|
425
|
+
}
|
426
|
+
],
|
403
427
|
"ListOrganizationIdentity": [
|
404
428
|
{
|
405
429
|
"document": "获取组织成员访问身份列表",
|
@@ -413,7 +413,7 @@
|
|
413
413
|
{
|
414
414
|
"disabled": false,
|
415
415
|
"document": "中断原因",
|
416
|
-
"example": "1",
|
416
|
+
"example": "0 unknown reason; 1 abort by user; 2 abort by sla rules",
|
417
417
|
"member": "int64",
|
418
418
|
"name": "AbortReason",
|
419
419
|
"required": false,
|
@@ -1164,7 +1164,7 @@
|
|
1164
1164
|
"example": "cron-xx",
|
1165
1165
|
"member": "string",
|
1166
1166
|
"name": "CronJobId",
|
1167
|
-
"
|
1167
|
+
"output_required": true,
|
1168
1168
|
"type": "string",
|
1169
1169
|
"value_allowed_null": false
|
1170
1170
|
},
|
@@ -2254,7 +2254,7 @@
|
|
2254
2254
|
"example": "无",
|
2255
2255
|
"member": "AlertChannelRecord",
|
2256
2256
|
"name": "AlertChannelSet",
|
2257
|
-
"
|
2257
|
+
"output_required": true,
|
2258
2258
|
"type": "list",
|
2259
2259
|
"value_allowed_null": true
|
2260
2260
|
},
|
@@ -2264,7 +2264,7 @@
|
|
2264
2264
|
"example": "10",
|
2265
2265
|
"member": "uint64",
|
2266
2266
|
"name": "Total",
|
2267
|
-
"
|
2267
|
+
"output_required": true,
|
2268
2268
|
"type": "int",
|
2269
2269
|
"value_allowed_null": true
|
2270
2270
|
},
|
@@ -2364,7 +2364,7 @@
|
|
2364
2364
|
"example": "无",
|
2365
2365
|
"member": "AlertRecord",
|
2366
2366
|
"name": "AlertRecordSet",
|
2367
|
-
"
|
2367
|
+
"output_required": true,
|
2368
2368
|
"type": "list",
|
2369
2369
|
"value_allowed_null": true
|
2370
2370
|
},
|
@@ -2374,7 +2374,7 @@
|
|
2374
2374
|
"example": "2",
|
2375
2375
|
"member": "uint64",
|
2376
2376
|
"name": "Total",
|
2377
|
-
"
|
2377
|
+
"output_required": true,
|
2378
2378
|
"type": "int",
|
2379
2379
|
"value_allowed_null": true
|
2380
2380
|
},
|
@@ -2728,7 +2728,7 @@
|
|
2728
2728
|
"example": "无",
|
2729
2729
|
"member": "File",
|
2730
2730
|
"name": "FileSet",
|
2731
|
-
"
|
2731
|
+
"output_required": true,
|
2732
2732
|
"type": "list",
|
2733
2733
|
"value_allowed_null": true
|
2734
2734
|
},
|
@@ -2738,7 +2738,7 @@
|
|
2738
2738
|
"example": "10",
|
2739
2739
|
"member": "int64",
|
2740
2740
|
"name": "Total",
|
2741
|
-
"
|
2741
|
+
"output_required": true,
|
2742
2742
|
"type": "int",
|
2743
2743
|
"value_allowed_null": true
|
2744
2744
|
},
|
@@ -2865,7 +2865,7 @@
|
|
2865
2865
|
"example": "无",
|
2866
2866
|
"member": "Job",
|
2867
2867
|
"name": "JobSet",
|
2868
|
-
"
|
2868
|
+
"output_required": true,
|
2869
2869
|
"type": "list",
|
2870
2870
|
"value_allowed_null": true
|
2871
2871
|
},
|
@@ -2875,7 +2875,7 @@
|
|
2875
2875
|
"example": "10",
|
2876
2876
|
"member": "int64",
|
2877
2877
|
"name": "Total",
|
2878
|
-
"
|
2878
|
+
"output_required": true,
|
2879
2879
|
"type": "int",
|
2880
2880
|
"value_allowed_null": true
|
2881
2881
|
},
|
@@ -43,8 +43,8 @@
|
|
43
43
|
"CreateCronJob": [
|
44
44
|
{
|
45
45
|
"document": "创建定时任务",
|
46
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCronJob\n<公共请求参数>\n\n{\n \"ProjectId\": \"xx\",\n \"ScenarioId\": \"xx\",\n \"ScenarioName\": \"
|
47
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"xx\",\n \"CronJobId\": \"cron-xx\"\n }\n}",
|
46
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCronJob\n<公共请求参数>\n\n{\n \"ProjectId\": \"project-xx\",\n \"ScenarioId\": \"scenario-xx\",\n \"ScenarioName\": \"scenario name\",\n \"Name\": \"cron name\",\n \"CronExpression\": \"*/1 * * * *\",\n \"FrequencyType\": 1,\n \"EndTime\": \"2020-09-22T00:00:00+00:00\",\n \"NoticeId\": \"notice-xx\",\n \"JobOwner\": \"tom\"\n}",
|
47
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xx\",\n \"CronJobId\": \"cron-xx\"\n }\n}",
|
48
48
|
"title": "创建定时任务"
|
49
49
|
}
|
50
50
|
],
|
@@ -131,24 +131,24 @@
|
|
131
131
|
"DeleteScenarios": [
|
132
132
|
{
|
133
133
|
"document": "",
|
134
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteScenarios\n<公共请求参数>\n\n{\n \"ProjectId\": \"xx\",\n \"DeleteJobs\": true,\n \"ScenarioIds\": [\n \"scenario-xx\"\n ]\n}",
|
135
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
|
134
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteScenarios\n<公共请求参数>\n\n{\n \"ProjectId\": \"project-xx\",\n \"DeleteJobs\": true,\n \"ScenarioIds\": [\n \"scenario-xx\"\n ]\n}",
|
135
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xx\"\n }\n}",
|
136
136
|
"title": "删除场景"
|
137
137
|
}
|
138
138
|
],
|
139
139
|
"DescribeAlertChannels": [
|
140
140
|
{
|
141
141
|
"document": "",
|
142
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlertChannels\n<公共请求参数>\n\n{\n \"OrderBy\": \"
|
143
|
-
"output": "{\
|
142
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlertChannels\n<公共请求参数>\n\n{\n \"OrderBy\": \"asc\",\n \"Ascend\": true,\n \"Limit\": 1,\n \"Offset\": 1,\n \"ProjectIds\": [\n \"project-xx\"\n ]\n}",
|
143
|
+
"output": "{\n \"Response\": {\n \"AlertChannelSet\": [\n {\n \"Status\": 1,\n \"NoticeId\": \"notice-xx\",\n \"ProjectId\": \"projecct-xx\",\n \"UpdatedAt\": \"2022-09-09 13:11:12\",\n \"AMPConsumerId\": \"consumer-xx\",\n \"CreatedAt\": \"2022-09-09 13:11:12\",\n \"AppId\": 0,\n \"Uin\": \"abc\",\n \"SubAccountUin\": \"abc\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"req-xx\"\n }\n}",
|
144
144
|
"title": "查询告警通知接收组列表"
|
145
145
|
}
|
146
146
|
],
|
147
147
|
"DescribeAlertRecords": [
|
148
148
|
{
|
149
149
|
"document": "",
|
150
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlertRecords\n<公共请求参数>\n\n{\n \"OrderBy\": \"
|
151
|
-
"output": "{\n \"Response\": {\n \"AlertRecordSet\": [\n {\n \"CreatedAt\": \"2021-12-22T15:04:36+08:00\",\n \"UpdatedAt\": \"2021-12-22T15:04:36+08:00\",\n \"AppId\": 123,\n \"Uin\": \"123\",\n \"SubAccountUin\": \"123\",\n \"AlertRecordId\": \"alert-q5qn20zy\",\n \"ProjectId\": \"project-cphgtuvq\",\n \"ScenarioId\": \"scenario-lkbg8f20\",\n \"ScenarioName\": \"my-scenario\",\n \"JobId\": \"job-b8eklbx8\",\n \"JobSLADescription\": \"this is a test\",\n \"Status\": 1\n }\n ],\n \"RequestId\": \"xx\",\n \"Total\": 1\n }\n}",
|
150
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlertRecords\n<公共请求参数>\n\n{\n \"OrderBy\": \"asc\",\n \"JobIds\": [\n \"job-xx\"\n ],\n \"Ascend\": true,\n \"Limit\": 1,\n \"Offset\": 1,\n \"ProjectIds\": [\n \"project-xx\"\n ],\n \"ScenarioIds\": [\n \"scenario-xx\"\n ]\n}",
|
151
|
+
"output": "{\n \"Response\": {\n \"AlertRecordSet\": [\n {\n \"CreatedAt\": \"2021-12-22T15:04:36+08:00\",\n \"UpdatedAt\": \"2021-12-22T15:04:36+08:00\",\n \"AppId\": 123,\n \"Uin\": \"123\",\n \"SubAccountUin\": \"123\",\n \"AlertRecordId\": \"alert-q5qn20zy\",\n \"ProjectId\": \"project-cphgtuvq\",\n \"ScenarioId\": \"scenario-lkbg8f20\",\n \"ScenarioName\": \"my-scenario\",\n \"JobId\": \"job-b8eklbx8\",\n \"JobSLAId\": \"sla-954oc2vs\",\n \"JobSLADescription\": \"this is a test\",\n \"Status\": {\n \"AbortJob\": 1,\n \"SendNotice\": 1\n },\n \"Target\": \"abc\"\n }\n ],\n \"RequestId\": \"req-xx\",\n \"Total\": 1\n }\n}",
|
152
152
|
"title": "查询告警历史"
|
153
153
|
}
|
154
154
|
],
|
@@ -195,16 +195,16 @@
|
|
195
195
|
"DescribeFiles": [
|
196
196
|
{
|
197
197
|
"document": "",
|
198
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFiles\n<公共请求参数>\n\n{\n \"ProjectIds\": [\n \"xx\"\n ],\n \"Offset\": 0,\n \"FileIds\": [\n \"xx\"\n ],\n \"Limit\": 0,\n \"FileName\": \"
|
199
|
-
"output": "{\n \"Response\": {\n \"
|
198
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFiles\n<公共请求参数>\n\n{\n \"ProjectIds\": [\n \"project-xx\"\n ],\n \"Offset\": 0,\n \"FileIds\": [\n \"file-xx\"\n ],\n \"Limit\": 0,\n \"FileName\": \"file name\",\n \"Kind\": 1\n}",
|
199
|
+
"output": "{\n \"Response\": {\n \"FileSet\": [\n {\n \"AppId\": 1258344690,\n \"Uin\": \"438167612\",\n \"SubAccountUin\": \"100019497941\",\n \"CreatedAt\": \"2023-04-11T15:20:18+08:00\",\n \"UpdatedAt\": \"2023-04-11T15:20:18+08:00\",\n \"FileId\": \"file-218d0901\",\n \"ProjectId\": \"project-r92xzqe3\",\n \"Kind\": 1,\n \"Name\": \"demo.csv\",\n \"Size\": 18,\n \"Type\": \"CSV\",\n \"Status\": 2,\n \"LineCount\": 3,\n \"HeadLines\": [\n \"msg\\r\",\n \"world\\r\",\n \"pts\"\n ],\n \"TailLines\": [],\n \"HeaderInFile\": true,\n \"HeaderColumns\": [\n \"msg\"\n ],\n \"FileInfos\": null,\n \"ScenarioSet\": null,\n \"AppID\": 0\n }\n ],\n \"RequestId\": \"7baba29e-5545-44e8-b39e-9be261d6369a\",\n \"Total\": 36\n }\n}",
|
200
200
|
"title": "DescribeFiles"
|
201
201
|
}
|
202
202
|
],
|
203
203
|
"DescribeJobs": [
|
204
204
|
{
|
205
205
|
"document": "",
|
206
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeJobs\n<公共请求参数>\n\n{\n \"ProjectIds\": [\n \"xx\"\n ],\n \"OrderBy\": \"
|
207
|
-
"output": "{\n \"Response\": {\n \"JobSet\": [\n {\n \"ErrorRate\": 0,\n \"RequestTotal\":
|
206
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeJobs\n<公共请求参数>\n\n{\n \"ProjectIds\": [\n \"project-xx\"\n ],\n \"OrderBy\": \"asc\",\n \"JobIds\": [\n \"job-xx\"\n ],\n \"Ascend\": true,\n \"Limit\": 0,\n \"StartTime\": \"2020-09-22T00:00:00+00:00\",\n \"Offset\": 0,\n \"EndTime\": \"2020-09-22T00:00:00+00:00\",\n \"ScenarioIds\": [\n \"scenario-xx\"\n ]\n}",
|
207
|
+
"output": "{\n \"Response\": {\n \"JobSet\": [\n {\n \"ErrorRate\": 0,\n \"RequestTotal\": 78,\n \"RequestsPerSecond\": 3.6055887,\n \"ResponseTimeAverage\": 0.041749522,\n \"ResponseTimeP99\": 0.0988,\n \"ResponseTimeP95\": 0.094,\n \"ResponseTimeP90\": 0.088,\n \"ResponseTimeMax\": 0.08245612,\n \"ResponseTimeMin\": 0.004263497,\n \"NetworkReceiveRate\": 1842.4558,\n \"NetworkSendRate\": 773.39874,\n \"JobId\": \"job-g5zcpcwi\",\n \"ProjectId\": \"project-492xxqe4\",\n \"ProjectName\": \"测试\",\n \"ScenarioId\": \"scenario-ouz3x17a\",\n \"ScenarioName\": \"pts-js(2024-08-07 11:40:53)\",\n \"CronId\": \"\",\n \"Type\": \"pts-js\",\n \"Load\": {\n \"LoadSpec\": {\n \"Concurrency\": {\n \"Stages\": [\n {\n \"DurationSeconds\": 120,\n \"TargetVirtualUsers\": 2\n },\n {\n \"DurationSeconds\": 120,\n \"TargetVirtualUsers\": 4\n },\n {\n \"DurationSeconds\": 120,\n \"TargetVirtualUsers\": 5\n },\n {\n \"DurationSeconds\": 240,\n \"TargetVirtualUsers\": 5\n }\n ],\n \"Resources\": 1,\n \"IterationCount\": 0,\n \"MaxRequestsPerSecond\": 40,\n \"GracefulStopSeconds\": 3\n },\n \"RequestsPerSecond\": null,\n \"ScriptOrigin\": null\n },\n \"VpcLoadDistribution\": null,\n \"GeoRegionsLoadDistribution\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1,\n \"Percentage\": 100\n }\n ]\n },\n \"TestScripts\": null,\n \"Datasets\": null,\n \"Protocols\": [],\n \"RequestFiles\": [],\n \"Plugins\": [],\n \"StartTime\": \"2024-08-08T14:31:50+08:00\",\n \"EndTime\": \"2024-08-08T14:32:12+08:00\",\n \"Note\": \"\",\n \"JobOwner\": \"teset\",\n \"AbortReason\": 1,\n \"Status\": 16,\n \"Message\": \"用户中断\",\n \"DomainNameConfig\": {\n \"HostAliases\": null,\n \"DNSConfig\": null\n },\n \"Debug\": false,\n \"NotificationHooks\": null,\n \"Duration\": 600,\n \"MaxVirtualUserCount\": 5,\n \"MaxRequestsPerSecond\": 40,\n \"LoadSourceInfos\": null,\n \"CreatedAt\": \"2024-08-08T14:31:44+08:00\",\n \"Configs\": null,\n \"Extensions\": null,\n \"Scripts\": null,\n \"LoadSources\": null\n }\n ],\n \"RequestId\": \"ae27925c-eb40-47d3-8643-c8c204ab77be\",\n \"Total\": 1\n }\n}",
|
208
208
|
"title": "查询任务列表"
|
209
209
|
}
|
210
210
|
],
|
@@ -339,8 +339,8 @@
|
|
339
339
|
"UpdateCronJob": [
|
340
340
|
{
|
341
341
|
"document": "更新定时任务",
|
342
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCronJob\n<公共请求参数>\n\n{\n \"ProjectId\": \"xx\",\n \"CronJobId\": \"xx\",\n \"CronExpression\": \"*/1 * * * *\",\n \"FrequencyType\": 1,\n \"EndTime\": \"2020-09-22T00:00:00+00:00\",\n \"NoticeId\": \"xx\",\n \"Name\": \"
|
343
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
|
342
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCronJob\n<公共请求参数>\n\n{\n \"ProjectId\": \"project-xx\",\n \"CronJobId\": \"cron-xx\",\n \"CronExpression\": \"*/1 * * * *\",\n \"FrequencyType\": 1,\n \"EndTime\": \"2020-09-22T00:00:00+00:00\",\n \"NoticeId\": \"notice-xx\",\n \"Name\": \"cron name\",\n \"ScenarioId\": \"scenario-xx\",\n \"ScenarioName\": \"scenario name\",\n \"Note\": \"notes\",\n \"JobOwner\": \"tom\"\n}",
|
343
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xx\"\n }\n}",
|
344
344
|
"title": "更新定时任务"
|
345
345
|
}
|
346
346
|
],
|