tccli 3.0.1168.1__py2.py3-none-any.whl → 3.0.1169.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1163,6 +1163,58 @@ def doDeleteAccount(args, parsed_globals):
1163
1163
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1164
1164
 
1165
1165
 
1166
+ def doListOrgServiceAssignMember(args, parsed_globals):
1167
+ g_param = parse_global_arg(parsed_globals)
1168
+
1169
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1170
+ cred = credential.CVMRoleCredential()
1171
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1172
+ cred = credential.STSAssumeRoleCredential(
1173
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1174
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1175
+ )
1176
+ 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):
1177
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1178
+ else:
1179
+ cred = credential.Credential(
1180
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1181
+ )
1182
+ http_profile = HttpProfile(
1183
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1184
+ reqMethod="POST",
1185
+ endpoint=g_param[OptionsDefine.Endpoint],
1186
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1187
+ )
1188
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1189
+ if g_param[OptionsDefine.Language]:
1190
+ profile.language = g_param[OptionsDefine.Language]
1191
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1192
+ client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
1193
+ client._sdkVersion += ("_CLI_" + __version__)
1194
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1195
+ model = models.ListOrgServiceAssignMemberRequest()
1196
+ model.from_json_string(json.dumps(args))
1197
+ start_time = time.time()
1198
+ while True:
1199
+ rsp = client.ListOrgServiceAssignMember(model)
1200
+ result = rsp.to_json_string()
1201
+ try:
1202
+ json_obj = json.loads(result)
1203
+ except TypeError as e:
1204
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1205
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1206
+ break
1207
+ cur_time = time.time()
1208
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1209
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1210
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1211
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1212
+ else:
1213
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1214
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1215
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1216
+
1217
+
1166
1218
  def doRejectJoinShareUnitInvitation(args, parsed_globals):
1167
1219
  g_param = parse_global_arg(parsed_globals)
1168
1220
 
@@ -1267,6 +1319,58 @@ def doDeleteOrganizationNodes(args, parsed_globals):
1267
1319
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1268
1320
 
1269
1321
 
1322
+ def doCreateOrgServiceAssign(args, parsed_globals):
1323
+ g_param = parse_global_arg(parsed_globals)
1324
+
1325
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1326
+ cred = credential.CVMRoleCredential()
1327
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1328
+ cred = credential.STSAssumeRoleCredential(
1329
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1330
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1331
+ )
1332
+ 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):
1333
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1334
+ else:
1335
+ cred = credential.Credential(
1336
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1337
+ )
1338
+ http_profile = HttpProfile(
1339
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1340
+ reqMethod="POST",
1341
+ endpoint=g_param[OptionsDefine.Endpoint],
1342
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1343
+ )
1344
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1345
+ if g_param[OptionsDefine.Language]:
1346
+ profile.language = g_param[OptionsDefine.Language]
1347
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1348
+ client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
1349
+ client._sdkVersion += ("_CLI_" + __version__)
1350
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1351
+ model = models.CreateOrgServiceAssignRequest()
1352
+ model.from_json_string(json.dumps(args))
1353
+ start_time = time.time()
1354
+ while True:
1355
+ rsp = client.CreateOrgServiceAssign(model)
1356
+ result = rsp.to_json_string()
1357
+ try:
1358
+ json_obj = json.loads(result)
1359
+ except TypeError as e:
1360
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1361
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1362
+ break
1363
+ cur_time = time.time()
1364
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1365
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1366
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1367
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1368
+ else:
1369
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1370
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1371
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1372
+
1373
+
1270
1374
  def doDescribeEffectivePolicy(args, parsed_globals):
1271
1375
  g_param = parse_global_arg(parsed_globals)
1272
1376
 
@@ -2411,6 +2515,58 @@ def doCreateOrganizationIdentity(args, parsed_globals):
2411
2515
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2412
2516
 
2413
2517
 
2518
+ def doDeleteOrgServiceAssign(args, parsed_globals):
2519
+ g_param = parse_global_arg(parsed_globals)
2520
+
2521
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2522
+ cred = credential.CVMRoleCredential()
2523
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2524
+ cred = credential.STSAssumeRoleCredential(
2525
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2526
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2527
+ )
2528
+ 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):
2529
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2530
+ else:
2531
+ cred = credential.Credential(
2532
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2533
+ )
2534
+ http_profile = HttpProfile(
2535
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2536
+ reqMethod="POST",
2537
+ endpoint=g_param[OptionsDefine.Endpoint],
2538
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2539
+ )
2540
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2541
+ if g_param[OptionsDefine.Language]:
2542
+ profile.language = g_param[OptionsDefine.Language]
2543
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2544
+ client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
2545
+ client._sdkVersion += ("_CLI_" + __version__)
2546
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2547
+ model = models.DeleteOrgServiceAssignRequest()
2548
+ model.from_json_string(json.dumps(args))
2549
+ start_time = time.time()
2550
+ while True:
2551
+ rsp = client.DeleteOrgServiceAssign(model)
2552
+ result = rsp.to_json_string()
2553
+ try:
2554
+ json_obj = json.loads(result)
2555
+ except TypeError as e:
2556
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2557
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2558
+ break
2559
+ cur_time = time.time()
2560
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2561
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2562
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2563
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2564
+ else:
2565
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2566
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2567
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2568
+
2569
+
2414
2570
  def doDeleteOrganizationIdentity(args, parsed_globals):
2415
2571
  g_param = parse_global_arg(parsed_globals)
2416
2572
 
@@ -3503,7 +3659,7 @@ def doListOrganizationNodes(args, parsed_globals):
3503
3659
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3504
3660
 
3505
3661
 
3506
- def doCheckAccountDelete(args, parsed_globals):
3662
+ def doDeleteOrganizationMemberAuthIdentity(args, parsed_globals):
3507
3663
  g_param = parse_global_arg(parsed_globals)
3508
3664
 
3509
3665
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3532,11 +3688,11 @@ def doCheckAccountDelete(args, parsed_globals):
3532
3688
  client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
3533
3689
  client._sdkVersion += ("_CLI_" + __version__)
3534
3690
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3535
- model = models.CheckAccountDeleteRequest()
3691
+ model = models.DeleteOrganizationMemberAuthIdentityRequest()
3536
3692
  model.from_json_string(json.dumps(args))
3537
3693
  start_time = time.time()
3538
3694
  while True:
3539
- rsp = client.CheckAccountDelete(model)
3695
+ rsp = client.DeleteOrganizationMemberAuthIdentity(model)
3540
3696
  result = rsp.to_json_string()
3541
3697
  try:
3542
3698
  json_obj = json.loads(result)
@@ -3867,7 +4023,7 @@ def doListOrganizationNodeMembers(args, parsed_globals):
3867
4023
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3868
4024
 
3869
4025
 
3870
- def doDeleteOrganizationMemberAuthIdentity(args, parsed_globals):
4026
+ def doCheckAccountDelete(args, parsed_globals):
3871
4027
  g_param = parse_global_arg(parsed_globals)
3872
4028
 
3873
4029
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3896,11 +4052,11 @@ def doDeleteOrganizationMemberAuthIdentity(args, parsed_globals):
3896
4052
  client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
3897
4053
  client._sdkVersion += ("_CLI_" + __version__)
3898
4054
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3899
- model = models.DeleteOrganizationMemberAuthIdentityRequest()
4055
+ model = models.CheckAccountDeleteRequest()
3900
4056
  model.from_json_string(json.dumps(args))
3901
4057
  start_time = time.time()
3902
4058
  while True:
3903
- rsp = client.DeleteOrganizationMemberAuthIdentity(model)
4059
+ rsp = client.CheckAccountDelete(model)
3904
4060
  result = rsp.to_json_string()
3905
4061
  try:
3906
4062
  json_obj = json.loads(result)
@@ -4006,8 +4162,10 @@ ACTION_MAP = {
4006
4162
  "UpdateOrganizationIdentity": doUpdateOrganizationIdentity,
4007
4163
  "DescribeOrganizationFinancialByMonth": doDescribeOrganizationFinancialByMonth,
4008
4164
  "DeleteAccount": doDeleteAccount,
4165
+ "ListOrgServiceAssignMember": doListOrgServiceAssignMember,
4009
4166
  "RejectJoinShareUnitInvitation": doRejectJoinShareUnitInvitation,
4010
4167
  "DeleteOrganizationNodes": doDeleteOrganizationNodes,
4168
+ "CreateOrgServiceAssign": doCreateOrgServiceAssign,
4011
4169
  "DescribeEffectivePolicy": doDescribeEffectivePolicy,
4012
4170
  "DeleteShareUnitResources": doDeleteShareUnitResources,
4013
4171
  "DescribeShareUnits": doDescribeShareUnits,
@@ -4030,6 +4188,7 @@ ACTION_MAP = {
4030
4188
  "DescribeShareUnitResources": doDescribeShareUnitResources,
4031
4189
  "DetachPolicy": doDetachPolicy,
4032
4190
  "CreateOrganizationIdentity": doCreateOrganizationIdentity,
4191
+ "DeleteOrgServiceAssign": doDeleteOrgServiceAssign,
4033
4192
  "DeleteOrganizationIdentity": doDeleteOrganizationIdentity,
4034
4193
  "AcceptOrganizationInvitation": doAcceptOrganizationInvitation,
4035
4194
  "DenyOrganizationInvitation": doDenyOrganizationInvitation,
@@ -4051,14 +4210,14 @@ ACTION_MAP = {
4051
4210
  "DescribeOrganizationNodes": doDescribeOrganizationNodes,
4052
4211
  "CreateOrganization": doCreateOrganization,
4053
4212
  "ListOrganizationNodes": doListOrganizationNodes,
4054
- "CheckAccountDelete": doCheckAccountDelete,
4213
+ "DeleteOrganizationMemberAuthIdentity": doDeleteOrganizationMemberAuthIdentity,
4055
4214
  "CreatePolicy": doCreatePolicy,
4056
4215
  "CreateOrganizationMemberPolicy": doCreateOrganizationMemberPolicy,
4057
4216
  "ListOrganizationService": doListOrganizationService,
4058
4217
  "DeletePolicy": doDeletePolicy,
4059
4218
  "ListTargetsForPolicy": doListTargetsForPolicy,
4060
4219
  "ListOrganizationNodeMembers": doListOrganizationNodeMembers,
4061
- "DeleteOrganizationMemberAuthIdentity": doDeleteOrganizationMemberAuthIdentity,
4220
+ "CheckAccountDelete": doCheckAccountDelete,
4062
4221
  "UpdatePolicy": doUpdatePolicy,
4063
4222
 
4064
4223
  }
@@ -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": "获取组织成员访问身份列表",