tencentcloud-sdk-organization 3.0.884 → 3.0.885
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210331/client.rb +1210 -58
- data/lib/v20210331/models.rb +3834 -380
- metadata +2 -2
data/lib/v20210331/models.rb
CHANGED
@@ -49,6 +49,46 @@ module TencentCloud
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
+
# AddExternalSAMLIdPCertificate请求参数结构体
|
53
|
+
class AddExternalSAMLIdPCertificateRequest < TencentCloud::Common::AbstractModel
|
54
|
+
# @param ZoneId: 空间ID。
|
55
|
+
# @type ZoneId: String
|
56
|
+
# @param X509Certificate: PEM 格式的 X509 证书。 由 SAML 身份提供商提供。
|
57
|
+
# @type X509Certificate: String
|
58
|
+
|
59
|
+
attr_accessor :ZoneId, :X509Certificate
|
60
|
+
|
61
|
+
def initialize(zoneid=nil, x509certificate=nil)
|
62
|
+
@ZoneId = zoneid
|
63
|
+
@X509Certificate = x509certificate
|
64
|
+
end
|
65
|
+
|
66
|
+
def deserialize(params)
|
67
|
+
@ZoneId = params['ZoneId']
|
68
|
+
@X509Certificate = params['X509Certificate']
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
# AddExternalSAMLIdPCertificate返回参数结构体
|
73
|
+
class AddExternalSAMLIdPCertificateResponse < TencentCloud::Common::AbstractModel
|
74
|
+
# @param CertificateId: SAML 签名证书 ID。
|
75
|
+
# @type CertificateId: String
|
76
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
77
|
+
# @type RequestId: String
|
78
|
+
|
79
|
+
attr_accessor :CertificateId, :RequestId
|
80
|
+
|
81
|
+
def initialize(certificateid=nil, requestid=nil)
|
82
|
+
@CertificateId = certificateid
|
83
|
+
@RequestId = requestid
|
84
|
+
end
|
85
|
+
|
86
|
+
def deserialize(params)
|
87
|
+
@CertificateId = params['CertificateId']
|
88
|
+
@RequestId = params['RequestId']
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
52
92
|
# AddOrganizationMemberEmail请求参数结构体
|
53
93
|
class AddOrganizationMemberEmailRequest < TencentCloud::Common::AbstractModel
|
54
94
|
# @param MemberUin: 成员Uin。
|
@@ -142,6 +182,65 @@ module TencentCloud
|
|
142
182
|
end
|
143
183
|
end
|
144
184
|
|
185
|
+
# AddPermissionPolicyToRoleConfiguration请求参数结构体
|
186
|
+
class AddPermissionPolicyToRoleConfigurationRequest < TencentCloud::Common::AbstractModel
|
187
|
+
# @param ZoneId: 空间 ID
|
188
|
+
# @type ZoneId: String
|
189
|
+
# @param RoleConfigurationId: 权限配置 ID
|
190
|
+
# @type RoleConfigurationId: String
|
191
|
+
# @param RolePolicyType: 权限策略类型。取值: System:系统策略。复用 CAM 的系统策略。 Custom: 自定义策略。按照 CAM 权限策略语法和结构编写的自定义策略。 前期只支持系统策略,自定义策略后期在支持
|
192
|
+
# @type RolePolicyType: String
|
193
|
+
# @param RolePolicyNames: 权限策略名称,长度最大为 20策略,每个策略长度最大32个字符。
|
194
|
+
# @type RolePolicyNames: Array
|
195
|
+
# @param RolePolicies: 策略详情。
|
196
|
+
# @type RolePolicies: Array
|
197
|
+
# @param CustomPolicyDocument: 自定义策略内容。长度:最大 4096 个字符。当RolePolicyType为Inline时,该参数必须配置。关于权限策略的语法和结构,请参见权限策略语法和结构。
|
198
|
+
# @type CustomPolicyDocument: String
|
199
|
+
|
200
|
+
attr_accessor :ZoneId, :RoleConfigurationId, :RolePolicyType, :RolePolicyNames, :RolePolicies, :CustomPolicyDocument
|
201
|
+
|
202
|
+
def initialize(zoneid=nil, roleconfigurationid=nil, rolepolicytype=nil, rolepolicynames=nil, rolepolicies=nil, custompolicydocument=nil)
|
203
|
+
@ZoneId = zoneid
|
204
|
+
@RoleConfigurationId = roleconfigurationid
|
205
|
+
@RolePolicyType = rolepolicytype
|
206
|
+
@RolePolicyNames = rolepolicynames
|
207
|
+
@RolePolicies = rolepolicies
|
208
|
+
@CustomPolicyDocument = custompolicydocument
|
209
|
+
end
|
210
|
+
|
211
|
+
def deserialize(params)
|
212
|
+
@ZoneId = params['ZoneId']
|
213
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
214
|
+
@RolePolicyType = params['RolePolicyType']
|
215
|
+
@RolePolicyNames = params['RolePolicyNames']
|
216
|
+
unless params['RolePolicies'].nil?
|
217
|
+
@RolePolicies = []
|
218
|
+
params['RolePolicies'].each do |i|
|
219
|
+
policydetail_tmp = PolicyDetail.new
|
220
|
+
policydetail_tmp.deserialize(i)
|
221
|
+
@RolePolicies << policydetail_tmp
|
222
|
+
end
|
223
|
+
end
|
224
|
+
@CustomPolicyDocument = params['CustomPolicyDocument']
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
# AddPermissionPolicyToRoleConfiguration返回参数结构体
|
229
|
+
class AddPermissionPolicyToRoleConfigurationResponse < TencentCloud::Common::AbstractModel
|
230
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
231
|
+
# @type RequestId: String
|
232
|
+
|
233
|
+
attr_accessor :RequestId
|
234
|
+
|
235
|
+
def initialize(requestid=nil)
|
236
|
+
@RequestId = requestid
|
237
|
+
end
|
238
|
+
|
239
|
+
def deserialize(params)
|
240
|
+
@RequestId = params['RequestId']
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
145
244
|
# AddShareUnitMembers请求参数结构体
|
146
245
|
class AddShareUnitMembersRequest < TencentCloud::Common::AbstractModel
|
147
246
|
# @param UnitId: 共享单元ID。
|
@@ -288,6 +387,46 @@ module TencentCloud
|
|
288
387
|
end
|
289
388
|
end
|
290
389
|
|
390
|
+
# AddUserToGroup请求参数结构体
|
391
|
+
class AddUserToGroupRequest < TencentCloud::Common::AbstractModel
|
392
|
+
# @param ZoneId: 空间 ID。
|
393
|
+
# @type ZoneId: String
|
394
|
+
# @param GroupId: 用户组 ID。
|
395
|
+
# @type GroupId: String
|
396
|
+
# @param UserId: 用户 ID。
|
397
|
+
# @type UserId: String
|
398
|
+
|
399
|
+
attr_accessor :ZoneId, :GroupId, :UserId
|
400
|
+
|
401
|
+
def initialize(zoneid=nil, groupid=nil, userid=nil)
|
402
|
+
@ZoneId = zoneid
|
403
|
+
@GroupId = groupid
|
404
|
+
@UserId = userid
|
405
|
+
end
|
406
|
+
|
407
|
+
def deserialize(params)
|
408
|
+
@ZoneId = params['ZoneId']
|
409
|
+
@GroupId = params['GroupId']
|
410
|
+
@UserId = params['UserId']
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
414
|
+
# AddUserToGroup返回参数结构体
|
415
|
+
class AddUserToGroupResponse < TencentCloud::Common::AbstractModel
|
416
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
417
|
+
# @type RequestId: String
|
418
|
+
|
419
|
+
attr_accessor :RequestId
|
420
|
+
|
421
|
+
def initialize(requestid=nil)
|
422
|
+
@RequestId = requestid
|
423
|
+
end
|
424
|
+
|
425
|
+
def deserialize(params)
|
426
|
+
@RequestId = params['RequestId']
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
291
430
|
# AttachPolicy请求参数结构体
|
292
431
|
class AttachPolicyRequest < TencentCloud::Common::AbstractModel
|
293
432
|
# @param TargetId: 绑定策略目标ID。成员Uin或部门ID
|
@@ -485,6 +624,85 @@ module TencentCloud
|
|
485
624
|
end
|
486
625
|
end
|
487
626
|
|
627
|
+
# ClearExternalSAMLIdentityProvider请求参数结构体
|
628
|
+
class ClearExternalSAMLIdentityProviderRequest < TencentCloud::Common::AbstractModel
|
629
|
+
# @param ZoneId: 空间ID。
|
630
|
+
# @type ZoneId: String
|
631
|
+
|
632
|
+
attr_accessor :ZoneId
|
633
|
+
|
634
|
+
def initialize(zoneid=nil)
|
635
|
+
@ZoneId = zoneid
|
636
|
+
end
|
637
|
+
|
638
|
+
def deserialize(params)
|
639
|
+
@ZoneId = params['ZoneId']
|
640
|
+
end
|
641
|
+
end
|
642
|
+
|
643
|
+
# ClearExternalSAMLIdentityProvider返回参数结构体
|
644
|
+
class ClearExternalSAMLIdentityProviderResponse < TencentCloud::Common::AbstractModel
|
645
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
646
|
+
# @type RequestId: String
|
647
|
+
|
648
|
+
attr_accessor :RequestId
|
649
|
+
|
650
|
+
def initialize(requestid=nil)
|
651
|
+
@RequestId = requestid
|
652
|
+
end
|
653
|
+
|
654
|
+
def deserialize(params)
|
655
|
+
@RequestId = params['RequestId']
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
659
|
+
# CreateGroup请求参数结构体
|
660
|
+
class CreateGroupRequest < TencentCloud::Common::AbstractModel
|
661
|
+
# @param ZoneId: 空间 ID。
|
662
|
+
# @type ZoneId: String
|
663
|
+
# @param GroupName: 用户组的名称。 格式:允许英文字母、数字和特殊字符-。 长度:最大 128 个字符。
|
664
|
+
# @type GroupName: String
|
665
|
+
# @param Description: 用户组的描述。 长度:最大 1024 个字符。
|
666
|
+
# @type Description: String
|
667
|
+
|
668
|
+
attr_accessor :ZoneId, :GroupName, :Description
|
669
|
+
|
670
|
+
def initialize(zoneid=nil, groupname=nil, description=nil)
|
671
|
+
@ZoneId = zoneid
|
672
|
+
@GroupName = groupname
|
673
|
+
@Description = description
|
674
|
+
end
|
675
|
+
|
676
|
+
def deserialize(params)
|
677
|
+
@ZoneId = params['ZoneId']
|
678
|
+
@GroupName = params['GroupName']
|
679
|
+
@Description = params['Description']
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
683
|
+
# CreateGroup返回参数结构体
|
684
|
+
class CreateGroupResponse < TencentCloud::Common::AbstractModel
|
685
|
+
# @param GroupInfo: 用户组信息。
|
686
|
+
# @type GroupInfo: :class:`Tencentcloud::Organization.v20210331.models.GroupInfo`
|
687
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
688
|
+
# @type RequestId: String
|
689
|
+
|
690
|
+
attr_accessor :GroupInfo, :RequestId
|
691
|
+
|
692
|
+
def initialize(groupinfo=nil, requestid=nil)
|
693
|
+
@GroupInfo = groupinfo
|
694
|
+
@RequestId = requestid
|
695
|
+
end
|
696
|
+
|
697
|
+
def deserialize(params)
|
698
|
+
unless params['GroupInfo'].nil?
|
699
|
+
@GroupInfo = GroupInfo.new
|
700
|
+
@GroupInfo.deserialize(params['GroupInfo'])
|
701
|
+
end
|
702
|
+
@RequestId = params['RequestId']
|
703
|
+
end
|
704
|
+
end
|
705
|
+
|
488
706
|
# CreateOrgServiceAssign请求参数结构体
|
489
707
|
class CreateOrgServiceAssignRequest < TencentCloud::Common::AbstractModel
|
490
708
|
# @param ServiceId: 集团服务ID。可以通过[ListOrganizationService](https://cloud.tencent.com/document/product/850/109561)获取
|
@@ -876,6 +1094,236 @@ module TencentCloud
|
|
876
1094
|
end
|
877
1095
|
end
|
878
1096
|
|
1097
|
+
# CreateRoleAssignment请求参数结构体
|
1098
|
+
class CreateRoleAssignmentRequest < TencentCloud::Common::AbstractModel
|
1099
|
+
# @param ZoneId: 空间 ID。
|
1100
|
+
# @type ZoneId: String
|
1101
|
+
# @param RoleAssignmentInfo: 授权成员账号信息,最多授权50条。
|
1102
|
+
# @type RoleAssignmentInfo: Array
|
1103
|
+
|
1104
|
+
attr_accessor :ZoneId, :RoleAssignmentInfo
|
1105
|
+
|
1106
|
+
def initialize(zoneid=nil, roleassignmentinfo=nil)
|
1107
|
+
@ZoneId = zoneid
|
1108
|
+
@RoleAssignmentInfo = roleassignmentinfo
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
def deserialize(params)
|
1112
|
+
@ZoneId = params['ZoneId']
|
1113
|
+
unless params['RoleAssignmentInfo'].nil?
|
1114
|
+
@RoleAssignmentInfo = []
|
1115
|
+
params['RoleAssignmentInfo'].each do |i|
|
1116
|
+
roleassignmentinfo_tmp = RoleAssignmentInfo.new
|
1117
|
+
roleassignmentinfo_tmp.deserialize(i)
|
1118
|
+
@RoleAssignmentInfo << roleassignmentinfo_tmp
|
1119
|
+
end
|
1120
|
+
end
|
1121
|
+
end
|
1122
|
+
end
|
1123
|
+
|
1124
|
+
# CreateRoleAssignment返回参数结构体
|
1125
|
+
class CreateRoleAssignmentResponse < TencentCloud::Common::AbstractModel
|
1126
|
+
# @param Tasks: 任务详情。
|
1127
|
+
# @type Tasks: Array
|
1128
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1129
|
+
# @type RequestId: String
|
1130
|
+
|
1131
|
+
attr_accessor :Tasks, :RequestId
|
1132
|
+
|
1133
|
+
def initialize(tasks=nil, requestid=nil)
|
1134
|
+
@Tasks = tasks
|
1135
|
+
@RequestId = requestid
|
1136
|
+
end
|
1137
|
+
|
1138
|
+
def deserialize(params)
|
1139
|
+
unless params['Tasks'].nil?
|
1140
|
+
@Tasks = []
|
1141
|
+
params['Tasks'].each do |i|
|
1142
|
+
taskinfo_tmp = TaskInfo.new
|
1143
|
+
taskinfo_tmp.deserialize(i)
|
1144
|
+
@Tasks << taskinfo_tmp
|
1145
|
+
end
|
1146
|
+
end
|
1147
|
+
@RequestId = params['RequestId']
|
1148
|
+
end
|
1149
|
+
end
|
1150
|
+
|
1151
|
+
# CreateRoleConfiguration请求参数结构体
|
1152
|
+
class CreateRoleConfigurationRequest < TencentCloud::Common::AbstractModel
|
1153
|
+
# @param ZoneId: 空间 ID。
|
1154
|
+
# @type ZoneId: String
|
1155
|
+
# @param RoleConfigurationName: 访问配置名称。格式:包含英文字母、数字或短划线(-)。 长度:最大 128 个字符。
|
1156
|
+
# @type RoleConfigurationName: String
|
1157
|
+
# @param Description: 访问配置的描述。 长度:最大 1024 个字符。
|
1158
|
+
# @type Description: String
|
1159
|
+
# @param SessionDuration: 会话持续时间。 CIC用户使用访问配置访问集团账号目标账号时,会话最多保持的时间。 单位:秒。 取值范围:900~43200(15 分钟~12 小时)。 默认值:3600(1 小时)。
|
1160
|
+
# @type SessionDuration: Integer
|
1161
|
+
# @param RelayState: 初始访问页面。 CIC用户使用访问配置访问集团账号目标账号时,初始访问的页面地址。 该页面必须是腾讯云控制台页面。默认为空,表示跳转到腾讯云控制台首页。
|
1162
|
+
# @type RelayState: String
|
1163
|
+
|
1164
|
+
attr_accessor :ZoneId, :RoleConfigurationName, :Description, :SessionDuration, :RelayState
|
1165
|
+
|
1166
|
+
def initialize(zoneid=nil, roleconfigurationname=nil, description=nil, sessionduration=nil, relaystate=nil)
|
1167
|
+
@ZoneId = zoneid
|
1168
|
+
@RoleConfigurationName = roleconfigurationname
|
1169
|
+
@Description = description
|
1170
|
+
@SessionDuration = sessionduration
|
1171
|
+
@RelayState = relaystate
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
def deserialize(params)
|
1175
|
+
@ZoneId = params['ZoneId']
|
1176
|
+
@RoleConfigurationName = params['RoleConfigurationName']
|
1177
|
+
@Description = params['Description']
|
1178
|
+
@SessionDuration = params['SessionDuration']
|
1179
|
+
@RelayState = params['RelayState']
|
1180
|
+
end
|
1181
|
+
end
|
1182
|
+
|
1183
|
+
# CreateRoleConfiguration返回参数结构体
|
1184
|
+
class CreateRoleConfigurationResponse < TencentCloud::Common::AbstractModel
|
1185
|
+
# @param RoleConfigurationInfo: 配置访问详情
|
1186
|
+
# @type RoleConfigurationInfo: :class:`Tencentcloud::Organization.v20210331.models.RoleConfiguration`
|
1187
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1188
|
+
# @type RequestId: String
|
1189
|
+
|
1190
|
+
attr_accessor :RoleConfigurationInfo, :RequestId
|
1191
|
+
|
1192
|
+
def initialize(roleconfigurationinfo=nil, requestid=nil)
|
1193
|
+
@RoleConfigurationInfo = roleconfigurationinfo
|
1194
|
+
@RequestId = requestid
|
1195
|
+
end
|
1196
|
+
|
1197
|
+
def deserialize(params)
|
1198
|
+
unless params['RoleConfigurationInfo'].nil?
|
1199
|
+
@RoleConfigurationInfo = RoleConfiguration.new
|
1200
|
+
@RoleConfigurationInfo.deserialize(params['RoleConfigurationInfo'])
|
1201
|
+
end
|
1202
|
+
@RequestId = params['RequestId']
|
1203
|
+
end
|
1204
|
+
end
|
1205
|
+
|
1206
|
+
# CreateUser请求参数结构体
|
1207
|
+
class CreateUserRequest < TencentCloud::Common::AbstractModel
|
1208
|
+
# @param ZoneId: 空间 ID。
|
1209
|
+
# @type ZoneId: String
|
1210
|
+
# @param UserName: 用户名称。空间内必须唯一。不支持修改。 格式:包含数字、英文字母和特殊符号+ = , . @ - _ 。 长度:最大 64 个字符
|
1211
|
+
# @type UserName: String
|
1212
|
+
# @param FirstName: 用户的姓。 长度:最大 64 个字符。
|
1213
|
+
# @type FirstName: String
|
1214
|
+
# @param LastName: 用户的名。 长度:最大 64 个字符。
|
1215
|
+
# @type LastName: String
|
1216
|
+
# @param DisplayName: 用户的显示名称。 长度:最大 256 个字符。
|
1217
|
+
# @type DisplayName: String
|
1218
|
+
# @param Description: 用户的描述。 长度:最大 1024 个字符。
|
1219
|
+
# @type Description: String
|
1220
|
+
# @param Email: 用户的电子邮箱。目录内必须唯一。 长度:最大 128 个字符。
|
1221
|
+
# @type Email: String
|
1222
|
+
# @param UserStatus: 用户的状态。取值: Enabled(默认值):启用。 Disabled:禁用。
|
1223
|
+
# @type UserStatus: String
|
1224
|
+
|
1225
|
+
attr_accessor :ZoneId, :UserName, :FirstName, :LastName, :DisplayName, :Description, :Email, :UserStatus
|
1226
|
+
|
1227
|
+
def initialize(zoneid=nil, username=nil, firstname=nil, lastname=nil, displayname=nil, description=nil, email=nil, userstatus=nil)
|
1228
|
+
@ZoneId = zoneid
|
1229
|
+
@UserName = username
|
1230
|
+
@FirstName = firstname
|
1231
|
+
@LastName = lastname
|
1232
|
+
@DisplayName = displayname
|
1233
|
+
@Description = description
|
1234
|
+
@Email = email
|
1235
|
+
@UserStatus = userstatus
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
def deserialize(params)
|
1239
|
+
@ZoneId = params['ZoneId']
|
1240
|
+
@UserName = params['UserName']
|
1241
|
+
@FirstName = params['FirstName']
|
1242
|
+
@LastName = params['LastName']
|
1243
|
+
@DisplayName = params['DisplayName']
|
1244
|
+
@Description = params['Description']
|
1245
|
+
@Email = params['Email']
|
1246
|
+
@UserStatus = params['UserStatus']
|
1247
|
+
end
|
1248
|
+
end
|
1249
|
+
|
1250
|
+
# CreateUser返回参数结构体
|
1251
|
+
class CreateUserResponse < TencentCloud::Common::AbstractModel
|
1252
|
+
# @param UserInfo: 用户详情
|
1253
|
+
# @type UserInfo: :class:`Tencentcloud::Organization.v20210331.models.UserInfo`
|
1254
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1255
|
+
# @type RequestId: String
|
1256
|
+
|
1257
|
+
attr_accessor :UserInfo, :RequestId
|
1258
|
+
|
1259
|
+
def initialize(userinfo=nil, requestid=nil)
|
1260
|
+
@UserInfo = userinfo
|
1261
|
+
@RequestId = requestid
|
1262
|
+
end
|
1263
|
+
|
1264
|
+
def deserialize(params)
|
1265
|
+
unless params['UserInfo'].nil?
|
1266
|
+
@UserInfo = UserInfo.new
|
1267
|
+
@UserInfo.deserialize(params['UserInfo'])
|
1268
|
+
end
|
1269
|
+
@RequestId = params['RequestId']
|
1270
|
+
end
|
1271
|
+
end
|
1272
|
+
|
1273
|
+
# CreateUserSyncProvisioning请求参数结构体
|
1274
|
+
class CreateUserSyncProvisioningRequest < TencentCloud::Common::AbstractModel
|
1275
|
+
# @param ZoneId: 空间ID。
|
1276
|
+
# @type ZoneId: String
|
1277
|
+
# @param UserSyncProvisionings: CAM用户同步信息。
|
1278
|
+
# @type UserSyncProvisionings: Array
|
1279
|
+
|
1280
|
+
attr_accessor :ZoneId, :UserSyncProvisionings
|
1281
|
+
|
1282
|
+
def initialize(zoneid=nil, usersyncprovisionings=nil)
|
1283
|
+
@ZoneId = zoneid
|
1284
|
+
@UserSyncProvisionings = usersyncprovisionings
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
def deserialize(params)
|
1288
|
+
@ZoneId = params['ZoneId']
|
1289
|
+
unless params['UserSyncProvisionings'].nil?
|
1290
|
+
@UserSyncProvisionings = []
|
1291
|
+
params['UserSyncProvisionings'].each do |i|
|
1292
|
+
usersyncprovisioning_tmp = UserSyncProvisioning.new
|
1293
|
+
usersyncprovisioning_tmp.deserialize(i)
|
1294
|
+
@UserSyncProvisionings << usersyncprovisioning_tmp
|
1295
|
+
end
|
1296
|
+
end
|
1297
|
+
end
|
1298
|
+
end
|
1299
|
+
|
1300
|
+
# CreateUserSyncProvisioning返回参数结构体
|
1301
|
+
class CreateUserSyncProvisioningResponse < TencentCloud::Common::AbstractModel
|
1302
|
+
# @param Tasks: 任务详细。
|
1303
|
+
# @type Tasks: Array
|
1304
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1305
|
+
# @type RequestId: String
|
1306
|
+
|
1307
|
+
attr_accessor :Tasks, :RequestId
|
1308
|
+
|
1309
|
+
def initialize(tasks=nil, requestid=nil)
|
1310
|
+
@Tasks = tasks
|
1311
|
+
@RequestId = requestid
|
1312
|
+
end
|
1313
|
+
|
1314
|
+
def deserialize(params)
|
1315
|
+
unless params['Tasks'].nil?
|
1316
|
+
@Tasks = []
|
1317
|
+
params['Tasks'].each do |i|
|
1318
|
+
userprovisioningstask_tmp = UserProvisioningsTask.new
|
1319
|
+
userprovisioningstask_tmp.deserialize(i)
|
1320
|
+
@Tasks << userprovisioningstask_tmp
|
1321
|
+
end
|
1322
|
+
end
|
1323
|
+
@RequestId = params['RequestId']
|
1324
|
+
end
|
1325
|
+
end
|
1326
|
+
|
879
1327
|
# DeleteAccount请求参数结构体
|
880
1328
|
class DeleteAccountRequest < TencentCloud::Common::AbstractModel
|
881
1329
|
# @param MemberUin: 成员Uin。
|
@@ -908,6 +1356,42 @@ module TencentCloud
|
|
908
1356
|
end
|
909
1357
|
end
|
910
1358
|
|
1359
|
+
# DeleteGroup请求参数结构体
|
1360
|
+
class DeleteGroupRequest < TencentCloud::Common::AbstractModel
|
1361
|
+
# @param ZoneId: 空间 ID。
|
1362
|
+
# @type ZoneId: String
|
1363
|
+
# @param GroupId: 用户组的 ID。
|
1364
|
+
# @type GroupId: String
|
1365
|
+
|
1366
|
+
attr_accessor :ZoneId, :GroupId
|
1367
|
+
|
1368
|
+
def initialize(zoneid=nil, groupid=nil)
|
1369
|
+
@ZoneId = zoneid
|
1370
|
+
@GroupId = groupid
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
def deserialize(params)
|
1374
|
+
@ZoneId = params['ZoneId']
|
1375
|
+
@GroupId = params['GroupId']
|
1376
|
+
end
|
1377
|
+
end
|
1378
|
+
|
1379
|
+
# DeleteGroup返回参数结构体
|
1380
|
+
class DeleteGroupResponse < TencentCloud::Common::AbstractModel
|
1381
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1382
|
+
# @type RequestId: String
|
1383
|
+
|
1384
|
+
attr_accessor :RequestId
|
1385
|
+
|
1386
|
+
def initialize(requestid=nil)
|
1387
|
+
@RequestId = requestid
|
1388
|
+
end
|
1389
|
+
|
1390
|
+
def deserialize(params)
|
1391
|
+
@RequestId = params['RequestId']
|
1392
|
+
end
|
1393
|
+
end
|
1394
|
+
|
911
1395
|
# DeleteOrgServiceAssign请求参数结构体
|
912
1396
|
class DeleteOrgServiceAssignRequest < TencentCloud::Common::AbstractModel
|
913
1397
|
# @param ServiceId: 集团服务ID。可以通过[ListOrganizationService](https://cloud.tencent.com/document/product/850/109561)获取
|
@@ -1171,34 +1655,133 @@ module TencentCloud
|
|
1171
1655
|
end
|
1172
1656
|
end
|
1173
1657
|
|
1174
|
-
#
|
1175
|
-
class
|
1176
|
-
# @param
|
1177
|
-
# @type
|
1178
|
-
# @param
|
1179
|
-
# @type
|
1180
|
-
# @param
|
1181
|
-
# @type
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1658
|
+
# DeleteRoleAssignment请求参数结构体
|
1659
|
+
class DeleteRoleAssignmentRequest < TencentCloud::Common::AbstractModel
|
1660
|
+
# @param ZoneId: 空间 ID。
|
1661
|
+
# @type ZoneId: String
|
1662
|
+
# @param RoleConfigurationId: 权限配置ID。
|
1663
|
+
# @type RoleConfigurationId: String
|
1664
|
+
# @param TargetType: 同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号
|
1665
|
+
# @type TargetType: String
|
1666
|
+
# @param TargetUin: 集团账号目标账号的UIN
|
1667
|
+
# @type TargetUin: Integer
|
1668
|
+
# @param PrincipalType: CAM用户同步的身份类型。取值: User:表示该 CAM 用户同步的身份是CIC用户。 Group:表示该 CAM 用户同步的身份是CIC用户组。
|
1669
|
+
# @type PrincipalType: String
|
1670
|
+
# @param PrincipalId: CAM用户同步的身份 ID。取值: 当PrincipalType取值为Group时,该值为CIC 用户组 ID(g-********), 当PrincipalType取值为User时,该值为CIC 用户 ID(u-********)。
|
1671
|
+
# @type PrincipalId: String
|
1672
|
+
# @param DeprovisionStrategy: 当您移除一个集团账号目标账号上使用某访问配置的最后一个授权时,是否同时解除访问配置部署。取值: DeprovisionForLastRoleAssignmentOnAccount:解除访问配置部署。 None(默认值):不解除访问配置部署。
|
1673
|
+
# @type DeprovisionStrategy: String
|
1674
|
+
|
1675
|
+
attr_accessor :ZoneId, :RoleConfigurationId, :TargetType, :TargetUin, :PrincipalType, :PrincipalId, :DeprovisionStrategy
|
1676
|
+
|
1677
|
+
def initialize(zoneid=nil, roleconfigurationid=nil, targettype=nil, targetuin=nil, principaltype=nil, principalid=nil, deprovisionstrategy=nil)
|
1678
|
+
@ZoneId = zoneid
|
1679
|
+
@RoleConfigurationId = roleconfigurationid
|
1680
|
+
@TargetType = targettype
|
1681
|
+
@TargetUin = targetuin
|
1682
|
+
@PrincipalType = principaltype
|
1683
|
+
@PrincipalId = principalid
|
1684
|
+
@DeprovisionStrategy = deprovisionstrategy
|
1189
1685
|
end
|
1190
1686
|
|
1191
1687
|
def deserialize(params)
|
1192
|
-
@
|
1193
|
-
@
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1688
|
+
@ZoneId = params['ZoneId']
|
1689
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
1690
|
+
@TargetType = params['TargetType']
|
1691
|
+
@TargetUin = params['TargetUin']
|
1692
|
+
@PrincipalType = params['PrincipalType']
|
1693
|
+
@PrincipalId = params['PrincipalId']
|
1694
|
+
@DeprovisionStrategy = params['DeprovisionStrategy']
|
1695
|
+
end
|
1696
|
+
end
|
1697
|
+
|
1698
|
+
# DeleteRoleAssignment返回参数结构体
|
1699
|
+
class DeleteRoleAssignmentResponse < TencentCloud::Common::AbstractModel
|
1700
|
+
# @param Task: 任务详情
|
1701
|
+
# @type Task: :class:`Tencentcloud::Organization.v20210331.models.TaskInfo`
|
1702
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1703
|
+
# @type RequestId: String
|
1704
|
+
|
1705
|
+
attr_accessor :Task, :RequestId
|
1706
|
+
|
1707
|
+
def initialize(task=nil, requestid=nil)
|
1708
|
+
@Task = task
|
1709
|
+
@RequestId = requestid
|
1710
|
+
end
|
1711
|
+
|
1712
|
+
def deserialize(params)
|
1713
|
+
unless params['Task'].nil?
|
1714
|
+
@Task = TaskInfo.new
|
1715
|
+
@Task.deserialize(params['Task'])
|
1716
|
+
end
|
1717
|
+
@RequestId = params['RequestId']
|
1718
|
+
end
|
1719
|
+
end
|
1720
|
+
|
1721
|
+
# DeleteRoleConfiguration请求参数结构体
|
1722
|
+
class DeleteRoleConfigurationRequest < TencentCloud::Common::AbstractModel
|
1723
|
+
# @param ZoneId: 空间 ID
|
1724
|
+
# @type ZoneId: String
|
1725
|
+
# @param RoleConfigurationId: 权限配置 ID
|
1726
|
+
# @type RoleConfigurationId: String
|
1727
|
+
|
1728
|
+
attr_accessor :ZoneId, :RoleConfigurationId
|
1729
|
+
|
1730
|
+
def initialize(zoneid=nil, roleconfigurationid=nil)
|
1731
|
+
@ZoneId = zoneid
|
1732
|
+
@RoleConfigurationId = roleconfigurationid
|
1733
|
+
end
|
1734
|
+
|
1735
|
+
def deserialize(params)
|
1736
|
+
@ZoneId = params['ZoneId']
|
1737
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
1738
|
+
end
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
# DeleteRoleConfiguration返回参数结构体
|
1742
|
+
class DeleteRoleConfigurationResponse < TencentCloud::Common::AbstractModel
|
1743
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1744
|
+
# @type RequestId: String
|
1745
|
+
|
1746
|
+
attr_accessor :RequestId
|
1747
|
+
|
1748
|
+
def initialize(requestid=nil)
|
1749
|
+
@RequestId = requestid
|
1750
|
+
end
|
1751
|
+
|
1752
|
+
def deserialize(params)
|
1753
|
+
@RequestId = params['RequestId']
|
1754
|
+
end
|
1755
|
+
end
|
1756
|
+
|
1757
|
+
# DeleteShareUnitMembers请求参数结构体
|
1758
|
+
class DeleteShareUnitMembersRequest < TencentCloud::Common::AbstractModel
|
1759
|
+
# @param UnitId: 共享单元ID。
|
1760
|
+
# @type UnitId: String
|
1761
|
+
# @param Area: 共享单元地域。
|
1762
|
+
# @type Area: String
|
1763
|
+
# @param Members: 成员列表。
|
1764
|
+
# @type Members: Array
|
1765
|
+
|
1766
|
+
attr_accessor :UnitId, :Area, :Members
|
1767
|
+
|
1768
|
+
def initialize(unitid=nil, area=nil, members=nil)
|
1769
|
+
@UnitId = unitid
|
1770
|
+
@Area = area
|
1771
|
+
@Members = members
|
1772
|
+
end
|
1773
|
+
|
1774
|
+
def deserialize(params)
|
1775
|
+
@UnitId = params['UnitId']
|
1776
|
+
@Area = params['Area']
|
1777
|
+
unless params['Members'].nil?
|
1778
|
+
@Members = []
|
1779
|
+
params['Members'].each do |i|
|
1780
|
+
sharemember_tmp = ShareMember.new
|
1781
|
+
sharemember_tmp.deserialize(i)
|
1782
|
+
@Members << sharemember_tmp
|
1783
|
+
end
|
1784
|
+
end
|
1202
1785
|
end
|
1203
1786
|
end
|
1204
1787
|
|
@@ -1301,6 +1884,85 @@ module TencentCloud
|
|
1301
1884
|
end
|
1302
1885
|
end
|
1303
1886
|
|
1887
|
+
# DeleteUser请求参数结构体
|
1888
|
+
class DeleteUserRequest < TencentCloud::Common::AbstractModel
|
1889
|
+
# @param ZoneId: 空间 ID。
|
1890
|
+
# @type ZoneId: String
|
1891
|
+
# @param UserId: 用户 ID。
|
1892
|
+
# @type UserId: String
|
1893
|
+
|
1894
|
+
attr_accessor :ZoneId, :UserId
|
1895
|
+
|
1896
|
+
def initialize(zoneid=nil, userid=nil)
|
1897
|
+
@ZoneId = zoneid
|
1898
|
+
@UserId = userid
|
1899
|
+
end
|
1900
|
+
|
1901
|
+
def deserialize(params)
|
1902
|
+
@ZoneId = params['ZoneId']
|
1903
|
+
@UserId = params['UserId']
|
1904
|
+
end
|
1905
|
+
end
|
1906
|
+
|
1907
|
+
# DeleteUser返回参数结构体
|
1908
|
+
class DeleteUserResponse < TencentCloud::Common::AbstractModel
|
1909
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1910
|
+
# @type RequestId: String
|
1911
|
+
|
1912
|
+
attr_accessor :RequestId
|
1913
|
+
|
1914
|
+
def initialize(requestid=nil)
|
1915
|
+
@RequestId = requestid
|
1916
|
+
end
|
1917
|
+
|
1918
|
+
def deserialize(params)
|
1919
|
+
@RequestId = params['RequestId']
|
1920
|
+
end
|
1921
|
+
end
|
1922
|
+
|
1923
|
+
# DeleteUserSyncProvisioning请求参数结构体
|
1924
|
+
class DeleteUserSyncProvisioningRequest < TencentCloud::Common::AbstractModel
|
1925
|
+
# @param ZoneId: 空间ID。
|
1926
|
+
# @type ZoneId: String
|
1927
|
+
# @param UserProvisioningId: 用户同步的ID。
|
1928
|
+
# @type UserProvisioningId: String
|
1929
|
+
|
1930
|
+
attr_accessor :ZoneId, :UserProvisioningId
|
1931
|
+
|
1932
|
+
def initialize(zoneid=nil, userprovisioningid=nil)
|
1933
|
+
@ZoneId = zoneid
|
1934
|
+
@UserProvisioningId = userprovisioningid
|
1935
|
+
end
|
1936
|
+
|
1937
|
+
def deserialize(params)
|
1938
|
+
@ZoneId = params['ZoneId']
|
1939
|
+
@UserProvisioningId = params['UserProvisioningId']
|
1940
|
+
end
|
1941
|
+
end
|
1942
|
+
|
1943
|
+
# DeleteUserSyncProvisioning返回参数结构体
|
1944
|
+
class DeleteUserSyncProvisioningResponse < TencentCloud::Common::AbstractModel
|
1945
|
+
# @param Tasks: 任务详情。
|
1946
|
+
# @type Tasks: :class:`Tencentcloud::Organization.v20210331.models.UserProvisioningsTask`
|
1947
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1948
|
+
# @type RequestId: String
|
1949
|
+
|
1950
|
+
attr_accessor :Tasks, :RequestId
|
1951
|
+
|
1952
|
+
def initialize(tasks=nil, requestid=nil)
|
1953
|
+
@Tasks = tasks
|
1954
|
+
@RequestId = requestid
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
def deserialize(params)
|
1958
|
+
unless params['Tasks'].nil?
|
1959
|
+
@Tasks = UserProvisioningsTask.new
|
1960
|
+
@Tasks.deserialize(params['Tasks'])
|
1961
|
+
end
|
1962
|
+
@RequestId = params['RequestId']
|
1963
|
+
end
|
1964
|
+
end
|
1965
|
+
|
1304
1966
|
# DescribeEffectivePolicy请求参数结构体
|
1305
1967
|
class DescribeEffectivePolicyRequest < TencentCloud::Common::AbstractModel
|
1306
1968
|
# @param TargetId: 账号uin或者节点id。
|
@@ -1341,6 +2003,57 @@ module TencentCloud
|
|
1341
2003
|
end
|
1342
2004
|
end
|
1343
2005
|
|
2006
|
+
# DescribeIdentityCenter请求参数结构体
|
2007
|
+
class DescribeIdentityCenterRequest < TencentCloud::Common::AbstractModel
|
2008
|
+
|
2009
|
+
|
2010
|
+
def initialize()
|
2011
|
+
end
|
2012
|
+
|
2013
|
+
def deserialize(params)
|
2014
|
+
end
|
2015
|
+
end
|
2016
|
+
|
2017
|
+
# DescribeIdentityCenter返回参数结构体
|
2018
|
+
class DescribeIdentityCenterResponse < TencentCloud::Common::AbstractModel
|
2019
|
+
# @param ZoneId: 空间ID。z-前缀开头,后面是12位随机数字/小写字母
|
2020
|
+
# @type ZoneId: String
|
2021
|
+
# @param ZoneName: 空间名,必须全局唯一。包含小写字母、数字和短划线(-)。不能以短划线(-)开头或结尾,且不能有两个连续的短划线(-)。长度:2~64 个字符。
|
2022
|
+
# @type ZoneName: String
|
2023
|
+
# @param ServiceStatus: 服务开启状态,Disabled代表未开通,Enabled代表已开通
|
2024
|
+
# @type ServiceStatus: String
|
2025
|
+
# @param ScimSyncStatus: SCIM 同步状态。Enabled:启用。 Disabled:禁用。
|
2026
|
+
# @type ScimSyncStatus: String
|
2027
|
+
# @param CreateTime: 创建时间
|
2028
|
+
# @type CreateTime: String
|
2029
|
+
# @param UpdateTime: 更新时间
|
2030
|
+
# @type UpdateTime: String
|
2031
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2032
|
+
# @type RequestId: String
|
2033
|
+
|
2034
|
+
attr_accessor :ZoneId, :ZoneName, :ServiceStatus, :ScimSyncStatus, :CreateTime, :UpdateTime, :RequestId
|
2035
|
+
|
2036
|
+
def initialize(zoneid=nil, zonename=nil, servicestatus=nil, scimsyncstatus=nil, createtime=nil, updatetime=nil, requestid=nil)
|
2037
|
+
@ZoneId = zoneid
|
2038
|
+
@ZoneName = zonename
|
2039
|
+
@ServiceStatus = servicestatus
|
2040
|
+
@ScimSyncStatus = scimsyncstatus
|
2041
|
+
@CreateTime = createtime
|
2042
|
+
@UpdateTime = updatetime
|
2043
|
+
@RequestId = requestid
|
2044
|
+
end
|
2045
|
+
|
2046
|
+
def deserialize(params)
|
2047
|
+
@ZoneId = params['ZoneId']
|
2048
|
+
@ZoneName = params['ZoneName']
|
2049
|
+
@ServiceStatus = params['ServiceStatus']
|
2050
|
+
@ScimSyncStatus = params['ScimSyncStatus']
|
2051
|
+
@CreateTime = params['CreateTime']
|
2052
|
+
@UpdateTime = params['UpdateTime']
|
2053
|
+
@RequestId = params['RequestId']
|
2054
|
+
end
|
2055
|
+
end
|
2056
|
+
|
1344
2057
|
# DescribeOrganizationAuthNode请求参数结构体
|
1345
2058
|
class DescribeOrganizationAuthNodeRequest < TencentCloud::Common::AbstractModel
|
1346
2059
|
# @param Offset: 偏移量。取值是limit的整数倍。默认值 : 0。
|
@@ -2537,6 +3250,57 @@ module TencentCloud
|
|
2537
3250
|
end
|
2538
3251
|
end
|
2539
3252
|
|
3253
|
+
# DismantleRoleConfiguration请求参数结构体
|
3254
|
+
class DismantleRoleConfigurationRequest < TencentCloud::Common::AbstractModel
|
3255
|
+
# @param ZoneId: 空间 ID。
|
3256
|
+
# @type ZoneId: String
|
3257
|
+
# @param RoleConfigurationId: 权限配置ID。
|
3258
|
+
# @type RoleConfigurationId: String
|
3259
|
+
# @param TargetType: 同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号。
|
3260
|
+
# @type TargetType: String
|
3261
|
+
# @param TargetUin: 同步的集团账号目标账号的UIN。
|
3262
|
+
# @type TargetUin: Integer
|
3263
|
+
|
3264
|
+
attr_accessor :ZoneId, :RoleConfigurationId, :TargetType, :TargetUin
|
3265
|
+
|
3266
|
+
def initialize(zoneid=nil, roleconfigurationid=nil, targettype=nil, targetuin=nil)
|
3267
|
+
@ZoneId = zoneid
|
3268
|
+
@RoleConfigurationId = roleconfigurationid
|
3269
|
+
@TargetType = targettype
|
3270
|
+
@TargetUin = targetuin
|
3271
|
+
end
|
3272
|
+
|
3273
|
+
def deserialize(params)
|
3274
|
+
@ZoneId = params['ZoneId']
|
3275
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
3276
|
+
@TargetType = params['TargetType']
|
3277
|
+
@TargetUin = params['TargetUin']
|
3278
|
+
end
|
3279
|
+
end
|
3280
|
+
|
3281
|
+
# DismantleRoleConfiguration返回参数结构体
|
3282
|
+
class DismantleRoleConfigurationResponse < TencentCloud::Common::AbstractModel
|
3283
|
+
# @param Task: 任务详情。
|
3284
|
+
# @type Task: :class:`Tencentcloud::Organization.v20210331.models.RoleProvisioningsTask`
|
3285
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3286
|
+
# @type RequestId: String
|
3287
|
+
|
3288
|
+
attr_accessor :Task, :RequestId
|
3289
|
+
|
3290
|
+
def initialize(task=nil, requestid=nil)
|
3291
|
+
@Task = task
|
3292
|
+
@RequestId = requestid
|
3293
|
+
end
|
3294
|
+
|
3295
|
+
def deserialize(params)
|
3296
|
+
unless params['Task'].nil?
|
3297
|
+
@Task = RoleProvisioningsTask.new
|
3298
|
+
@Task.deserialize(params['Task'])
|
3299
|
+
end
|
3300
|
+
@RequestId = params['RequestId']
|
3301
|
+
end
|
3302
|
+
end
|
3303
|
+
|
2540
3304
|
# 有效策略。
|
2541
3305
|
class EffectivePolicy < TencentCloud::Common::AbstractModel
|
2542
3306
|
# @param TargetId: 目标ID。
|
@@ -2597,472 +3361,1309 @@ module TencentCloud
|
|
2597
3361
|
end
|
2598
3362
|
end
|
2599
3363
|
|
2600
|
-
#
|
2601
|
-
class
|
2602
|
-
# @param
|
2603
|
-
# @type
|
2604
|
-
# @param PolicyName: CAM预设策略名称。PolicyType 为预设策略时有效且必选
|
2605
|
-
# @type PolicyName: String
|
2606
|
-
# @param PolicyType: 策略类型。取值 1-自定义策略 2-预设策略;默认值2
|
2607
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2608
|
-
# @type PolicyType: Integer
|
2609
|
-
# @param PolicyDocument: 自定义策略内容,遵循CAM策略语法。PolicyType 为自定义策略时有效且必选
|
2610
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2611
|
-
# @type PolicyDocument: String
|
3364
|
+
# GetExternalSAMLIdentityProvider请求参数结构体
|
3365
|
+
class GetExternalSAMLIdentityProviderRequest < TencentCloud::Common::AbstractModel
|
3366
|
+
# @param ZoneId: 空间ID。
|
3367
|
+
# @type ZoneId: String
|
2612
3368
|
|
2613
|
-
attr_accessor :
|
3369
|
+
attr_accessor :ZoneId
|
2614
3370
|
|
2615
|
-
def initialize(
|
2616
|
-
@
|
2617
|
-
@PolicyName = policyname
|
2618
|
-
@PolicyType = policytype
|
2619
|
-
@PolicyDocument = policydocument
|
3371
|
+
def initialize(zoneid=nil)
|
3372
|
+
@ZoneId = zoneid
|
2620
3373
|
end
|
2621
3374
|
|
2622
3375
|
def deserialize(params)
|
2623
|
-
@
|
2624
|
-
@PolicyName = params['PolicyName']
|
2625
|
-
@PolicyType = params['PolicyType']
|
2626
|
-
@PolicyDocument = params['PolicyDocument']
|
3376
|
+
@ZoneId = params['ZoneId']
|
2627
3377
|
end
|
2628
3378
|
end
|
2629
3379
|
|
2630
|
-
#
|
2631
|
-
class
|
2632
|
-
# @param
|
2633
|
-
# @type
|
2634
|
-
# @param
|
2635
|
-
# @type
|
2636
|
-
# @param PaginationToken: 从上一页的响应中获取的下一页的Token值。
|
2637
|
-
# 如果是第一次请求,设置为空。
|
2638
|
-
# @type PaginationToken: String
|
2639
|
-
# @param TagKey: 标签键。
|
2640
|
-
# @type TagKey: String
|
3380
|
+
# GetExternalSAMLIdentityProvider返回参数结构体
|
3381
|
+
class GetExternalSAMLIdentityProviderResponse < TencentCloud::Common::AbstractModel
|
3382
|
+
# @param SAMLIdentityProviderConfiguration: saml 身份提供商配置信息。
|
3383
|
+
# @type SAMLIdentityProviderConfiguration: :class:`Tencentcloud::Organization.v20210331.models.SAMLIdentityProviderConfiguration`
|
3384
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3385
|
+
# @type RequestId: String
|
2641
3386
|
|
2642
|
-
attr_accessor :
|
3387
|
+
attr_accessor :SAMLIdentityProviderConfiguration, :RequestId
|
2643
3388
|
|
2644
|
-
def initialize(
|
2645
|
-
@
|
2646
|
-
@
|
2647
|
-
@PaginationToken = paginationtoken
|
2648
|
-
@TagKey = tagkey
|
3389
|
+
def initialize(samlidentityproviderconfiguration=nil, requestid=nil)
|
3390
|
+
@SAMLIdentityProviderConfiguration = samlidentityproviderconfiguration
|
3391
|
+
@RequestId = requestid
|
2649
3392
|
end
|
2650
3393
|
|
2651
3394
|
def deserialize(params)
|
2652
|
-
|
2653
|
-
|
2654
|
-
|
2655
|
-
|
3395
|
+
unless params['SAMLIdentityProviderConfiguration'].nil?
|
3396
|
+
@SAMLIdentityProviderConfiguration = SAMLIdentityProviderConfiguration.new
|
3397
|
+
@SAMLIdentityProviderConfiguration.deserialize(params['SAMLIdentityProviderConfiguration'])
|
3398
|
+
end
|
3399
|
+
@RequestId = params['RequestId']
|
2656
3400
|
end
|
2657
3401
|
end
|
2658
3402
|
|
2659
|
-
#
|
2660
|
-
class
|
2661
|
-
# @param
|
2662
|
-
#
|
2663
|
-
# @
|
2664
|
-
# @
|
2665
|
-
|
2666
|
-
|
3403
|
+
# GetGroup请求参数结构体
|
3404
|
+
class GetGroupRequest < TencentCloud::Common::AbstractModel
|
3405
|
+
# @param ZoneId: 空间 ID。
|
3406
|
+
# @type ZoneId: String
|
3407
|
+
# @param GroupId: 用户组的 ID。
|
3408
|
+
# @type GroupId: String
|
3409
|
+
|
3410
|
+
attr_accessor :ZoneId, :GroupId
|
3411
|
+
|
3412
|
+
def initialize(zoneid=nil, groupid=nil)
|
3413
|
+
@ZoneId = zoneid
|
3414
|
+
@GroupId = groupid
|
3415
|
+
end
|
3416
|
+
|
3417
|
+
def deserialize(params)
|
3418
|
+
@ZoneId = params['ZoneId']
|
3419
|
+
@GroupId = params['GroupId']
|
3420
|
+
end
|
3421
|
+
end
|
3422
|
+
|
3423
|
+
# GetGroup返回参数结构体
|
3424
|
+
class GetGroupResponse < TencentCloud::Common::AbstractModel
|
3425
|
+
# @param GroupInfo: 用户组信息
|
3426
|
+
# @type GroupInfo: :class:`Tencentcloud::Organization.v20210331.models.GroupInfo`
|
2667
3427
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2668
3428
|
# @type RequestId: String
|
2669
3429
|
|
2670
|
-
attr_accessor :
|
3430
|
+
attr_accessor :GroupInfo, :RequestId
|
2671
3431
|
|
2672
|
-
def initialize(
|
2673
|
-
@
|
2674
|
-
@PaginationToken = paginationtoken
|
3432
|
+
def initialize(groupinfo=nil, requestid=nil)
|
3433
|
+
@GroupInfo = groupinfo
|
2675
3434
|
@RequestId = requestid
|
2676
3435
|
end
|
2677
3436
|
|
2678
3437
|
def deserialize(params)
|
2679
|
-
unless params['
|
2680
|
-
@
|
2681
|
-
params['
|
2682
|
-
resourcetagmapping_tmp = ResourceTagMapping.new
|
2683
|
-
resourcetagmapping_tmp.deserialize(i)
|
2684
|
-
@Items << resourcetagmapping_tmp
|
2685
|
-
end
|
3438
|
+
unless params['GroupInfo'].nil?
|
3439
|
+
@GroupInfo = GroupInfo.new
|
3440
|
+
@GroupInfo.deserialize(params['GroupInfo'])
|
2686
3441
|
end
|
2687
|
-
@PaginationToken = params['PaginationToken']
|
2688
3442
|
@RequestId = params['RequestId']
|
2689
3443
|
end
|
2690
3444
|
end
|
2691
3445
|
|
2692
|
-
#
|
2693
|
-
class
|
2694
|
-
# @param
|
2695
|
-
# @type
|
2696
|
-
# @param
|
2697
|
-
# @type
|
2698
|
-
# @param ServiceId: 集团服务ID。可以通过[ListOrganizationService](https://cloud.tencent.com/document/product/850/109561)获取
|
2699
|
-
# @type ServiceId: Integer
|
3446
|
+
# GetProvisioningTaskStatus请求参数结构体
|
3447
|
+
class GetProvisioningTaskStatusRequest < TencentCloud::Common::AbstractModel
|
3448
|
+
# @param ZoneId: 空间ID。
|
3449
|
+
# @type ZoneId: String
|
3450
|
+
# @param TaskId: 任务ID。
|
3451
|
+
# @type TaskId: String
|
2700
3452
|
|
2701
|
-
attr_accessor :
|
3453
|
+
attr_accessor :ZoneId, :TaskId
|
2702
3454
|
|
2703
|
-
def initialize(
|
2704
|
-
@
|
2705
|
-
@
|
2706
|
-
@ServiceId = serviceid
|
3455
|
+
def initialize(zoneid=nil, taskid=nil)
|
3456
|
+
@ZoneId = zoneid
|
3457
|
+
@TaskId = taskid
|
2707
3458
|
end
|
2708
3459
|
|
2709
3460
|
def deserialize(params)
|
2710
|
-
@
|
2711
|
-
@
|
2712
|
-
@ServiceId = params['ServiceId']
|
3461
|
+
@ZoneId = params['ZoneId']
|
3462
|
+
@TaskId = params['TaskId']
|
2713
3463
|
end
|
2714
3464
|
end
|
2715
3465
|
|
2716
|
-
#
|
2717
|
-
class
|
2718
|
-
# @param
|
2719
|
-
#
|
2720
|
-
# @type Total: Integer
|
2721
|
-
# @param Items: 委派管理员列表。
|
2722
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2723
|
-
# @type Items: Array
|
3466
|
+
# GetProvisioningTaskStatus返回参数结构体
|
3467
|
+
class GetProvisioningTaskStatusResponse < TencentCloud::Common::AbstractModel
|
3468
|
+
# @param TaskStatus: 任务状态信息。
|
3469
|
+
# @type TaskStatus: :class:`Tencentcloud::Organization.v20210331.models.TaskStatus`
|
2724
3470
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2725
3471
|
# @type RequestId: String
|
2726
3472
|
|
2727
|
-
attr_accessor :
|
3473
|
+
attr_accessor :TaskStatus, :RequestId
|
2728
3474
|
|
2729
|
-
def initialize(
|
2730
|
-
@
|
2731
|
-
@Items = items
|
3475
|
+
def initialize(taskstatus=nil, requestid=nil)
|
3476
|
+
@TaskStatus = taskstatus
|
2732
3477
|
@RequestId = requestid
|
2733
3478
|
end
|
2734
3479
|
|
2735
3480
|
def deserialize(params)
|
2736
|
-
|
2737
|
-
|
2738
|
-
@
|
2739
|
-
params['Items'].each do |i|
|
2740
|
-
organizationserviceassignmember_tmp = OrganizationServiceAssignMember.new
|
2741
|
-
organizationserviceassignmember_tmp.deserialize(i)
|
2742
|
-
@Items << organizationserviceassignmember_tmp
|
2743
|
-
end
|
3481
|
+
unless params['TaskStatus'].nil?
|
3482
|
+
@TaskStatus = TaskStatus.new
|
3483
|
+
@TaskStatus.deserialize(params['TaskStatus'])
|
2744
3484
|
end
|
2745
3485
|
@RequestId = params['RequestId']
|
2746
3486
|
end
|
2747
3487
|
end
|
2748
3488
|
|
2749
|
-
#
|
2750
|
-
class
|
2751
|
-
# @param
|
2752
|
-
# @type
|
2753
|
-
# @param
|
2754
|
-
# @type
|
2755
|
-
# @param SearchKey: 名称搜索关键字。
|
2756
|
-
# @type SearchKey: String
|
2757
|
-
# @param IdentityId: 身份ID。可以通过身份ID搜索
|
2758
|
-
# @type IdentityId: Integer
|
2759
|
-
# @param IdentityType: 身份类型。取值范围 1-预设, 2-自定义
|
2760
|
-
# @type IdentityType: Integer
|
3489
|
+
# GetRoleConfiguration请求参数结构体
|
3490
|
+
class GetRoleConfigurationRequest < TencentCloud::Common::AbstractModel
|
3491
|
+
# @param ZoneId: 空间 ID
|
3492
|
+
# @type ZoneId: String
|
3493
|
+
# @param RoleConfigurationId: 权限配置ID
|
3494
|
+
# @type RoleConfigurationId: String
|
2761
3495
|
|
2762
|
-
attr_accessor :
|
3496
|
+
attr_accessor :ZoneId, :RoleConfigurationId
|
2763
3497
|
|
2764
|
-
def initialize(
|
2765
|
-
@
|
2766
|
-
@
|
2767
|
-
@SearchKey = searchkey
|
2768
|
-
@IdentityId = identityid
|
2769
|
-
@IdentityType = identitytype
|
3498
|
+
def initialize(zoneid=nil, roleconfigurationid=nil)
|
3499
|
+
@ZoneId = zoneid
|
3500
|
+
@RoleConfigurationId = roleconfigurationid
|
2770
3501
|
end
|
2771
3502
|
|
2772
3503
|
def deserialize(params)
|
2773
|
-
@
|
2774
|
-
@
|
2775
|
-
@SearchKey = params['SearchKey']
|
2776
|
-
@IdentityId = params['IdentityId']
|
2777
|
-
@IdentityType = params['IdentityType']
|
3504
|
+
@ZoneId = params['ZoneId']
|
3505
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
2778
3506
|
end
|
2779
3507
|
end
|
2780
3508
|
|
2781
|
-
#
|
2782
|
-
class
|
2783
|
-
# @param
|
2784
|
-
#
|
2785
|
-
# @type Total: Integer
|
2786
|
-
# @param Items: 条目详情。
|
2787
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2788
|
-
# @type Items: Array
|
3509
|
+
# GetRoleConfiguration返回参数结构体
|
3510
|
+
class GetRoleConfigurationResponse < TencentCloud::Common::AbstractModel
|
3511
|
+
# @param RoleConfigurationInfo: 权限配置详情
|
3512
|
+
# @type RoleConfigurationInfo: :class:`Tencentcloud::Organization.v20210331.models.RoleConfiguration`
|
2789
3513
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2790
3514
|
# @type RequestId: String
|
2791
3515
|
|
2792
|
-
attr_accessor :
|
3516
|
+
attr_accessor :RoleConfigurationInfo, :RequestId
|
2793
3517
|
|
2794
|
-
def initialize(
|
2795
|
-
@
|
2796
|
-
@Items = items
|
3518
|
+
def initialize(roleconfigurationinfo=nil, requestid=nil)
|
3519
|
+
@RoleConfigurationInfo = roleconfigurationinfo
|
2797
3520
|
@RequestId = requestid
|
2798
3521
|
end
|
2799
3522
|
|
2800
3523
|
def deserialize(params)
|
2801
|
-
|
2802
|
-
|
2803
|
-
@
|
2804
|
-
params['Items'].each do |i|
|
2805
|
-
orgidentity_tmp = OrgIdentity.new
|
2806
|
-
orgidentity_tmp.deserialize(i)
|
2807
|
-
@Items << orgidentity_tmp
|
2808
|
-
end
|
3524
|
+
unless params['RoleConfigurationInfo'].nil?
|
3525
|
+
@RoleConfigurationInfo = RoleConfiguration.new
|
3526
|
+
@RoleConfigurationInfo.deserialize(params['RoleConfigurationInfo'])
|
2809
3527
|
end
|
2810
3528
|
@RequestId = params['RequestId']
|
2811
3529
|
end
|
2812
3530
|
end
|
2813
3531
|
|
2814
|
-
#
|
2815
|
-
class
|
2816
|
-
# @param
|
2817
|
-
# @type
|
2818
|
-
# @param
|
2819
|
-
# @type
|
2820
|
-
# @param SearchKey: 名称搜索关键字。
|
2821
|
-
# @type SearchKey: String
|
3532
|
+
# GetTaskStatus请求参数结构体
|
3533
|
+
class GetTaskStatusRequest < TencentCloud::Common::AbstractModel
|
3534
|
+
# @param ZoneId: 空间ID。
|
3535
|
+
# @type ZoneId: String
|
3536
|
+
# @param TaskId: 任务ID。
|
3537
|
+
# @type TaskId: String
|
2822
3538
|
|
2823
|
-
attr_accessor :
|
3539
|
+
attr_accessor :ZoneId, :TaskId
|
2824
3540
|
|
2825
|
-
def initialize(
|
2826
|
-
@
|
2827
|
-
@
|
2828
|
-
@SearchKey = searchkey
|
3541
|
+
def initialize(zoneid=nil, taskid=nil)
|
3542
|
+
@ZoneId = zoneid
|
3543
|
+
@TaskId = taskid
|
2829
3544
|
end
|
2830
3545
|
|
2831
3546
|
def deserialize(params)
|
2832
|
-
@
|
2833
|
-
@
|
2834
|
-
@SearchKey = params['SearchKey']
|
3547
|
+
@ZoneId = params['ZoneId']
|
3548
|
+
@TaskId = params['TaskId']
|
2835
3549
|
end
|
2836
3550
|
end
|
2837
3551
|
|
2838
|
-
#
|
2839
|
-
class
|
2840
|
-
# @param
|
2841
|
-
#
|
2842
|
-
# @type Total: Integer
|
2843
|
-
# @param Items: 集团服务列表。
|
2844
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2845
|
-
# @type Items: Array
|
3552
|
+
# GetTaskStatus返回参数结构体
|
3553
|
+
class GetTaskStatusResponse < TencentCloud::Common::AbstractModel
|
3554
|
+
# @param TaskStatus: 任务状态信息。
|
3555
|
+
# @type TaskStatus: :class:`Tencentcloud::Organization.v20210331.models.TaskStatus`
|
2846
3556
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2847
3557
|
# @type RequestId: String
|
2848
3558
|
|
2849
|
-
attr_accessor :
|
3559
|
+
attr_accessor :TaskStatus, :RequestId
|
2850
3560
|
|
2851
|
-
def initialize(
|
2852
|
-
@
|
2853
|
-
@Items = items
|
3561
|
+
def initialize(taskstatus=nil, requestid=nil)
|
3562
|
+
@TaskStatus = taskstatus
|
2854
3563
|
@RequestId = requestid
|
2855
3564
|
end
|
2856
3565
|
|
2857
3566
|
def deserialize(params)
|
2858
|
-
|
2859
|
-
|
2860
|
-
@
|
2861
|
-
params['Items'].each do |i|
|
2862
|
-
organizationserviceassign_tmp = OrganizationServiceAssign.new
|
2863
|
-
organizationserviceassign_tmp.deserialize(i)
|
2864
|
-
@Items << organizationserviceassign_tmp
|
2865
|
-
end
|
3567
|
+
unless params['TaskStatus'].nil?
|
3568
|
+
@TaskStatus = TaskStatus.new
|
3569
|
+
@TaskStatus.deserialize(params['TaskStatus'])
|
2866
3570
|
end
|
2867
3571
|
@RequestId = params['RequestId']
|
2868
3572
|
end
|
2869
3573
|
end
|
2870
3574
|
|
2871
|
-
#
|
2872
|
-
class
|
2873
|
-
# @param
|
2874
|
-
# @type
|
2875
|
-
# @param
|
2876
|
-
# @type
|
2877
|
-
# @param Remark: 备注信息
|
2878
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2879
|
-
# @type Remark: String
|
2880
|
-
# @param Uin: 关联的账号或节点
|
2881
|
-
# @type Uin: Integer
|
2882
|
-
# @param Type: 关联类型 1-节点 2-用户
|
2883
|
-
# @type Type: Integer
|
2884
|
-
# @param AddTime: 策略创建时间
|
2885
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2886
|
-
# @type AddTime: String
|
2887
|
-
# @param UpdateTime: 策略更新时间
|
2888
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2889
|
-
# @type UpdateTime: String
|
2890
|
-
# @param Name: 部门名称
|
2891
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2892
|
-
# @type Name: String
|
2893
|
-
# @param AttachTime: 策略绑定时间
|
2894
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2895
|
-
# @type AttachTime: String
|
3575
|
+
# GetUser请求参数结构体
|
3576
|
+
class GetUserRequest < TencentCloud::Common::AbstractModel
|
3577
|
+
# @param UserId: 用户 ID。
|
3578
|
+
# @type UserId: String
|
3579
|
+
# @param ZoneId: 空间 ID。
|
3580
|
+
# @type ZoneId: String
|
2896
3581
|
|
2897
|
-
attr_accessor :
|
3582
|
+
attr_accessor :UserId, :ZoneId
|
2898
3583
|
|
2899
|
-
def initialize(
|
2900
|
-
@
|
2901
|
-
@
|
2902
|
-
@Remark = remark
|
2903
|
-
@Uin = uin
|
2904
|
-
@Type = type
|
2905
|
-
@AddTime = addtime
|
2906
|
-
@UpdateTime = updatetime
|
2907
|
-
@Name = name
|
2908
|
-
@AttachTime = attachtime
|
3584
|
+
def initialize(userid=nil, zoneid=nil)
|
3585
|
+
@UserId = userid
|
3586
|
+
@ZoneId = zoneid
|
2909
3587
|
end
|
2910
3588
|
|
2911
3589
|
def deserialize(params)
|
2912
|
-
@
|
2913
|
-
@
|
2914
|
-
@Remark = params['Remark']
|
2915
|
-
@Uin = params['Uin']
|
2916
|
-
@Type = params['Type']
|
2917
|
-
@AddTime = params['AddTime']
|
2918
|
-
@UpdateTime = params['UpdateTime']
|
2919
|
-
@Name = params['Name']
|
2920
|
-
@AttachTime = params['AttachTime']
|
3590
|
+
@UserId = params['UserId']
|
3591
|
+
@ZoneId = params['ZoneId']
|
2921
3592
|
end
|
2922
3593
|
end
|
2923
3594
|
|
2924
|
-
#
|
2925
|
-
class
|
2926
|
-
# @param
|
2927
|
-
# @type
|
2928
|
-
# @param
|
2929
|
-
# @type
|
2930
|
-
# @param Page: 页码。默认值是 1,从 1开始,不能大于 200
|
2931
|
-
# @type Page: Integer
|
2932
|
-
# @param PolicyType: 策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略
|
2933
|
-
# @type PolicyType: String
|
2934
|
-
# @param Keyword: 搜索关键字。按照策略名称搜索
|
2935
|
-
# @type Keyword: String
|
3595
|
+
# GetUser返回参数结构体
|
3596
|
+
class GetUserResponse < TencentCloud::Common::AbstractModel
|
3597
|
+
# @param UserInfo: 用户信息。
|
3598
|
+
# @type UserInfo: :class:`Tencentcloud::Organization.v20210331.models.UserInfo`
|
3599
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3600
|
+
# @type RequestId: String
|
2936
3601
|
|
2937
|
-
attr_accessor :
|
3602
|
+
attr_accessor :UserInfo, :RequestId
|
2938
3603
|
|
2939
|
-
def initialize(
|
2940
|
-
@
|
2941
|
-
@
|
2942
|
-
@Page = page
|
2943
|
-
@PolicyType = policytype
|
2944
|
-
@Keyword = keyword
|
3604
|
+
def initialize(userinfo=nil, requestid=nil)
|
3605
|
+
@UserInfo = userinfo
|
3606
|
+
@RequestId = requestid
|
2945
3607
|
end
|
2946
3608
|
|
2947
3609
|
def deserialize(params)
|
2948
|
-
|
2949
|
-
|
2950
|
-
|
2951
|
-
|
2952
|
-
@
|
3610
|
+
unless params['UserInfo'].nil?
|
3611
|
+
@UserInfo = UserInfo.new
|
3612
|
+
@UserInfo.deserialize(params['UserInfo'])
|
3613
|
+
end
|
3614
|
+
@RequestId = params['RequestId']
|
2953
3615
|
end
|
2954
3616
|
end
|
2955
3617
|
|
2956
|
-
#
|
2957
|
-
class
|
2958
|
-
# @param
|
2959
|
-
# @type
|
2960
|
-
# @param
|
2961
|
-
#
|
2962
|
-
|
3618
|
+
# GetUserSyncProvisioning请求参数结构体
|
3619
|
+
class GetUserSyncProvisioningRequest < TencentCloud::Common::AbstractModel
|
3620
|
+
# @param ZoneId: 空间ID。
|
3621
|
+
# @type ZoneId: String
|
3622
|
+
# @param UserProvisioningId: CAM 用户同步的 ID。
|
3623
|
+
# @type UserProvisioningId: String
|
3624
|
+
|
3625
|
+
attr_accessor :ZoneId, :UserProvisioningId
|
3626
|
+
|
3627
|
+
def initialize(zoneid=nil, userprovisioningid=nil)
|
3628
|
+
@ZoneId = zoneid
|
3629
|
+
@UserProvisioningId = userprovisioningid
|
3630
|
+
end
|
3631
|
+
|
3632
|
+
def deserialize(params)
|
3633
|
+
@ZoneId = params['ZoneId']
|
3634
|
+
@UserProvisioningId = params['UserProvisioningId']
|
3635
|
+
end
|
3636
|
+
end
|
3637
|
+
|
3638
|
+
# GetUserSyncProvisioning返回参数结构体
|
3639
|
+
class GetUserSyncProvisioningResponse < TencentCloud::Common::AbstractModel
|
3640
|
+
# @param UserProvisioning: CAM 用户同步信息。
|
3641
|
+
# @type UserProvisioning: :class:`Tencentcloud::Organization.v20210331.models.UserProvisioning`
|
2963
3642
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2964
3643
|
# @type RequestId: String
|
2965
3644
|
|
2966
|
-
attr_accessor :
|
3645
|
+
attr_accessor :UserProvisioning, :RequestId
|
2967
3646
|
|
2968
|
-
def initialize(
|
2969
|
-
@
|
2970
|
-
@List = list
|
3647
|
+
def initialize(userprovisioning=nil, requestid=nil)
|
3648
|
+
@UserProvisioning = userprovisioning
|
2971
3649
|
@RequestId = requestid
|
2972
3650
|
end
|
2973
3651
|
|
2974
3652
|
def deserialize(params)
|
2975
|
-
|
2976
|
-
|
2977
|
-
@
|
2978
|
-
params['List'].each do |i|
|
2979
|
-
listpoliciesfortarget_tmp = ListPoliciesForTarget.new
|
2980
|
-
listpoliciesfortarget_tmp.deserialize(i)
|
2981
|
-
@List << listpoliciesfortarget_tmp
|
2982
|
-
end
|
3653
|
+
unless params['UserProvisioning'].nil?
|
3654
|
+
@UserProvisioning = UserProvisioning.new
|
3655
|
+
@UserProvisioning.deserialize(params['UserProvisioning'])
|
2983
3656
|
end
|
2984
3657
|
@RequestId = params['RequestId']
|
2985
3658
|
end
|
2986
3659
|
end
|
2987
3660
|
|
2988
|
-
#
|
2989
|
-
class
|
2990
|
-
# @param
|
2991
|
-
# @type
|
2992
|
-
# @param Page: 页码。默认值是 1,从 1开始,不能大于 200
|
2993
|
-
# @type Page: Integer
|
2994
|
-
# @param Scope: 查询范围。取值范围: All-获取所有策略、QCS-只获取预设策略、Local-只获取自定义策略,默认值:All
|
2995
|
-
# @type Scope: String
|
2996
|
-
# @param Keyword: 搜索关键字。按照策略名搜索
|
2997
|
-
# @type Keyword: String
|
2998
|
-
# @param PolicyType: 策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略
|
2999
|
-
# @type PolicyType: String
|
3661
|
+
# GetZoneSAMLServiceProviderInfo请求参数结构体
|
3662
|
+
class GetZoneSAMLServiceProviderInfoRequest < TencentCloud::Common::AbstractModel
|
3663
|
+
# @param ZoneId: 空间ID。
|
3664
|
+
# @type ZoneId: String
|
3000
3665
|
|
3001
|
-
attr_accessor :
|
3666
|
+
attr_accessor :ZoneId
|
3002
3667
|
|
3003
|
-
def initialize(
|
3004
|
-
@
|
3005
|
-
@Page = page
|
3006
|
-
@Scope = scope
|
3007
|
-
@Keyword = keyword
|
3008
|
-
@PolicyType = policytype
|
3668
|
+
def initialize(zoneid=nil)
|
3669
|
+
@ZoneId = zoneid
|
3009
3670
|
end
|
3010
3671
|
|
3011
3672
|
def deserialize(params)
|
3012
|
-
@
|
3013
|
-
@Page = params['Page']
|
3014
|
-
@Scope = params['Scope']
|
3015
|
-
@Keyword = params['Keyword']
|
3016
|
-
@PolicyType = params['PolicyType']
|
3673
|
+
@ZoneId = params['ZoneId']
|
3017
3674
|
end
|
3018
3675
|
end
|
3019
3676
|
|
3020
|
-
#
|
3021
|
-
class
|
3022
|
-
# @param
|
3023
|
-
# @type
|
3024
|
-
# @param List: 策略列表数据
|
3025
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3026
|
-
# @type List: Array
|
3677
|
+
# GetZoneSAMLServiceProviderInfo返回参数结构体
|
3678
|
+
class GetZoneSAMLServiceProviderInfoResponse < TencentCloud::Common::AbstractModel
|
3679
|
+
# @param SAMLServiceProvider: saml服务提供商配置信息
|
3680
|
+
# @type SAMLServiceProvider: :class:`Tencentcloud::Organization.v20210331.models.SAMLServiceProvider`
|
3027
3681
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3028
3682
|
# @type RequestId: String
|
3029
3683
|
|
3030
|
-
attr_accessor :
|
3684
|
+
attr_accessor :SAMLServiceProvider, :RequestId
|
3031
3685
|
|
3032
|
-
def initialize(
|
3033
|
-
@
|
3034
|
-
@List = list
|
3686
|
+
def initialize(samlserviceprovider=nil, requestid=nil)
|
3687
|
+
@SAMLServiceProvider = samlserviceprovider
|
3035
3688
|
@RequestId = requestid
|
3036
3689
|
end
|
3037
3690
|
|
3038
3691
|
def deserialize(params)
|
3039
|
-
|
3040
|
-
|
3041
|
-
@
|
3042
|
-
params['List'].each do |i|
|
3043
|
-
listpolicynode_tmp = ListPolicyNode.new
|
3044
|
-
listpolicynode_tmp.deserialize(i)
|
3045
|
-
@List << listpolicynode_tmp
|
3046
|
-
end
|
3692
|
+
unless params['SAMLServiceProvider'].nil?
|
3693
|
+
@SAMLServiceProvider = SAMLServiceProvider.new
|
3694
|
+
@SAMLServiceProvider.deserialize(params['SAMLServiceProvider'])
|
3047
3695
|
end
|
3048
3696
|
@RequestId = params['RequestId']
|
3049
3697
|
end
|
3050
3698
|
end
|
3051
3699
|
|
3052
|
-
#
|
3053
|
-
class
|
3054
|
-
# @param
|
3055
|
-
#
|
3056
|
-
|
3057
|
-
|
3058
|
-
|
3059
|
-
|
3060
|
-
|
3061
|
-
|
3062
|
-
|
3063
|
-
|
3064
|
-
|
3065
|
-
|
3700
|
+
# GetZoneStatistics请求参数结构体
|
3701
|
+
class GetZoneStatisticsRequest < TencentCloud::Common::AbstractModel
|
3702
|
+
# @param ZoneId: 空间ID
|
3703
|
+
# @type ZoneId: String
|
3704
|
+
|
3705
|
+
attr_accessor :ZoneId
|
3706
|
+
|
3707
|
+
def initialize(zoneid=nil)
|
3708
|
+
@ZoneId = zoneid
|
3709
|
+
end
|
3710
|
+
|
3711
|
+
def deserialize(params)
|
3712
|
+
@ZoneId = params['ZoneId']
|
3713
|
+
end
|
3714
|
+
end
|
3715
|
+
|
3716
|
+
# GetZoneStatistics返回参数结构体
|
3717
|
+
class GetZoneStatisticsResponse < TencentCloud::Common::AbstractModel
|
3718
|
+
# @param ZoneStatistics: 空间的统计信息。
|
3719
|
+
# @type ZoneStatistics: :class:`Tencentcloud::Organization.v20210331.models.ZoneStatistics`
|
3720
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3721
|
+
# @type RequestId: String
|
3722
|
+
|
3723
|
+
attr_accessor :ZoneStatistics, :RequestId
|
3724
|
+
|
3725
|
+
def initialize(zonestatistics=nil, requestid=nil)
|
3726
|
+
@ZoneStatistics = zonestatistics
|
3727
|
+
@RequestId = requestid
|
3728
|
+
end
|
3729
|
+
|
3730
|
+
def deserialize(params)
|
3731
|
+
unless params['ZoneStatistics'].nil?
|
3732
|
+
@ZoneStatistics = ZoneStatistics.new
|
3733
|
+
@ZoneStatistics.deserialize(params['ZoneStatistics'])
|
3734
|
+
end
|
3735
|
+
@RequestId = params['RequestId']
|
3736
|
+
end
|
3737
|
+
end
|
3738
|
+
|
3739
|
+
# 用户组信息。
|
3740
|
+
class GroupInfo < TencentCloud::Common::AbstractModel
|
3741
|
+
# @param GroupName: 用户组的名称。
|
3742
|
+
# @type GroupName: String
|
3743
|
+
# @param Description: 用户组的描述。
|
3744
|
+
# @type Description: String
|
3745
|
+
# @param CreateTime: 用户组的创建时间。
|
3746
|
+
# @type CreateTime: String
|
3747
|
+
# @param GroupType: 用户组的类型 Manual:手动创建,Synchronized:外部导入。
|
3748
|
+
# @type GroupType: String
|
3749
|
+
# @param UpdateTime: 用户组的修改时间。
|
3750
|
+
# @type UpdateTime: String
|
3751
|
+
# @param GroupId: 用户组的 ID。
|
3752
|
+
# @type GroupId: String
|
3753
|
+
# @param MemberCount: 组员数量。
|
3754
|
+
# @type MemberCount: Integer
|
3755
|
+
# @param IsSelected: 如果有入参FilterUsers,用户在用户组返回true,否则返回false
|
3756
|
+
# @type IsSelected: Boolean
|
3757
|
+
|
3758
|
+
attr_accessor :GroupName, :Description, :CreateTime, :GroupType, :UpdateTime, :GroupId, :MemberCount, :IsSelected
|
3759
|
+
|
3760
|
+
def initialize(groupname=nil, description=nil, createtime=nil, grouptype=nil, updatetime=nil, groupid=nil, membercount=nil, isselected=nil)
|
3761
|
+
@GroupName = groupname
|
3762
|
+
@Description = description
|
3763
|
+
@CreateTime = createtime
|
3764
|
+
@GroupType = grouptype
|
3765
|
+
@UpdateTime = updatetime
|
3766
|
+
@GroupId = groupid
|
3767
|
+
@MemberCount = membercount
|
3768
|
+
@IsSelected = isselected
|
3769
|
+
end
|
3770
|
+
|
3771
|
+
def deserialize(params)
|
3772
|
+
@GroupName = params['GroupName']
|
3773
|
+
@Description = params['Description']
|
3774
|
+
@CreateTime = params['CreateTime']
|
3775
|
+
@GroupType = params['GroupType']
|
3776
|
+
@UpdateTime = params['UpdateTime']
|
3777
|
+
@GroupId = params['GroupId']
|
3778
|
+
@MemberCount = params['MemberCount']
|
3779
|
+
@IsSelected = params['IsSelected']
|
3780
|
+
end
|
3781
|
+
end
|
3782
|
+
|
3783
|
+
# 用户信息
|
3784
|
+
class GroupMembers < TencentCloud::Common::AbstractModel
|
3785
|
+
# @param UserName: 查询username。
|
3786
|
+
# @type UserName: String
|
3787
|
+
# @param DisplayName: 用户的显示名称。
|
3788
|
+
# @type DisplayName: String
|
3789
|
+
# @param Description: 用户的描述。
|
3790
|
+
# @type Description: String
|
3791
|
+
# @param Email: 用户的电子邮箱。目录内必须唯一。
|
3792
|
+
# @type Email: String
|
3793
|
+
# @param UserStatus: 用户状态 Enabled:启用, Disabled:禁用。
|
3794
|
+
# @type UserStatus: String
|
3795
|
+
# @param UserType: 用户类型 Manual:手动创建,Synchronized:外部导入。
|
3796
|
+
# @type UserType: String
|
3797
|
+
# @param UserId: 用户 ID
|
3798
|
+
# @type UserId: String
|
3799
|
+
# @param JoinTime: 用户加入用户组的时间
|
3800
|
+
# @type JoinTime: String
|
3801
|
+
|
3802
|
+
attr_accessor :UserName, :DisplayName, :Description, :Email, :UserStatus, :UserType, :UserId, :JoinTime
|
3803
|
+
|
3804
|
+
def initialize(username=nil, displayname=nil, description=nil, email=nil, userstatus=nil, usertype=nil, userid=nil, jointime=nil)
|
3805
|
+
@UserName = username
|
3806
|
+
@DisplayName = displayname
|
3807
|
+
@Description = description
|
3808
|
+
@Email = email
|
3809
|
+
@UserStatus = userstatus
|
3810
|
+
@UserType = usertype
|
3811
|
+
@UserId = userid
|
3812
|
+
@JoinTime = jointime
|
3813
|
+
end
|
3814
|
+
|
3815
|
+
def deserialize(params)
|
3816
|
+
@UserName = params['UserName']
|
3817
|
+
@DisplayName = params['DisplayName']
|
3818
|
+
@Description = params['Description']
|
3819
|
+
@Email = params['Email']
|
3820
|
+
@UserStatus = params['UserStatus']
|
3821
|
+
@UserType = params['UserType']
|
3822
|
+
@UserId = params['UserId']
|
3823
|
+
@JoinTime = params['JoinTime']
|
3824
|
+
end
|
3825
|
+
end
|
3826
|
+
|
3827
|
+
# 组织身份策略
|
3828
|
+
class IdentityPolicy < TencentCloud::Common::AbstractModel
|
3829
|
+
# @param PolicyId: CAM预设策略ID。PolicyType 为预设策略时有效且必选
|
3830
|
+
# @type PolicyId: Integer
|
3831
|
+
# @param PolicyName: CAM预设策略名称。PolicyType 为预设策略时有效且必选
|
3832
|
+
# @type PolicyName: String
|
3833
|
+
# @param PolicyType: 策略类型。取值 1-自定义策略 2-预设策略;默认值2
|
3834
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3835
|
+
# @type PolicyType: Integer
|
3836
|
+
# @param PolicyDocument: 自定义策略内容,遵循CAM策略语法。PolicyType 为自定义策略时有效且必选
|
3837
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3838
|
+
# @type PolicyDocument: String
|
3839
|
+
|
3840
|
+
attr_accessor :PolicyId, :PolicyName, :PolicyType, :PolicyDocument
|
3841
|
+
|
3842
|
+
def initialize(policyid=nil, policyname=nil, policytype=nil, policydocument=nil)
|
3843
|
+
@PolicyId = policyid
|
3844
|
+
@PolicyName = policyname
|
3845
|
+
@PolicyType = policytype
|
3846
|
+
@PolicyDocument = policydocument
|
3847
|
+
end
|
3848
|
+
|
3849
|
+
def deserialize(params)
|
3850
|
+
@PolicyId = params['PolicyId']
|
3851
|
+
@PolicyName = params['PolicyName']
|
3852
|
+
@PolicyType = params['PolicyType']
|
3853
|
+
@PolicyDocument = params['PolicyDocument']
|
3854
|
+
end
|
3855
|
+
end
|
3856
|
+
|
3857
|
+
# 用户加入的用户组
|
3858
|
+
class JoinedGroups < TencentCloud::Common::AbstractModel
|
3859
|
+
# @param GroupName: 用户组的名称。
|
3860
|
+
# @type GroupName: String
|
3861
|
+
# @param Description: 用户组的描述。
|
3862
|
+
# @type Description: String
|
3863
|
+
# @param GroupId: 用户组 ID。
|
3864
|
+
# @type GroupId: String
|
3865
|
+
# @param GroupType: 用户组的类型。取值:
|
3866
|
+
|
3867
|
+
# Manual:手动创建。
|
3868
|
+
# Synchronized:外部同步。
|
3869
|
+
# @type GroupType: String
|
3870
|
+
# @param JoinTime: 加入用户组的时间
|
3871
|
+
# @type JoinTime: String
|
3872
|
+
|
3873
|
+
attr_accessor :GroupName, :Description, :GroupId, :GroupType, :JoinTime
|
3874
|
+
|
3875
|
+
def initialize(groupname=nil, description=nil, groupid=nil, grouptype=nil, jointime=nil)
|
3876
|
+
@GroupName = groupname
|
3877
|
+
@Description = description
|
3878
|
+
@GroupId = groupid
|
3879
|
+
@GroupType = grouptype
|
3880
|
+
@JoinTime = jointime
|
3881
|
+
end
|
3882
|
+
|
3883
|
+
def deserialize(params)
|
3884
|
+
@GroupName = params['GroupName']
|
3885
|
+
@Description = params['Description']
|
3886
|
+
@GroupId = params['GroupId']
|
3887
|
+
@GroupType = params['GroupType']
|
3888
|
+
@JoinTime = params['JoinTime']
|
3889
|
+
end
|
3890
|
+
end
|
3891
|
+
|
3892
|
+
# ListExternalSAMLIdPCertificates请求参数结构体
|
3893
|
+
class ListExternalSAMLIdPCertificatesRequest < TencentCloud::Common::AbstractModel
|
3894
|
+
# @param ZoneId: 空间ID。
|
3895
|
+
# @type ZoneId: String
|
3896
|
+
|
3897
|
+
attr_accessor :ZoneId
|
3898
|
+
|
3899
|
+
def initialize(zoneid=nil)
|
3900
|
+
@ZoneId = zoneid
|
3901
|
+
end
|
3902
|
+
|
3903
|
+
def deserialize(params)
|
3904
|
+
@ZoneId = params['ZoneId']
|
3905
|
+
end
|
3906
|
+
end
|
3907
|
+
|
3908
|
+
# ListExternalSAMLIdPCertificates返回参数结构体
|
3909
|
+
class ListExternalSAMLIdPCertificatesResponse < TencentCloud::Common::AbstractModel
|
3910
|
+
# @param TotalCounts: 符合请求参数条件的数据总条数。
|
3911
|
+
# @type TotalCounts: Integer
|
3912
|
+
# @param SAMLIdPCertificates: SAML 签名证书列表
|
3913
|
+
# @type SAMLIdPCertificates: Array
|
3914
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3915
|
+
# @type RequestId: String
|
3916
|
+
|
3917
|
+
attr_accessor :TotalCounts, :SAMLIdPCertificates, :RequestId
|
3918
|
+
|
3919
|
+
def initialize(totalcounts=nil, samlidpcertificates=nil, requestid=nil)
|
3920
|
+
@TotalCounts = totalcounts
|
3921
|
+
@SAMLIdPCertificates = samlidpcertificates
|
3922
|
+
@RequestId = requestid
|
3923
|
+
end
|
3924
|
+
|
3925
|
+
def deserialize(params)
|
3926
|
+
@TotalCounts = params['TotalCounts']
|
3927
|
+
unless params['SAMLIdPCertificates'].nil?
|
3928
|
+
@SAMLIdPCertificates = []
|
3929
|
+
params['SAMLIdPCertificates'].each do |i|
|
3930
|
+
samlidpcertificate_tmp = SAMLIdPCertificate.new
|
3931
|
+
samlidpcertificate_tmp.deserialize(i)
|
3932
|
+
@SAMLIdPCertificates << samlidpcertificate_tmp
|
3933
|
+
end
|
3934
|
+
end
|
3935
|
+
@RequestId = params['RequestId']
|
3936
|
+
end
|
3937
|
+
end
|
3938
|
+
|
3939
|
+
# ListGroupMembers请求参数结构体
|
3940
|
+
class ListGroupMembersRequest < TencentCloud::Common::AbstractModel
|
3941
|
+
# @param ZoneId: 空间 ID。
|
3942
|
+
# @type ZoneId: String
|
3943
|
+
# @param GroupId: 用户组ID。
|
3944
|
+
# @type GroupId: String
|
3945
|
+
# @param NextToken: 查询返回结果下一页的令牌。首次调用 API 不需要NextToken。 当您首次调用 API 时,如果返回数据总条数超过MaxResults限制,数据会被截断,只返回MaxResults条数据,同时,返回参数IsTruncated为true,返回一个NextToken。您可以使用上一次返回的NextToken继续调用 API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到IsTruncated为false,表示全部数据查询完毕。
|
3946
|
+
# @type NextToken: String
|
3947
|
+
# @param MaxResults: 每页的最大数据条数。 取值范围:1~100。 默认值:10。
|
3948
|
+
# @type MaxResults: Integer
|
3949
|
+
# @param UserType: 用户类型 Manual:手动创建,Synchronized:外部导入。
|
3950
|
+
# @type UserType: String
|
3951
|
+
|
3952
|
+
attr_accessor :ZoneId, :GroupId, :NextToken, :MaxResults, :UserType
|
3953
|
+
|
3954
|
+
def initialize(zoneid=nil, groupid=nil, nexttoken=nil, maxresults=nil, usertype=nil)
|
3955
|
+
@ZoneId = zoneid
|
3956
|
+
@GroupId = groupid
|
3957
|
+
@NextToken = nexttoken
|
3958
|
+
@MaxResults = maxresults
|
3959
|
+
@UserType = usertype
|
3960
|
+
end
|
3961
|
+
|
3962
|
+
def deserialize(params)
|
3963
|
+
@ZoneId = params['ZoneId']
|
3964
|
+
@GroupId = params['GroupId']
|
3965
|
+
@NextToken = params['NextToken']
|
3966
|
+
@MaxResults = params['MaxResults']
|
3967
|
+
@UserType = params['UserType']
|
3968
|
+
end
|
3969
|
+
end
|
3970
|
+
|
3971
|
+
# ListGroupMembers返回参数结构体
|
3972
|
+
class ListGroupMembersResponse < TencentCloud::Common::AbstractModel
|
3973
|
+
# @param NextToken: 查询返回结果下一页的令牌。 说明 只有IsTruncated为true时,才显示该参数。
|
3974
|
+
# @type NextToken: String
|
3975
|
+
# @param TotalCounts: 符合请求参数条件的数据总条数。
|
3976
|
+
# @type TotalCounts: Integer
|
3977
|
+
# @param MaxResults: 每页的最大数据条数。
|
3978
|
+
# @type MaxResults: Integer
|
3979
|
+
# @param IsTruncated: 返回结果是否被截断。取值: true:已截断。 false:未截断。
|
3980
|
+
# @type IsTruncated: Boolean
|
3981
|
+
# @param GroupMembers: 用户组的用户列表
|
3982
|
+
# @type GroupMembers: Array
|
3983
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3984
|
+
# @type RequestId: String
|
3985
|
+
|
3986
|
+
attr_accessor :NextToken, :TotalCounts, :MaxResults, :IsTruncated, :GroupMembers, :RequestId
|
3987
|
+
|
3988
|
+
def initialize(nexttoken=nil, totalcounts=nil, maxresults=nil, istruncated=nil, groupmembers=nil, requestid=nil)
|
3989
|
+
@NextToken = nexttoken
|
3990
|
+
@TotalCounts = totalcounts
|
3991
|
+
@MaxResults = maxresults
|
3992
|
+
@IsTruncated = istruncated
|
3993
|
+
@GroupMembers = groupmembers
|
3994
|
+
@RequestId = requestid
|
3995
|
+
end
|
3996
|
+
|
3997
|
+
def deserialize(params)
|
3998
|
+
@NextToken = params['NextToken']
|
3999
|
+
@TotalCounts = params['TotalCounts']
|
4000
|
+
@MaxResults = params['MaxResults']
|
4001
|
+
@IsTruncated = params['IsTruncated']
|
4002
|
+
unless params['GroupMembers'].nil?
|
4003
|
+
@GroupMembers = []
|
4004
|
+
params['GroupMembers'].each do |i|
|
4005
|
+
groupmembers_tmp = GroupMembers.new
|
4006
|
+
groupmembers_tmp.deserialize(i)
|
4007
|
+
@GroupMembers << groupmembers_tmp
|
4008
|
+
end
|
4009
|
+
end
|
4010
|
+
@RequestId = params['RequestId']
|
4011
|
+
end
|
4012
|
+
end
|
4013
|
+
|
4014
|
+
# ListGroups请求参数结构体
|
4015
|
+
class ListGroupsRequest < TencentCloud::Common::AbstractModel
|
4016
|
+
# @param ZoneId: 空间 ID。
|
4017
|
+
# @type ZoneId: String
|
4018
|
+
# @param NextToken: 查询返回结果下一页的令牌。首次调用 API 不需要NextToken。 当您首次调用 API 时,如果返回数据总条数超过MaxResults限制,数据会被截断,只返回MaxResults条数据,同时,返回参数IsTruncated为true,返回一个NextToken。您可以使用上一次返回的NextToken继续调用 API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到IsTruncated为false,表示全部数据查询完毕。
|
4019
|
+
# @type NextToken: String
|
4020
|
+
# @param MaxResults: 每页的最大数据条数。 取值范围:1~100。 默认值:10。
|
4021
|
+
# @type MaxResults: Integer
|
4022
|
+
# @param Filter: 过滤条件。 格式:<Attribute> <Operator> <Value>,不区分大小写。目前,<Attribute>只支持GroupName,<Operator>只支持eq(Equals)和sw(Start With)。 示例:Filter = "GroupName sw test",表示查询名称以 test 开头的全部用户组。Filter = "GroupName eq testgroup",表示查询名称为 testgroup 的用户组。
|
4023
|
+
# @type Filter: String
|
4024
|
+
# @param GroupType: 用户组的类型 Manual:手动创建,Synchronized:外部导入。
|
4025
|
+
# @type GroupType: String
|
4026
|
+
# @param FilterUsers: 筛选的用户,该用户关联的用户组会返回IsSelected=1
|
4027
|
+
# @type FilterUsers: Array
|
4028
|
+
# @param SortField: 排序的字段,目前只支持CreateTime,默认是CreateTime字段
|
4029
|
+
# @type SortField: String
|
4030
|
+
# @param SortType: 排序类型:Desc 倒序 Asc 正序,需要你和SortField一起设置
|
4031
|
+
# @type SortType: String
|
4032
|
+
|
4033
|
+
attr_accessor :ZoneId, :NextToken, :MaxResults, :Filter, :GroupType, :FilterUsers, :SortField, :SortType
|
4034
|
+
|
4035
|
+
def initialize(zoneid=nil, nexttoken=nil, maxresults=nil, filter=nil, grouptype=nil, filterusers=nil, sortfield=nil, sorttype=nil)
|
4036
|
+
@ZoneId = zoneid
|
4037
|
+
@NextToken = nexttoken
|
4038
|
+
@MaxResults = maxresults
|
4039
|
+
@Filter = filter
|
4040
|
+
@GroupType = grouptype
|
4041
|
+
@FilterUsers = filterusers
|
4042
|
+
@SortField = sortfield
|
4043
|
+
@SortType = sorttype
|
4044
|
+
end
|
4045
|
+
|
4046
|
+
def deserialize(params)
|
4047
|
+
@ZoneId = params['ZoneId']
|
4048
|
+
@NextToken = params['NextToken']
|
4049
|
+
@MaxResults = params['MaxResults']
|
4050
|
+
@Filter = params['Filter']
|
4051
|
+
@GroupType = params['GroupType']
|
4052
|
+
@FilterUsers = params['FilterUsers']
|
4053
|
+
@SortField = params['SortField']
|
4054
|
+
@SortType = params['SortType']
|
4055
|
+
end
|
4056
|
+
end
|
4057
|
+
|
4058
|
+
# ListGroups返回参数结构体
|
4059
|
+
class ListGroupsResponse < TencentCloud::Common::AbstractModel
|
4060
|
+
# @param NextToken: 查询返回结果下一页的令牌。 说明 只有IsTruncated为true时,才显示该参数。
|
4061
|
+
# @type NextToken: String
|
4062
|
+
# @param Groups: 用户组列表。
|
4063
|
+
# @type Groups: Array
|
4064
|
+
# @param MaxResults: 每页的最大数据条数。
|
4065
|
+
# @type MaxResults: Integer
|
4066
|
+
# @param TotalCounts: 符合请求参数条件的数据总条数。
|
4067
|
+
# @type TotalCounts: Integer
|
4068
|
+
# @param IsTruncated: 返回结果是否被截断。取值: true:已截断。 false:未截断。
|
4069
|
+
# @type IsTruncated: Boolean
|
4070
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4071
|
+
# @type RequestId: String
|
4072
|
+
|
4073
|
+
attr_accessor :NextToken, :Groups, :MaxResults, :TotalCounts, :IsTruncated, :RequestId
|
4074
|
+
|
4075
|
+
def initialize(nexttoken=nil, groups=nil, maxresults=nil, totalcounts=nil, istruncated=nil, requestid=nil)
|
4076
|
+
@NextToken = nexttoken
|
4077
|
+
@Groups = groups
|
4078
|
+
@MaxResults = maxresults
|
4079
|
+
@TotalCounts = totalcounts
|
4080
|
+
@IsTruncated = istruncated
|
4081
|
+
@RequestId = requestid
|
4082
|
+
end
|
4083
|
+
|
4084
|
+
def deserialize(params)
|
4085
|
+
@NextToken = params['NextToken']
|
4086
|
+
unless params['Groups'].nil?
|
4087
|
+
@Groups = []
|
4088
|
+
params['Groups'].each do |i|
|
4089
|
+
groupinfo_tmp = GroupInfo.new
|
4090
|
+
groupinfo_tmp.deserialize(i)
|
4091
|
+
@Groups << groupinfo_tmp
|
4092
|
+
end
|
4093
|
+
end
|
4094
|
+
@MaxResults = params['MaxResults']
|
4095
|
+
@TotalCounts = params['TotalCounts']
|
4096
|
+
@IsTruncated = params['IsTruncated']
|
4097
|
+
@RequestId = params['RequestId']
|
4098
|
+
end
|
4099
|
+
end
|
4100
|
+
|
4101
|
+
# ListJoinedGroupsForUser请求参数结构体
|
4102
|
+
class ListJoinedGroupsForUserRequest < TencentCloud::Common::AbstractModel
|
4103
|
+
# @param ZoneId: 空间 ID。
|
4104
|
+
# @type ZoneId: String
|
4105
|
+
# @param UserId: 用户ID
|
4106
|
+
# @type UserId: String
|
4107
|
+
# @param NextToken: 查询返回结果下一页的令牌。首次调用 API 不需要NextToken。 当您首次调用 API 时,如果返回数据总条数超过MaxResults限制,数据会被截断,只返回MaxResults条数据,同时,返回参数IsTruncated为true,返回一个NextToken。您可以使用上一次返回的NextToken继续调用 API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到IsTruncated为false,表示全部数据查询完毕。
|
4108
|
+
# @type NextToken: String
|
4109
|
+
# @param MaxResults: 每页的最大数据条数。 取值范围:1~100。 默认值:10。
|
4110
|
+
# @type MaxResults: Integer
|
4111
|
+
|
4112
|
+
attr_accessor :ZoneId, :UserId, :NextToken, :MaxResults
|
4113
|
+
|
4114
|
+
def initialize(zoneid=nil, userid=nil, nexttoken=nil, maxresults=nil)
|
4115
|
+
@ZoneId = zoneid
|
4116
|
+
@UserId = userid
|
4117
|
+
@NextToken = nexttoken
|
4118
|
+
@MaxResults = maxresults
|
4119
|
+
end
|
4120
|
+
|
4121
|
+
def deserialize(params)
|
4122
|
+
@ZoneId = params['ZoneId']
|
4123
|
+
@UserId = params['UserId']
|
4124
|
+
@NextToken = params['NextToken']
|
4125
|
+
@MaxResults = params['MaxResults']
|
4126
|
+
end
|
4127
|
+
end
|
4128
|
+
|
4129
|
+
# ListJoinedGroupsForUser返回参数结构体
|
4130
|
+
class ListJoinedGroupsForUserResponse < TencentCloud::Common::AbstractModel
|
4131
|
+
# @param NextToken: 查询返回结果下一页的令牌。 说明 只有IsTruncated为true时,才显示该参数。
|
4132
|
+
# @type NextToken: String
|
4133
|
+
# @param TotalCounts: 符合请求参数条件的数据总条数。
|
4134
|
+
# @type TotalCounts: Integer
|
4135
|
+
# @param MaxResults: 每页的最大数据条数。
|
4136
|
+
# @type MaxResults: Integer
|
4137
|
+
# @param IsTruncated: 返回结果是否被截断。取值: true:已截断。 false:未截断。
|
4138
|
+
# @type IsTruncated: Boolean
|
4139
|
+
# @param JoinedGroups: 用户加入的用户组列表
|
4140
|
+
# @type JoinedGroups: Array
|
4141
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4142
|
+
# @type RequestId: String
|
4143
|
+
|
4144
|
+
attr_accessor :NextToken, :TotalCounts, :MaxResults, :IsTruncated, :JoinedGroups, :RequestId
|
4145
|
+
|
4146
|
+
def initialize(nexttoken=nil, totalcounts=nil, maxresults=nil, istruncated=nil, joinedgroups=nil, requestid=nil)
|
4147
|
+
@NextToken = nexttoken
|
4148
|
+
@TotalCounts = totalcounts
|
4149
|
+
@MaxResults = maxresults
|
4150
|
+
@IsTruncated = istruncated
|
4151
|
+
@JoinedGroups = joinedgroups
|
4152
|
+
@RequestId = requestid
|
4153
|
+
end
|
4154
|
+
|
4155
|
+
def deserialize(params)
|
4156
|
+
@NextToken = params['NextToken']
|
4157
|
+
@TotalCounts = params['TotalCounts']
|
4158
|
+
@MaxResults = params['MaxResults']
|
4159
|
+
@IsTruncated = params['IsTruncated']
|
4160
|
+
unless params['JoinedGroups'].nil?
|
4161
|
+
@JoinedGroups = []
|
4162
|
+
params['JoinedGroups'].each do |i|
|
4163
|
+
joinedgroups_tmp = JoinedGroups.new
|
4164
|
+
joinedgroups_tmp.deserialize(i)
|
4165
|
+
@JoinedGroups << joinedgroups_tmp
|
4166
|
+
end
|
4167
|
+
end
|
4168
|
+
@RequestId = params['RequestId']
|
4169
|
+
end
|
4170
|
+
end
|
4171
|
+
|
4172
|
+
# ListNonCompliantResource请求参数结构体
|
4173
|
+
class ListNonCompliantResourceRequest < TencentCloud::Common::AbstractModel
|
4174
|
+
# @param MaxResults: 限制数目。取值范围:1~50。
|
4175
|
+
# @type MaxResults: Integer
|
4176
|
+
# @param MemberUin: 成员Uin。
|
4177
|
+
# @type MemberUin: Integer
|
4178
|
+
# @param PaginationToken: 从上一页的响应中获取的下一页的Token值。
|
4179
|
+
# 如果是第一次请求,设置为空。
|
4180
|
+
# @type PaginationToken: String
|
4181
|
+
# @param TagKey: 标签键。
|
4182
|
+
# @type TagKey: String
|
4183
|
+
|
4184
|
+
attr_accessor :MaxResults, :MemberUin, :PaginationToken, :TagKey
|
4185
|
+
|
4186
|
+
def initialize(maxresults=nil, memberuin=nil, paginationtoken=nil, tagkey=nil)
|
4187
|
+
@MaxResults = maxresults
|
4188
|
+
@MemberUin = memberuin
|
4189
|
+
@PaginationToken = paginationtoken
|
4190
|
+
@TagKey = tagkey
|
4191
|
+
end
|
4192
|
+
|
4193
|
+
def deserialize(params)
|
4194
|
+
@MaxResults = params['MaxResults']
|
4195
|
+
@MemberUin = params['MemberUin']
|
4196
|
+
@PaginationToken = params['PaginationToken']
|
4197
|
+
@TagKey = params['TagKey']
|
4198
|
+
end
|
4199
|
+
end
|
4200
|
+
|
4201
|
+
# ListNonCompliantResource返回参数结构体
|
4202
|
+
class ListNonCompliantResourceResponse < TencentCloud::Common::AbstractModel
|
4203
|
+
# @param Items: 资源及标签合规信息。
|
4204
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4205
|
+
# @type Items: Array
|
4206
|
+
# @param PaginationToken: 获取的下一页的Token值。
|
4207
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4208
|
+
# @type PaginationToken: String
|
4209
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4210
|
+
# @type RequestId: String
|
4211
|
+
|
4212
|
+
attr_accessor :Items, :PaginationToken, :RequestId
|
4213
|
+
|
4214
|
+
def initialize(items=nil, paginationtoken=nil, requestid=nil)
|
4215
|
+
@Items = items
|
4216
|
+
@PaginationToken = paginationtoken
|
4217
|
+
@RequestId = requestid
|
4218
|
+
end
|
4219
|
+
|
4220
|
+
def deserialize(params)
|
4221
|
+
unless params['Items'].nil?
|
4222
|
+
@Items = []
|
4223
|
+
params['Items'].each do |i|
|
4224
|
+
resourcetagmapping_tmp = ResourceTagMapping.new
|
4225
|
+
resourcetagmapping_tmp.deserialize(i)
|
4226
|
+
@Items << resourcetagmapping_tmp
|
4227
|
+
end
|
4228
|
+
end
|
4229
|
+
@PaginationToken = params['PaginationToken']
|
4230
|
+
@RequestId = params['RequestId']
|
4231
|
+
end
|
4232
|
+
end
|
4233
|
+
|
4234
|
+
# ListOrgServiceAssignMember请求参数结构体
|
4235
|
+
class ListOrgServiceAssignMemberRequest < TencentCloud::Common::AbstractModel
|
4236
|
+
# @param Offset: 偏移量。取值是limit的整数倍,默认值 : 0
|
4237
|
+
# @type Offset: Integer
|
4238
|
+
# @param Limit: 限制数目。取值范围:1~50,默认值:10
|
4239
|
+
# @type Limit: Integer
|
4240
|
+
# @param ServiceId: 集团服务ID。可以通过[ListOrganizationService](https://cloud.tencent.com/document/product/850/109561)获取
|
4241
|
+
# @type ServiceId: Integer
|
4242
|
+
|
4243
|
+
attr_accessor :Offset, :Limit, :ServiceId
|
4244
|
+
|
4245
|
+
def initialize(offset=nil, limit=nil, serviceid=nil)
|
4246
|
+
@Offset = offset
|
4247
|
+
@Limit = limit
|
4248
|
+
@ServiceId = serviceid
|
4249
|
+
end
|
4250
|
+
|
4251
|
+
def deserialize(params)
|
4252
|
+
@Offset = params['Offset']
|
4253
|
+
@Limit = params['Limit']
|
4254
|
+
@ServiceId = params['ServiceId']
|
4255
|
+
end
|
4256
|
+
end
|
4257
|
+
|
4258
|
+
# ListOrgServiceAssignMember返回参数结构体
|
4259
|
+
class ListOrgServiceAssignMemberResponse < TencentCloud::Common::AbstractModel
|
4260
|
+
# @param Total: 总数。
|
4261
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4262
|
+
# @type Total: Integer
|
4263
|
+
# @param Items: 委派管理员列表。
|
4264
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4265
|
+
# @type Items: Array
|
4266
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4267
|
+
# @type RequestId: String
|
4268
|
+
|
4269
|
+
attr_accessor :Total, :Items, :RequestId
|
4270
|
+
|
4271
|
+
def initialize(total=nil, items=nil, requestid=nil)
|
4272
|
+
@Total = total
|
4273
|
+
@Items = items
|
4274
|
+
@RequestId = requestid
|
4275
|
+
end
|
4276
|
+
|
4277
|
+
def deserialize(params)
|
4278
|
+
@Total = params['Total']
|
4279
|
+
unless params['Items'].nil?
|
4280
|
+
@Items = []
|
4281
|
+
params['Items'].each do |i|
|
4282
|
+
organizationserviceassignmember_tmp = OrganizationServiceAssignMember.new
|
4283
|
+
organizationserviceassignmember_tmp.deserialize(i)
|
4284
|
+
@Items << organizationserviceassignmember_tmp
|
4285
|
+
end
|
4286
|
+
end
|
4287
|
+
@RequestId = params['RequestId']
|
4288
|
+
end
|
4289
|
+
end
|
4290
|
+
|
4291
|
+
# ListOrganizationIdentity请求参数结构体
|
4292
|
+
class ListOrganizationIdentityRequest < TencentCloud::Common::AbstractModel
|
4293
|
+
# @param Offset: 偏移量。取值是limit的整数倍。默认值 : 0。
|
4294
|
+
# @type Offset: Integer
|
4295
|
+
# @param Limit: 限制数目。取值范围:1~50。默认值:10。
|
4296
|
+
# @type Limit: Integer
|
4297
|
+
# @param SearchKey: 名称搜索关键字。
|
4298
|
+
# @type SearchKey: String
|
4299
|
+
# @param IdentityId: 身份ID。可以通过身份ID搜索
|
4300
|
+
# @type IdentityId: Integer
|
4301
|
+
# @param IdentityType: 身份类型。取值范围 1-预设, 2-自定义
|
4302
|
+
# @type IdentityType: Integer
|
4303
|
+
|
4304
|
+
attr_accessor :Offset, :Limit, :SearchKey, :IdentityId, :IdentityType
|
4305
|
+
|
4306
|
+
def initialize(offset=nil, limit=nil, searchkey=nil, identityid=nil, identitytype=nil)
|
4307
|
+
@Offset = offset
|
4308
|
+
@Limit = limit
|
4309
|
+
@SearchKey = searchkey
|
4310
|
+
@IdentityId = identityid
|
4311
|
+
@IdentityType = identitytype
|
4312
|
+
end
|
4313
|
+
|
4314
|
+
def deserialize(params)
|
4315
|
+
@Offset = params['Offset']
|
4316
|
+
@Limit = params['Limit']
|
4317
|
+
@SearchKey = params['SearchKey']
|
4318
|
+
@IdentityId = params['IdentityId']
|
4319
|
+
@IdentityType = params['IdentityType']
|
4320
|
+
end
|
4321
|
+
end
|
4322
|
+
|
4323
|
+
# ListOrganizationIdentity返回参数结构体
|
4324
|
+
class ListOrganizationIdentityResponse < TencentCloud::Common::AbstractModel
|
4325
|
+
# @param Total: 总数。
|
4326
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4327
|
+
# @type Total: Integer
|
4328
|
+
# @param Items: 条目详情。
|
4329
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4330
|
+
# @type Items: Array
|
4331
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4332
|
+
# @type RequestId: String
|
4333
|
+
|
4334
|
+
attr_accessor :Total, :Items, :RequestId
|
4335
|
+
|
4336
|
+
def initialize(total=nil, items=nil, requestid=nil)
|
4337
|
+
@Total = total
|
4338
|
+
@Items = items
|
4339
|
+
@RequestId = requestid
|
4340
|
+
end
|
4341
|
+
|
4342
|
+
def deserialize(params)
|
4343
|
+
@Total = params['Total']
|
4344
|
+
unless params['Items'].nil?
|
4345
|
+
@Items = []
|
4346
|
+
params['Items'].each do |i|
|
4347
|
+
orgidentity_tmp = OrgIdentity.new
|
4348
|
+
orgidentity_tmp.deserialize(i)
|
4349
|
+
@Items << orgidentity_tmp
|
4350
|
+
end
|
4351
|
+
end
|
4352
|
+
@RequestId = params['RequestId']
|
4353
|
+
end
|
4354
|
+
end
|
4355
|
+
|
4356
|
+
# ListOrganizationService请求参数结构体
|
4357
|
+
class ListOrganizationServiceRequest < TencentCloud::Common::AbstractModel
|
4358
|
+
# @param Offset: 偏移量。取值是limit的整数倍,默认值 : 0
|
4359
|
+
# @type Offset: Integer
|
4360
|
+
# @param Limit: 限制数目。取值范围:1~50,默认值:10
|
4361
|
+
# @type Limit: Integer
|
4362
|
+
# @param SearchKey: 名称搜索关键字。
|
4363
|
+
# @type SearchKey: String
|
4364
|
+
|
4365
|
+
attr_accessor :Offset, :Limit, :SearchKey
|
4366
|
+
|
4367
|
+
def initialize(offset=nil, limit=nil, searchkey=nil)
|
4368
|
+
@Offset = offset
|
4369
|
+
@Limit = limit
|
4370
|
+
@SearchKey = searchkey
|
4371
|
+
end
|
4372
|
+
|
4373
|
+
def deserialize(params)
|
4374
|
+
@Offset = params['Offset']
|
4375
|
+
@Limit = params['Limit']
|
4376
|
+
@SearchKey = params['SearchKey']
|
4377
|
+
end
|
4378
|
+
end
|
4379
|
+
|
4380
|
+
# ListOrganizationService返回参数结构体
|
4381
|
+
class ListOrganizationServiceResponse < TencentCloud::Common::AbstractModel
|
4382
|
+
# @param Total: 总数。
|
4383
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4384
|
+
# @type Total: Integer
|
4385
|
+
# @param Items: 集团服务列表。
|
4386
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4387
|
+
# @type Items: Array
|
4388
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4389
|
+
# @type RequestId: String
|
4390
|
+
|
4391
|
+
attr_accessor :Total, :Items, :RequestId
|
4392
|
+
|
4393
|
+
def initialize(total=nil, items=nil, requestid=nil)
|
4394
|
+
@Total = total
|
4395
|
+
@Items = items
|
4396
|
+
@RequestId = requestid
|
4397
|
+
end
|
4398
|
+
|
4399
|
+
def deserialize(params)
|
4400
|
+
@Total = params['Total']
|
4401
|
+
unless params['Items'].nil?
|
4402
|
+
@Items = []
|
4403
|
+
params['Items'].each do |i|
|
4404
|
+
organizationserviceassign_tmp = OrganizationServiceAssign.new
|
4405
|
+
organizationserviceassign_tmp.deserialize(i)
|
4406
|
+
@Items << organizationserviceassign_tmp
|
4407
|
+
end
|
4408
|
+
end
|
4409
|
+
@RequestId = params['RequestId']
|
4410
|
+
end
|
4411
|
+
end
|
4412
|
+
|
4413
|
+
# ListPermissionPoliciesInRoleConfiguration请求参数结构体
|
4414
|
+
class ListPermissionPoliciesInRoleConfigurationRequest < TencentCloud::Common::AbstractModel
|
4415
|
+
# @param ZoneId: 空间 ID
|
4416
|
+
# @type ZoneId: String
|
4417
|
+
# @param RoleConfigurationId: 权限配置 ID
|
4418
|
+
# @type RoleConfigurationId: String
|
4419
|
+
# @param RolePolicyType: 权限策略类型。取值: System:系统策略。复用 CAM 的系统策略。 Custom: 自定义策略。按照 CAM 权限策略语法和结构编写的自定义策略。
|
4420
|
+
# @type RolePolicyType: String
|
4421
|
+
# @param Filter: 按策略名称搜索
|
4422
|
+
# @type Filter: String
|
4423
|
+
|
4424
|
+
attr_accessor :ZoneId, :RoleConfigurationId, :RolePolicyType, :Filter
|
4425
|
+
|
4426
|
+
def initialize(zoneid=nil, roleconfigurationid=nil, rolepolicytype=nil, filter=nil)
|
4427
|
+
@ZoneId = zoneid
|
4428
|
+
@RoleConfigurationId = roleconfigurationid
|
4429
|
+
@RolePolicyType = rolepolicytype
|
4430
|
+
@Filter = filter
|
4431
|
+
end
|
4432
|
+
|
4433
|
+
def deserialize(params)
|
4434
|
+
@ZoneId = params['ZoneId']
|
4435
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
4436
|
+
@RolePolicyType = params['RolePolicyType']
|
4437
|
+
@Filter = params['Filter']
|
4438
|
+
end
|
4439
|
+
end
|
4440
|
+
|
4441
|
+
# ListPermissionPoliciesInRoleConfiguration返回参数结构体
|
4442
|
+
class ListPermissionPoliciesInRoleConfigurationResponse < TencentCloud::Common::AbstractModel
|
4443
|
+
# @param TotalCounts: 权限策略总个数。
|
4444
|
+
# @type TotalCounts: Integer
|
4445
|
+
# @param RolePolicies: 权限策略列表。
|
4446
|
+
# @type RolePolicies: Array
|
4447
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4448
|
+
# @type RequestId: String
|
4449
|
+
|
4450
|
+
attr_accessor :TotalCounts, :RolePolicies, :RequestId
|
4451
|
+
|
4452
|
+
def initialize(totalcounts=nil, rolepolicies=nil, requestid=nil)
|
4453
|
+
@TotalCounts = totalcounts
|
4454
|
+
@RolePolicies = rolepolicies
|
4455
|
+
@RequestId = requestid
|
4456
|
+
end
|
4457
|
+
|
4458
|
+
def deserialize(params)
|
4459
|
+
@TotalCounts = params['TotalCounts']
|
4460
|
+
unless params['RolePolicies'].nil?
|
4461
|
+
@RolePolicies = []
|
4462
|
+
params['RolePolicies'].each do |i|
|
4463
|
+
rolepolicie_tmp = RolePolicie.new
|
4464
|
+
rolepolicie_tmp.deserialize(i)
|
4465
|
+
@RolePolicies << rolepolicie_tmp
|
4466
|
+
end
|
4467
|
+
end
|
4468
|
+
@RequestId = params['RequestId']
|
4469
|
+
end
|
4470
|
+
end
|
4471
|
+
|
4472
|
+
# 查询目标关联的SCP策略列表
|
4473
|
+
class ListPoliciesForTarget < TencentCloud::Common::AbstractModel
|
4474
|
+
# @param StrategyId: 策略Id
|
4475
|
+
# @type StrategyId: Integer
|
4476
|
+
# @param StrategyName: 策略名称
|
4477
|
+
# @type StrategyName: String
|
4478
|
+
# @param Remark: 备注信息
|
4479
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4480
|
+
# @type Remark: String
|
4481
|
+
# @param Uin: 关联的账号或节点
|
4482
|
+
# @type Uin: Integer
|
4483
|
+
# @param Type: 关联类型 1-节点 2-用户
|
4484
|
+
# @type Type: Integer
|
4485
|
+
# @param AddTime: 策略创建时间
|
4486
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4487
|
+
# @type AddTime: String
|
4488
|
+
# @param UpdateTime: 策略更新时间
|
4489
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4490
|
+
# @type UpdateTime: String
|
4491
|
+
# @param Name: 部门名称
|
4492
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4493
|
+
# @type Name: String
|
4494
|
+
# @param AttachTime: 策略绑定时间
|
4495
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4496
|
+
# @type AttachTime: String
|
4497
|
+
|
4498
|
+
attr_accessor :StrategyId, :StrategyName, :Remark, :Uin, :Type, :AddTime, :UpdateTime, :Name, :AttachTime
|
4499
|
+
|
4500
|
+
def initialize(strategyid=nil, strategyname=nil, remark=nil, uin=nil, type=nil, addtime=nil, updatetime=nil, name=nil, attachtime=nil)
|
4501
|
+
@StrategyId = strategyid
|
4502
|
+
@StrategyName = strategyname
|
4503
|
+
@Remark = remark
|
4504
|
+
@Uin = uin
|
4505
|
+
@Type = type
|
4506
|
+
@AddTime = addtime
|
4507
|
+
@UpdateTime = updatetime
|
4508
|
+
@Name = name
|
4509
|
+
@AttachTime = attachtime
|
4510
|
+
end
|
4511
|
+
|
4512
|
+
def deserialize(params)
|
4513
|
+
@StrategyId = params['StrategyId']
|
4514
|
+
@StrategyName = params['StrategyName']
|
4515
|
+
@Remark = params['Remark']
|
4516
|
+
@Uin = params['Uin']
|
4517
|
+
@Type = params['Type']
|
4518
|
+
@AddTime = params['AddTime']
|
4519
|
+
@UpdateTime = params['UpdateTime']
|
4520
|
+
@Name = params['Name']
|
4521
|
+
@AttachTime = params['AttachTime']
|
4522
|
+
end
|
4523
|
+
end
|
4524
|
+
|
4525
|
+
# ListPoliciesForTarget请求参数结构体
|
4526
|
+
class ListPoliciesForTargetRequest < TencentCloud::Common::AbstractModel
|
4527
|
+
# @param TargetId: 账号uin或者节点id。
|
4528
|
+
# @type TargetId: Integer
|
4529
|
+
# @param Rp: 每页数量。默认值是 20,必须大于 0 且小于或等于 200
|
4530
|
+
# @type Rp: Integer
|
4531
|
+
# @param Page: 页码。默认值是 1,从 1开始,不能大于 200
|
4532
|
+
# @type Page: Integer
|
4533
|
+
# @param PolicyType: 策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略
|
4534
|
+
# @type PolicyType: String
|
4535
|
+
# @param Keyword: 搜索关键字。按照策略名称搜索
|
4536
|
+
# @type Keyword: String
|
4537
|
+
|
4538
|
+
attr_accessor :TargetId, :Rp, :Page, :PolicyType, :Keyword
|
4539
|
+
|
4540
|
+
def initialize(targetid=nil, rp=nil, page=nil, policytype=nil, keyword=nil)
|
4541
|
+
@TargetId = targetid
|
4542
|
+
@Rp = rp
|
4543
|
+
@Page = page
|
4544
|
+
@PolicyType = policytype
|
4545
|
+
@Keyword = keyword
|
4546
|
+
end
|
4547
|
+
|
4548
|
+
def deserialize(params)
|
4549
|
+
@TargetId = params['TargetId']
|
4550
|
+
@Rp = params['Rp']
|
4551
|
+
@Page = params['Page']
|
4552
|
+
@PolicyType = params['PolicyType']
|
4553
|
+
@Keyword = params['Keyword']
|
4554
|
+
end
|
4555
|
+
end
|
4556
|
+
|
4557
|
+
# ListPoliciesForTarget返回参数结构体
|
4558
|
+
class ListPoliciesForTargetResponse < TencentCloud::Common::AbstractModel
|
4559
|
+
# @param TotalNum: 总数。
|
4560
|
+
# @type TotalNum: Integer
|
4561
|
+
# @param List: 目标关联的策略列表。
|
4562
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4563
|
+
# @type List: Array
|
4564
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4565
|
+
# @type RequestId: String
|
4566
|
+
|
4567
|
+
attr_accessor :TotalNum, :List, :RequestId
|
4568
|
+
|
4569
|
+
def initialize(totalnum=nil, list=nil, requestid=nil)
|
4570
|
+
@TotalNum = totalnum
|
4571
|
+
@List = list
|
4572
|
+
@RequestId = requestid
|
4573
|
+
end
|
4574
|
+
|
4575
|
+
def deserialize(params)
|
4576
|
+
@TotalNum = params['TotalNum']
|
4577
|
+
unless params['List'].nil?
|
4578
|
+
@List = []
|
4579
|
+
params['List'].each do |i|
|
4580
|
+
listpoliciesfortarget_tmp = ListPoliciesForTarget.new
|
4581
|
+
listpoliciesfortarget_tmp.deserialize(i)
|
4582
|
+
@List << listpoliciesfortarget_tmp
|
4583
|
+
end
|
4584
|
+
end
|
4585
|
+
@RequestId = params['RequestId']
|
4586
|
+
end
|
4587
|
+
end
|
4588
|
+
|
4589
|
+
# ListPolicies请求参数结构体
|
4590
|
+
class ListPoliciesRequest < TencentCloud::Common::AbstractModel
|
4591
|
+
# @param Rp: 每页数量。默认值是 20,必须大于 0 且小于或等于 200
|
4592
|
+
# @type Rp: Integer
|
4593
|
+
# @param Page: 页码。默认值是 1,从 1开始,不能大于 200
|
4594
|
+
# @type Page: Integer
|
4595
|
+
# @param Scope: 查询范围。取值范围: All-获取所有策略、QCS-只获取预设策略、Local-只获取自定义策略,默认值:All
|
4596
|
+
# @type Scope: String
|
4597
|
+
# @param Keyword: 搜索关键字。按照策略名搜索
|
4598
|
+
# @type Keyword: String
|
4599
|
+
# @param PolicyType: 策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略
|
4600
|
+
# @type PolicyType: String
|
4601
|
+
|
4602
|
+
attr_accessor :Rp, :Page, :Scope, :Keyword, :PolicyType
|
4603
|
+
|
4604
|
+
def initialize(rp=nil, page=nil, scope=nil, keyword=nil, policytype=nil)
|
4605
|
+
@Rp = rp
|
4606
|
+
@Page = page
|
4607
|
+
@Scope = scope
|
4608
|
+
@Keyword = keyword
|
4609
|
+
@PolicyType = policytype
|
4610
|
+
end
|
4611
|
+
|
4612
|
+
def deserialize(params)
|
4613
|
+
@Rp = params['Rp']
|
4614
|
+
@Page = params['Page']
|
4615
|
+
@Scope = params['Scope']
|
4616
|
+
@Keyword = params['Keyword']
|
4617
|
+
@PolicyType = params['PolicyType']
|
4618
|
+
end
|
4619
|
+
end
|
4620
|
+
|
4621
|
+
# ListPolicies返回参数结构体
|
4622
|
+
class ListPoliciesResponse < TencentCloud::Common::AbstractModel
|
4623
|
+
# @param TotalNum: 策略总数
|
4624
|
+
# @type TotalNum: Integer
|
4625
|
+
# @param List: 策略列表数据
|
4626
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4627
|
+
# @type List: Array
|
4628
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4629
|
+
# @type RequestId: String
|
4630
|
+
|
4631
|
+
attr_accessor :TotalNum, :List, :RequestId
|
4632
|
+
|
4633
|
+
def initialize(totalnum=nil, list=nil, requestid=nil)
|
4634
|
+
@TotalNum = totalnum
|
4635
|
+
@List = list
|
4636
|
+
@RequestId = requestid
|
4637
|
+
end
|
4638
|
+
|
4639
|
+
def deserialize(params)
|
4640
|
+
@TotalNum = params['TotalNum']
|
4641
|
+
unless params['List'].nil?
|
4642
|
+
@List = []
|
4643
|
+
params['List'].each do |i|
|
4644
|
+
listpolicynode_tmp = ListPolicyNode.new
|
4645
|
+
listpolicynode_tmp.deserialize(i)
|
4646
|
+
@List << listpolicynode_tmp
|
4647
|
+
end
|
4648
|
+
end
|
4649
|
+
@RequestId = params['RequestId']
|
4650
|
+
end
|
4651
|
+
end
|
4652
|
+
|
4653
|
+
# 企业组织策略列表
|
4654
|
+
class ListPolicyNode < TencentCloud::Common::AbstractModel
|
4655
|
+
# @param AddTime: 策略创建时间
|
4656
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4657
|
+
# @type AddTime: String
|
4658
|
+
# @param AttachedTimes: 策略绑定次数
|
4659
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4660
|
+
# @type AttachedTimes: Integer
|
4661
|
+
# @param Description: 策略描述信息
|
4662
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4663
|
+
# @type Description: String
|
4664
|
+
# @param PolicyName: 策略名称
|
4665
|
+
# @type PolicyName: String
|
4666
|
+
# @param PolicyId: 策略Id
|
3066
4667
|
# @type PolicyId: Integer
|
3067
4668
|
# @param UpdateTime: 策略更新时间
|
3068
4669
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -3093,6 +4694,263 @@ module TencentCloud
|
|
3093
4694
|
end
|
3094
4695
|
end
|
3095
4696
|
|
4697
|
+
# ListRoleAssignments请求参数结构体
|
4698
|
+
class ListRoleAssignmentsRequest < TencentCloud::Common::AbstractModel
|
4699
|
+
# @param ZoneId: 空间 ID。
|
4700
|
+
# @type ZoneId: String
|
4701
|
+
# @param RoleConfigurationId: 权限配置ID。
|
4702
|
+
# @type RoleConfigurationId: String
|
4703
|
+
# @param MaxResults: 每页的最大数据条数。 取值范围:1~100。 默认值:10。
|
4704
|
+
# @type MaxResults: Integer
|
4705
|
+
# @param NextToken: 查询返回结果下一页的令牌。首次调用 API 不需要NextToken。 当您首次调用 API 时,如果返回数据总条数超过MaxResults限制,数据会被截断,只返回MaxResults条数据,同时,返回参数IsTruncated为true,返回一个NextToken。您可以使用上一次返回的NextToken继续调用 API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到IsTruncated为false,表示全部数据查询完毕。
|
4706
|
+
# @type NextToken: String
|
4707
|
+
# @param TargetType: 同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号
|
4708
|
+
# @type TargetType: String
|
4709
|
+
# @param TargetUin: 同步的集团账号目标账号的UIN。
|
4710
|
+
# @type TargetUin: Integer
|
4711
|
+
# @param PrincipalType: CAM 用户同步的身份类型。取值: User:表示该 CAM 用户同步的身份是CIC用户。 Group:表示该 CAM 用户同步的身份是CIC用户组。
|
4712
|
+
# @type PrincipalType: String
|
4713
|
+
# @param PrincipalId: CAM 用户同步的身份 ID。取值: 当PrincipalType取值为Group时,该值为CIC 用户组 ID(g-********)。 当PrincipalType取值为User时,该值为CIC 用户 ID(u-********)。
|
4714
|
+
# @type PrincipalId: String
|
4715
|
+
# @param Filter: 查询条件,目前只支持权限配置名称查询。
|
4716
|
+
# @type Filter: String
|
4717
|
+
|
4718
|
+
attr_accessor :ZoneId, :RoleConfigurationId, :MaxResults, :NextToken, :TargetType, :TargetUin, :PrincipalType, :PrincipalId, :Filter
|
4719
|
+
|
4720
|
+
def initialize(zoneid=nil, roleconfigurationid=nil, maxresults=nil, nexttoken=nil, targettype=nil, targetuin=nil, principaltype=nil, principalid=nil, filter=nil)
|
4721
|
+
@ZoneId = zoneid
|
4722
|
+
@RoleConfigurationId = roleconfigurationid
|
4723
|
+
@MaxResults = maxresults
|
4724
|
+
@NextToken = nexttoken
|
4725
|
+
@TargetType = targettype
|
4726
|
+
@TargetUin = targetuin
|
4727
|
+
@PrincipalType = principaltype
|
4728
|
+
@PrincipalId = principalid
|
4729
|
+
@Filter = filter
|
4730
|
+
end
|
4731
|
+
|
4732
|
+
def deserialize(params)
|
4733
|
+
@ZoneId = params['ZoneId']
|
4734
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
4735
|
+
@MaxResults = params['MaxResults']
|
4736
|
+
@NextToken = params['NextToken']
|
4737
|
+
@TargetType = params['TargetType']
|
4738
|
+
@TargetUin = params['TargetUin']
|
4739
|
+
@PrincipalType = params['PrincipalType']
|
4740
|
+
@PrincipalId = params['PrincipalId']
|
4741
|
+
@Filter = params['Filter']
|
4742
|
+
end
|
4743
|
+
end
|
4744
|
+
|
4745
|
+
# ListRoleAssignments返回参数结构体
|
4746
|
+
class ListRoleAssignmentsResponse < TencentCloud::Common::AbstractModel
|
4747
|
+
# @param NextToken: 查询返回结果下一页的令牌。 说明 只有IsTruncated为true时,才显示该参数。
|
4748
|
+
# @type NextToken: String
|
4749
|
+
# @param TotalCounts: 符合请求参数条件的数据总条数。
|
4750
|
+
# @type TotalCounts: Integer
|
4751
|
+
# @param MaxResults: 每页的最大数据条数。
|
4752
|
+
# @type MaxResults: Integer
|
4753
|
+
# @param IsTruncated: 返回结果是否被截断。取值: true:已截断。 false:未截断。
|
4754
|
+
# @type IsTruncated: Boolean
|
4755
|
+
# @param RoleAssignments: 集团账号目标账号的授权列表。
|
4756
|
+
# @type RoleAssignments: Array
|
4757
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4758
|
+
# @type RequestId: String
|
4759
|
+
|
4760
|
+
attr_accessor :NextToken, :TotalCounts, :MaxResults, :IsTruncated, :RoleAssignments, :RequestId
|
4761
|
+
|
4762
|
+
def initialize(nexttoken=nil, totalcounts=nil, maxresults=nil, istruncated=nil, roleassignments=nil, requestid=nil)
|
4763
|
+
@NextToken = nexttoken
|
4764
|
+
@TotalCounts = totalcounts
|
4765
|
+
@MaxResults = maxresults
|
4766
|
+
@IsTruncated = istruncated
|
4767
|
+
@RoleAssignments = roleassignments
|
4768
|
+
@RequestId = requestid
|
4769
|
+
end
|
4770
|
+
|
4771
|
+
def deserialize(params)
|
4772
|
+
@NextToken = params['NextToken']
|
4773
|
+
@TotalCounts = params['TotalCounts']
|
4774
|
+
@MaxResults = params['MaxResults']
|
4775
|
+
@IsTruncated = params['IsTruncated']
|
4776
|
+
unless params['RoleAssignments'].nil?
|
4777
|
+
@RoleAssignments = []
|
4778
|
+
params['RoleAssignments'].each do |i|
|
4779
|
+
roleassignments_tmp = RoleAssignments.new
|
4780
|
+
roleassignments_tmp.deserialize(i)
|
4781
|
+
@RoleAssignments << roleassignments_tmp
|
4782
|
+
end
|
4783
|
+
end
|
4784
|
+
@RequestId = params['RequestId']
|
4785
|
+
end
|
4786
|
+
end
|
4787
|
+
|
4788
|
+
# ListRoleConfigurationProvisionings请求参数结构体
|
4789
|
+
class ListRoleConfigurationProvisioningsRequest < TencentCloud::Common::AbstractModel
|
4790
|
+
# @param ZoneId: 空间 ID。
|
4791
|
+
# @type ZoneId: String
|
4792
|
+
# @param RoleConfigurationId: 权限配置ID。
|
4793
|
+
# @type RoleConfigurationId: String
|
4794
|
+
# @param MaxResults: 每页的最大数据条数。 取值范围:1~100。 默认值:10。
|
4795
|
+
# @type MaxResults: Integer
|
4796
|
+
# @param NextToken: 查询返回结果下一页的令牌。首次调用 API 不需要NextToken。 当您首次调用 API 时,如果返回数据总条数超过MaxResults限制,数据会被截断,只返回MaxResults条数据,同时,返回参数IsTruncated为true,返回一个NextToken。您可以使用上一次返回的NextToken继续调用 API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到IsTruncated为false,表示全部数据查询完毕。
|
4797
|
+
# @type NextToken: String
|
4798
|
+
# @param TargetType: 同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号
|
4799
|
+
# @type TargetType: String
|
4800
|
+
# @param TargetUin: 同步的集团账号目标账号的UIN。
|
4801
|
+
# @type TargetUin: Integer
|
4802
|
+
# @param DeploymentStatus: Deployed: 部署成功 DeployedRequired:需要重新部署 DeployFailed:部署失败
|
4803
|
+
# @type DeploymentStatus: String
|
4804
|
+
# @param Filter: 支持配置名称搜索。
|
4805
|
+
# @type Filter: String
|
4806
|
+
|
4807
|
+
attr_accessor :ZoneId, :RoleConfigurationId, :MaxResults, :NextToken, :TargetType, :TargetUin, :DeploymentStatus, :Filter
|
4808
|
+
|
4809
|
+
def initialize(zoneid=nil, roleconfigurationid=nil, maxresults=nil, nexttoken=nil, targettype=nil, targetuin=nil, deploymentstatus=nil, filter=nil)
|
4810
|
+
@ZoneId = zoneid
|
4811
|
+
@RoleConfigurationId = roleconfigurationid
|
4812
|
+
@MaxResults = maxresults
|
4813
|
+
@NextToken = nexttoken
|
4814
|
+
@TargetType = targettype
|
4815
|
+
@TargetUin = targetuin
|
4816
|
+
@DeploymentStatus = deploymentstatus
|
4817
|
+
@Filter = filter
|
4818
|
+
end
|
4819
|
+
|
4820
|
+
def deserialize(params)
|
4821
|
+
@ZoneId = params['ZoneId']
|
4822
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
4823
|
+
@MaxResults = params['MaxResults']
|
4824
|
+
@NextToken = params['NextToken']
|
4825
|
+
@TargetType = params['TargetType']
|
4826
|
+
@TargetUin = params['TargetUin']
|
4827
|
+
@DeploymentStatus = params['DeploymentStatus']
|
4828
|
+
@Filter = params['Filter']
|
4829
|
+
end
|
4830
|
+
end
|
4831
|
+
|
4832
|
+
# ListRoleConfigurationProvisionings返回参数结构体
|
4833
|
+
class ListRoleConfigurationProvisioningsResponse < TencentCloud::Common::AbstractModel
|
4834
|
+
# @param NextToken: 查询返回结果下一页的令牌。 说明 只有IsTruncated为true时,才显示该参数。
|
4835
|
+
# @type NextToken: String
|
4836
|
+
# @param TotalCounts: 符合请求参数条件的数据总条数。
|
4837
|
+
# @type TotalCounts: Integer
|
4838
|
+
# @param MaxResults: 每页的最大数据条数。
|
4839
|
+
# @type MaxResults: Integer
|
4840
|
+
# @param IsTruncated: 返回结果是否被截断。取值: true:已截断。 false:未截断。
|
4841
|
+
# @type IsTruncated: Boolean
|
4842
|
+
# @param RoleConfigurationProvisionings: 部成员账号列表。
|
4843
|
+
# @type RoleConfigurationProvisionings: Array
|
4844
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4845
|
+
# @type RequestId: String
|
4846
|
+
|
4847
|
+
attr_accessor :NextToken, :TotalCounts, :MaxResults, :IsTruncated, :RoleConfigurationProvisionings, :RequestId
|
4848
|
+
|
4849
|
+
def initialize(nexttoken=nil, totalcounts=nil, maxresults=nil, istruncated=nil, roleconfigurationprovisionings=nil, requestid=nil)
|
4850
|
+
@NextToken = nexttoken
|
4851
|
+
@TotalCounts = totalcounts
|
4852
|
+
@MaxResults = maxresults
|
4853
|
+
@IsTruncated = istruncated
|
4854
|
+
@RoleConfigurationProvisionings = roleconfigurationprovisionings
|
4855
|
+
@RequestId = requestid
|
4856
|
+
end
|
4857
|
+
|
4858
|
+
def deserialize(params)
|
4859
|
+
@NextToken = params['NextToken']
|
4860
|
+
@TotalCounts = params['TotalCounts']
|
4861
|
+
@MaxResults = params['MaxResults']
|
4862
|
+
@IsTruncated = params['IsTruncated']
|
4863
|
+
unless params['RoleConfigurationProvisionings'].nil?
|
4864
|
+
@RoleConfigurationProvisionings = []
|
4865
|
+
params['RoleConfigurationProvisionings'].each do |i|
|
4866
|
+
roleconfigurationprovisionings_tmp = RoleConfigurationProvisionings.new
|
4867
|
+
roleconfigurationprovisionings_tmp.deserialize(i)
|
4868
|
+
@RoleConfigurationProvisionings << roleconfigurationprovisionings_tmp
|
4869
|
+
end
|
4870
|
+
end
|
4871
|
+
@RequestId = params['RequestId']
|
4872
|
+
end
|
4873
|
+
end
|
4874
|
+
|
4875
|
+
# ListRoleConfigurations请求参数结构体
|
4876
|
+
class ListRoleConfigurationsRequest < TencentCloud::Common::AbstractModel
|
4877
|
+
# @param ZoneId: 空间 ID。
|
4878
|
+
# @type ZoneId: String
|
4879
|
+
# @param NextToken: 查询返回结果下一页的令牌。首次调用 API 不需要NextToken。 当您首次调用 API 时,如果返回数据总条数超过MaxResults限制,数据会被截断,只返回MaxResults条数据,同时,返回参数IsTruncated为true,返回一个NextToken。您可以使用上一次返回的NextToken继续调用 API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到IsTruncated为false,表示全部数据查询完毕。
|
4880
|
+
# @type NextToken: String
|
4881
|
+
# @param MaxResults: 每页的最大数据条数。 取值范围:1~100。 默认值:10。
|
4882
|
+
# @type MaxResults: Integer
|
4883
|
+
# @param Filter: 过滤条件。不区分大小写。目前,只支持 RoleConfigurationName,只支持 eq(Equals)和 sw(Start With)。 示例:Filter = "RoleConfigurationName,只支持 sw test",表示查询名称以 test 开头的全部访问配置。Filter = "RoleConfigurationName,只支持 eq TestRoleConfiguration",表示查询名称为 TestRoleConfiguration 的访问配置。
|
4884
|
+
# @type Filter: String
|
4885
|
+
# @param FilterTargets: 检索成员账号是否配置过权限,如果配置过返回IsSelected: true, 否则返回false。
|
4886
|
+
# @type FilterTargets: Array
|
4887
|
+
# @param PrincipalId: 授权的用户UserId或者用户组的GroupId,必须和入参数FilterTargets一起设置
|
4888
|
+
# @type PrincipalId: String
|
4889
|
+
|
4890
|
+
attr_accessor :ZoneId, :NextToken, :MaxResults, :Filter, :FilterTargets, :PrincipalId
|
4891
|
+
|
4892
|
+
def initialize(zoneid=nil, nexttoken=nil, maxresults=nil, filter=nil, filtertargets=nil, principalid=nil)
|
4893
|
+
@ZoneId = zoneid
|
4894
|
+
@NextToken = nexttoken
|
4895
|
+
@MaxResults = maxresults
|
4896
|
+
@Filter = filter
|
4897
|
+
@FilterTargets = filtertargets
|
4898
|
+
@PrincipalId = principalid
|
4899
|
+
end
|
4900
|
+
|
4901
|
+
def deserialize(params)
|
4902
|
+
@ZoneId = params['ZoneId']
|
4903
|
+
@NextToken = params['NextToken']
|
4904
|
+
@MaxResults = params['MaxResults']
|
4905
|
+
@Filter = params['Filter']
|
4906
|
+
@FilterTargets = params['FilterTargets']
|
4907
|
+
@PrincipalId = params['PrincipalId']
|
4908
|
+
end
|
4909
|
+
end
|
4910
|
+
|
4911
|
+
# ListRoleConfigurations返回参数结构体
|
4912
|
+
class ListRoleConfigurationsResponse < TencentCloud::Common::AbstractModel
|
4913
|
+
# @param TotalCounts: 符合请求参数条件的数据总条数。
|
4914
|
+
# @type TotalCounts: Integer
|
4915
|
+
# @param MaxResults: 每页的最大数据条数。
|
4916
|
+
# @type MaxResults: Integer
|
4917
|
+
# @param IsTruncated: 返回结果是否被截断。取值: true:已截断。 false:未截断。
|
4918
|
+
# @type IsTruncated: Boolean
|
4919
|
+
# @param NextToken: 查询返回结果下一页的令牌。 说明 只有IsTruncated为true时,才显示该参数。
|
4920
|
+
# @type NextToken: String
|
4921
|
+
# @param RoleConfigurations: 权限配置列表。
|
4922
|
+
# @type RoleConfigurations: Array
|
4923
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4924
|
+
# @type RequestId: String
|
4925
|
+
|
4926
|
+
attr_accessor :TotalCounts, :MaxResults, :IsTruncated, :NextToken, :RoleConfigurations, :RequestId
|
4927
|
+
|
4928
|
+
def initialize(totalcounts=nil, maxresults=nil, istruncated=nil, nexttoken=nil, roleconfigurations=nil, requestid=nil)
|
4929
|
+
@TotalCounts = totalcounts
|
4930
|
+
@MaxResults = maxresults
|
4931
|
+
@IsTruncated = istruncated
|
4932
|
+
@NextToken = nexttoken
|
4933
|
+
@RoleConfigurations = roleconfigurations
|
4934
|
+
@RequestId = requestid
|
4935
|
+
end
|
4936
|
+
|
4937
|
+
def deserialize(params)
|
4938
|
+
@TotalCounts = params['TotalCounts']
|
4939
|
+
@MaxResults = params['MaxResults']
|
4940
|
+
@IsTruncated = params['IsTruncated']
|
4941
|
+
@NextToken = params['NextToken']
|
4942
|
+
unless params['RoleConfigurations'].nil?
|
4943
|
+
@RoleConfigurations = []
|
4944
|
+
params['RoleConfigurations'].each do |i|
|
4945
|
+
roleconfiguration_tmp = RoleConfiguration.new
|
4946
|
+
roleconfiguration_tmp.deserialize(i)
|
4947
|
+
@RoleConfigurations << roleconfiguration_tmp
|
4948
|
+
end
|
4949
|
+
end
|
4950
|
+
@RequestId = params['RequestId']
|
4951
|
+
end
|
4952
|
+
end
|
4953
|
+
|
3096
4954
|
# 查询某个指定SCP策略关联的目标列表
|
3097
4955
|
class ListTargetsForPolicyNode < TencentCloud::Common::AbstractModel
|
3098
4956
|
# @param Uin: scp账号uin或节点Id
|
@@ -3190,6 +5048,279 @@ module TencentCloud
|
|
3190
5048
|
end
|
3191
5049
|
end
|
3192
5050
|
|
5051
|
+
# ListTasks请求参数结构体
|
5052
|
+
class ListTasksRequest < TencentCloud::Common::AbstractModel
|
5053
|
+
# @param ZoneId: 空间 ID。
|
5054
|
+
# @type ZoneId: String
|
5055
|
+
# @param PrincipalId: CAM 用户同步的身份 ID。取值: 当PrincipalType取值为Group时,该值为CIC用户组 ID(g-********)。 当PrincipalType取值为User时,该值为CIC用户 ID(u-********)。
|
5056
|
+
# @type PrincipalId: String
|
5057
|
+
# @param NextToken: 查询返回结果下一页的令牌。首次调用 API 不需要NextToken。 当您首次调用 API 时,如果返回数据总条数超过MaxResults限制,数据会被截断,只返回MaxResults条数据,同时,返回参数IsTruncated为true,返回一个NextToken。您可以使用上一次返回的NextToken继续调用 API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到IsTruncated为false,表示全部数据查询完毕。
|
5058
|
+
# @type NextToken: String
|
5059
|
+
# @param MaxResults: 每页的最大数据条数。 取值范围:1~100。 默认值:10。
|
5060
|
+
# @type MaxResults: Integer
|
5061
|
+
# @param PrincipalType: CAM 用户同步的身份类型。取值: User:表示该 CAM 用户同步的身份是CIC用户。 Group:表示该 CAM 用户同步的身份是CIC用户组。
|
5062
|
+
# @type PrincipalType: String
|
5063
|
+
# @param TargetUin: 同步的集团账号目标账号的UIN。
|
5064
|
+
# @type TargetUin: Integer
|
5065
|
+
# @param TargetType: 同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号
|
5066
|
+
# @type TargetType: String
|
5067
|
+
# @param RoleConfigurationId: 权限配置ID。
|
5068
|
+
# @type RoleConfigurationId: String
|
5069
|
+
# @param Status: InProgress:任务执行中。 Success:任务执行成功。 Failed:任务执行失败。
|
5070
|
+
# @type Status: String
|
5071
|
+
# @param TaskType: 任务类型。
|
5072
|
+
# @type TaskType: String
|
5073
|
+
|
5074
|
+
attr_accessor :ZoneId, :PrincipalId, :NextToken, :MaxResults, :PrincipalType, :TargetUin, :TargetType, :RoleConfigurationId, :Status, :TaskType
|
5075
|
+
|
5076
|
+
def initialize(zoneid=nil, principalid=nil, nexttoken=nil, maxresults=nil, principaltype=nil, targetuin=nil, targettype=nil, roleconfigurationid=nil, status=nil, tasktype=nil)
|
5077
|
+
@ZoneId = zoneid
|
5078
|
+
@PrincipalId = principalid
|
5079
|
+
@NextToken = nexttoken
|
5080
|
+
@MaxResults = maxresults
|
5081
|
+
@PrincipalType = principaltype
|
5082
|
+
@TargetUin = targetuin
|
5083
|
+
@TargetType = targettype
|
5084
|
+
@RoleConfigurationId = roleconfigurationid
|
5085
|
+
@Status = status
|
5086
|
+
@TaskType = tasktype
|
5087
|
+
end
|
5088
|
+
|
5089
|
+
def deserialize(params)
|
5090
|
+
@ZoneId = params['ZoneId']
|
5091
|
+
@PrincipalId = params['PrincipalId']
|
5092
|
+
@NextToken = params['NextToken']
|
5093
|
+
@MaxResults = params['MaxResults']
|
5094
|
+
@PrincipalType = params['PrincipalType']
|
5095
|
+
@TargetUin = params['TargetUin']
|
5096
|
+
@TargetType = params['TargetType']
|
5097
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
5098
|
+
@Status = params['Status']
|
5099
|
+
@TaskType = params['TaskType']
|
5100
|
+
end
|
5101
|
+
end
|
5102
|
+
|
5103
|
+
# ListTasks返回参数结构体
|
5104
|
+
class ListTasksResponse < TencentCloud::Common::AbstractModel
|
5105
|
+
# @param NextToken: 查询返回结果下一页的令牌。 说明 只有IsTruncated为true时,才显示该参数。
|
5106
|
+
# @type NextToken: String
|
5107
|
+
# @param TotalCounts: 符合请求参数条件的数据总条数。
|
5108
|
+
# @type TotalCounts: Integer
|
5109
|
+
# @param MaxResults: 每页的最大数据条数。
|
5110
|
+
# @type MaxResults: Integer
|
5111
|
+
# @param IsTruncated: 返回结果是否被截断。取值: true:已截断。 false:未截断。
|
5112
|
+
# @type IsTruncated: Boolean
|
5113
|
+
# @param Tasks: 任务详情
|
5114
|
+
# @type Tasks: Array
|
5115
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5116
|
+
# @type RequestId: String
|
5117
|
+
|
5118
|
+
attr_accessor :NextToken, :TotalCounts, :MaxResults, :IsTruncated, :Tasks, :RequestId
|
5119
|
+
|
5120
|
+
def initialize(nexttoken=nil, totalcounts=nil, maxresults=nil, istruncated=nil, tasks=nil, requestid=nil)
|
5121
|
+
@NextToken = nexttoken
|
5122
|
+
@TotalCounts = totalcounts
|
5123
|
+
@MaxResults = maxresults
|
5124
|
+
@IsTruncated = istruncated
|
5125
|
+
@Tasks = tasks
|
5126
|
+
@RequestId = requestid
|
5127
|
+
end
|
5128
|
+
|
5129
|
+
def deserialize(params)
|
5130
|
+
@NextToken = params['NextToken']
|
5131
|
+
@TotalCounts = params['TotalCounts']
|
5132
|
+
@MaxResults = params['MaxResults']
|
5133
|
+
@IsTruncated = params['IsTruncated']
|
5134
|
+
unless params['Tasks'].nil?
|
5135
|
+
@Tasks = []
|
5136
|
+
params['Tasks'].each do |i|
|
5137
|
+
taskinfo_tmp = TaskInfo.new
|
5138
|
+
taskinfo_tmp.deserialize(i)
|
5139
|
+
@Tasks << taskinfo_tmp
|
5140
|
+
end
|
5141
|
+
end
|
5142
|
+
@RequestId = params['RequestId']
|
5143
|
+
end
|
5144
|
+
end
|
5145
|
+
|
5146
|
+
# ListUserSyncProvisionings请求参数结构体
|
5147
|
+
class ListUserSyncProvisioningsRequest < TencentCloud::Common::AbstractModel
|
5148
|
+
# @param ZoneId: 空间 ID。
|
5149
|
+
# @type ZoneId: String
|
5150
|
+
# @param PrincipalId: CAM 用户同步的身份 ID。取值: 当PrincipalType取值为Group时,该值为CIC用户组 ID(g-********)。 当PrincipalType取值为User时,该值为CIC用户 ID(u-********)。
|
5151
|
+
# @type PrincipalId: String
|
5152
|
+
# @param NextToken: 查询返回结果下一页的令牌。首次调用 API 不需要NextToken。 当您首次调用 API 时,如果返回数据总条数超过MaxResults限制,数据会被截断,只返回MaxResults条数据,同时,返回参数IsTruncated为true,返回一个NextToken。您可以使用上一次返回的NextToken继续调用 API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到IsTruncated为false,表示全部数据查询完毕。
|
5153
|
+
# @type NextToken: String
|
5154
|
+
# @param MaxResults: 每页的最大数据条数。 取值范围:1~100。 默认值:10。
|
5155
|
+
# @type MaxResults: Integer
|
5156
|
+
# @param PrincipalType: CAM 用户同步的身份类型。取值: User:表示该 CAM 用户同步的身份是CIC用户。 Group:表示该 CAM 用户同步的身份是CIC用户组。
|
5157
|
+
# @type PrincipalType: String
|
5158
|
+
# @param TargetUin: 集团账号目标账号的UIN。
|
5159
|
+
# @type TargetUin: Integer
|
5160
|
+
# @param TargetType: 同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号
|
5161
|
+
# @type TargetType: String
|
5162
|
+
# @param Filter: 检测条件。
|
5163
|
+
# @type Filter: String
|
5164
|
+
|
5165
|
+
attr_accessor :ZoneId, :PrincipalId, :NextToken, :MaxResults, :PrincipalType, :TargetUin, :TargetType, :Filter
|
5166
|
+
|
5167
|
+
def initialize(zoneid=nil, principalid=nil, nexttoken=nil, maxresults=nil, principaltype=nil, targetuin=nil, targettype=nil, filter=nil)
|
5168
|
+
@ZoneId = zoneid
|
5169
|
+
@PrincipalId = principalid
|
5170
|
+
@NextToken = nexttoken
|
5171
|
+
@MaxResults = maxresults
|
5172
|
+
@PrincipalType = principaltype
|
5173
|
+
@TargetUin = targetuin
|
5174
|
+
@TargetType = targettype
|
5175
|
+
@Filter = filter
|
5176
|
+
end
|
5177
|
+
|
5178
|
+
def deserialize(params)
|
5179
|
+
@ZoneId = params['ZoneId']
|
5180
|
+
@PrincipalId = params['PrincipalId']
|
5181
|
+
@NextToken = params['NextToken']
|
5182
|
+
@MaxResults = params['MaxResults']
|
5183
|
+
@PrincipalType = params['PrincipalType']
|
5184
|
+
@TargetUin = params['TargetUin']
|
5185
|
+
@TargetType = params['TargetType']
|
5186
|
+
@Filter = params['Filter']
|
5187
|
+
end
|
5188
|
+
end
|
5189
|
+
|
5190
|
+
# ListUserSyncProvisionings返回参数结构体
|
5191
|
+
class ListUserSyncProvisioningsResponse < TencentCloud::Common::AbstractModel
|
5192
|
+
# @param NextToken: 查询返回结果下一页的令牌。 说明 只有IsTruncated为true时,才显示该参数。
|
5193
|
+
# @type NextToken: String
|
5194
|
+
# @param TotalCounts: 符合请求参数条件的数据总条数。
|
5195
|
+
# @type TotalCounts: Integer
|
5196
|
+
# @param MaxResults: 每页的最大数据条数。
|
5197
|
+
# @type MaxResults: Integer
|
5198
|
+
# @param IsTruncated: 返回结果是否被截断。取值: true:已截断。 false:未截断。
|
5199
|
+
# @type IsTruncated: Boolean
|
5200
|
+
# @param UserProvisionings: CAM同步的用户列表。
|
5201
|
+
# @type UserProvisionings: Array
|
5202
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5203
|
+
# @type RequestId: String
|
5204
|
+
|
5205
|
+
attr_accessor :NextToken, :TotalCounts, :MaxResults, :IsTruncated, :UserProvisionings, :RequestId
|
5206
|
+
|
5207
|
+
def initialize(nexttoken=nil, totalcounts=nil, maxresults=nil, istruncated=nil, userprovisionings=nil, requestid=nil)
|
5208
|
+
@NextToken = nexttoken
|
5209
|
+
@TotalCounts = totalcounts
|
5210
|
+
@MaxResults = maxresults
|
5211
|
+
@IsTruncated = istruncated
|
5212
|
+
@UserProvisionings = userprovisionings
|
5213
|
+
@RequestId = requestid
|
5214
|
+
end
|
5215
|
+
|
5216
|
+
def deserialize(params)
|
5217
|
+
@NextToken = params['NextToken']
|
5218
|
+
@TotalCounts = params['TotalCounts']
|
5219
|
+
@MaxResults = params['MaxResults']
|
5220
|
+
@IsTruncated = params['IsTruncated']
|
5221
|
+
unless params['UserProvisionings'].nil?
|
5222
|
+
@UserProvisionings = []
|
5223
|
+
params['UserProvisionings'].each do |i|
|
5224
|
+
userprovisioning_tmp = UserProvisioning.new
|
5225
|
+
userprovisioning_tmp.deserialize(i)
|
5226
|
+
@UserProvisionings << userprovisioning_tmp
|
5227
|
+
end
|
5228
|
+
end
|
5229
|
+
@RequestId = params['RequestId']
|
5230
|
+
end
|
5231
|
+
end
|
5232
|
+
|
5233
|
+
# ListUsers请求参数结构体
|
5234
|
+
class ListUsersRequest < TencentCloud::Common::AbstractModel
|
5235
|
+
# @param ZoneId: 空间 ID。
|
5236
|
+
# @type ZoneId: String
|
5237
|
+
# @param UserStatus: 用户状态 Enabled:启用, Disabled:禁用。
|
5238
|
+
# @type UserStatus: String
|
5239
|
+
# @param UserType: 用户类型 Manual:手动创建,Synchronized:外部导入。
|
5240
|
+
# @type UserType: String
|
5241
|
+
# @param Filter: 过滤条件。 目前仅支持用户名,邮箱,用户userId,描述
|
5242
|
+
# @type Filter: String
|
5243
|
+
# @param MaxResults: 每页的最大数据条数。 取值范围:1~100。 默认值:10。
|
5244
|
+
# @type MaxResults: Integer
|
5245
|
+
# @param NextToken: 查询返回结果下一页的令牌。首次调用 API 不需要NextToken。 当您首次调用 API 时,如果返回数据总条数超过MaxResults限制,数据会被截断,只返回MaxResults条数据,同时,返回参数IsTruncated为true,返回一个NextToken。您可以使用上一次返回的NextToken继续调用 API,其他请求参数保持不变,查询被截断的数据。您可以按此方法经过多次查询,直到IsTruncated为false时,表示全部数据查询完毕。
|
5246
|
+
# @type NextToken: String
|
5247
|
+
# @param FilterGroups: 筛选的用户组,该用户组关联的子用户会返回IsSelected=1
|
5248
|
+
# @type FilterGroups: Array
|
5249
|
+
# @param SortField: 排序的字段,目前只支持CreateTime,默认是CreateTime字段
|
5250
|
+
# @type SortField: String
|
5251
|
+
# @param SortType: 排序类型:Desc 倒序 Asc 正序,需要你和SortField一起设置
|
5252
|
+
# @type SortType: String
|
5253
|
+
|
5254
|
+
attr_accessor :ZoneId, :UserStatus, :UserType, :Filter, :MaxResults, :NextToken, :FilterGroups, :SortField, :SortType
|
5255
|
+
|
5256
|
+
def initialize(zoneid=nil, userstatus=nil, usertype=nil, filter=nil, maxresults=nil, nexttoken=nil, filtergroups=nil, sortfield=nil, sorttype=nil)
|
5257
|
+
@ZoneId = zoneid
|
5258
|
+
@UserStatus = userstatus
|
5259
|
+
@UserType = usertype
|
5260
|
+
@Filter = filter
|
5261
|
+
@MaxResults = maxresults
|
5262
|
+
@NextToken = nexttoken
|
5263
|
+
@FilterGroups = filtergroups
|
5264
|
+
@SortField = sortfield
|
5265
|
+
@SortType = sorttype
|
5266
|
+
end
|
5267
|
+
|
5268
|
+
def deserialize(params)
|
5269
|
+
@ZoneId = params['ZoneId']
|
5270
|
+
@UserStatus = params['UserStatus']
|
5271
|
+
@UserType = params['UserType']
|
5272
|
+
@Filter = params['Filter']
|
5273
|
+
@MaxResults = params['MaxResults']
|
5274
|
+
@NextToken = params['NextToken']
|
5275
|
+
@FilterGroups = params['FilterGroups']
|
5276
|
+
@SortField = params['SortField']
|
5277
|
+
@SortType = params['SortType']
|
5278
|
+
end
|
5279
|
+
end
|
5280
|
+
|
5281
|
+
# ListUsers返回参数结构体
|
5282
|
+
class ListUsersResponse < TencentCloud::Common::AbstractModel
|
5283
|
+
# @param TotalCounts: 符合请求参数条件的数据总条数。
|
5284
|
+
# @type TotalCounts: Integer
|
5285
|
+
# @param MaxResults: 每页的最大数据条数。
|
5286
|
+
# @type MaxResults: Integer
|
5287
|
+
# @param Users: 用户列表。
|
5288
|
+
# @type Users: Array
|
5289
|
+
# @param NextToken: 查询返回结果下一页的令牌。只有IsTruncated为true时,才显示该参数。
|
5290
|
+
# @type NextToken: String
|
5291
|
+
# @param IsTruncated: 返回结果是否被截断。取值: true:已截断。 false:未截断。
|
5292
|
+
# @type IsTruncated: Boolean
|
5293
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5294
|
+
# @type RequestId: String
|
5295
|
+
|
5296
|
+
attr_accessor :TotalCounts, :MaxResults, :Users, :NextToken, :IsTruncated, :RequestId
|
5297
|
+
|
5298
|
+
def initialize(totalcounts=nil, maxresults=nil, users=nil, nexttoken=nil, istruncated=nil, requestid=nil)
|
5299
|
+
@TotalCounts = totalcounts
|
5300
|
+
@MaxResults = maxresults
|
5301
|
+
@Users = users
|
5302
|
+
@NextToken = nexttoken
|
5303
|
+
@IsTruncated = istruncated
|
5304
|
+
@RequestId = requestid
|
5305
|
+
end
|
5306
|
+
|
5307
|
+
def deserialize(params)
|
5308
|
+
@TotalCounts = params['TotalCounts']
|
5309
|
+
@MaxResults = params['MaxResults']
|
5310
|
+
unless params['Users'].nil?
|
5311
|
+
@Users = []
|
5312
|
+
params['Users'].each do |i|
|
5313
|
+
userinfo_tmp = UserInfo.new
|
5314
|
+
userinfo_tmp.deserialize(i)
|
5315
|
+
@Users << userinfo_tmp
|
5316
|
+
end
|
5317
|
+
end
|
5318
|
+
@NextToken = params['NextToken']
|
5319
|
+
@IsTruncated = params['IsTruncated']
|
5320
|
+
@RequestId = params['RequestId']
|
5321
|
+
end
|
5322
|
+
end
|
5323
|
+
|
3193
5324
|
# 我的共享单元列表详情
|
3194
5325
|
class ManagerShareUnit < TencentCloud::Common::AbstractModel
|
3195
5326
|
# @param UnitId: 共享单元ID。
|
@@ -3406,6 +5537,42 @@ module TencentCloud
|
|
3406
5537
|
end
|
3407
5538
|
end
|
3408
5539
|
|
5540
|
+
# OpenIdentityCenter请求参数结构体
|
5541
|
+
class OpenIdentityCenterRequest < TencentCloud::Common::AbstractModel
|
5542
|
+
# @param ZoneName: 空间名,必须全局唯一。包含小写字母、数字和短划线(-)。不能以短划线(-)开头或结尾,且不能有两个连续的短划线(-)。长度:2~64 个字符。
|
5543
|
+
# @type ZoneName: String
|
5544
|
+
|
5545
|
+
attr_accessor :ZoneName
|
5546
|
+
|
5547
|
+
def initialize(zonename=nil)
|
5548
|
+
@ZoneName = zonename
|
5549
|
+
end
|
5550
|
+
|
5551
|
+
def deserialize(params)
|
5552
|
+
@ZoneName = params['ZoneName']
|
5553
|
+
end
|
5554
|
+
end
|
5555
|
+
|
5556
|
+
# OpenIdentityCenter返回参数结构体
|
5557
|
+
class OpenIdentityCenterResponse < TencentCloud::Common::AbstractModel
|
5558
|
+
# @param ZoneId: 空间ID。z-前缀开头,后面是12位随机数字/小写字母
|
5559
|
+
# @type ZoneId: String
|
5560
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5561
|
+
# @type RequestId: String
|
5562
|
+
|
5563
|
+
attr_accessor :ZoneId, :RequestId
|
5564
|
+
|
5565
|
+
def initialize(zoneid=nil, requestid=nil)
|
5566
|
+
@ZoneId = zoneid
|
5567
|
+
@RequestId = requestid
|
5568
|
+
end
|
5569
|
+
|
5570
|
+
def deserialize(params)
|
5571
|
+
@ZoneId = params['ZoneId']
|
5572
|
+
@RequestId = params['RequestId']
|
5573
|
+
end
|
5574
|
+
end
|
5575
|
+
|
3409
5576
|
# 按月获取组织财务信息
|
3410
5577
|
class OrgFinancialByMonth < TencentCloud::Common::AbstractModel
|
3411
5578
|
# @param Id: 记录ID。
|
@@ -4044,6 +6211,27 @@ module TencentCloud
|
|
4044
6211
|
end
|
4045
6212
|
end
|
4046
6213
|
|
6214
|
+
# 策略详情
|
6215
|
+
class PolicyDetail < TencentCloud::Common::AbstractModel
|
6216
|
+
# @param PolicyId: 策略ID。
|
6217
|
+
# @type PolicyId: Integer
|
6218
|
+
# @param PolicyName: 策略名称。
|
6219
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6220
|
+
# @type PolicyName: String
|
6221
|
+
|
6222
|
+
attr_accessor :PolicyId, :PolicyName
|
6223
|
+
|
6224
|
+
def initialize(policyid=nil, policyname=nil)
|
6225
|
+
@PolicyId = policyid
|
6226
|
+
@PolicyName = policyname
|
6227
|
+
end
|
6228
|
+
|
6229
|
+
def deserialize(params)
|
6230
|
+
@PolicyId = params['PolicyId']
|
6231
|
+
@PolicyName = params['PolicyName']
|
6232
|
+
end
|
6233
|
+
end
|
6234
|
+
|
4047
6235
|
# 产品资源
|
4048
6236
|
class ProductResource < TencentCloud::Common::AbstractModel
|
4049
6237
|
# @param ProductResourceId: 产品资源ID。
|
@@ -4067,6 +6255,57 @@ module TencentCloud
|
|
4067
6255
|
end
|
4068
6256
|
end
|
4069
6257
|
|
6258
|
+
# ProvisionRoleConfiguration请求参数结构体
|
6259
|
+
class ProvisionRoleConfigurationRequest < TencentCloud::Common::AbstractModel
|
6260
|
+
# @param ZoneId: 空间 ID。
|
6261
|
+
# @type ZoneId: String
|
6262
|
+
# @param RoleConfigurationId: 权限配置ID。
|
6263
|
+
# @type RoleConfigurationId: String
|
6264
|
+
# @param TargetType: 同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号。
|
6265
|
+
# @type TargetType: String
|
6266
|
+
# @param TargetUin: 集团账号目标账号的UIN。
|
6267
|
+
# @type TargetUin: Integer
|
6268
|
+
|
6269
|
+
attr_accessor :ZoneId, :RoleConfigurationId, :TargetType, :TargetUin
|
6270
|
+
|
6271
|
+
def initialize(zoneid=nil, roleconfigurationid=nil, targettype=nil, targetuin=nil)
|
6272
|
+
@ZoneId = zoneid
|
6273
|
+
@RoleConfigurationId = roleconfigurationid
|
6274
|
+
@TargetType = targettype
|
6275
|
+
@TargetUin = targetuin
|
6276
|
+
end
|
6277
|
+
|
6278
|
+
def deserialize(params)
|
6279
|
+
@ZoneId = params['ZoneId']
|
6280
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
6281
|
+
@TargetType = params['TargetType']
|
6282
|
+
@TargetUin = params['TargetUin']
|
6283
|
+
end
|
6284
|
+
end
|
6285
|
+
|
6286
|
+
# ProvisionRoleConfiguration返回参数结构体
|
6287
|
+
class ProvisionRoleConfigurationResponse < TencentCloud::Common::AbstractModel
|
6288
|
+
# @param Task: 任务详情。
|
6289
|
+
# @type Task: :class:`Tencentcloud::Organization.v20210331.models.RoleProvisioningsTask`
|
6290
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6291
|
+
# @type RequestId: String
|
6292
|
+
|
6293
|
+
attr_accessor :Task, :RequestId
|
6294
|
+
|
6295
|
+
def initialize(task=nil, requestid=nil)
|
6296
|
+
@Task = task
|
6297
|
+
@RequestId = requestid
|
6298
|
+
end
|
6299
|
+
|
6300
|
+
def deserialize(params)
|
6301
|
+
unless params['Task'].nil?
|
6302
|
+
@Task = RoleProvisioningsTask.new
|
6303
|
+
@Task.deserialize(params['Task'])
|
6304
|
+
end
|
6305
|
+
@RequestId = params['RequestId']
|
6306
|
+
end
|
6307
|
+
end
|
6308
|
+
|
4070
6309
|
# QuitOrganization请求参数结构体
|
4071
6310
|
class QuitOrganizationRequest < TencentCloud::Common::AbstractModel
|
4072
6311
|
# @param OrgId: 企业组织ID
|
@@ -4127,45 +6366,595 @@ module TencentCloud
|
|
4127
6366
|
end
|
4128
6367
|
|
4129
6368
|
def deserialize(params)
|
4130
|
-
@RequestId = params['RequestId']
|
6369
|
+
@RequestId = params['RequestId']
|
6370
|
+
end
|
6371
|
+
end
|
6372
|
+
|
6373
|
+
# RemoveExternalSAMLIdPCertificate请求参数结构体
|
6374
|
+
class RemoveExternalSAMLIdPCertificateRequest < TencentCloud::Common::AbstractModel
|
6375
|
+
# @param ZoneId: 空间ID。
|
6376
|
+
# @type ZoneId: String
|
6377
|
+
# @param CertificateId: PEM 格式的 X509 证书。 由 SAML 身份提供商提供。
|
6378
|
+
# @type CertificateId: String
|
6379
|
+
|
6380
|
+
attr_accessor :ZoneId, :CertificateId
|
6381
|
+
|
6382
|
+
def initialize(zoneid=nil, certificateid=nil)
|
6383
|
+
@ZoneId = zoneid
|
6384
|
+
@CertificateId = certificateid
|
6385
|
+
end
|
6386
|
+
|
6387
|
+
def deserialize(params)
|
6388
|
+
@ZoneId = params['ZoneId']
|
6389
|
+
@CertificateId = params['CertificateId']
|
6390
|
+
end
|
6391
|
+
end
|
6392
|
+
|
6393
|
+
# RemoveExternalSAMLIdPCertificate返回参数结构体
|
6394
|
+
class RemoveExternalSAMLIdPCertificateResponse < TencentCloud::Common::AbstractModel
|
6395
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6396
|
+
# @type RequestId: String
|
6397
|
+
|
6398
|
+
attr_accessor :RequestId
|
6399
|
+
|
6400
|
+
def initialize(requestid=nil)
|
6401
|
+
@RequestId = requestid
|
6402
|
+
end
|
6403
|
+
|
6404
|
+
def deserialize(params)
|
6405
|
+
@RequestId = params['RequestId']
|
6406
|
+
end
|
6407
|
+
end
|
6408
|
+
|
6409
|
+
# RemovePermissionPolicyFromRoleConfiguration请求参数结构体
|
6410
|
+
class RemovePermissionPolicyFromRoleConfigurationRequest < TencentCloud::Common::AbstractModel
|
6411
|
+
# @param ZoneId: 空间 ID
|
6412
|
+
# @type ZoneId: String
|
6413
|
+
# @param RoleConfigurationId: 权限配置 ID
|
6414
|
+
# @type RoleConfigurationId: String
|
6415
|
+
# @param RolePolicyType: 权限策略类型。取值: System:系统策略。复用 CAM 的系统策略。 Custom: 自定义策略。按照 CAM 权限策略语法和结构编写的自定义策略。
|
6416
|
+
# @type RolePolicyType: String
|
6417
|
+
# @param RolePolicyName: 权限策略名称,长度最大为 32 个字符。
|
6418
|
+
# @type RolePolicyName: String
|
6419
|
+
# @param RolePolicyId: 策略ID。
|
6420
|
+
# @type RolePolicyId: Integer
|
6421
|
+
|
6422
|
+
attr_accessor :ZoneId, :RoleConfigurationId, :RolePolicyType, :RolePolicyName, :RolePolicyId
|
6423
|
+
|
6424
|
+
def initialize(zoneid=nil, roleconfigurationid=nil, rolepolicytype=nil, rolepolicyname=nil, rolepolicyid=nil)
|
6425
|
+
@ZoneId = zoneid
|
6426
|
+
@RoleConfigurationId = roleconfigurationid
|
6427
|
+
@RolePolicyType = rolepolicytype
|
6428
|
+
@RolePolicyName = rolepolicyname
|
6429
|
+
@RolePolicyId = rolepolicyid
|
6430
|
+
end
|
6431
|
+
|
6432
|
+
def deserialize(params)
|
6433
|
+
@ZoneId = params['ZoneId']
|
6434
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
6435
|
+
@RolePolicyType = params['RolePolicyType']
|
6436
|
+
@RolePolicyName = params['RolePolicyName']
|
6437
|
+
@RolePolicyId = params['RolePolicyId']
|
6438
|
+
end
|
6439
|
+
end
|
6440
|
+
|
6441
|
+
# RemovePermissionPolicyFromRoleConfiguration返回参数结构体
|
6442
|
+
class RemovePermissionPolicyFromRoleConfigurationResponse < TencentCloud::Common::AbstractModel
|
6443
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6444
|
+
# @type RequestId: String
|
6445
|
+
|
6446
|
+
attr_accessor :RequestId
|
6447
|
+
|
6448
|
+
def initialize(requestid=nil)
|
6449
|
+
@RequestId = requestid
|
6450
|
+
end
|
6451
|
+
|
6452
|
+
def deserialize(params)
|
6453
|
+
@RequestId = params['RequestId']
|
6454
|
+
end
|
6455
|
+
end
|
6456
|
+
|
6457
|
+
# RemoveUserFromGroup请求参数结构体
|
6458
|
+
class RemoveUserFromGroupRequest < TencentCloud::Common::AbstractModel
|
6459
|
+
# @param ZoneId: 空间ID。
|
6460
|
+
# @type ZoneId: String
|
6461
|
+
# @param GroupId: 用户组ID。
|
6462
|
+
# @type GroupId: String
|
6463
|
+
# @param UserId: 用户ID。
|
6464
|
+
# @type UserId: String
|
6465
|
+
|
6466
|
+
attr_accessor :ZoneId, :GroupId, :UserId
|
6467
|
+
|
6468
|
+
def initialize(zoneid=nil, groupid=nil, userid=nil)
|
6469
|
+
@ZoneId = zoneid
|
6470
|
+
@GroupId = groupid
|
6471
|
+
@UserId = userid
|
6472
|
+
end
|
6473
|
+
|
6474
|
+
def deserialize(params)
|
6475
|
+
@ZoneId = params['ZoneId']
|
6476
|
+
@GroupId = params['GroupId']
|
6477
|
+
@UserId = params['UserId']
|
6478
|
+
end
|
6479
|
+
end
|
6480
|
+
|
6481
|
+
# RemoveUserFromGroup返回参数结构体
|
6482
|
+
class RemoveUserFromGroupResponse < TencentCloud::Common::AbstractModel
|
6483
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6484
|
+
# @type RequestId: String
|
6485
|
+
|
6486
|
+
attr_accessor :RequestId
|
6487
|
+
|
6488
|
+
def initialize(requestid=nil)
|
6489
|
+
@RequestId = requestid
|
6490
|
+
end
|
6491
|
+
|
6492
|
+
def deserialize(params)
|
6493
|
+
@RequestId = params['RequestId']
|
6494
|
+
end
|
6495
|
+
end
|
6496
|
+
|
6497
|
+
# 资源及关联的标签
|
6498
|
+
class ResourceTagMapping < TencentCloud::Common::AbstractModel
|
6499
|
+
# @param Resource: 资源六段式。腾讯云使用资源六段式描述一个资源。
|
6500
|
+
# 例如:qcs::${ServiceType}:${Region}:${Account}:${ResourcePreifx}/${ResourceId}。
|
6501
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6502
|
+
# @type Resource: String
|
6503
|
+
# @param ComplianceDetails: 合规详情。
|
6504
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6505
|
+
# @type ComplianceDetails: :class:`Tencentcloud::Organization.v20210331.models.TagComplianceDetails`
|
6506
|
+
# @param Tags: 资源标签。
|
6507
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6508
|
+
# @type Tags: Array
|
6509
|
+
|
6510
|
+
attr_accessor :Resource, :ComplianceDetails, :Tags
|
6511
|
+
|
6512
|
+
def initialize(resource=nil, compliancedetails=nil, tags=nil)
|
6513
|
+
@Resource = resource
|
6514
|
+
@ComplianceDetails = compliancedetails
|
6515
|
+
@Tags = tags
|
6516
|
+
end
|
6517
|
+
|
6518
|
+
def deserialize(params)
|
6519
|
+
@Resource = params['Resource']
|
6520
|
+
unless params['ComplianceDetails'].nil?
|
6521
|
+
@ComplianceDetails = TagComplianceDetails.new
|
6522
|
+
@ComplianceDetails.deserialize(params['ComplianceDetails'])
|
6523
|
+
end
|
6524
|
+
unless params['Tags'].nil?
|
6525
|
+
@Tags = []
|
6526
|
+
params['Tags'].each do |i|
|
6527
|
+
tags_tmp = Tags.new
|
6528
|
+
tags_tmp.deserialize(i)
|
6529
|
+
@Tags << tags_tmp
|
6530
|
+
end
|
6531
|
+
end
|
6532
|
+
end
|
6533
|
+
end
|
6534
|
+
|
6535
|
+
# 授权成员账号信息
|
6536
|
+
class RoleAssignmentInfo < TencentCloud::Common::AbstractModel
|
6537
|
+
# @param PrincipalId: CAM 用户同步的身份 ID。取值:
|
6538
|
+
# 当PrincipalType取值为Group时,该值为CIC用户组 ID(g-********)。
|
6539
|
+
# 当PrincipalType取值为User时,该值为CIC用户 ID(u-********)。
|
6540
|
+
# @type PrincipalId: String
|
6541
|
+
# @param PrincipalType: CAM 用户同步的身份类型。取值:
|
6542
|
+
|
6543
|
+
# User:表示该 CAM 用户同步的身份是CIC用户。
|
6544
|
+
# Group:表示该 CAM 用户同步的身份是CIC用户组。
|
6545
|
+
# @type PrincipalType: String
|
6546
|
+
# @param TargetUin: 同步集团账号目标账号的UIN。
|
6547
|
+
# @type TargetUin: Integer
|
6548
|
+
# @param TargetType: 同步集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号
|
6549
|
+
# @type TargetType: String
|
6550
|
+
# @param RoleConfigurationId: 权限配置ID。
|
6551
|
+
# @type RoleConfigurationId: String
|
6552
|
+
|
6553
|
+
attr_accessor :PrincipalId, :PrincipalType, :TargetUin, :TargetType, :RoleConfigurationId
|
6554
|
+
|
6555
|
+
def initialize(principalid=nil, principaltype=nil, targetuin=nil, targettype=nil, roleconfigurationid=nil)
|
6556
|
+
@PrincipalId = principalid
|
6557
|
+
@PrincipalType = principaltype
|
6558
|
+
@TargetUin = targetuin
|
6559
|
+
@TargetType = targettype
|
6560
|
+
@RoleConfigurationId = roleconfigurationid
|
6561
|
+
end
|
6562
|
+
|
6563
|
+
def deserialize(params)
|
6564
|
+
@PrincipalId = params['PrincipalId']
|
6565
|
+
@PrincipalType = params['PrincipalType']
|
6566
|
+
@TargetUin = params['TargetUin']
|
6567
|
+
@TargetType = params['TargetType']
|
6568
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
6569
|
+
end
|
6570
|
+
end
|
6571
|
+
|
6572
|
+
# 成员账号的授权详情
|
6573
|
+
class RoleAssignments < TencentCloud::Common::AbstractModel
|
6574
|
+
# @param RoleConfigurationId: 权限配置ID。
|
6575
|
+
# @type RoleConfigurationId: String
|
6576
|
+
# @param RoleConfigurationName: 权限配置名称。
|
6577
|
+
# @type RoleConfigurationName: String
|
6578
|
+
# @param TargetUin: 集团账号目标账号的UIN。
|
6579
|
+
# @type TargetUin: Integer
|
6580
|
+
# @param TargetType: 同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号。
|
6581
|
+
# @type TargetType: String
|
6582
|
+
# @param PrincipalId: CAM 用户同步的身份 ID。取值: 当PrincipalType取值为Group时,该值为CIC 用户组 ID(g-********)。 当PrincipalType取值为User时,该值为CIC 用户 ID(u-********)。
|
6583
|
+
# @type PrincipalId: String
|
6584
|
+
# @param PrincipalType: CAM 用户同步的身份类型。取值: User:表示该 CAM 用户同步的身份是CIC用户。 Group:表示该 CAM 用户同步的身份是CIC用户组。
|
6585
|
+
# @type PrincipalType: String
|
6586
|
+
# @param PrincipalName: 用户名称或者用户组名称
|
6587
|
+
# @type PrincipalName: String
|
6588
|
+
# @param CreateTime: 创建时间。
|
6589
|
+
# @type CreateTime: String
|
6590
|
+
# @param UpdateTime: 更新时间。
|
6591
|
+
# @type UpdateTime: String
|
6592
|
+
# @param TargetName: 集团账号目标账号的名称。
|
6593
|
+
# @type TargetName: String
|
6594
|
+
|
6595
|
+
attr_accessor :RoleConfigurationId, :RoleConfigurationName, :TargetUin, :TargetType, :PrincipalId, :PrincipalType, :PrincipalName, :CreateTime, :UpdateTime, :TargetName
|
6596
|
+
|
6597
|
+
def initialize(roleconfigurationid=nil, roleconfigurationname=nil, targetuin=nil, targettype=nil, principalid=nil, principaltype=nil, principalname=nil, createtime=nil, updatetime=nil, targetname=nil)
|
6598
|
+
@RoleConfigurationId = roleconfigurationid
|
6599
|
+
@RoleConfigurationName = roleconfigurationname
|
6600
|
+
@TargetUin = targetuin
|
6601
|
+
@TargetType = targettype
|
6602
|
+
@PrincipalId = principalid
|
6603
|
+
@PrincipalType = principaltype
|
6604
|
+
@PrincipalName = principalname
|
6605
|
+
@CreateTime = createtime
|
6606
|
+
@UpdateTime = updatetime
|
6607
|
+
@TargetName = targetname
|
6608
|
+
end
|
6609
|
+
|
6610
|
+
def deserialize(params)
|
6611
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
6612
|
+
@RoleConfigurationName = params['RoleConfigurationName']
|
6613
|
+
@TargetUin = params['TargetUin']
|
6614
|
+
@TargetType = params['TargetType']
|
6615
|
+
@PrincipalId = params['PrincipalId']
|
6616
|
+
@PrincipalType = params['PrincipalType']
|
6617
|
+
@PrincipalName = params['PrincipalName']
|
6618
|
+
@CreateTime = params['CreateTime']
|
6619
|
+
@UpdateTime = params['UpdateTime']
|
6620
|
+
@TargetName = params['TargetName']
|
6621
|
+
end
|
6622
|
+
end
|
6623
|
+
|
6624
|
+
# CIC权限配置
|
6625
|
+
class RoleConfiguration < TencentCloud::Common::AbstractModel
|
6626
|
+
# @param RoleConfigurationId: 权限配置配置ID。
|
6627
|
+
# @type RoleConfigurationId: String
|
6628
|
+
# @param RoleConfigurationName: 权限配置配名称。
|
6629
|
+
# @type RoleConfigurationName: String
|
6630
|
+
# @param Description: 权限配置的描述。
|
6631
|
+
# @type Description: String
|
6632
|
+
# @param SessionDuration: 会话持续时间。CIC 用户使用访问配置访问成员账号时,会话最多保持的时间。
|
6633
|
+
# 单位:秒。
|
6634
|
+
# @type SessionDuration: Integer
|
6635
|
+
# @param RelayState: 初始访问页面。CIC 用户使用访问配置访问成员账号时,初始访问的页面地址。
|
6636
|
+
# @type RelayState: String
|
6637
|
+
# @param CreateTime: 权限配置的创建时间。
|
6638
|
+
# @type CreateTime: String
|
6639
|
+
# @param UpdateTime: 权限配置的更新时间。
|
6640
|
+
# @type UpdateTime: String
|
6641
|
+
# @param IsSelected: 如果有入参FilterTargets查询成员账号是否配置过权限,配置了返回true,否则返回false。
|
6642
|
+
# @type IsSelected: Boolean
|
6643
|
+
|
6644
|
+
attr_accessor :RoleConfigurationId, :RoleConfigurationName, :Description, :SessionDuration, :RelayState, :CreateTime, :UpdateTime, :IsSelected
|
6645
|
+
|
6646
|
+
def initialize(roleconfigurationid=nil, roleconfigurationname=nil, description=nil, sessionduration=nil, relaystate=nil, createtime=nil, updatetime=nil, isselected=nil)
|
6647
|
+
@RoleConfigurationId = roleconfigurationid
|
6648
|
+
@RoleConfigurationName = roleconfigurationname
|
6649
|
+
@Description = description
|
6650
|
+
@SessionDuration = sessionduration
|
6651
|
+
@RelayState = relaystate
|
6652
|
+
@CreateTime = createtime
|
6653
|
+
@UpdateTime = updatetime
|
6654
|
+
@IsSelected = isselected
|
6655
|
+
end
|
6656
|
+
|
6657
|
+
def deserialize(params)
|
6658
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
6659
|
+
@RoleConfigurationName = params['RoleConfigurationName']
|
6660
|
+
@Description = params['Description']
|
6661
|
+
@SessionDuration = params['SessionDuration']
|
6662
|
+
@RelayState = params['RelayState']
|
6663
|
+
@CreateTime = params['CreateTime']
|
6664
|
+
@UpdateTime = params['UpdateTime']
|
6665
|
+
@IsSelected = params['IsSelected']
|
6666
|
+
end
|
6667
|
+
end
|
6668
|
+
|
6669
|
+
# 权限配置同步
|
6670
|
+
class RoleConfigurationProvisionings < TencentCloud::Common::AbstractModel
|
6671
|
+
# @param DeploymentStatus: Deployed: 部署成功 DeployedRequired:需要重新部署 DeployFailed:部署失败
|
6672
|
+
# @type DeploymentStatus: String
|
6673
|
+
# @param RoleConfigurationId: 权限配置ID。
|
6674
|
+
# @type RoleConfigurationId: String
|
6675
|
+
# @param RoleConfigurationName: 权限配置名称。
|
6676
|
+
# @type RoleConfigurationName: String
|
6677
|
+
# @param TargetUin: 集团账号目标账号的UIN
|
6678
|
+
# @type TargetUin: Integer
|
6679
|
+
# @param TargetName: 集团账号目标账号的名称。
|
6680
|
+
# @type TargetName: String
|
6681
|
+
# @param CreateTime: 创建时间,
|
6682
|
+
# @type CreateTime: String
|
6683
|
+
# @param UpdateTime: 修改时间,
|
6684
|
+
# @type UpdateTime: String
|
6685
|
+
# @param TargetType: 同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号
|
6686
|
+
# @type TargetType: String
|
6687
|
+
|
6688
|
+
attr_accessor :DeploymentStatus, :RoleConfigurationId, :RoleConfigurationName, :TargetUin, :TargetName, :CreateTime, :UpdateTime, :TargetType
|
6689
|
+
|
6690
|
+
def initialize(deploymentstatus=nil, roleconfigurationid=nil, roleconfigurationname=nil, targetuin=nil, targetname=nil, createtime=nil, updatetime=nil, targettype=nil)
|
6691
|
+
@DeploymentStatus = deploymentstatus
|
6692
|
+
@RoleConfigurationId = roleconfigurationid
|
6693
|
+
@RoleConfigurationName = roleconfigurationname
|
6694
|
+
@TargetUin = targetuin
|
6695
|
+
@TargetName = targetname
|
6696
|
+
@CreateTime = createtime
|
6697
|
+
@UpdateTime = updatetime
|
6698
|
+
@TargetType = targettype
|
6699
|
+
end
|
6700
|
+
|
6701
|
+
def deserialize(params)
|
6702
|
+
@DeploymentStatus = params['DeploymentStatus']
|
6703
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
6704
|
+
@RoleConfigurationName = params['RoleConfigurationName']
|
6705
|
+
@TargetUin = params['TargetUin']
|
6706
|
+
@TargetName = params['TargetName']
|
6707
|
+
@CreateTime = params['CreateTime']
|
6708
|
+
@UpdateTime = params['UpdateTime']
|
6709
|
+
@TargetType = params['TargetType']
|
6710
|
+
end
|
6711
|
+
end
|
6712
|
+
|
6713
|
+
# CIC的权限策略
|
6714
|
+
class RolePolicie < TencentCloud::Common::AbstractModel
|
6715
|
+
# @param RolePolicyId: 策略ID。
|
6716
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6717
|
+
# @type RolePolicyId: Integer
|
6718
|
+
# @param RolePolicyName: 权限策略名称
|
6719
|
+
# @type RolePolicyName: String
|
6720
|
+
# @param RolePolicyType: 权限策略类型
|
6721
|
+
# @type RolePolicyType: String
|
6722
|
+
# @param RolePolicyDocument: 自定义策略内容。仅自定义策略返回该参数。
|
6723
|
+
# @type RolePolicyDocument: String
|
6724
|
+
# @param AddTime: 权限策略被添加到权限配置的时间。
|
6725
|
+
# @type AddTime: String
|
6726
|
+
|
6727
|
+
attr_accessor :RolePolicyId, :RolePolicyName, :RolePolicyType, :RolePolicyDocument, :AddTime
|
6728
|
+
|
6729
|
+
def initialize(rolepolicyid=nil, rolepolicyname=nil, rolepolicytype=nil, rolepolicydocument=nil, addtime=nil)
|
6730
|
+
@RolePolicyId = rolepolicyid
|
6731
|
+
@RolePolicyName = rolepolicyname
|
6732
|
+
@RolePolicyType = rolepolicytype
|
6733
|
+
@RolePolicyDocument = rolepolicydocument
|
6734
|
+
@AddTime = addtime
|
6735
|
+
end
|
6736
|
+
|
6737
|
+
def deserialize(params)
|
6738
|
+
@RolePolicyId = params['RolePolicyId']
|
6739
|
+
@RolePolicyName = params['RolePolicyName']
|
6740
|
+
@RolePolicyType = params['RolePolicyType']
|
6741
|
+
@RolePolicyDocument = params['RolePolicyDocument']
|
6742
|
+
@AddTime = params['AddTime']
|
6743
|
+
end
|
6744
|
+
end
|
6745
|
+
|
6746
|
+
# 同步部署角色任务状态信息。
|
6747
|
+
class RoleProvisioningsTask < TencentCloud::Common::AbstractModel
|
6748
|
+
# @param TaskId: 任务ID。
|
6749
|
+
# @type TaskId: String
|
6750
|
+
# @param RoleConfigurationId: 权限配置ID。
|
6751
|
+
# @type RoleConfigurationId: String
|
6752
|
+
# @param RoleConfigurationName: 权限配置名称。
|
6753
|
+
# @type RoleConfigurationName: String
|
6754
|
+
# @param TargetUin: 授权的集团账号目标账号的UIN
|
6755
|
+
# @type TargetUin: Integer
|
6756
|
+
# @param TargetType: 同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号
|
6757
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6758
|
+
# @type TargetType: String
|
6759
|
+
# @param TaskType: 任务类型。
|
6760
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6761
|
+
# @type TaskType: String
|
6762
|
+
# @param TaskStatus: 任务状态:InProgress: 进行中,Failed: 失败 3:Success: 成功
|
6763
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6764
|
+
# @type TaskStatus: String
|
6765
|
+
|
6766
|
+
attr_accessor :TaskId, :RoleConfigurationId, :RoleConfigurationName, :TargetUin, :TargetType, :TaskType, :TaskStatus
|
6767
|
+
|
6768
|
+
def initialize(taskid=nil, roleconfigurationid=nil, roleconfigurationname=nil, targetuin=nil, targettype=nil, tasktype=nil, taskstatus=nil)
|
6769
|
+
@TaskId = taskid
|
6770
|
+
@RoleConfigurationId = roleconfigurationid
|
6771
|
+
@RoleConfigurationName = roleconfigurationname
|
6772
|
+
@TargetUin = targetuin
|
6773
|
+
@TargetType = targettype
|
6774
|
+
@TaskType = tasktype
|
6775
|
+
@TaskStatus = taskstatus
|
6776
|
+
end
|
6777
|
+
|
6778
|
+
def deserialize(params)
|
6779
|
+
@TaskId = params['TaskId']
|
6780
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
6781
|
+
@RoleConfigurationName = params['RoleConfigurationName']
|
6782
|
+
@TargetUin = params['TargetUin']
|
6783
|
+
@TargetType = params['TargetType']
|
6784
|
+
@TaskType = params['TaskType']
|
6785
|
+
@TaskStatus = params['TaskStatus']
|
6786
|
+
end
|
6787
|
+
end
|
6788
|
+
|
6789
|
+
# SAML 签名证书信息
|
6790
|
+
class SAMLIdPCertificate < TencentCloud::Common::AbstractModel
|
6791
|
+
# @param SerialNumber: 证书序列号。
|
6792
|
+
# @type SerialNumber: String
|
6793
|
+
# @param Issuer: 证书颁发者。
|
6794
|
+
# @type Issuer: String
|
6795
|
+
# @param Version: 证书版本。
|
6796
|
+
# @type Version: Integer
|
6797
|
+
# @param CertificateId: 证书ID。
|
6798
|
+
# @type CertificateId: String
|
6799
|
+
# @param PublicKey: PEM 格式的公钥证书(Base64 编码)。
|
6800
|
+
# @type PublicKey: String
|
6801
|
+
# @param SignatureAlgorithm: 证书的签名算法。
|
6802
|
+
# @type SignatureAlgorithm: String
|
6803
|
+
# @param NotAfter: 证书的过期时间。
|
6804
|
+
# @type NotAfter: String
|
6805
|
+
# @param NotBefore: 证书的创建时间。
|
6806
|
+
# @type NotBefore: String
|
6807
|
+
# @param Subject: 证书的主体。
|
6808
|
+
# @type Subject: String
|
6809
|
+
# @param X509Certificate: PEM 格式的 X509 证书。
|
6810
|
+
# @type X509Certificate: String
|
6811
|
+
|
6812
|
+
attr_accessor :SerialNumber, :Issuer, :Version, :CertificateId, :PublicKey, :SignatureAlgorithm, :NotAfter, :NotBefore, :Subject, :X509Certificate
|
6813
|
+
|
6814
|
+
def initialize(serialnumber=nil, issuer=nil, version=nil, certificateid=nil, publickey=nil, signaturealgorithm=nil, notafter=nil, notbefore=nil, subject=nil, x509certificate=nil)
|
6815
|
+
@SerialNumber = serialnumber
|
6816
|
+
@Issuer = issuer
|
6817
|
+
@Version = version
|
6818
|
+
@CertificateId = certificateid
|
6819
|
+
@PublicKey = publickey
|
6820
|
+
@SignatureAlgorithm = signaturealgorithm
|
6821
|
+
@NotAfter = notafter
|
6822
|
+
@NotBefore = notbefore
|
6823
|
+
@Subject = subject
|
6824
|
+
@X509Certificate = x509certificate
|
6825
|
+
end
|
6826
|
+
|
6827
|
+
def deserialize(params)
|
6828
|
+
@SerialNumber = params['SerialNumber']
|
6829
|
+
@Issuer = params['Issuer']
|
6830
|
+
@Version = params['Version']
|
6831
|
+
@CertificateId = params['CertificateId']
|
6832
|
+
@PublicKey = params['PublicKey']
|
6833
|
+
@SignatureAlgorithm = params['SignatureAlgorithm']
|
6834
|
+
@NotAfter = params['NotAfter']
|
6835
|
+
@NotBefore = params['NotBefore']
|
6836
|
+
@Subject = params['Subject']
|
6837
|
+
@X509Certificate = params['X509Certificate']
|
6838
|
+
end
|
6839
|
+
end
|
6840
|
+
|
6841
|
+
# saml 身份提供商配置信息。
|
6842
|
+
class SAMLIdentityProviderConfiguration < TencentCloud::Common::AbstractModel
|
6843
|
+
# @param EntityId: IdP 标识。
|
6844
|
+
# @type EntityId: String
|
6845
|
+
# @param SSOStatus: SSO 登录的启用状态。取值: Enabled:启用。 Disabled(默认值):禁用。
|
6846
|
+
# @type SSOStatus: String
|
6847
|
+
# @param EncodedMetadataDocument: IdP 元数据文档(Base64 编码)。
|
6848
|
+
# @type EncodedMetadataDocument: String
|
6849
|
+
# @param CertificateIds: X509证书ID。
|
6850
|
+
# @type CertificateIds: Array
|
6851
|
+
# @param LoginUrl: IdP 的登录地址。
|
6852
|
+
# @type LoginUrl: String
|
6853
|
+
# @param CreateTime: 创建时间。
|
6854
|
+
# @type CreateTime: String
|
6855
|
+
# @param UpdateTime: 更新时间。
|
6856
|
+
# @type UpdateTime: String
|
6857
|
+
|
6858
|
+
attr_accessor :EntityId, :SSOStatus, :EncodedMetadataDocument, :CertificateIds, :LoginUrl, :CreateTime, :UpdateTime
|
6859
|
+
|
6860
|
+
def initialize(entityid=nil, ssostatus=nil, encodedmetadatadocument=nil, certificateids=nil, loginurl=nil, createtime=nil, updatetime=nil)
|
6861
|
+
@EntityId = entityid
|
6862
|
+
@SSOStatus = ssostatus
|
6863
|
+
@EncodedMetadataDocument = encodedmetadatadocument
|
6864
|
+
@CertificateIds = certificateids
|
6865
|
+
@LoginUrl = loginurl
|
6866
|
+
@CreateTime = createtime
|
6867
|
+
@UpdateTime = updatetime
|
6868
|
+
end
|
6869
|
+
|
6870
|
+
def deserialize(params)
|
6871
|
+
@EntityId = params['EntityId']
|
6872
|
+
@SSOStatus = params['SSOStatus']
|
6873
|
+
@EncodedMetadataDocument = params['EncodedMetadataDocument']
|
6874
|
+
@CertificateIds = params['CertificateIds']
|
6875
|
+
@LoginUrl = params['LoginUrl']
|
6876
|
+
@CreateTime = params['CreateTime']
|
6877
|
+
@UpdateTime = params['UpdateTime']
|
6878
|
+
end
|
6879
|
+
end
|
6880
|
+
|
6881
|
+
# SAML服务提供商信息
|
6882
|
+
class SAMLServiceProvider < TencentCloud::Common::AbstractModel
|
6883
|
+
# @param EntityId: https://tencentcloudsso.com/saml/sp/z-sjw8ensa**
|
6884
|
+
# @type EntityId: String
|
6885
|
+
# @param ZoneId: 空间ID。
|
6886
|
+
# @type ZoneId: String
|
6887
|
+
# @param EncodedMetadataDocument: SP 元数据文档(Base64 编码)。
|
6888
|
+
# @type EncodedMetadataDocument: String
|
6889
|
+
# @param AcsUrl: SP 的 ACS URL。
|
6890
|
+
# @type AcsUrl: String
|
6891
|
+
|
6892
|
+
attr_accessor :EntityId, :ZoneId, :EncodedMetadataDocument, :AcsUrl
|
6893
|
+
|
6894
|
+
def initialize(entityid=nil, zoneid=nil, encodedmetadatadocument=nil, acsurl=nil)
|
6895
|
+
@EntityId = entityid
|
6896
|
+
@ZoneId = zoneid
|
6897
|
+
@EncodedMetadataDocument = encodedmetadatadocument
|
6898
|
+
@AcsUrl = acsurl
|
6899
|
+
end
|
6900
|
+
|
6901
|
+
def deserialize(params)
|
6902
|
+
@EntityId = params['EntityId']
|
6903
|
+
@ZoneId = params['ZoneId']
|
6904
|
+
@EncodedMetadataDocument = params['EncodedMetadataDocument']
|
6905
|
+
@AcsUrl = params['AcsUrl']
|
6906
|
+
end
|
6907
|
+
end
|
6908
|
+
|
6909
|
+
# SetExternalSAMLIdentityProvider请求参数结构体
|
6910
|
+
class SetExternalSAMLIdentityProviderRequest < TencentCloud::Common::AbstractModel
|
6911
|
+
# @param ZoneId: 空间ID。
|
6912
|
+
# @type ZoneId: String
|
6913
|
+
# @param EncodedMetadataDocument: IdP 元数据文档(Base64 编码)。 由支持 SAML 2.0 协议的 IdP 提供。
|
6914
|
+
# @type EncodedMetadataDocument: String
|
6915
|
+
# @param SSOStatus: SSO 登录的启用状态。取值: Enabled:启用。 Disabled(默认值):禁用。
|
6916
|
+
# @type SSOStatus: String
|
6917
|
+
# @param EntityId: IdP 标识。
|
6918
|
+
# @type EntityId: String
|
6919
|
+
# @param LoginUrl: IdP 的登录地址。
|
6920
|
+
# @type LoginUrl: String
|
6921
|
+
# @param X509Certificate: PEM 格式的 X509 证书。指定该参数会替换所有已经存在的证书。
|
6922
|
+
# @type X509Certificate: String
|
6923
|
+
|
6924
|
+
attr_accessor :ZoneId, :EncodedMetadataDocument, :SSOStatus, :EntityId, :LoginUrl, :X509Certificate
|
6925
|
+
|
6926
|
+
def initialize(zoneid=nil, encodedmetadatadocument=nil, ssostatus=nil, entityid=nil, loginurl=nil, x509certificate=nil)
|
6927
|
+
@ZoneId = zoneid
|
6928
|
+
@EncodedMetadataDocument = encodedmetadatadocument
|
6929
|
+
@SSOStatus = ssostatus
|
6930
|
+
@EntityId = entityid
|
6931
|
+
@LoginUrl = loginurl
|
6932
|
+
@X509Certificate = x509certificate
|
6933
|
+
end
|
6934
|
+
|
6935
|
+
def deserialize(params)
|
6936
|
+
@ZoneId = params['ZoneId']
|
6937
|
+
@EncodedMetadataDocument = params['EncodedMetadataDocument']
|
6938
|
+
@SSOStatus = params['SSOStatus']
|
6939
|
+
@EntityId = params['EntityId']
|
6940
|
+
@LoginUrl = params['LoginUrl']
|
6941
|
+
@X509Certificate = params['X509Certificate']
|
4131
6942
|
end
|
4132
6943
|
end
|
4133
6944
|
|
4134
|
-
#
|
4135
|
-
class
|
4136
|
-
# @param
|
4137
|
-
#
|
4138
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4139
|
-
# @type Resource: String
|
4140
|
-
# @param ComplianceDetails: 合规详情。
|
4141
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4142
|
-
# @type ComplianceDetails: :class:`Tencentcloud::Organization.v20210331.models.TagComplianceDetails`
|
4143
|
-
# @param Tags: 资源标签。
|
4144
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4145
|
-
# @type Tags: Array
|
6945
|
+
# SetExternalSAMLIdentityProvider返回参数结构体
|
6946
|
+
class SetExternalSAMLIdentityProviderResponse < TencentCloud::Common::AbstractModel
|
6947
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6948
|
+
# @type RequestId: String
|
4146
6949
|
|
4147
|
-
attr_accessor :
|
6950
|
+
attr_accessor :RequestId
|
4148
6951
|
|
4149
|
-
def initialize(
|
4150
|
-
@
|
4151
|
-
@ComplianceDetails = compliancedetails
|
4152
|
-
@Tags = tags
|
6952
|
+
def initialize(requestid=nil)
|
6953
|
+
@RequestId = requestid
|
4153
6954
|
end
|
4154
6955
|
|
4155
6956
|
def deserialize(params)
|
4156
|
-
@
|
4157
|
-
unless params['ComplianceDetails'].nil?
|
4158
|
-
@ComplianceDetails = TagComplianceDetails.new
|
4159
|
-
@ComplianceDetails.deserialize(params['ComplianceDetails'])
|
4160
|
-
end
|
4161
|
-
unless params['Tags'].nil?
|
4162
|
-
@Tags = []
|
4163
|
-
params['Tags'].each do |i|
|
4164
|
-
tags_tmp = Tags.new
|
4165
|
-
tags_tmp.deserialize(i)
|
4166
|
-
@Tags << tags_tmp
|
4167
|
-
end
|
4168
|
-
end
|
6957
|
+
@RequestId = params['RequestId']
|
4169
6958
|
end
|
4170
6959
|
end
|
4171
6960
|
|
@@ -4347,6 +7136,144 @@ module TencentCloud
|
|
4347
7136
|
end
|
4348
7137
|
end
|
4349
7138
|
|
7139
|
+
# 任务状态信息。
|
7140
|
+
class TaskInfo < TencentCloud::Common::AbstractModel
|
7141
|
+
# @param TaskId: 任务ID。
|
7142
|
+
# @type TaskId: String
|
7143
|
+
# @param RoleConfigurationId: 权限配置ID。
|
7144
|
+
# @type RoleConfigurationId: String
|
7145
|
+
# @param RoleConfigurationName: 权限配置名称。
|
7146
|
+
# @type RoleConfigurationName: String
|
7147
|
+
# @param TargetUin: 授权的目标成员账号的UIN
|
7148
|
+
# @type TargetUin: Integer
|
7149
|
+
# @param TargetType: 同步的目标账号的类型,ManagerUin管理账号;MemberUin成员账号
|
7150
|
+
# @type TargetType: String
|
7151
|
+
# @param PrincipalId: 用户授权的身份ID,如果是身份类型是CIC用户,则为用户ID; 如果是用户组,则为用户组ID;
|
7152
|
+
# @type PrincipalId: String
|
7153
|
+
# @param PrincipalType: 用户授权的身份类型, User代表CIC用户, Group代表CIC用户组
|
7154
|
+
# @type PrincipalType: String
|
7155
|
+
# @param TaskType: 任务类型。
|
7156
|
+
# @type TaskType: String
|
7157
|
+
# @param Status: InProgress:任务执行中。 Success:任务执行成功。 Failed:任务执行失败。
|
7158
|
+
# @type Status: String
|
7159
|
+
# @param FailureReason: 失败原因
|
7160
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7161
|
+
# @type FailureReason: String
|
7162
|
+
|
7163
|
+
attr_accessor :TaskId, :RoleConfigurationId, :RoleConfigurationName, :TargetUin, :TargetType, :PrincipalId, :PrincipalType, :TaskType, :Status, :FailureReason
|
7164
|
+
|
7165
|
+
def initialize(taskid=nil, roleconfigurationid=nil, roleconfigurationname=nil, targetuin=nil, targettype=nil, principalid=nil, principaltype=nil, tasktype=nil, status=nil, failurereason=nil)
|
7166
|
+
@TaskId = taskid
|
7167
|
+
@RoleConfigurationId = roleconfigurationid
|
7168
|
+
@RoleConfigurationName = roleconfigurationname
|
7169
|
+
@TargetUin = targetuin
|
7170
|
+
@TargetType = targettype
|
7171
|
+
@PrincipalId = principalid
|
7172
|
+
@PrincipalType = principaltype
|
7173
|
+
@TaskType = tasktype
|
7174
|
+
@Status = status
|
7175
|
+
@FailureReason = failurereason
|
7176
|
+
end
|
7177
|
+
|
7178
|
+
def deserialize(params)
|
7179
|
+
@TaskId = params['TaskId']
|
7180
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
7181
|
+
@RoleConfigurationName = params['RoleConfigurationName']
|
7182
|
+
@TargetUin = params['TargetUin']
|
7183
|
+
@TargetType = params['TargetType']
|
7184
|
+
@PrincipalId = params['PrincipalId']
|
7185
|
+
@PrincipalType = params['PrincipalType']
|
7186
|
+
@TaskType = params['TaskType']
|
7187
|
+
@Status = params['Status']
|
7188
|
+
@FailureReason = params['FailureReason']
|
7189
|
+
end
|
7190
|
+
end
|
7191
|
+
|
7192
|
+
# 任务状态信息。
|
7193
|
+
class TaskStatus < TencentCloud::Common::AbstractModel
|
7194
|
+
# @param Status: 任务状态。取值: InProgress:任务执行中。 Success:任务执行成功。 Failed:任务执行失败。
|
7195
|
+
# @type Status: String
|
7196
|
+
# @param TaskId: 任务 ID。
|
7197
|
+
# @type TaskId: String
|
7198
|
+
# @param TaskType: 任务类型。取值:
|
7199
|
+
# ProvisionRoleConfiguration:部署权限配置。
|
7200
|
+
# DeprovisionRoleConfiguration:解除权限配置部署。
|
7201
|
+
# CreateRoleAssignment:在成员 账号上授权。
|
7202
|
+
# DeleteRoleAssignment:移除 成员 账号上的授权。
|
7203
|
+
# @type TaskType: String
|
7204
|
+
# @param FailureReason: 任务失败原因。
|
7205
|
+
# 说明
|
7206
|
+
# 只有Status为Failed,才会显示该参数。
|
7207
|
+
# @type FailureReason: String
|
7208
|
+
|
7209
|
+
attr_accessor :Status, :TaskId, :TaskType, :FailureReason
|
7210
|
+
|
7211
|
+
def initialize(status=nil, taskid=nil, tasktype=nil, failurereason=nil)
|
7212
|
+
@Status = status
|
7213
|
+
@TaskId = taskid
|
7214
|
+
@TaskType = tasktype
|
7215
|
+
@FailureReason = failurereason
|
7216
|
+
end
|
7217
|
+
|
7218
|
+
def deserialize(params)
|
7219
|
+
@Status = params['Status']
|
7220
|
+
@TaskId = params['TaskId']
|
7221
|
+
@TaskType = params['TaskType']
|
7222
|
+
@FailureReason = params['FailureReason']
|
7223
|
+
end
|
7224
|
+
end
|
7225
|
+
|
7226
|
+
# UpdateGroup请求参数结构体
|
7227
|
+
class UpdateGroupRequest < TencentCloud::Common::AbstractModel
|
7228
|
+
# @param ZoneId: 空间 ID。
|
7229
|
+
# @type ZoneId: String
|
7230
|
+
# @param GroupId: 用户组ID。
|
7231
|
+
# @type GroupId: String
|
7232
|
+
# @param NewGroupName: 新的用户组名称。
|
7233
|
+
# @type NewGroupName: String
|
7234
|
+
# @param NewDescription: 新的用户组描述。
|
7235
|
+
# @type NewDescription: String
|
7236
|
+
|
7237
|
+
attr_accessor :ZoneId, :GroupId, :NewGroupName, :NewDescription
|
7238
|
+
|
7239
|
+
def initialize(zoneid=nil, groupid=nil, newgroupname=nil, newdescription=nil)
|
7240
|
+
@ZoneId = zoneid
|
7241
|
+
@GroupId = groupid
|
7242
|
+
@NewGroupName = newgroupname
|
7243
|
+
@NewDescription = newdescription
|
7244
|
+
end
|
7245
|
+
|
7246
|
+
def deserialize(params)
|
7247
|
+
@ZoneId = params['ZoneId']
|
7248
|
+
@GroupId = params['GroupId']
|
7249
|
+
@NewGroupName = params['NewGroupName']
|
7250
|
+
@NewDescription = params['NewDescription']
|
7251
|
+
end
|
7252
|
+
end
|
7253
|
+
|
7254
|
+
# UpdateGroup返回参数结构体
|
7255
|
+
class UpdateGroupResponse < TencentCloud::Common::AbstractModel
|
7256
|
+
# @param GroupInfo: 用户组信息。
|
7257
|
+
# @type GroupInfo: :class:`Tencentcloud::Organization.v20210331.models.GroupInfo`
|
7258
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7259
|
+
# @type RequestId: String
|
7260
|
+
|
7261
|
+
attr_accessor :GroupInfo, :RequestId
|
7262
|
+
|
7263
|
+
def initialize(groupinfo=nil, requestid=nil)
|
7264
|
+
@GroupInfo = groupinfo
|
7265
|
+
@RequestId = requestid
|
7266
|
+
end
|
7267
|
+
|
7268
|
+
def deserialize(params)
|
7269
|
+
unless params['GroupInfo'].nil?
|
7270
|
+
@GroupInfo = GroupInfo.new
|
7271
|
+
@GroupInfo.deserialize(params['GroupInfo'])
|
7272
|
+
end
|
7273
|
+
@RequestId = params['RequestId']
|
7274
|
+
end
|
7275
|
+
end
|
7276
|
+
|
4350
7277
|
# UpdateOrganizationIdentity请求参数结构体
|
4351
7278
|
class UpdateOrganizationIdentityRequest < TencentCloud::Common::AbstractModel
|
4352
7279
|
# @param IdentityId: 身份ID。可以通过[ListOrganizationIdentity](https://cloud.tencent.com/document/product/850/82934)获取
|
@@ -4587,6 +7514,61 @@ module TencentCloud
|
|
4587
7514
|
end
|
4588
7515
|
end
|
4589
7516
|
|
7517
|
+
# UpdateRoleConfiguration请求参数结构体
|
7518
|
+
class UpdateRoleConfigurationRequest < TencentCloud::Common::AbstractModel
|
7519
|
+
# @param ZoneId: 空间 ID
|
7520
|
+
# @type ZoneId: String
|
7521
|
+
# @param RoleConfigurationId: 权限配置 ID
|
7522
|
+
# @type RoleConfigurationId: String
|
7523
|
+
# @param NewDescription: 新的访问配置描述。 长度:最大 1024 个字符。
|
7524
|
+
# @type NewDescription: String
|
7525
|
+
# @param NewSessionDuration: 新的会话持续时间。 CIC 用户使用访问配置访问集团账号目标账号时,会话最多保持的时间。 单位:秒。 取值范围:900-43200(15 分钟-12 小时)。
|
7526
|
+
# @type NewSessionDuration: Integer
|
7527
|
+
# @param NewRelayState: 新的初始访问页面。 CIC 用户使用访问配置访问集团账号目标账号时,初始访问的页面地址。 该页面必须是腾讯云控制台页面。
|
7528
|
+
# @type NewRelayState: String
|
7529
|
+
|
7530
|
+
attr_accessor :ZoneId, :RoleConfigurationId, :NewDescription, :NewSessionDuration, :NewRelayState
|
7531
|
+
|
7532
|
+
def initialize(zoneid=nil, roleconfigurationid=nil, newdescription=nil, newsessionduration=nil, newrelaystate=nil)
|
7533
|
+
@ZoneId = zoneid
|
7534
|
+
@RoleConfigurationId = roleconfigurationid
|
7535
|
+
@NewDescription = newdescription
|
7536
|
+
@NewSessionDuration = newsessionduration
|
7537
|
+
@NewRelayState = newrelaystate
|
7538
|
+
end
|
7539
|
+
|
7540
|
+
def deserialize(params)
|
7541
|
+
@ZoneId = params['ZoneId']
|
7542
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
7543
|
+
@NewDescription = params['NewDescription']
|
7544
|
+
@NewSessionDuration = params['NewSessionDuration']
|
7545
|
+
@NewRelayState = params['NewRelayState']
|
7546
|
+
end
|
7547
|
+
end
|
7548
|
+
|
7549
|
+
# UpdateRoleConfiguration返回参数结构体
|
7550
|
+
class UpdateRoleConfigurationResponse < TencentCloud::Common::AbstractModel
|
7551
|
+
# @param RoleConfigurationInfo: 权限配置详情
|
7552
|
+
# @type RoleConfigurationInfo: :class:`Tencentcloud::Organization.v20210331.models.RoleConfiguration`
|
7553
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7554
|
+
# @type RequestId: String
|
7555
|
+
|
7556
|
+
attr_accessor :RoleConfigurationInfo, :RequestId
|
7557
|
+
|
7558
|
+
def initialize(roleconfigurationinfo=nil, requestid=nil)
|
7559
|
+
@RoleConfigurationInfo = roleconfigurationinfo
|
7560
|
+
@RequestId = requestid
|
7561
|
+
end
|
7562
|
+
|
7563
|
+
def deserialize(params)
|
7564
|
+
unless params['RoleConfigurationInfo'].nil?
|
7565
|
+
@RoleConfigurationInfo = RoleConfiguration.new
|
7566
|
+
@RoleConfigurationInfo.deserialize(params['RoleConfigurationInfo'])
|
7567
|
+
end
|
7568
|
+
@RequestId = params['RequestId']
|
7569
|
+
end
|
7570
|
+
end
|
7571
|
+
|
4590
7572
|
# UpdateShareUnit请求参数结构体
|
4591
7573
|
class UpdateShareUnitRequest < TencentCloud::Common::AbstractModel
|
4592
7574
|
# @param UnitId: 共享单元ID。
|
@@ -4631,6 +7613,478 @@ module TencentCloud
|
|
4631
7613
|
end
|
4632
7614
|
end
|
4633
7615
|
|
7616
|
+
# UpdateUser请求参数结构体
|
7617
|
+
class UpdateUserRequest < TencentCloud::Common::AbstractModel
|
7618
|
+
# @param ZoneId: 空间 ID。
|
7619
|
+
# @type ZoneId: String
|
7620
|
+
# @param UserId: 用户 ID。
|
7621
|
+
# @type UserId: String
|
7622
|
+
# @param NewFirstName: 用户的名。
|
7623
|
+
# @type NewFirstName: String
|
7624
|
+
# @param NewLastName: 用户的姓。
|
7625
|
+
# @type NewLastName: String
|
7626
|
+
# @param NewDisplayName: 用户的显示名称。
|
7627
|
+
# @type NewDisplayName: String
|
7628
|
+
# @param NewDescription: 用户的描述。
|
7629
|
+
# @type NewDescription: String
|
7630
|
+
# @param NewEmail: 用户的电子邮箱。
|
7631
|
+
# @type NewEmail: String
|
7632
|
+
|
7633
|
+
attr_accessor :ZoneId, :UserId, :NewFirstName, :NewLastName, :NewDisplayName, :NewDescription, :NewEmail
|
7634
|
+
|
7635
|
+
def initialize(zoneid=nil, userid=nil, newfirstname=nil, newlastname=nil, newdisplayname=nil, newdescription=nil, newemail=nil)
|
7636
|
+
@ZoneId = zoneid
|
7637
|
+
@UserId = userid
|
7638
|
+
@NewFirstName = newfirstname
|
7639
|
+
@NewLastName = newlastname
|
7640
|
+
@NewDisplayName = newdisplayname
|
7641
|
+
@NewDescription = newdescription
|
7642
|
+
@NewEmail = newemail
|
7643
|
+
end
|
7644
|
+
|
7645
|
+
def deserialize(params)
|
7646
|
+
@ZoneId = params['ZoneId']
|
7647
|
+
@UserId = params['UserId']
|
7648
|
+
@NewFirstName = params['NewFirstName']
|
7649
|
+
@NewLastName = params['NewLastName']
|
7650
|
+
@NewDisplayName = params['NewDisplayName']
|
7651
|
+
@NewDescription = params['NewDescription']
|
7652
|
+
@NewEmail = params['NewEmail']
|
7653
|
+
end
|
7654
|
+
end
|
7655
|
+
|
7656
|
+
# UpdateUser返回参数结构体
|
7657
|
+
class UpdateUserResponse < TencentCloud::Common::AbstractModel
|
7658
|
+
# @param UserInfo: 用户信息
|
7659
|
+
# @type UserInfo: :class:`Tencentcloud::Organization.v20210331.models.UserInfo`
|
7660
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7661
|
+
# @type RequestId: String
|
7662
|
+
|
7663
|
+
attr_accessor :UserInfo, :RequestId
|
7664
|
+
|
7665
|
+
def initialize(userinfo=nil, requestid=nil)
|
7666
|
+
@UserInfo = userinfo
|
7667
|
+
@RequestId = requestid
|
7668
|
+
end
|
7669
|
+
|
7670
|
+
def deserialize(params)
|
7671
|
+
unless params['UserInfo'].nil?
|
7672
|
+
@UserInfo = UserInfo.new
|
7673
|
+
@UserInfo.deserialize(params['UserInfo'])
|
7674
|
+
end
|
7675
|
+
@RequestId = params['RequestId']
|
7676
|
+
end
|
7677
|
+
end
|
7678
|
+
|
7679
|
+
# UpdateUserStatus请求参数结构体
|
7680
|
+
class UpdateUserStatusRequest < TencentCloud::Common::AbstractModel
|
7681
|
+
# @param ZoneId: 空间 ID。
|
7682
|
+
# @type ZoneId: String
|
7683
|
+
# @param UserId: 用户 ID。
|
7684
|
+
# @type UserId: String
|
7685
|
+
# @param NewUserStatus: 用户的状态。取值: Enabled:启用。 Disabled:禁用。
|
7686
|
+
# @type NewUserStatus: String
|
7687
|
+
|
7688
|
+
attr_accessor :ZoneId, :UserId, :NewUserStatus
|
7689
|
+
|
7690
|
+
def initialize(zoneid=nil, userid=nil, newuserstatus=nil)
|
7691
|
+
@ZoneId = zoneid
|
7692
|
+
@UserId = userid
|
7693
|
+
@NewUserStatus = newuserstatus
|
7694
|
+
end
|
7695
|
+
|
7696
|
+
def deserialize(params)
|
7697
|
+
@ZoneId = params['ZoneId']
|
7698
|
+
@UserId = params['UserId']
|
7699
|
+
@NewUserStatus = params['NewUserStatus']
|
7700
|
+
end
|
7701
|
+
end
|
7702
|
+
|
7703
|
+
# UpdateUserStatus返回参数结构体
|
7704
|
+
class UpdateUserStatusResponse < TencentCloud::Common::AbstractModel
|
7705
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7706
|
+
# @type RequestId: String
|
7707
|
+
|
7708
|
+
attr_accessor :RequestId
|
7709
|
+
|
7710
|
+
def initialize(requestid=nil)
|
7711
|
+
@RequestId = requestid
|
7712
|
+
end
|
7713
|
+
|
7714
|
+
def deserialize(params)
|
7715
|
+
@RequestId = params['RequestId']
|
7716
|
+
end
|
7717
|
+
end
|
7718
|
+
|
7719
|
+
# UpdateUserSyncProvisioning请求参数结构体
|
7720
|
+
class UpdateUserSyncProvisioningRequest < TencentCloud::Common::AbstractModel
|
7721
|
+
# @param ZoneId: 空间ID。
|
7722
|
+
# @type ZoneId: String
|
7723
|
+
# @param UserProvisioningId: 用户同步的iD
|
7724
|
+
# @type UserProvisioningId: String
|
7725
|
+
# @param NewDescription: 用户同步描述。
|
7726
|
+
# @type NewDescription: String
|
7727
|
+
# @param NewDuplicationStateful: 冲突策略。当CIC 用户同步到 CAM 时,如果 CAM 中存在同名用户时的处理策略。取值: KeepBoth:两者都保留。当CIC 用户被同步到 CAM 时,如果 CAM 已经存在同名用户,则对CIC 用户的用户名添加后缀_cic后尝试创建该用户名的 CAM 用户。 TakeOver:替换。当CIC 用户被同步到 CAM 时,如果 CAM 已经存在同名用户,则直接将已经存在的 CAM 用户替换为CIC 同步用户。
|
7728
|
+
# @type NewDuplicationStateful: String
|
7729
|
+
# @param NewDeletionStrategy: 删除策略。删除 CAM 用户同步时,对已同步的 CAM 用户的处理策略。取值: Delete:删除。删除 CAM 用户同步时,会删除从CIC 已经同步到 CAM 中的 CAM 用户。 Keep:保留。删除 RAM 用户同步时,会保留从CIC 已经同步到 CAM 中的 CAM 用户。
|
7730
|
+
# @type NewDeletionStrategy: String
|
7731
|
+
|
7732
|
+
attr_accessor :ZoneId, :UserProvisioningId, :NewDescription, :NewDuplicationStateful, :NewDeletionStrategy
|
7733
|
+
|
7734
|
+
def initialize(zoneid=nil, userprovisioningid=nil, newdescription=nil, newduplicationstateful=nil, newdeletionstrategy=nil)
|
7735
|
+
@ZoneId = zoneid
|
7736
|
+
@UserProvisioningId = userprovisioningid
|
7737
|
+
@NewDescription = newdescription
|
7738
|
+
@NewDuplicationStateful = newduplicationstateful
|
7739
|
+
@NewDeletionStrategy = newdeletionstrategy
|
7740
|
+
end
|
7741
|
+
|
7742
|
+
def deserialize(params)
|
7743
|
+
@ZoneId = params['ZoneId']
|
7744
|
+
@UserProvisioningId = params['UserProvisioningId']
|
7745
|
+
@NewDescription = params['NewDescription']
|
7746
|
+
@NewDuplicationStateful = params['NewDuplicationStateful']
|
7747
|
+
@NewDeletionStrategy = params['NewDeletionStrategy']
|
7748
|
+
end
|
7749
|
+
end
|
7750
|
+
|
7751
|
+
# UpdateUserSyncProvisioning返回参数结构体
|
7752
|
+
class UpdateUserSyncProvisioningResponse < TencentCloud::Common::AbstractModel
|
7753
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7754
|
+
# @type RequestId: String
|
7755
|
+
|
7756
|
+
attr_accessor :RequestId
|
7757
|
+
|
7758
|
+
def initialize(requestid=nil)
|
7759
|
+
@RequestId = requestid
|
7760
|
+
end
|
7761
|
+
|
7762
|
+
def deserialize(params)
|
7763
|
+
@RequestId = params['RequestId']
|
7764
|
+
end
|
7765
|
+
end
|
7766
|
+
|
7767
|
+
# UpdateZone请求参数结构体
|
7768
|
+
class UpdateZoneRequest < TencentCloud::Common::AbstractModel
|
7769
|
+
# @param ZoneId: 空间ID。z-前缀开头,后面是12位随机数字/小写字母
|
7770
|
+
# @type ZoneId: String
|
7771
|
+
# @param NewZoneName: 空间名,必须全局唯一。包含小写字母、数字和短划线(-)。不能以短划线(-)开头或结尾,且不能有两个连续的短划线(-)。长度:2~64 个字符。
|
7772
|
+
# @type NewZoneName: String
|
7773
|
+
|
7774
|
+
attr_accessor :ZoneId, :NewZoneName
|
7775
|
+
|
7776
|
+
def initialize(zoneid=nil, newzonename=nil)
|
7777
|
+
@ZoneId = zoneid
|
7778
|
+
@NewZoneName = newzonename
|
7779
|
+
end
|
7780
|
+
|
7781
|
+
def deserialize(params)
|
7782
|
+
@ZoneId = params['ZoneId']
|
7783
|
+
@NewZoneName = params['NewZoneName']
|
7784
|
+
end
|
7785
|
+
end
|
7786
|
+
|
7787
|
+
# UpdateZone返回参数结构体
|
7788
|
+
class UpdateZoneResponse < TencentCloud::Common::AbstractModel
|
7789
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7790
|
+
# @type RequestId: String
|
7791
|
+
|
7792
|
+
attr_accessor :RequestId
|
7793
|
+
|
7794
|
+
def initialize(requestid=nil)
|
7795
|
+
@RequestId = requestid
|
7796
|
+
end
|
7797
|
+
|
7798
|
+
def deserialize(params)
|
7799
|
+
@RequestId = params['RequestId']
|
7800
|
+
end
|
7801
|
+
end
|
7802
|
+
|
7803
|
+
# 用户信息
|
7804
|
+
class UserInfo < TencentCloud::Common::AbstractModel
|
7805
|
+
# @param UserName: 查询username。
|
7806
|
+
# @type UserName: String
|
7807
|
+
# @param FirstName: 用户的名。
|
7808
|
+
# @type FirstName: String
|
7809
|
+
# @param LastName: 用户的姓。
|
7810
|
+
# @type LastName: String
|
7811
|
+
# @param DisplayName: 用户的显示名称。
|
7812
|
+
# @type DisplayName: String
|
7813
|
+
# @param Description: 用户的描述。
|
7814
|
+
# @type Description: String
|
7815
|
+
# @param Email: 用户的电子邮箱。目录内必须唯一。
|
7816
|
+
# @type Email: String
|
7817
|
+
# @param UserStatus: 用户状态 Enabled:启用, Disabled:禁用。
|
7818
|
+
# @type UserStatus: String
|
7819
|
+
# @param UserType: 用户类型 Manual:手动创建,Synchronized:外部导入。
|
7820
|
+
# @type UserType: String
|
7821
|
+
# @param UserId: 用户 ID
|
7822
|
+
# @type UserId: String
|
7823
|
+
# @param CreateTime: 用户的创建时间
|
7824
|
+
# @type CreateTime: String
|
7825
|
+
# @param UpdateTime: 用户的修改时间
|
7826
|
+
# @type UpdateTime: String
|
7827
|
+
# @param IsSelected: 是否选中
|
7828
|
+
# @type IsSelected: Boolean
|
7829
|
+
|
7830
|
+
attr_accessor :UserName, :FirstName, :LastName, :DisplayName, :Description, :Email, :UserStatus, :UserType, :UserId, :CreateTime, :UpdateTime, :IsSelected
|
7831
|
+
|
7832
|
+
def initialize(username=nil, firstname=nil, lastname=nil, displayname=nil, description=nil, email=nil, userstatus=nil, usertype=nil, userid=nil, createtime=nil, updatetime=nil, isselected=nil)
|
7833
|
+
@UserName = username
|
7834
|
+
@FirstName = firstname
|
7835
|
+
@LastName = lastname
|
7836
|
+
@DisplayName = displayname
|
7837
|
+
@Description = description
|
7838
|
+
@Email = email
|
7839
|
+
@UserStatus = userstatus
|
7840
|
+
@UserType = usertype
|
7841
|
+
@UserId = userid
|
7842
|
+
@CreateTime = createtime
|
7843
|
+
@UpdateTime = updatetime
|
7844
|
+
@IsSelected = isselected
|
7845
|
+
end
|
7846
|
+
|
7847
|
+
def deserialize(params)
|
7848
|
+
@UserName = params['UserName']
|
7849
|
+
@FirstName = params['FirstName']
|
7850
|
+
@LastName = params['LastName']
|
7851
|
+
@DisplayName = params['DisplayName']
|
7852
|
+
@Description = params['Description']
|
7853
|
+
@Email = params['Email']
|
7854
|
+
@UserStatus = params['UserStatus']
|
7855
|
+
@UserType = params['UserType']
|
7856
|
+
@UserId = params['UserId']
|
7857
|
+
@CreateTime = params['CreateTime']
|
7858
|
+
@UpdateTime = params['UpdateTime']
|
7859
|
+
@IsSelected = params['IsSelected']
|
7860
|
+
end
|
7861
|
+
end
|
7862
|
+
|
7863
|
+
# 用户同步信息
|
7864
|
+
class UserProvisioning < TencentCloud::Common::AbstractModel
|
7865
|
+
# @param UserProvisioningId: CAM 用户同步的状态。取值:
|
7866
|
+
|
7867
|
+
# Enabled:CAM 用户同步已启用。
|
7868
|
+
# Disabled:CAM 用户同步未启用。
|
7869
|
+
# @type UserProvisioningId: String
|
7870
|
+
# @param Description: 描述。
|
7871
|
+
# @type Description: String
|
7872
|
+
# @param Status: CAM 用户同步的状态。取值:
|
7873
|
+
# Enabled:CAM 用户同步已启用。
|
7874
|
+
# Disabled:CAM 用户同步未启用。
|
7875
|
+
# @type Status: String
|
7876
|
+
# @param PrincipalId: CAM 用户同步的身份 ID。取值:
|
7877
|
+
# 当PrincipalType取值为Group时,该值为CIC用户组 ID(g-********)。
|
7878
|
+
# 当PrincipalType取值为User时,该值为CIC用户 ID(u-********)。
|
7879
|
+
# @type PrincipalId: String
|
7880
|
+
# @param PrincipalName: CAM 用户同步的身份名称。取值:
|
7881
|
+
# 当PrincipalType取值为Group时,该值为CIC用户组名称。
|
7882
|
+
# 当PrincipalType取值为User时,该值为CIC用户名称。
|
7883
|
+
# @type PrincipalName: String
|
7884
|
+
# @param PrincipalType: CAM 用户同步的身份类型。取值:
|
7885
|
+
|
7886
|
+
# User:表示该 CAM 用户同步的身份是CIC用户。
|
7887
|
+
# Group:表示该 CAM 用户同步的身份是CIC用户组。
|
7888
|
+
# @type PrincipalType: String
|
7889
|
+
# @param TargetUin: 集团账号目标账号的UIN。
|
7890
|
+
# @type TargetUin: Integer
|
7891
|
+
# @param TargetName: 集团账号目标账号的名称。
|
7892
|
+
# @type TargetName: String
|
7893
|
+
# @param DuplicationStrategy: 冲突策略。当CIC 用户同步到 CAM 时,如果 CAM 中存在同名用户时的处理策略。取值: KeepBoth:两者都保留。当CIC 用户被同步到 CAM 时,如果 CAM 已经存在同名用户,则对CIC 用户的用户名添加后缀_cic后尝试创建该用户名的 CAM 用户。 TakeOver:替换。当CIC 用户被同步到 CAM 时,如果 CAM 已经存在同名用户,则直接将已经存在的 CAM 用户替换为CIC 同步用户。
|
7894
|
+
# @type DuplicationStrategy: String
|
7895
|
+
# @param DeletionStrategy: 删除策略。删除 CAM 用户同步时,对已同步的 CAM 用户的处理策略。取值: Delete:删除。删除 CAM 用户同步时,会删除从CIC 已经同步到 CAM 中的 CAM 用户。 Keep:保留。删除 RAM 用户同步时,会保留从CIC 已经同步到 CAM 中的 CAM 用户。
|
7896
|
+
# @type DeletionStrategy: String
|
7897
|
+
# @param CreateTime: 创建时间。
|
7898
|
+
# @type CreateTime: String
|
7899
|
+
# @param UpdateTime: 更新时间。
|
7900
|
+
# @type UpdateTime: String
|
7901
|
+
# @param TargetType: 同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号
|
7902
|
+
# @type TargetType: String
|
7903
|
+
|
7904
|
+
attr_accessor :UserProvisioningId, :Description, :Status, :PrincipalId, :PrincipalName, :PrincipalType, :TargetUin, :TargetName, :DuplicationStrategy, :DeletionStrategy, :CreateTime, :UpdateTime, :TargetType
|
7905
|
+
|
7906
|
+
def initialize(userprovisioningid=nil, description=nil, status=nil, principalid=nil, principalname=nil, principaltype=nil, targetuin=nil, targetname=nil, duplicationstrategy=nil, deletionstrategy=nil, createtime=nil, updatetime=nil, targettype=nil)
|
7907
|
+
@UserProvisioningId = userprovisioningid
|
7908
|
+
@Description = description
|
7909
|
+
@Status = status
|
7910
|
+
@PrincipalId = principalid
|
7911
|
+
@PrincipalName = principalname
|
7912
|
+
@PrincipalType = principaltype
|
7913
|
+
@TargetUin = targetuin
|
7914
|
+
@TargetName = targetname
|
7915
|
+
@DuplicationStrategy = duplicationstrategy
|
7916
|
+
@DeletionStrategy = deletionstrategy
|
7917
|
+
@CreateTime = createtime
|
7918
|
+
@UpdateTime = updatetime
|
7919
|
+
@TargetType = targettype
|
7920
|
+
end
|
7921
|
+
|
7922
|
+
def deserialize(params)
|
7923
|
+
@UserProvisioningId = params['UserProvisioningId']
|
7924
|
+
@Description = params['Description']
|
7925
|
+
@Status = params['Status']
|
7926
|
+
@PrincipalId = params['PrincipalId']
|
7927
|
+
@PrincipalName = params['PrincipalName']
|
7928
|
+
@PrincipalType = params['PrincipalType']
|
7929
|
+
@TargetUin = params['TargetUin']
|
7930
|
+
@TargetName = params['TargetName']
|
7931
|
+
@DuplicationStrategy = params['DuplicationStrategy']
|
7932
|
+
@DeletionStrategy = params['DeletionStrategy']
|
7933
|
+
@CreateTime = params['CreateTime']
|
7934
|
+
@UpdateTime = params['UpdateTime']
|
7935
|
+
@TargetType = params['TargetType']
|
7936
|
+
end
|
7937
|
+
end
|
7938
|
+
|
7939
|
+
# 用户同步任务状态信息。
|
7940
|
+
class UserProvisioningsTask < TencentCloud::Common::AbstractModel
|
7941
|
+
# @param TaskId: 任务ID。
|
7942
|
+
# @type TaskId: String
|
7943
|
+
# @param TargetUin: 授权的集团账号目标账号的UIN
|
7944
|
+
# @type TargetUin: Integer
|
7945
|
+
# @param TargetType: 同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号
|
7946
|
+
# @type TargetType: String
|
7947
|
+
# @param TaskType: 任务类型。StartProvisioning:用户同步,DeleteProvisioning:删除用户同步
|
7948
|
+
# @type TaskType: String
|
7949
|
+
# @param TaskStatus: 任务状态:InProgress: 进行中,Failed: 失败 3:Success: 成功
|
7950
|
+
# @type TaskStatus: String
|
7951
|
+
# @param UserProvisioningId: 用户同步ID。
|
7952
|
+
# @type UserProvisioningId: String
|
7953
|
+
# @param PrincipalId: CAM 用户同步的身份 ID。取值: 当PrincipalType取值为Group时,该值为CIC 用户组 ID(g-********)。 当PrincipalType取值为User时,该值为CIC 用户 ID(u-********)。
|
7954
|
+
# @type PrincipalId: String
|
7955
|
+
# @param PrincipalType: CAM 用户同步的身份类型。取值: User:表示该 CAM 用户同步的身份是CIC 用户。 Group:表示该 CAM 用户同步的身份是CIC 用户组。
|
7956
|
+
# @type PrincipalType: String
|
7957
|
+
# @param PrincipalName: 用户或者用户组名称。
|
7958
|
+
# @type PrincipalName: String
|
7959
|
+
# @param DuplicationStrategy: 冲突策略。KeepBoth:两者都保留;TakeOver:替换
|
7960
|
+
# @type DuplicationStrategy: String
|
7961
|
+
# @param DeletionStrategy: 删除策略。Delete:删除;Keep:保留
|
7962
|
+
# @type DeletionStrategy: String
|
7963
|
+
|
7964
|
+
attr_accessor :TaskId, :TargetUin, :TargetType, :TaskType, :TaskStatus, :UserProvisioningId, :PrincipalId, :PrincipalType, :PrincipalName, :DuplicationStrategy, :DeletionStrategy
|
7965
|
+
|
7966
|
+
def initialize(taskid=nil, targetuin=nil, targettype=nil, tasktype=nil, taskstatus=nil, userprovisioningid=nil, principalid=nil, principaltype=nil, principalname=nil, duplicationstrategy=nil, deletionstrategy=nil)
|
7967
|
+
@TaskId = taskid
|
7968
|
+
@TargetUin = targetuin
|
7969
|
+
@TargetType = targettype
|
7970
|
+
@TaskType = tasktype
|
7971
|
+
@TaskStatus = taskstatus
|
7972
|
+
@UserProvisioningId = userprovisioningid
|
7973
|
+
@PrincipalId = principalid
|
7974
|
+
@PrincipalType = principaltype
|
7975
|
+
@PrincipalName = principalname
|
7976
|
+
@DuplicationStrategy = duplicationstrategy
|
7977
|
+
@DeletionStrategy = deletionstrategy
|
7978
|
+
end
|
7979
|
+
|
7980
|
+
def deserialize(params)
|
7981
|
+
@TaskId = params['TaskId']
|
7982
|
+
@TargetUin = params['TargetUin']
|
7983
|
+
@TargetType = params['TargetType']
|
7984
|
+
@TaskType = params['TaskType']
|
7985
|
+
@TaskStatus = params['TaskStatus']
|
7986
|
+
@UserProvisioningId = params['UserProvisioningId']
|
7987
|
+
@PrincipalId = params['PrincipalId']
|
7988
|
+
@PrincipalType = params['PrincipalType']
|
7989
|
+
@PrincipalName = params['PrincipalName']
|
7990
|
+
@DuplicationStrategy = params['DuplicationStrategy']
|
7991
|
+
@DeletionStrategy = params['DeletionStrategy']
|
7992
|
+
end
|
7993
|
+
end
|
7994
|
+
|
7995
|
+
# CAM用户同步信息
|
7996
|
+
class UserSyncProvisioning < TencentCloud::Common::AbstractModel
|
7997
|
+
# @param Description: 描述。
|
7998
|
+
# @type Description: String
|
7999
|
+
# @param PrincipalId: CAM 用户同步的身份 ID。取值:
|
8000
|
+
# 当PrincipalType取值为Group时,该值为CIC用户组 ID(g-********)。
|
8001
|
+
# 当PrincipalType取值为User时,该值为CIC用户 ID(u-********)。
|
8002
|
+
# @type PrincipalId: String
|
8003
|
+
# @param PrincipalType: CAM 用户同步的身份类型。取值:
|
8004
|
+
|
8005
|
+
# User:表示该 CAM 用户同步的身份是CIC用户。
|
8006
|
+
# Group:表示该 CAM 用户同步的身份是CIC用户组。
|
8007
|
+
# @type PrincipalType: String
|
8008
|
+
# @param TargetUin: 同步的集团账号目标账号的UIN。
|
8009
|
+
# @type TargetUin: Integer
|
8010
|
+
# @param DuplicationStrategy: 冲突策略。当CIC 用户同步到 CAM 时,如果 CAM 中存在同名用户时的处理策略。取值: KeepBoth:两者都保留。当CIC 用户被同步到 CAM 时,如果 CAM 已经存在同名用户,则对CIC 用户的用户名添加后缀_cic后尝试创建该用户名的 CAM 用户。 TakeOver:替换。当CIC 用户被同步到 CAM 时,如果 CAM 已经存在同名用户,则直接将已经存在的 CAM 用户替换为CIC 同步用户。
|
8011
|
+
# @type DuplicationStrategy: String
|
8012
|
+
# @param DeletionStrategy: 删除策略。删除 CAM 用户同步时,对已同步的 CAM 用户的处理策略。取值: Delete:删除。删除 CAM 用户同步时,会删除从CIC 已经同步到 CAM 中的 CAM 用户。 Keep:保留。删除 RAM 用户同步时,会保留从CIC 已经同步到 CAM 中的 CAM 用户。
|
8013
|
+
# @type DeletionStrategy: String
|
8014
|
+
# @param TargetType: 同步的集团账号目标账号的类型,ManagerUin管理账号;MemberUin成员账号
|
8015
|
+
# @type TargetType: String
|
8016
|
+
|
8017
|
+
attr_accessor :Description, :PrincipalId, :PrincipalType, :TargetUin, :DuplicationStrategy, :DeletionStrategy, :TargetType
|
8018
|
+
|
8019
|
+
def initialize(description=nil, principalid=nil, principaltype=nil, targetuin=nil, duplicationstrategy=nil, deletionstrategy=nil, targettype=nil)
|
8020
|
+
@Description = description
|
8021
|
+
@PrincipalId = principalid
|
8022
|
+
@PrincipalType = principaltype
|
8023
|
+
@TargetUin = targetuin
|
8024
|
+
@DuplicationStrategy = duplicationstrategy
|
8025
|
+
@DeletionStrategy = deletionstrategy
|
8026
|
+
@TargetType = targettype
|
8027
|
+
end
|
8028
|
+
|
8029
|
+
def deserialize(params)
|
8030
|
+
@Description = params['Description']
|
8031
|
+
@PrincipalId = params['PrincipalId']
|
8032
|
+
@PrincipalType = params['PrincipalType']
|
8033
|
+
@TargetUin = params['TargetUin']
|
8034
|
+
@DuplicationStrategy = params['DuplicationStrategy']
|
8035
|
+
@DeletionStrategy = params['DeletionStrategy']
|
8036
|
+
@TargetType = params['TargetType']
|
8037
|
+
end
|
8038
|
+
end
|
8039
|
+
|
8040
|
+
# CIC的空间统计
|
8041
|
+
class ZoneStatistics < TencentCloud::Common::AbstractModel
|
8042
|
+
# @param UserQuota: 用户配额。
|
8043
|
+
# @type UserQuota: Integer
|
8044
|
+
# @param GroupQuota: 用户组配额。
|
8045
|
+
# @type GroupQuota: Integer
|
8046
|
+
# @param RoleConfigurationQuota: 权限配置配额。
|
8047
|
+
# @type RoleConfigurationQuota: Integer
|
8048
|
+
# @param SystemPolicyPerRoleConfigurationQuota: 权限配置绑定的系统策略配额。
|
8049
|
+
# @type SystemPolicyPerRoleConfigurationQuota: Integer
|
8050
|
+
# @param UserCount: 用户数。
|
8051
|
+
# @type UserCount: Integer
|
8052
|
+
# @param GroupCount: 用户组数。
|
8053
|
+
# @type GroupCount: Integer
|
8054
|
+
# @param RoleConfigurationCount: 权限配置数
|
8055
|
+
# @type RoleConfigurationCount: Integer
|
8056
|
+
# @param UserProvisioningCount: 同步用户数。
|
8057
|
+
# @type UserProvisioningCount: Integer
|
8058
|
+
# @param RoleConfigurationSyncCount: 同步角色数。
|
8059
|
+
# @type RoleConfigurationSyncCount: Integer
|
8060
|
+
|
8061
|
+
attr_accessor :UserQuota, :GroupQuota, :RoleConfigurationQuota, :SystemPolicyPerRoleConfigurationQuota, :UserCount, :GroupCount, :RoleConfigurationCount, :UserProvisioningCount, :RoleConfigurationSyncCount
|
8062
|
+
|
8063
|
+
def initialize(userquota=nil, groupquota=nil, roleconfigurationquota=nil, systempolicyperroleconfigurationquota=nil, usercount=nil, groupcount=nil, roleconfigurationcount=nil, userprovisioningcount=nil, roleconfigurationsynccount=nil)
|
8064
|
+
@UserQuota = userquota
|
8065
|
+
@GroupQuota = groupquota
|
8066
|
+
@RoleConfigurationQuota = roleconfigurationquota
|
8067
|
+
@SystemPolicyPerRoleConfigurationQuota = systempolicyperroleconfigurationquota
|
8068
|
+
@UserCount = usercount
|
8069
|
+
@GroupCount = groupcount
|
8070
|
+
@RoleConfigurationCount = roleconfigurationcount
|
8071
|
+
@UserProvisioningCount = userprovisioningcount
|
8072
|
+
@RoleConfigurationSyncCount = roleconfigurationsynccount
|
8073
|
+
end
|
8074
|
+
|
8075
|
+
def deserialize(params)
|
8076
|
+
@UserQuota = params['UserQuota']
|
8077
|
+
@GroupQuota = params['GroupQuota']
|
8078
|
+
@RoleConfigurationQuota = params['RoleConfigurationQuota']
|
8079
|
+
@SystemPolicyPerRoleConfigurationQuota = params['SystemPolicyPerRoleConfigurationQuota']
|
8080
|
+
@UserCount = params['UserCount']
|
8081
|
+
@GroupCount = params['GroupCount']
|
8082
|
+
@RoleConfigurationCount = params['RoleConfigurationCount']
|
8083
|
+
@UserProvisioningCount = params['UserProvisioningCount']
|
8084
|
+
@RoleConfigurationSyncCount = params['RoleConfigurationSyncCount']
|
8085
|
+
end
|
8086
|
+
end
|
8087
|
+
|
4634
8088
|
end
|
4635
8089
|
end
|
4636
8090
|
end
|