获取IdP同步入配置信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
实例 ID。 |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| IdentityProviderId |
string |
是 |
身份提供方 ID。 |
idp_my664lwkhpicbyzirog3xxxxx |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| UdPullConfiguration |
object |
同步入配置信息。 |
|
| InstanceId |
string |
实例 ID。 |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| IdentityProviderId |
string |
身份提供方 ID。 |
idp_my664lwkhpicbyzirog3xxxxx |
| IncrementalCallbackStatus |
string |
增量回调状态,是否处理来自 IdP 的增量回调数据。取值范围:
|
enabled |
| PeriodicSyncStatus |
string |
定时校验状态,是否定时校验 IDaaS 与身份提供方的数据差异。取值范围:
|
enabled |
| GroupSyncStatus |
string |
组同步状态。
|
enabled |
| UdSyncScopeConfig |
object |
同步范围配置信息。 |
|
| SourceScopes |
array |
同步来源节点列表。 |
|
|
string |
同步来源节点。 |
960 |
|
| TargetScope |
string |
同步目标节点。 |
ou_asjdfhaskfhw213mnsj33sXXX |
| PullProtectedRule |
object |
同步入保护规则配置。 |
|
| UserDeletedThreshold |
integer |
删除账户数量阈值,删除用户数量超过该值,同步任务终止。 |
30 |
| OrganizationalUnitDeletedThreshold |
integer |
删除组织数量阈值,删除组织数量超过该值,同步任务终止。 |
10 |
| GroupDeletedThreshold |
integer |
删除组数量阈值,删除组数量超过该值,同步任务终止。 |
10 |
| LdapUdPullConfig |
object |
LDAP 同步侧相关配置信息。 |
|
| UserObjectClass |
string |
用户 ObjectClass。 |
ou,top |
| OrganizationUnitObjectClass |
string |
组织 ObjectClass。 |
ou,top |
| UserObjectClassCustomFilter |
string |
用户自定义 Filter。 |
(|(cn=test)(mail=test@test.com)) |
| GroupObjectClass |
string |
组 ObjectClass。 |
member |
| GroupMemberAttributeName |
string |
组成员标识。 |
group |
| GroupObjectClassCustomFilter |
string |
组自定义 Filter。 |
(|(cn=test)(group=test@test.com)) |
| PeriodicSyncConfig |
object |
定时同步配置 |
|
| PeriodicSyncType |
string |
类型 |
cron |
| PeriodicSyncCron |
string |
cron 表达式 |
0 45 1 * * ? |
| PeriodicSyncTimes |
integer |
执行时间点,如[3,5],即 3 点到 4 点执行一次,5 点到 6 点执行一次。 |
[3,5] |
示例
正常返回示例
JSON格式
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"UdPullConfiguration": {
"InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"IdentityProviderId": "idp_my664lwkhpicbyzirog3xxxxx\n",
"IncrementalCallbackStatus": "enabled",
"PeriodicSyncStatus": "enabled",
"GroupSyncStatus": "enabled",
"UdSyncScopeConfig": {
"SourceScopes": [
"960"
],
"TargetScope": "ou_asjdfhaskfhw213mnsj33sXXX"
},
"PullProtectedRule": {
"UserDeletedThreshold": 30,
"OrganizationalUnitDeletedThreshold": 10,
"GroupDeletedThreshold": 10
},
"LdapUdPullConfig": {
"UserObjectClass": "ou,top",
"OrganizationUnitObjectClass": "ou,top",
"UserObjectClassCustomFilter": "(|(cn=test)(mail=test@test.com))",
"GroupObjectClass": "member",
"GroupMemberAttributeName": "group",
"GroupObjectClassCustomFilter": "(|(cn=test)(group=test@test.com))"
},
"PeriodicSyncConfig": {
"PeriodicSyncType": "cron",
"PeriodicSyncCron": "0 45 1 * * ?",
"PeriodicSyncTimes": 0
}
}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。