tccli 3.0.1171.1__py2.py3-none-any.whl → 3.0.1172.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/billing/v20180709/api.json +125 -5
- tccli/services/es/v20180416/api.json +89 -2
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +101 -0
- tccli/services/ess/v20201111/examples.json +8 -0
- tccli/services/essbasic/essbasic_client.py +67 -14
- tccli/services/essbasic/v20210526/api.json +92 -0
- tccli/services/essbasic/v20210526/examples.json +8 -0
- tccli/services/faceid/v20180301/api.json +2 -2
- tccli/services/mongodb/v20190725/api.json +57 -57
- tccli/services/mongodb/v20190725/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +46 -46
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/organization/organization_client.py +2837 -293
- tccli/services/organization/v20210331/api.json +7182 -1735
- tccli/services/organization/v20210331/examples.json +384 -0
- tccli/services/tat/tat_client.py +53 -0
- tccli/services/tat/v20201028/api.json +149 -5
- tccli/services/tat/v20201028/examples.json +8 -0
- tccli/services/trocket/v20230308/api.json +65 -12
- {tccli-3.0.1171.1.dist-info → tccli-3.0.1172.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1171.1.dist-info → tccli-3.0.1172.1.dist-info}/RECORD +26 -26
- {tccli-3.0.1171.1.dist-info → tccli-3.0.1172.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1171.1.dist-info → tccli-3.0.1172.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1171.1.dist-info → tccli-3.0.1172.1.dist-info}/license_files/LICENSE +0 -0
@@ -8,6 +8,14 @@
|
|
8
8
|
"title": "接受加入共享单元邀请"
|
9
9
|
}
|
10
10
|
],
|
11
|
+
"AddExternalSAMLIdPCertificate": [
|
12
|
+
{
|
13
|
+
"document": "添加SAML签名证书",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddExternalSAMLIdPCertificate\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-dsj3ieme\",\n \"X509Certificate\": \"nMIIBtjCCAVugAwIBAgITBmyf1XSXNmY*****\"\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"CertificateId\": \"idp-c-2jd8923je29****\",\n \"RequestId\": \"2ccd7ed1-24b4-4882-8f4a-5580b430bce7\"\n }\n}",
|
16
|
+
"title": "添加SAML签名证书"
|
17
|
+
}
|
18
|
+
],
|
11
19
|
"AddOrganizationMemberEmail": [
|
12
20
|
{
|
13
21
|
"document": "",
|
@@ -24,6 +32,14 @@
|
|
24
32
|
"title": "添加企业组织节点"
|
25
33
|
}
|
26
34
|
],
|
35
|
+
"AddPermissionPolicyToRoleConfiguration": [
|
36
|
+
{
|
37
|
+
"document": "为权限配置添加策略",
|
38
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddPermissionPolicyToRoleConfiguration\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-29wm2iwn\",\n \"RoleConfigurationId\": \"rc-aiwmsiw\",\n \"RolePolicyType\": \"System\",\n \"RolePolicyNames\": [\n \"TestPolicy\"\n ],\n \"CustomPolicyDocument\": \"\"\n}",
|
39
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
40
|
+
"title": "为权限配置添加策略"
|
41
|
+
}
|
42
|
+
],
|
27
43
|
"AddShareUnit": [
|
28
44
|
{
|
29
45
|
"document": "",
|
@@ -48,6 +64,14 @@
|
|
48
64
|
"title": "添加共享单元资源"
|
49
65
|
}
|
50
66
|
],
|
67
|
+
"AddUserToGroup": [
|
68
|
+
{
|
69
|
+
"document": "为用户组添加用户",
|
70
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddUserToGroup\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-d8dh38bd\",\n \"GroupId\": \"g-dsuen8n\",\n \"UserId\": \"u-s3ndin23\"\n}",
|
71
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
72
|
+
"title": "为用户组添加用户"
|
73
|
+
}
|
74
|
+
],
|
51
75
|
"AttachPolicy": [
|
52
76
|
{
|
53
77
|
"document": "绑定策略",
|
@@ -80,6 +104,22 @@
|
|
80
104
|
"title": "成员账号删除检查"
|
81
105
|
}
|
82
106
|
],
|
107
|
+
"ClearExternalSAMLIdentityProvider": [
|
108
|
+
{
|
109
|
+
"document": "清空SAML身份提供商配置信息",
|
110
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ClearExternalSAMLIdentityProvider\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-du3jd83***\"\n}",
|
111
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2ccd7ed1-24b4-4882-8f4a-5580b430bce7\"\n }\n}",
|
112
|
+
"title": "清空SAML身份提供商配置信息"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"CreateGroup": [
|
116
|
+
{
|
117
|
+
"document": "创建用户组",
|
118
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGroup\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-7cbs6s6gs***\",\n \"GroupName\": \"testGroup\",\n \"Description\": \"this is group\"\n}",
|
119
|
+
"output": "{\n \"Response\": {\n \"GroupInfo\": {\n \"GroupName\": \"testGroup\",\n \"Description\": \"this is group\",\n \"CreateTime\": \"2024-01-01 12:12:12\",\n \"GroupType\": \"Manual\",\n \"UpdateTime\": \"2024-01-01 12:12:12\",\n \"GroupId\": \"g-8sh7baix****\",\n \"MemberCount\": 0\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d35d4545\"\n }\n}",
|
120
|
+
"title": "创建用户组"
|
121
|
+
}
|
122
|
+
],
|
83
123
|
"CreateOrgServiceAssign": [
|
84
124
|
{
|
85
125
|
"document": "",
|
@@ -144,6 +184,38 @@
|
|
144
184
|
"title": "创建策略"
|
145
185
|
}
|
146
186
|
],
|
187
|
+
"CreateRoleAssignment": [
|
188
|
+
{
|
189
|
+
"document": " 在成员账号上授权",
|
190
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRoleAssignment\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-djw83n***\",\n \"RoleAssignmentInfo\": [\n {\n \"RoleConfigurationId\": \"rc-sjsiw2***\",\n \"TargetType\": \"MemberUin\",\n \"TargetUin\": 1000023222,\n \"PrincipalType\": \"User\",\n \"PrincipalId\": \"u-0829jd8d***\"\n }\n ]\n}",
|
191
|
+
"output": "{\n \"Response\": {\n \"Tasks\": [\n {\n \"TaskId\": \"t-sowmiwm\",\n \"RoleConfigurationId\": \"r-sjsosmsss\",\n \"RoleConfigurationName\": \"test\",\n \"TargetUin\": 10000323432,\n \"TargetType\": \"MemberUin\",\n \"PrincipalId\": \"u-djiem3o***\",\n \"PrincipalType\": \"User\",\n \"TaskType\": \"CreateRoleAssignment\",\n \"Status\": \"InProgress\"\n }\n ],\n \"RequestId\": \"10accfa5-15ed-41fa-9e09-7efffd8e9345\"\n }\n}",
|
192
|
+
"title": " 在成员账号上授权"
|
193
|
+
}
|
194
|
+
],
|
195
|
+
"CreateRoleConfiguration": [
|
196
|
+
{
|
197
|
+
"document": "创建权限配置",
|
198
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRoleConfiguration\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-33923n\",\n \"RoleConfigurationName\": \"test\",\n \"Description\": \"this is role configuration\",\n \"SessionDuration\": 900,\n \"RelayState\": \"https://console.cloud.tencent.com\"\n}",
|
199
|
+
"output": "{\n \"Response\": {\n \"RoleConfigurationInfo\": {\n \"RoleConfigurationId\": \"rc-s2ns92ns***\",\n \"RoleConfigurationName\": \"test\",\n \"Description\": \"this is role configuration\",\n \"SessionDuration\": 900,\n \"RelayState\": \"https://console.cloud.tencent.com\",\n \"CreateTime\": \"2019-01-01 12:12:12\",\n \"UpdateTime\": \"2019-01-01 12:12:12\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
200
|
+
"title": "创建权限配置"
|
201
|
+
}
|
202
|
+
],
|
203
|
+
"CreateUser": [
|
204
|
+
{
|
205
|
+
"document": "创建用户",
|
206
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUser\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-33w3je****\",\n \"UserName\": \"Alice\",\n \"FirstName\": \"Alice\",\n \"LastName\": \"Alice\",\n \"DisplayName\": \"Alice\",\n \"Description\": \"this is user\",\n \"Email\": \"Alice@example.com\",\n \"UserStatus\": \"Enabled\"\n}",
|
207
|
+
"output": "{\n \"Response\": {\n \"UserInfo\": {\n \"UserName\": \"Alice\",\n \"FirstName\": \"Alice\",\n \"LastName\": \"Alice\",\n \"DisplayName\": \"Alice\",\n \"Description\": \"this is user\",\n \"Email\": \"Alice@example.com\",\n \"UserStatus\": \"Enabled\",\n \"UserType\": \"Manual\",\n \"UserId\": \"u-2342ds2s\",\n \"CreateTime\": \"2024-02-02 12:12:12\",\n \"UpdateTime\": \"2024-02-02 12:12:12\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d35d4545\"\n }\n}",
|
208
|
+
"title": "创建用户"
|
209
|
+
}
|
210
|
+
],
|
211
|
+
"CreateUserSyncProvisioning": [
|
212
|
+
{
|
213
|
+
"document": "创建子用户同步任务",
|
214
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUserSyncProvisioning\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-di3nd8e***\",\n \"UserSyncProvisionings\": [\n {\n \"DuplicationStrategy\": \"KeepBoth\",\n \"DeletionStrategy\": \"Delete\",\n \"Description\": \"this is cam user sync provisioning\",\n \"PrincipalId\": \"u-sienmcien\",\n \"PrincipalType\": \"User\",\n \"TargetType\": \"MemberUin\",\n \"TargetUin\": 1000234382342\n }\n ]\n}",
|
215
|
+
"output": "{\n \"Response\": {\n \"Tasks\": [\n {\n \"TaskId\": \"t-duedin****\",\n \"TargetUin\": 1000289211,\n \"TargetType\": \"MemberUin\",\n \"TaskType\": \"StartProvisioning\",\n \"TaskStatus\": \"InProgress\",\n \"UserProvisioningId\": \"upe-d8n3d9***\",\n \"PrincipalId\": \"u-dend83***\",\n \"PrincipalType\": \"User\",\n \"PrincipalName\": \"test\",\n \"DuplicationStrategy\": \"KeepBoth\",\n \"DeletionStrategy\": \"Delete\"\n }\n ],\n \"RequestId\": \"e297543a-80de-4039-83c8-34545s45\"\n }\n}",
|
216
|
+
"title": "创建子用户同步任务"
|
217
|
+
}
|
218
|
+
],
|
147
219
|
"DeleteAccount": [
|
148
220
|
{
|
149
221
|
"document": "删除成员账号",
|
@@ -152,6 +224,14 @@
|
|
152
224
|
"title": "删除成员账号"
|
153
225
|
}
|
154
226
|
],
|
227
|
+
"DeleteGroup": [
|
228
|
+
{
|
229
|
+
"document": "删除用户组",
|
230
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteGroup\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-d8d7djd***\",\n \"GroupId\": \"g-sudnd7d88\"\n}",
|
231
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
232
|
+
"title": "删除用户组"
|
233
|
+
}
|
234
|
+
],
|
155
235
|
"DeleteOrgServiceAssign": [
|
156
236
|
{
|
157
237
|
"document": "",
|
@@ -216,6 +296,22 @@
|
|
216
296
|
"title": "删除策略"
|
217
297
|
}
|
218
298
|
],
|
299
|
+
"DeleteRoleAssignment": [
|
300
|
+
{
|
301
|
+
"document": "移除成员账号上的授权",
|
302
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRoleAssignment\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-2ms923mw\",\n \"RoleConfigurationId\": \"rc-smw9em32\",\n \"TargetType\": \"MemberUin\",\n \"TargetUin\": 10000332,\n \"PrincipalType\": \"User\",\n \"PrincipalId\": \"u-siwnwiene\",\n \"DeprovisionStrategy\": \"DeprovisionForLastRoleAssignmentOnAccount\"\n}",
|
303
|
+
"output": "{\n \"Response\": {\n \"Task\": {\n \"TaskId\": \"t-0md93jfd3\",\n \"RoleConfigurationId\": \"rc-dsk3323\",\n \"RoleConfigurationName\": \"test\",\n \"TargetUin\": 100032333,\n \"TargetType\": \"MemberUin\",\n \"PrincipalId\": \"u-siwnwiene\",\n \"PrincipalType\": \"User\",\n \"TaskType\": \"DeleteRolesAssignment\",\n \"Status\": \"InProgress\"\n },\n \"RequestId\": \"abc\"\n }\n}",
|
304
|
+
"title": "移除成员账号上的授权"
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"DeleteRoleConfiguration": [
|
308
|
+
{
|
309
|
+
"document": "删除权限配置信息",
|
310
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRoleConfiguration\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-2jsoi3ms\",\n \"RoleConfigurationId\": \"rc-ais2ismwo2\"\n}",
|
311
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
312
|
+
"title": "删除权限配置信息"
|
313
|
+
}
|
314
|
+
],
|
219
315
|
"DeleteShareUnit": [
|
220
316
|
{
|
221
317
|
"document": "",
|
@@ -240,6 +336,22 @@
|
|
240
336
|
"title": "删除共享单元资源"
|
241
337
|
}
|
242
338
|
],
|
339
|
+
"DeleteUser": [
|
340
|
+
{
|
341
|
+
"document": "删除用户",
|
342
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteUser\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-33mdo34md\",\n \"UserId\": \"u-2sks3m2\"\n}",
|
343
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e297543a-80de-4039-83c8-34545s45\"\n }\n}",
|
344
|
+
"title": "删除用户"
|
345
|
+
}
|
346
|
+
],
|
347
|
+
"DeleteUserSyncProvisioning": [
|
348
|
+
{
|
349
|
+
"document": "删除子用户同步任务",
|
350
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteUserSyncProvisioning\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-dssmowmsd\",\n \"UserProvisioningId\": \"up-sxins8snds\"\n}",
|
351
|
+
"output": "{\n \"Response\": {\n \"Tasks\": {\n \"TaskId\": \"t-duedin****\",\n \"TargetUin\": 1000289211,\n \"TargetType\": \"MemberUin\",\n \"TaskType\": \"DeleteProvisioning\",\n \"TaskStatus\": \"InProgress\",\n \"UserProvisioningId\": \"upe-d8n3d9***\",\n \"PrincipalId\": \"u-dend83***\",\n \"PrincipalType\": \"User\",\n \"PrincipalName\": \"test\",\n \"DuplicationStrategy\": \"KeepBoth\",\n \"DeletionStrategy\": \"Delete\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
352
|
+
"title": "删除子用户同步任务"
|
353
|
+
}
|
354
|
+
],
|
243
355
|
"DescribeEffectivePolicy": [
|
244
356
|
{
|
245
357
|
"document": "查询目标关联的有效策略",
|
@@ -248,6 +360,14 @@
|
|
248
360
|
"title": "查询目标关联的有效策略"
|
249
361
|
}
|
250
362
|
],
|
363
|
+
"DescribeIdentityCenter": [
|
364
|
+
{
|
365
|
+
"document": "获取用户cam身份中心服务信息",
|
366
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIdentityCenter\n<公共请求参数>\n\n{}",
|
367
|
+
"output": "{\n \"Response\": {\n \"CreateTime\": \"2024-05-30 10:50:11\",\n \"RequestId\": \"da9a32a5-f6d5-4ef5-be20-0ee16b63bb6d\",\n \"ScimSyncStatus\": \"Disabled\",\n \"ServiceStatus\": \"Enabled\",\n \"UpdateTime\": \"2024-06-25 10:08:21\",\n \"ZoneId\": \"z-vft38p2hq8tq\",\n \"ZoneName\": \"testwu\"\n }\n}",
|
368
|
+
"title": "获取用户cam身份中心服务信息"
|
369
|
+
}
|
370
|
+
],
|
251
371
|
"DescribeOrganization": [
|
252
372
|
{
|
253
373
|
"document": "",
|
@@ -400,6 +520,14 @@
|
|
400
520
|
"title": "禁用策略类型"
|
401
521
|
}
|
402
522
|
],
|
523
|
+
"DismantleRoleConfiguration": [
|
524
|
+
{
|
525
|
+
"document": "解除权限配置在成员账号上的部署",
|
526
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DismantleRoleConfiguration\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-disanisa\",\n \"RoleConfigurationId\": \"rc-daosmqa\",\n \"TargetType\": \"Member\",\n \"TargetUin\": 1000023292\n}",
|
527
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d95c7cc0-195d-4818-aa3a-e7dc73eafe37\",\n \"Task\": {\n \"RoleConfigurationId\": \"rc-4plmus8fdfsb\",\n \"RoleConfigurationName\": \"testConfiguration1\",\n \"TargetType\": \"MemberUin\",\n \"TargetUin\": 700000145543,\n \"TaskId\": \"t-2xdmzwphpsbd\",\n \"TaskStatus\": \"InProgress\",\n \"TaskType\": \"CreateRoleAssignment\"\n }\n }\n}",
|
528
|
+
"title": "解除权限配置在成员账号上的部署"
|
529
|
+
}
|
530
|
+
],
|
403
531
|
"EnablePolicyType": [
|
404
532
|
{
|
405
533
|
"document": "启用策略类型",
|
@@ -408,6 +536,110 @@
|
|
408
536
|
"title": "启用策略类型"
|
409
537
|
}
|
410
538
|
],
|
539
|
+
"GetExternalSAMLIdentityProvider": [
|
540
|
+
{
|
541
|
+
"document": "查询SAML身份提供商配置信息",
|
542
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetExternalSAMLIdentityProvider\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-dm239d****\"\n}",
|
543
|
+
"output": "{\n \"Response\": {\n \"SAMLIdentityProviderConfiguration\": {\n \"EntityId\": \"http://www.okta.com/2jd83ne9m*****\",\n \"SSOStatus\": \"Enabled\",\n \"EncodedMetadataDocument\": \"PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxFbnRpdHlEZXNjcmlwdG9yIHhtbG5zPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoydpbi5jb20vc2FtbC9tZXRhZGF0YS8xN2NkYjEyOC03N**********\",\n \"CertificateIds\": [\n \"idp-c-2jd8923je29****\"\n ],\n \"LoginUrl\": \"https://dev-xxxxxx.okta.com/app/dev-xxxxxx_cloudssodemo_1/2jd83ne9m****/sso/saml\",\n \"CreateTime\": \"2024-01-01 12:12:12\",\n \"UpdateTime\": \"2024-01-01 12:12:12\"\n },\n \"RequestId\": \"2ccd7ed1-24b4-4882-8f4a-5580b430bce7\"\n }\n}",
|
544
|
+
"title": "查询SAML身份提供商配置信息"
|
545
|
+
}
|
546
|
+
],
|
547
|
+
"GetGroup": [
|
548
|
+
{
|
549
|
+
"document": "查询用户组信息",
|
550
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetGroup\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-ws9sdj8****\",\n \"GroupId\": \"g-sushsia7s8\"\n}",
|
551
|
+
"output": "{\n \"Response\": {\n \"GroupInfo\": {\n \"GroupName\": \"testGroup\",\n \"Description\": \"this is group\",\n \"CreateTime\": \"2024-01-01 12:12:12\",\n \"GroupType\": \"Manual\",\n \"UpdateTime\": \"2024-01-01 12:12:12\",\n \"GroupId\": \"g-sushsia7s8\",\n \"MemberCount\": 20\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
552
|
+
"title": "查询用户组信息"
|
553
|
+
}
|
554
|
+
],
|
555
|
+
"GetProvisioningTaskStatus": [
|
556
|
+
{
|
557
|
+
"document": "查询用户同步异步任务的状态",
|
558
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetProvisioningTaskStatus\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-djw98wnd***\",\n \"TaskId\": \"t-d8wjd8j3****\"\n}",
|
559
|
+
"output": "{\n \"Response\": {\n \"TaskStatus\": {\n \"Status\": \"Success\",\n \"TaskId\": \"z-dnsudniw****\",\n \"TaskType\": \"StartProvisioning\",\n \"FailureReason\": \"\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d35d4545\"\n }\n}",
|
560
|
+
"title": "查询用户同步异步任务的状态"
|
561
|
+
}
|
562
|
+
],
|
563
|
+
"GetRoleConfiguration": [
|
564
|
+
{
|
565
|
+
"document": "查询权限配置信息",
|
566
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetRoleConfiguration\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-2s2osm2***\",\n \"RoleConfigurationId\": \"rc-odmo23w\"\n}",
|
567
|
+
"output": "{\n \"Response\": {\n \"RoleConfigurationInfo\": {\n \"RoleConfigurationId\": \"rc-s2ns92ns***\",\n \"RoleConfigurationName\": \"test\",\n \"Description\": \"this is role configuration\",\n \"SessionDuration\": 900,\n \"RelayState\": \"https://console.cloud.tencent.com\",\n \"CreateTime\": \"2019-01-01 12:12:12\",\n \"UpdateTime\": \"2019-01-01 12:12:12\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
568
|
+
"title": "查询权限配置信息"
|
569
|
+
}
|
570
|
+
],
|
571
|
+
"GetTaskStatus": [
|
572
|
+
{
|
573
|
+
"document": "查询异步任务的状态",
|
574
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetTaskStatus\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-dsiwnw***\",\n \"TaskId\": \"t-duxj***\"\n}",
|
575
|
+
"output": "{\n \"Response\": {\n \"TaskStatus\": {\n \"Status\": \"Success\",\n \"TaskId\": \"z-dksodm***\",\n \"TaskType\": \"ProvisionRoleConfiguration\",\n \"FailureReason\": \"fielded\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
576
|
+
"title": "查询异步任务的状态"
|
577
|
+
}
|
578
|
+
],
|
579
|
+
"GetUser": [
|
580
|
+
{
|
581
|
+
"document": "查询用户信息",
|
582
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetUser\n<公共请求参数>\n\n{\n \"UserId\": \"u-4i293bf3indh\",\n \"ZoneId\": \"z-hfp2qqncf343\"\n}",
|
583
|
+
"output": "{\n \"Response\": {\n \"UserInfo\": {\n \"UserName\": \"test\",\n \"FirstName\": \"test\",\n \"LastName\": \"test\",\n \"DisplayName\": \"test\",\n \"Description\": \"this is user\",\n \"Email\": \"test@example.com\",\n \"UserStatus\": \"Enabled\",\n \"UserType\": \"Manual\",\n \"UserId\": \"u-2jsal3jdxk\",\n \"CreateTime\": \"2024-03-12 12:12:12\",\n \"UpdateTime\": \"2024-03-12 12:12:12\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-34545s45\"\n }\n}",
|
584
|
+
"title": "查询用户信息"
|
585
|
+
}
|
586
|
+
],
|
587
|
+
"GetUserSyncProvisioning": [
|
588
|
+
{
|
589
|
+
"document": "查询CAM用户同步",
|
590
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetUserSyncProvisioning\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-dimd3d***\",\n \"UserProvisioningId\": \"up-imei3rdiem\"\n}",
|
591
|
+
"output": "{\n \"Response\": {\n \"UserProvisioning\": {\n \"UserProvisioningId\": \"up-siwnei3nso\",\n \"Description\": \"this is cam user sync\",\n \"Status\": \"Enabled\",\n \"PrincipalId\": \"u-swnd8wn3\",\n \"PrincipalName\": \"test\",\n \"PrincipalType\": \"User\",\n \"TargetUin\": \"10000338332\",\n \"TargetName\": \"test\",\n \"TargetType\": \"MemberUin\",\n \"DuplicationStrategy\": \"KeepBoth\",\n \"DeletionStrategy\": \"Delete\",\n \"CreateTime\": \"2024-01-01 12:12:12\",\n \"UpdateTime\": \"2024-01-01 12:12:12\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
592
|
+
"title": "查询CAM用户同步"
|
593
|
+
}
|
594
|
+
],
|
595
|
+
"GetZoneSAMLServiceProviderInfo": [
|
596
|
+
{
|
597
|
+
"document": "查询SAML服务提供商配置信息",
|
598
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetZoneSAMLServiceProviderInfo\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-di3d9em***\"\n}",
|
599
|
+
"output": "{\n \"Response\": {\n \"SAMLServiceProvider\": {\n \"EntityId\": \"https://tencentcloudsso.com/saml/sp/z-doekeie****\",\n \"ZoneId\": \"z-doekeie****\",\n \"EncodedMetadataDocument\": \"JTNDJTNGeG1sJTIwdmVyc2lvbiUzRCUyMjEuMCUyMiUyMGVuY29kaW5nJTNEJTIy***\",\n \"AcsUrl\": \"https://tencentcloudsso.com/saml/acs/d9wjd-d93je9-2me****\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
600
|
+
"title": "查询SAML服务提供商配置信息"
|
601
|
+
}
|
602
|
+
],
|
603
|
+
"GetZoneStatistics": [
|
604
|
+
{
|
605
|
+
"document": "查询空间的统计信息",
|
606
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetZoneStatistics\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-siwns82n****\"\n}",
|
607
|
+
"output": "{\n \"Response\": {\n \"ZoneStatistics\": {\n \"UserQuota\": 1000,\n \"GroupQuota\": 500,\n \"RoleConfigurationQuota\": 1000,\n \"SystemPolicyPerRoleConfigurationQuota\": 20,\n \"UserCount\": 10,\n \"GroupCount\": 2,\n \"RoleConfigurationCount\": 3,\n \"UserProvisioningCount\": 0,\n \"RoleConfigurationSyncCount\": 0\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
608
|
+
"title": "查询空间的统计信息"
|
609
|
+
}
|
610
|
+
],
|
611
|
+
"ListExternalSAMLIdPCertificates": [
|
612
|
+
{
|
613
|
+
"document": "查询SAML签名证书列表",
|
614
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListExternalSAMLIdPCertificates\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-xj239dj23***\"\n}",
|
615
|
+
"output": "{\n \"Response\": {\n \"TotalCounts\": 20,\n \"SAMLIdPCertificates\": [\n {\n \"SerialNumber\": \"1347934239****\",\n \"Issuer\": \"5.6.54.22.1.9.1=#dj39dj39e3w9rm3e2e3****,CN=dev-xxxxxx,OU=SSOProvider,O=Okta\",\n \"Version\": \"1\",\n \"CertificateId\": \"idp-c-2jd8923je29****\",\n \"PublicKey\": \"nMIIBtjCCAVugAwIBAgITBmyf1XSXNmY****\",\n \"SignatureAlgorithm\": \"SHA256withRSA\",\n \"NotAfter\": \"2030-06-23 07:04:37\",\n \"NotBefore\": \"2010-06-23 07:04:37\",\n \"Subject\": \"5.6.54.22.1.9.1=#dj39dj39e3w9rm3e2e3****,CN=dev-xxxxxx,OU=SSOProvider,O=Okta\",\n \"X509Certificate\": \"nMIIBtjCCAVugAwIBAgITBmyf1XSXNmY****\"\n }\n ],\n \"RequestId\": \"2ccd7ed1-24b4-4882-8f4a-5580b430bce7\"\n }\n}",
|
616
|
+
"title": "查询SAML签名证书列表"
|
617
|
+
}
|
618
|
+
],
|
619
|
+
"ListGroupMembers": [
|
620
|
+
{
|
621
|
+
"document": "查询用户组中的用户列表",
|
622
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListGroupMembers\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-ds932j9m3\",\n \"GroupId\": \"g29sn2389e\",\n \"NextToken\": \"\",\n \"MaxResults\": 10\n}",
|
623
|
+
"output": "{\n \"Response\": {\n \"NextToken\": \"OTM0YzE4MzY2ZjdhMWM0MYZDhnYaxsiYTLI=\",\n \"TotalCounts\": 20,\n \"MaxResults\": 10,\n \"IsTruncated\": true,\n \"GroupMembers\": [\n {\n \"UserName\": \"test\",\n \"DisplayName\": \"test\",\n \"Description\": \"this is test user\",\n \"Email\": \"123456@qq.com\",\n \"UserStatus\": \"Enabled\",\n \"UserType\": \"Manual\",\n \"UserId\": \"u-d032med3\",\n \"JoinTime\": \"2024-01-01 12:12:12\"\n }\n ],\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
624
|
+
"title": "查询用户组中的用户列表"
|
625
|
+
}
|
626
|
+
],
|
627
|
+
"ListGroups": [
|
628
|
+
{
|
629
|
+
"document": "查询用户组列表",
|
630
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListGroups\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-32s7dhd8s***\",\n \"MaxResults\": \"20\",\n \"GroupType\": \"Manual\"\n}",
|
631
|
+
"output": "{\n \"Response\": {\n \"NextToken\": \"OTM0YzE4MzY2ZjdhMWM0MYZD******\",\n \"Groups\": [\n {\n \"GroupName\": \"testGroup\",\n \"Description\": \"thsi is group\",\n \"CreateTime\": \"2024-01-01 12:12:12\",\n \"GroupType\": \"Manual\",\n \"UpdateTime\": \"2024-01-01 12:12:12\",\n \"GroupId\": \"g-q8shs8h****\",\n \"MemberCount\": 20\n }\n ],\n \"MaxResults\": 10,\n \"TotalCounts\": 30,\n \"IsTruncated\": true,\n \"RequestId\": \"e297543a-80de-4039-83c8-9d35d4545\"\n }\n}",
|
632
|
+
"title": "查询用户组列表"
|
633
|
+
}
|
634
|
+
],
|
635
|
+
"ListJoinedGroupsForUser": [
|
636
|
+
{
|
637
|
+
"document": "查询用户加入的用户组",
|
638
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListJoinedGroupsForUser\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-2o3meo3\",\n \"UserId\": \"u-3od3e3d\",\n \"NextToken\": \"\",\n \"MaxResults\": 10\n}",
|
639
|
+
"output": "{\n \"Response\": {\n \"NextToken\": \"OTM0YzE4MzY2ZjdhMWM0MYZDhnYaxsiYTLI=\",\n \"TotalCounts\": 20,\n \"MaxResults\": 10,\n \"IsTruncated\": true,\n \"JoinedGroups\": [\n {\n \"GroupName\": \"testGroup\",\n \"Description\": \"this is testGroup\",\n \"GroupId\": \"g-s23nw3e\",\n \"GroupType\": \"Manual\",\n \"JoinTime\": \"2021-01-01 12:12:12\"\n }\n ],\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
640
|
+
"title": "查询用户加入的用户组"
|
641
|
+
}
|
642
|
+
],
|
411
643
|
"ListNonCompliantResource": [
|
412
644
|
{
|
413
645
|
"document": "获取成员标签检测不合规资源列表",
|
@@ -440,6 +672,14 @@
|
|
440
672
|
"title": "获取集团服务设置列表"
|
441
673
|
}
|
442
674
|
],
|
675
|
+
"ListPermissionPoliciesInRoleConfiguration": [
|
676
|
+
{
|
677
|
+
"document": "获取权限配置中的策略列表",
|
678
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListPermissionPoliciesInRoleConfiguration\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-d83js823n\",\n \"RoleConfigurationId\": \"rc-s93jw3ns\",\n \"RolePolicyType\": \"System\"\n}",
|
679
|
+
"output": "{\n \"Response\": {\n \"TotalCounts\": 20,\n \"RolePolicies\": [\n {\n \"RolePolicyName\": \"adminPolciy\",\n \"RolePolicyType\": \"System\",\n \"RolePolicyDocument\": \"\",\n \"AddTime\": \"2020-01-01 12:12:12\"\n }\n ],\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
680
|
+
"title": "获取权限配置中的策略列表"
|
681
|
+
}
|
682
|
+
],
|
443
683
|
"ListPolicies": [
|
444
684
|
{
|
445
685
|
"document": "查看策略列表数据",
|
@@ -456,6 +696,30 @@
|
|
456
696
|
"title": "查询目标关联的策略列表"
|
457
697
|
}
|
458
698
|
],
|
699
|
+
"ListRoleAssignments": [
|
700
|
+
{
|
701
|
+
"document": "查询授权列表",
|
702
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListRoleAssignments\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-ssmdsowm**\",\n \"RoleConfigurationId\": \"rc2-as245usjsm\",\n \"MaxResults\": 30,\n \"NextToken\": \"\",\n \"TargetType\": \"MemeberUin\",\n \"TargetUin\": \"10000238922\",\n \"PrincipalType\": \"User\",\n \"PrincipalId\": \"u-ss342md**\"\n}",
|
703
|
+
"output": "{\n \"Response\": {\n \"NextToken\": \"abc\",\n \"TotalCounts\": 30,\n \"MaxResults\": 10,\n \"IsTruncated\": true,\n \"RoleAssignments\": [\n {\n \"RoleConfigurationId\": \"ec-swidn****\",\n \"RoleConfigurationName\": \"test\",\n \"TargetUin\": 100000322,\n \"TargetType\": \"MemberUin\",\n \"TargetName\": \"test\",\n \"PrincipalId\": \"u-ssiisn***\",\n \"PrincipalType\": \"User\",\n \"PrincipalName\": \"testConfig\",\n \"CreateTime\": \"2024-01-01 12:12:12\",\n \"UpdateTime\": \"2024-01-01 12:12:12\"\n }\n ],\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
704
|
+
"title": "查询授权列表"
|
705
|
+
}
|
706
|
+
],
|
707
|
+
"ListRoleConfigurationProvisionings": [
|
708
|
+
{
|
709
|
+
"document": " 查询权限配置部署列表",
|
710
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListRoleConfigurationProvisionings\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-d8wj\",\n \"RoleConfigurationId\": \"up-dnsisns***\",\n \"MaxResults\": 20,\n \"NextToken\": \"abc\",\n \"TargetType\": \"MemberUin\",\n \"TargetUin\": 1000329122,\n \"DeploymentStatus\": \"DeployedRequired\",\n \"Filter\": \"test\"\n}",
|
711
|
+
"output": "{\n \"Response\": {\n \"NextToken\": \"\",\n \"TotalCounts\": 30,\n \"MaxResults\": 10,\n \"IsTruncated\": true,\n \"RoleConfigurationProvisionings\": [\n {\n \"DeploymentStatus\": \"DeployedRequired\",\n \"RoleConfigurationId\": \"rc-sjwiwm2ww**\",\n \"RoleConfigurationName\": \"testConfiguration\",\n \"TargetUin\": 10003292021,\n \"TargetName\": \"test\",\n \"TargetType\": \"MemberUin\",\n \"CreateTime\": \"2024-01-01 12:12:12\",\n \"UpdateTime\": \"2024-01-01 12:12:12\"\n }\n ],\n \"RequestId\": \"2ccd7ed1-24b4-4882-8f4a-5580b430bce7\"\n }\n}",
|
712
|
+
"title": " 查询权限配置部署列表"
|
713
|
+
}
|
714
|
+
],
|
715
|
+
"ListRoleConfigurations": [
|
716
|
+
{
|
717
|
+
"document": "查询权限配置列表",
|
718
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListRoleConfiguration\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-s9h39sdn2\",\n \"NextToken\": \"sisndpmfisdnlk\",\n \"MaxResults\": 10,\n \"Filter\": \"RoleConfigurationName eqTestRoleConfiguration\"\n}",
|
719
|
+
"output": "{\n \"Response\": {\n \"TotalCounts\": 20,\n \"MaxResults\": 10,\n \"IsTruncated\": true,\n \"NextToken\": \"3si2ns92ns82bos\",\n \"RoleConfigurations\": [\n {\n \"RoleConfigurationId\": \"rc-s2ns92ns***\",\n \"RoleConfigurationName\": \"test\",\n \"Description\": \"this is role configuration\",\n \"SessionDuration\": 900,\n \"RelayState\": \"https://console.cloud.tencent.com\",\n \"CreateTime\": \"2019-01-01 12:12:12\",\n \"UpdateTime\": \"2019-01-01 12:12:12\"\n }\n ],\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
720
|
+
"title": "查询权限配置列表"
|
721
|
+
}
|
722
|
+
],
|
459
723
|
"ListTargetsForPolicy": [
|
460
724
|
{
|
461
725
|
"document": "查询某个指定策略关联的目标列表",
|
@@ -464,6 +728,30 @@
|
|
464
728
|
"title": "查询某个指定策略关联的目标列表"
|
465
729
|
}
|
466
730
|
],
|
731
|
+
"ListTasks": [
|
732
|
+
{
|
733
|
+
"document": "查询异步任务列表",
|
734
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListTasks\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-djwidnwidj\",\n \"PrincipalId\": \"u-xj8sncidnc\",\n \"NextToken\": \"xownw8db38dbe8fne==-\",\n \"MaxResults\": 1,\n \"PrincipalType\": \"User\",\n \"TargetUin\": 1000023423,\n \"TargetType\": \"Member\",\n \"RoleConfigurationId\": \"rc-xjw9dsmw\",\n \"Status\": \"InProgress\",\n \"TaskType\": \"CreateRoleAssignment\"\n}",
|
735
|
+
"output": "{\n \"Response\": {\n \"NextToken\": \"abc\",\n \"TotalCounts\": 0,\n \"MaxResults\": 0,\n \"IsTruncated\": true,\n \"Tasks\": [\n {\n \"TaskId\": \"t-xsinsxinsdk\",\n \"RoleConfigurationId\": \"rc-xmw9xjdsd\",\n \"RoleConfigurationName\": \"配置\",\n \"TargetUin\": 1000232234,\n \"TargetType\": \"User\",\n \"PrincipalId\": \"u-xm89dnsujs\",\n \"PrincipalType\": \"Member\",\n \"TaskType\": \"CreateRoleAssignment\",\n \"Status\": \"InProgress\",\n \"FailureReason\": \"test\"\n }\n ],\n \"RequestId\": \"e297543a-80de-4039-83c8-9d35d4545\"\n }\n}",
|
736
|
+
"title": "查询异步任务列表"
|
737
|
+
}
|
738
|
+
],
|
739
|
+
"ListUserSyncProvisionings": [
|
740
|
+
{
|
741
|
+
"document": "查询CAM用户同步列表",
|
742
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListUserSyncProvisionings\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-dsjsisnus\",\n \"PrincipalId\": \"u-sjs9smss\",\n \"NextToken\": \"\",\n \"MaxResults\": 10,\n \"PrincipalType\": \"User\",\n \"TargetUin\": 100003324902,\n \"TargetType\": \"MemberUin\",\n \"Filter\": \"test\"\n}",
|
743
|
+
"output": "{\n \"Response\": {\n \"NextToken\": \"OTM0YzE4MzY2ZjdhMWM0MYZDhnYaxsiYTLI=\",\n \"TotalCounts\": 30,\n \"MaxResults\": 10,\n \"IsTruncated\": true,\n \"UserProvisionings\": [\n {\n \"UserProvisioningId\": \"up-siwnei3nso\",\n \"Description\": \"this is cam user sync\",\n \"Status\": \"Enabled\",\n \"PrincipalId\": \"u-swnd8wn3\",\n \"PrincipalName\": \"test\",\n \"PrincipalType\": \"User\",\n \"TargetUin\": \"10000338332\",\n \"TargetName\": \"test\",\n \"DuplicationStrategy\": \"KeepBoth\",\n \"DeletionStrategy\": \"Delete\",\n \"CreateTime\": \"2024-01-01 12:12:12\",\n \"UpdateTime\": \"2024-01-01 12:12:12\",\n \"TargetType\": \"MemberUin\"\n }\n ],\n \"RequestId\": \"e297543a-80de-4039-83c8-9d35d4545\"\n }\n}",
|
744
|
+
"title": "查询CAM用户同步列表"
|
745
|
+
}
|
746
|
+
],
|
747
|
+
"ListUsers": [
|
748
|
+
{
|
749
|
+
"document": "查询用户列表",
|
750
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListUsers\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-2sw22w3\"\n}",
|
751
|
+
"output": "{\n \"Response\": {\n \"TotalCounts\": 50,\n \"MaxResults\": 20,\n \"Users\": [\n {\n \"UserName\": \"test\",\n \"FirstName\": \"test\",\n \"LastName\": \"test\",\n \"DisplayName\": \"test\",\n \"Description\": \"this is user\",\n \"Email\": \"test@example\",\n \"UserStatus\": \"Enabled\",\n \"UserType\": \"Manual\",\n \"UserId\": \"u-2s334e3***\",\n \"CreateTime\": \"2024-03-12 12:12:12\",\n \"UpdateTime\": \"2024-03-12 12:12:12\"\n }\n ],\n \"NextToken\": \"OTM0YzE4MzY2ZjdhMWM0MYZDhnYaxsiYTLI=\",\n \"IsTruncated\": true,\n \"RequestId\": \"e297543a-80de-4039-83c8-9d35d4545\"\n }\n}",
|
752
|
+
"title": "查询用户列表"
|
753
|
+
}
|
754
|
+
],
|
467
755
|
"MoveOrganizationNodeMembers": [
|
468
756
|
{
|
469
757
|
"document": "",
|
@@ -472,6 +760,22 @@
|
|
472
760
|
"title": "移动成员到指定企业组织节点"
|
473
761
|
}
|
474
762
|
],
|
763
|
+
"OpenIdentityCenter": [
|
764
|
+
{
|
765
|
+
"document": "开通CIC服务",
|
766
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OpenIdentityCenter\n<公共请求参数>\n\n{\n \"ZoneName\": \"testName\"\n}",
|
767
|
+
"output": "{\n \"Response\": {\n \"ZoneId\": \"z-dj3jk*****\",\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324f45\"\n }\n}",
|
768
|
+
"title": "开通CIC服务"
|
769
|
+
}
|
770
|
+
],
|
771
|
+
"ProvisionRoleConfiguration": [
|
772
|
+
{
|
773
|
+
"document": "将权限配置部署到成员账号上",
|
774
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ProvisionRoleConfiguration\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-disndw****\",\n \"RoleConfigurationId\": \"rc-sians9wn****\",\n \"TargetType\": \"MemberUin\",\n \"TargetUin\": 10000293120\n}",
|
775
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d95c7cc0-195d-4818-aa3a-e7dc73eafe37\",\n \"Task\": {\n \"RoleConfigurationId\": \"rc-4plmus8fdfsb\",\n \"RoleConfigurationName\": \"testConfiguration1\",\n \"TargetType\": \"MemberUin\",\n \"TargetUin\": 700000145543,\n \"TaskId\": \"t-2xdmzwphpsbd\",\n \"TaskStatus\": \"InProgress\",\n \"TaskType\": \"CreateRoleAssignment\"\n }\n }\n}",
|
776
|
+
"title": "将权限配置部署到成员账号上"
|
777
|
+
}
|
778
|
+
],
|
475
779
|
"QuitOrganization": [
|
476
780
|
{
|
477
781
|
"document": "",
|
@@ -488,6 +792,46 @@
|
|
488
792
|
"title": "拒绝加入共享单元邀请"
|
489
793
|
}
|
490
794
|
],
|
795
|
+
"RemoveExternalSAMLIdPCertificate": [
|
796
|
+
{
|
797
|
+
"document": "移除SAML签名证书",
|
798
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RemoveExternalSAMLIdPCertificate\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-2js923necd***\",\n \"CertificateId\": \"idp-c-2jd8923je29****\"\n}",
|
799
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2ccd7ed1-24b4-4882-8f4a-5580b430bce7\"\n }\n}",
|
800
|
+
"title": "移除SAML签名证书"
|
801
|
+
}
|
802
|
+
],
|
803
|
+
"RemovePermissionPolicyFromRoleConfiguration": [
|
804
|
+
{
|
805
|
+
"document": "为权限配置移除策略",
|
806
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RemovePermissionPolicyFromRoleConfiguration\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-djw9dn3i****\",\n \"RoleConfigurationId\": \"rc-swidddws***\",\n \"RolePolicyType\": \"System\",\n \"RolePolicyName\": \"test\"\n}",
|
807
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2ccd7ed1-24b4-4882-8f4a-5580b430bce7\"\n }\n}",
|
808
|
+
"title": "为权限配置移除策略"
|
809
|
+
}
|
810
|
+
],
|
811
|
+
"RemoveUserFromGroup": [
|
812
|
+
{
|
813
|
+
"document": "从用户组中移除用户",
|
814
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RemoveUserFromGroup\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-d83n8sn3\",\n \"GroupId\": \"g-du3n83nd\",\n \"UserId\": \"u-sd823ns82n\"\n}",
|
815
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
816
|
+
"title": "从用户组中移除用户"
|
817
|
+
}
|
818
|
+
],
|
819
|
+
"SetExternalSAMLIdentityProvider": [
|
820
|
+
{
|
821
|
+
"document": "配置SAML身份提供商信息",
|
822
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetExternalSAMLIdentityProvider\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-d3ideodm***\",\n \"EncodedMetadataDocument\": \"JTNDJTNGeG1sJTIwdmVyc2lvbiUzRCUyMjEuMCUyMiUyMGVuY29kaW5******\",\n \"SSOStatus\": \"Enabled\",\n \"EntityId\": \"http://www.okta.com/xd83nd83nd****\",\n \"LoginUrl\": \"https://dev-xxxxxx.okta.com/app/dev-xxxxxx_cloudssodemo_1/xd83nd83nd****/sso/saml\",\n \"X509Certificate\": \"MIIC8DCCAdigAwIBAgIQP9eomUYGeoND****\"\n}",
|
823
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2ccd7ed1-24b4-4882-8f4a-5580b430bce7\"\n }\n}",
|
824
|
+
"title": "配置SAML身份提供商信息"
|
825
|
+
}
|
826
|
+
],
|
827
|
+
"UpdateGroup": [
|
828
|
+
{
|
829
|
+
"document": "修改用户组信息",
|
830
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateGroup\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-s8shs8bd***\",\n \"GroupId\": \"g-s8dhdn3\",\n \"NewGroupName\": \"testGroup\",\n \"NewDescription\": \"this is group.\"\n}",
|
831
|
+
"output": "{\n \"Response\": {\n \"GroupInfo\": {\n \"GroupName\": \"testGroup\",\n \"Description\": \"this is group\",\n \"CreateTime\": \"2024-01-01 12:12:12\",\n \"GroupType\": \"Manual\",\n \"UpdateTime\": \"2024-01-01 12:12:12\",\n \"GroupId\": \"g-w8hd8n***\",\n \"MemberCount\": 20\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
832
|
+
"title": "修改用户组信息"
|
833
|
+
}
|
834
|
+
],
|
491
835
|
"UpdateOrganizationIdentity": [
|
492
836
|
{
|
493
837
|
"document": "",
|
@@ -528,6 +872,14 @@
|
|
528
872
|
"title": "编辑策略"
|
529
873
|
}
|
530
874
|
],
|
875
|
+
"UpdateRoleConfiguration": [
|
876
|
+
{
|
877
|
+
"document": "修改权限配置信息",
|
878
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateRoleConfiguration\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-22m23mo2\",\n \"RoleConfigurationId\": \"rc-ai3n9si2m\",\n \"NewDescription\": \"this is role configuration\",\n \"NewSessionDuration\": 900,\n \"NewRelayState\": \"https://console.cloud.tencent.com\"\n}",
|
879
|
+
"output": "{\n \"Response\": {\n \"RoleConfigurationInfo\": {\n \"RoleConfigurationId\": \"rc-s2ns92ns***\",\n \"RoleConfigurationName\": \"test\",\n \"Description\": \"this is role configuration\",\n \"SessionDuration\": 900,\n \"RelayState\": \"https://console.cloud.tencent.com\",\n \"CreateTime\": \"2019-01-01 12:12:12\",\n \"UpdateTime\": \"2019-01-01 12:12:12\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
880
|
+
"title": "修改权限配置信息"
|
881
|
+
}
|
882
|
+
],
|
531
883
|
"UpdateShareUnit": [
|
532
884
|
{
|
533
885
|
"document": "",
|
@@ -535,6 +887,38 @@
|
|
535
887
|
"output": "{\n \"Response\": {\n \"RequestId\": \"42a5622f-d1bc-4d7f-b08a-01adc8d9cec9\"\n }\n}",
|
536
888
|
"title": "更新共享单元"
|
537
889
|
}
|
890
|
+
],
|
891
|
+
"UpdateUser": [
|
892
|
+
{
|
893
|
+
"document": "修改用户信息",
|
894
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateUser\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-343nh23kn\",\n \"UserId\": \"u-3324sfdds\",\n \"NewFirstName\": \"test\",\n \"NewLastName\": \"test\",\n \"NewDisplayName\": \"test\",\n \"NewDescription\": \"this is user.\",\n \"NewEmail\": \"test@example.com\"\n}",
|
895
|
+
"output": "{\n \"Response\": {\n \"UserInfo\": {\n \"UserName\": \"test\",\n \"FirstName\": \"test\",\n \"LastName\": \"test\",\n \"DisplayName\": \"test\",\n \"Description\": \"this is user\",\n \"Email\": \"test@example.com\",\n \"UserStatus\": \"test\",\n \"UserType\": \"Manual\",\n \"UserId\": \"u-33sjadjsk\",\n \"CreateTime\": \"2024-01-01 12:12:12\",\n \"UpdateTime\": \"2024-01-01 12:12:12\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-34545s45\"\n }\n}",
|
896
|
+
"title": "修改用户信息"
|
897
|
+
}
|
898
|
+
],
|
899
|
+
"UpdateUserStatus": [
|
900
|
+
{
|
901
|
+
"document": "修改用户状态",
|
902
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateUserStatus\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-dwesfeas2\",\n \"UserId\": \"u-d3eedws\",\n \"NewUserStatus\": \"Disabled\"\n}",
|
903
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e297543a-80de-4039-83c8-34545s45\"\n }\n}",
|
904
|
+
"title": "修改用户状态"
|
905
|
+
}
|
906
|
+
],
|
907
|
+
"UpdateUserSyncProvisioning": [
|
908
|
+
{
|
909
|
+
"document": " 修改CAM用户同步",
|
910
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateUserSyncProvisioning\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-susn8xnsis\",\n \"UserProvisioningId\": \"up-xusjdjsss\",\n \"NewDescription\": \"this is cam user sync\",\n \"NewDuplicationStateful\": \"KeepBoth\",\n \"NewDeletionStrategy\": \"Delete\"\n}",
|
911
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e297543a-80de-4039-83c8-9d324545\"\n }\n}",
|
912
|
+
"title": " 修改CAM用户同步"
|
913
|
+
}
|
914
|
+
],
|
915
|
+
"UpdateZone": [
|
916
|
+
{
|
917
|
+
"document": "修改空间名",
|
918
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateZone\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-vft38p2hq8tq\",\n \"NewZoneName\": \"testzone\"\n}",
|
919
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"14effcdf-fbae-44fb-ab21-e2e0cc6edde6\"\n }\n}",
|
920
|
+
"title": "修改空间名"
|
921
|
+
}
|
538
922
|
]
|
539
923
|
},
|
540
924
|
"version": "1.0"
|
tccli/services/tat/tat_client.py
CHANGED
@@ -1265,6 +1265,58 @@ def doDisableRegisterCodes(args, parsed_globals):
|
|
1265
1265
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1266
1266
|
|
1267
1267
|
|
1268
|
+
def doDescribeScenes(args, parsed_globals):
|
1269
|
+
g_param = parse_global_arg(parsed_globals)
|
1270
|
+
|
1271
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1272
|
+
cred = credential.CVMRoleCredential()
|
1273
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1274
|
+
cred = credential.STSAssumeRoleCredential(
|
1275
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1276
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1277
|
+
)
|
1278
|
+
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):
|
1279
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1280
|
+
else:
|
1281
|
+
cred = credential.Credential(
|
1282
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1283
|
+
)
|
1284
|
+
http_profile = HttpProfile(
|
1285
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1286
|
+
reqMethod="POST",
|
1287
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1288
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1289
|
+
)
|
1290
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1291
|
+
if g_param[OptionsDefine.Language]:
|
1292
|
+
profile.language = g_param[OptionsDefine.Language]
|
1293
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1294
|
+
client = mod.TatClient(cred, g_param[OptionsDefine.Region], profile)
|
1295
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1296
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1297
|
+
model = models.DescribeScenesRequest()
|
1298
|
+
model.from_json_string(json.dumps(args))
|
1299
|
+
start_time = time.time()
|
1300
|
+
while True:
|
1301
|
+
rsp = client.DescribeScenes(model)
|
1302
|
+
result = rsp.to_json_string()
|
1303
|
+
try:
|
1304
|
+
json_obj = json.loads(result)
|
1305
|
+
except TypeError as e:
|
1306
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1307
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1308
|
+
break
|
1309
|
+
cur_time = time.time()
|
1310
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1311
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1312
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1313
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1314
|
+
else:
|
1315
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1316
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1317
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1318
|
+
|
1319
|
+
|
1268
1320
|
def doDescribeInvokerRecords(args, parsed_globals):
|
1269
1321
|
g_param = parse_global_arg(parsed_globals)
|
1270
1322
|
|
@@ -1508,6 +1560,7 @@ ACTION_MAP = {
|
|
1508
1560
|
"DescribeAutomationAgentStatus": doDescribeAutomationAgentStatus,
|
1509
1561
|
"DescribeQuotas": doDescribeQuotas,
|
1510
1562
|
"DisableRegisterCodes": doDisableRegisterCodes,
|
1563
|
+
"DescribeScenes": doDescribeScenes,
|
1511
1564
|
"DescribeInvokerRecords": doDescribeInvokerRecords,
|
1512
1565
|
"ModifyInvoker": doModifyInvoker,
|
1513
1566
|
"DescribeInvokers": doDescribeInvokers,
|