'1.0',
'info' => ['style' => 'RPC', 'product' => 'cloudsso', 'version' => '2021-05-15'],
'directories' => [
[
'children' => ['EnableService', 'DisableService', 'GetServiceStatus', 'CreateDirectory', 'ListDirectories', 'GetDirectory', 'GetDirectoryStatistics', 'UpdateDirectory', 'DeleteDirectory', 'EnableDelegateAccount', 'DisableDelegateAccount'],
'type' => 'directory',
'title' => '管理云SSO',
'id' => 47833,
],
[
'children' => ['CreateUser', 'ListUsers', 'GetUser', 'UpdateUser', 'UpdateUserStatus', 'DeleteUser', 'ResetUserPassword', 'ListMFADevicesForUser', 'DeleteMFADeviceForUser', 'UpdateMFAAuthenticationSettings', 'GetMFAAuthenticationSettings', 'UpdateUserMFAAuthenticationSettings', 'GetUserMFAAuthenticationSettings', 'GetMFAAuthenticationSettingInfo', 'SetLoginPreference', 'GetLoginPreference', 'SetPasswordPolicy', 'GetPasswordPolicy', 'GetUserId'],
'type' => 'directory',
'title' => '管理用户',
'id' => 47969,
],
[
'children' => ['CreateGroup', 'ListGroups', 'GetGroup', 'UpdateGroup', 'DeleteGroup', 'AddUserToGroup', 'RemoveUserFromGroup', 'ListJoinedGroupsForUser', 'ListGroupMembers'],
'type' => 'directory',
'title' => '管理用户组',
'id' => 47989,
],
[
'children' => ['CreateSCIMServerCredential', 'ListSCIMServerCredentials', 'UpdateSCIMServerCredentialStatus', 'DeleteSCIMServerCredential', 'SetSCIMSynchronizationStatus', 'GetSCIMSynchronizationStatus'],
'type' => 'directory',
'title' => '管理SCIM同步',
'id' => 48007,
],
[
'children' => ['GetDirectorySAMLServiceProviderInfo', 'SetExternalSAMLIdentityProvider', 'GetExternalSAMLIdentityProvider', 'ClearExternalSAMLIdentityProvider', 'AddExternalSAMLIdPCertificate', 'ListExternalSAMLIdPCertificates', 'RemoveExternalSAMLIdPCertificate'],
'type' => 'directory',
'title' => '管理单点登录',
'id' => 47999,
],
[
'children' => ['CreateAccessConfiguration', 'ListAccessConfigurations', 'GetAccessConfiguration', 'UpdateAccessConfiguration', 'DeleteAccessConfiguration', 'AddPermissionPolicyToAccessConfiguration', 'RemovePermissionPolicyFromAccessConfiguration', 'UpdateInlinePolicyForAccessConfiguration', 'ListPermissionPoliciesInAccessConfiguration'],
'type' => 'directory',
'title' => '管理访问配置',
'id' => 48014,
],
[
'children' => ['ProvisionAccessConfiguration', 'DeprovisionAccessConfiguration', 'ListAccessConfigurationProvisionings', 'CreateAccessAssignment', 'ListAccessAssignments', 'DeleteAccessAssignment', 'ListTasks', 'GetTask', 'GetTaskStatus'],
'type' => 'directory',
'title' => '管理多账号授权',
'id' => 48024,
],
[
'children' => ['CreateUserProvisioning', 'GetUserProvisioning', 'ListUserProvisionings', 'UpdateUserProvisioning', 'DeleteUserProvisioning', 'UpdateUserProvisioningConfiguration', 'GetUserProvisioningConfiguration', 'ListUserProvisioningEvents', 'GetUserProvisioningEvent', 'DeleteUserProvisioningEvent', 'RetryUserProvisioningEvent', 'GetUserProvisioningStatistics', 'GetUserProvisioningRdAccountStatistics'],
'type' => 'directory',
'title' => '管理RAM用户同步',
'id' => 48037,
],
[
'children' => ['SetMFAAuthenticationStatus', 'GetMFAAuthenticationStatus'],
'type' => 'directory',
'title' => '其他(不维护)',
'id' => 48034,
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'AddExternalSAMLIdPCertificate' => [
'summary' => '调用AddExternalSAMLIdPCertificate添加SAML签名证书。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'X509Certificate',
'in' => 'query',
'schema' => ['description' => 'PEM格式的X509证书。'."\n"
."\n"
.'由SAML身份提供商提供。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MIIC8DCCAdigAwIBAgIQP9eomUYGeoND****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '12B3E332-DD16-515B-B695-39BA233AA172'],
'CertificateId' => ['description' => 'SAML签名证书ID。', 'type' => 'string', 'example' => 'idp-c-00wk2fb4foracls0****'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"12B3E332-DD16-515B-B695-39BA233AA172\\",\\n \\"CertificateId\\": \\"idp-c-00wk2fb4foracls0****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 12B3E332-DD16-515B-B695-39BA233AA172\\n idp-c-00wk2fb4foracls0****\\n","errorExample":""}]',
'title' => '添加SAML签名证书',
'description' => '您最多可以添加2个SAML签名证书。'."\n"
."\n"
.'本文将提供一个示例,在`d-00fc2p61****`目录下添加一个新的SAML签名证书。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:AddExternalSAMLIdPCertificate',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'AddPermissionPolicyToAccessConfiguration' => [
'summary' => '为访问配置添加权限策略。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'AccessConfigurationId',
'in' => 'query',
'schema' => ['description' => '访问配置ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ac-00jhtfl8thteu6uj****'],
],
[
'name' => 'PermissionPolicyType',
'in' => 'query',
'schema' => ['description' => '权限策略类型。取值:'."\n"
."\n"
.'- System:系统策略。复用RAM的系统策略。'."\n"
.'- Inline:内置策略。按照RAM权限策略语法和结构编写的自定义策略。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'System'],
],
[
'name' => 'PermissionPolicyName',
'in' => 'query',
'schema' => ['description' => '权限策略名称。具体如下:'."\n"
."\n"
.'- 当`PermissionPolicyType`为`System`时,该参数为系统策略名称。由于复用的是RAM系统策略,请在RAM中获取系统策略名称。'."\n"
.'- 当`PermissionPolicyType`为`Inline`时,该参数为内置策略名称。您可以自定义该参数。长度最大为32个字符。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AliyunECSFullAccess'],
],
[
'name' => 'InlinePolicyDocument',
'in' => 'query',
'schema' => ['description' => '内置策略内容。'."\n"
."\n"
.'长度:最大4096个字符。'."\n"
."\n"
.'当`PermissionPolicyType`为`Inline`时,该参数必须配置。关于权限策略的语法和结构,请参见[权限策略语法和结构](~~93739~~)。', 'type' => 'string', 'required' => false, 'example' => '{"Statement": [{"Action": "*","Effect": "Allow","Resource": "*"}],"Version": "1"}'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B7C6E839-FB65-59BE-B753-003AA8AF7DF7'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '为访问配置添加权限策略',
'description' => '本文将提供一个示例,为访问配置`ac-00jhtfl8thteu6uj****`添加一条系统策略`AliyunECSFullAccess`。',
'changeSet' => [
['createdAt' => '2021-11-24T12:49:03.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddPermissionPolicyToAccessConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:AddPermissionPolicyToAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B7C6E839-FB65-59BE-B753-003AA8AF7DF7\\"\\n}","errorExample":""},{"type":"xml","example":"\\n B7C6E839-FB65-59BE-B753-003AA8AF7DF7\\n","errorExample":""}]',
],
'AddUserToGroup' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'GroupId',
'in' => 'query',
'schema' => ['description' => '用户组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'g-00jqzghi2n3o5hkh****'],
],
[
'name' => 'UserId',
'in' => 'query',
'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F76AF4FC-25E4-5CF1-B7CB-74F3CB72F0F0'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '为用户组添加用户',
'summary' => '调用AddUserToGroup为用户组添加用户。',
'description' => '当启用SCIM同步后,不能为SCIM同步的用户组添加用户。'."\n"
."\n"
.'本文将提供一个示例,将用户`u-00q8wbq42wiltcrk****`添加到用户组`g-00jqzghi2n3o5hkh****`。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddUserToGroup'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:AddUserToGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F76AF4FC-25E4-5CF1-B7CB-74F3CB72F0F0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n F76AF4FC-25E4-5CF1-B7CB-74F3CB72F0F0\\n","errorExample":""}]',
],
'ClearExternalSAMLIdentityProvider' => [
'summary' => '调用ClearExternalSAMLIdentityProvider清空SAML身份提供商(IdP)的配置信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '96D1E5FF-0301-5636-8D33-071E033CFB82'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"96D1E5FF-0301-5636-8D33-071E033CFB82\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 96D1E5FF-0301-5636-8D33-071E033CFB82\\n","errorExample":""}]',
'title' => '清空SAML身份提供商配置信息',
'description' => '当SSO登录处于禁用状态时,您可以清空SAML身份提供商信息。否则,您不能执行该操作。'."\n"
."\n"
.'本文将提供一个示例,清空目录`d-00fc2p61****`下的SAML身份提供商的配置信息。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:ClearExternalSAMLIdentityProvider',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'CreateAccessAssignment' => [
'summary' => '为RD账号设置允许访问的用户或用户组,以及对应的访问权限(访问配置)。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'AccessConfigurationId',
'in' => 'query',
'schema' => ['description' => '访问配置ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ac-00jhtfl8thteu6uj****'],
],
[
'name' => 'TargetType',
'in' => 'query',
'schema' => ['description' => '任务目标类型。取值:RD-Account,表示任务目标类型为RD账号。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'RD-Account'],
],
[
'name' => 'TargetId',
'in' => 'query',
'schema' => ['description' => '部署目标ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '114240524784****'],
],
[
'name' => 'PrincipalType',
'in' => 'query',
'schema' => ['description' => '云SSO身份类型。取值:'."\n"
."\n"
.'- User:用户。'."\n"
.'- Group:用户组。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'User'],
],
[
'name' => 'PrincipalId',
'in' => 'query',
'schema' => ['description' => '云SSO身份ID。具体如下:'."\n"
."\n"
.'- 当`PrincipalType`为`User`时,`PrincipalId`为云SSO用户ID。'."\n"
.'- 当`PrincipalType`为`Group`时,`PrincipalId`为云SSO用户组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'Task' => [
'description' => '任务信息。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '任务状态。取值:'."\n"
."\n"
.'- InProgress:任务执行中。'."\n"
.'- Success:任务执行成功。'."\n"
.'- Failed:任务执行失败。', 'type' => 'string', 'example' => 'InProgress'],
'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 't-sh6tceylhvgejpip****'],
'PrincipalId' => ['description' => '云SSO身份ID。', 'type' => 'string', 'example' => 'u-00q8wbq42wiltcrk****'],
'TargetPath' => ['description' => '任务目标在资源目录中的路径ID。', 'type' => 'string', 'example' => 'rd-3G****/r-Wm****/114240524784****'],
'PrincipalName' => ['description' => '云SSO身份名称。', 'type' => 'string', 'example' => 'Alice'],
'TargetName' => ['description' => '任务目标名称。', 'type' => 'string', 'example' => 'dev-test'],
'TargetId' => ['description' => '任务目标ID。', 'type' => 'string', 'example' => '114240524784****'],
'AccessConfigurationName' => ['description' => '访问配置名称。', 'type' => 'string', 'example' => 'ECS-Admin'],
'TargetPathName' => ['description' => '任务目标在资源目录中的路径名称。', 'type' => 'string', 'example' => 'rd-3G****/root/dev-test'],
'TaskType' => ['description' => '任务类型。取值:CreateAccessAssignment,表示在RD账号上的授权任务。', 'type' => 'string', 'example' => 'CreateAccessAssignment'],
'TargetType' => ['description' => '任务目标类型。取值:RD-Account,表示任务目标类型为RD账号。', 'type' => 'string', 'example' => 'RD-Account'],
'AccessConfigurationId' => ['description' => '访问配置ID。', 'type' => 'string', 'example' => 'ac-00jhtfl8thteu6uj****'],
'PrincipalType' => ['description' => '云SSO身份类型。取值:'."\n"
."\n"
.'- User:用户。'."\n"
.'- Group:用户组。', 'type' => 'string', 'example' => 'User'],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4726AA56-E138-5C99-85E4-F493536D042F'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '在RD账号上授权',
'description' => '该API操作为异步操作。您可以使用返回参数中的`TaskId`,调用[GetTask](~~340670~~)查询任务执行状态。'."\n"
."\n"
.'关于在RD账号上授权的更多信息,请参见[多账号授权概述](~~266726~~)。'."\n"
."\n"
.'本文将提供一个示例,为云SSO的用户`u-00q8wbq42wiltcrk****`在RD账号`114240524784****`上使用访问配置`ac-00jhtfl8thteu6uj****`配置权限,实现云SSO用户访问RD账号中有权限的资源。',
'changeSet' => [
['createdAt' => '2021-11-19T09:05:42.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAccessAssignment'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:CreateAccessAssignment',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Account', 'arn' => 'acs:resourcemanager::{#accountId}:account/{#AccountId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Task\\": {\\n \\"Status\\": \\"InProgress\\",\\n \\"TaskId\\": \\"t-sh6tceylhvgejpip****\\",\\n \\"PrincipalId\\": \\"u-00q8wbq42wiltcrk****\\",\\n \\"TargetPath\\": \\"rd-3G****/r-Wm****/114240524784****\\",\\n \\"PrincipalName\\": \\"Alice\\",\\n \\"TargetName\\": \\"dev-test\\",\\n \\"TargetId\\": \\"114240524784****\\",\\n \\"AccessConfigurationName\\": \\"ECS-Admin\\",\\n \\"TargetPathName\\": \\"rd-3G****/root/dev-test\\",\\n \\"TaskType\\": \\"CreateAccessAssignment\\",\\n \\"TargetType\\": \\"RD-Account\\",\\n \\"AccessConfigurationId\\": \\"ac-00jhtfl8thteu6uj****\\",\\n \\"PrincipalType\\": \\"User\\"\\n },\\n \\"RequestId\\": \\"4726AA56-E138-5C99-85E4-F493536D042F\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n InProgress\\n t-sh6tceylhvgejpip****\\n u-00q8wbq42wiltcrk****\\n rd-3G****/r-Wm****/114240524784****\\n Alice\\n dev-test\\n 114240524784****\\n ECS-Admin\\n rd-3G****/root/dev-test\\n CreateAccessAssignment\\n RD-Account\\n ac-00jhtfl8thteu6uj****\\n User\\n \\n 4726AA56-E138-5C99-85E4-F493536D042F\\n","errorExample":""}]',
],
'CreateAccessConfiguration' => [
'summary' => '创建访问配置。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'AccessConfigurationName',
'in' => 'query',
'schema' => ['description' => '访问配置名称。'."\n"
."\n"
.'格式:包含英文字母、数字或短划线(-)。'."\n"
."\n"
.'长度:最大32个字符。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ECS-Admin'],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['description' => '访问配置的描述。'."\n"
."\n"
.'长度:最大1024个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is an access configuration.'],
],
[
'name' => 'SessionDuration',
'in' => 'query',
'schema' => ['description' => '会话持续时间。'."\n"
."\n"
.'云SSO用户使用访问配置访问RD账号时,会话最多保持的时间。'."\n"
."\n"
.'单位:秒。'."\n"
."\n"
.'取值范围:900~43200(15分钟~12小时)。'."\n"
."\n"
.'默认值:3600(1小时)。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3600'],
],
[
'name' => 'RelayState',
'in' => 'query',
'schema' => ['description' => '初始访问页面。'."\n"
."\n"
.'云SSO用户使用访问配置访问RD账号时,初始访问的页面地址。'."\n"
."\n"
.'该页面必须是阿里云控制台页面。默认为空,表示跳转到阿里云控制台首页。', 'type' => 'string', 'required' => false, 'example' => 'https://cloudsso.console.aliyun.com'],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Key' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'required' => false,
'maxItems' => 21,
'description' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A3A41736-A050-50B6-ABC5-590F376A0044'],
'AccessConfiguration' => [
'description' => '访问配置信息。',
'type' => 'object',
'properties' => [
'AccessConfigurationName' => ['description' => '访问配置名称。', 'type' => 'string', 'example' => 'ECS-Admin'],
'SessionDuration' => ['description' => '会话持续时间。'."\n"
."\n"
.'云SSO用户使用访问配置访问RD账号时,会话最多保持的时间。'."\n"
."\n"
.'单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '3600'],
'Description' => ['description' => '访问配置的描述。', 'type' => 'string', 'example' => 'This is an access configuration.'],
'RelayState' => ['description' => '初始访问页面。'."\n"
."\n"
.'云SSO用户使用访问配置访问RD账号时,初始访问的页面地址。', 'type' => 'string', 'example' => 'https://cloudsso.console.aliyun.com'],
'CreateTime' => ['description' => '访问配置的创建时间。', 'type' => 'string', 'example' => '2021-11-02T08:44:23Z'],
'UpdateTime' => ['description' => '访问配置的修改时间。', 'type' => 'string', 'example' => '2021-11-02T08:44:23Z'],
'StatusNotifications' => [
'description' => '状态通知信息。',
'type' => 'array',
'items' => ['description' => '状态通知信息。取值:'."\n"
."\n"
.'- 空:表示没有状态通知信息。'."\n"
.'- ReprovisionRequired:表示该访问配置需要重新部署。'."\n", 'type' => 'string', 'example' => 'ReprovisionRequired'],
],
'AccessConfigurationId' => ['description' => '访问配置ID。', 'type' => 'string', 'example' => 'ac-00jhtfl8thteu6uj****'],
'Tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Key' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'description' => '',
],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建访问配置',
'description' => '关于访问配置的介绍,请参见[访问配置概述](~~266737~~)。'."\n"
."\n"
.'本文将提供一个示例,创建一个名为`ECS-Admin`的访问配置。',
'changeSet' => [
['createdAt' => '2025-06-11T08:40:18.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAccessConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:CreateAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A3A41736-A050-50B6-ABC5-590F376A0044\\",\\n \\"AccessConfiguration\\": {\\n \\"AccessConfigurationName\\": \\"ECS-Admin\\",\\n \\"SessionDuration\\": 3600,\\n \\"Description\\": \\"This is an access configuration.\\",\\n \\"RelayState\\": \\"https://cloudsso.console.aliyun.com\\",\\n \\"CreateTime\\": \\"2021-11-02T08:44:23Z\\",\\n \\"UpdateTime\\": \\"2021-11-02T08:44:23Z\\",\\n \\"StatusNotifications\\": [\\n \\"ReprovisionRequired\\"\\n ],\\n \\"AccessConfigurationId\\": \\"ac-00jhtfl8thteu6uj****\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"\\",\\n \\"Key\\": \\"\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n A3A41736-A050-50B6-ABC5-590F376A0044\\n \\n ECS-Admin\\n 3600\\n This is an access configuration.\\n \\n 2021-11-02T08:44:23Z\\n 2021-11-02T08:44:23Z\\n ac-00jhtfl8thteu6uj****\\n \\n","errorExample":""}]',
],
'CreateDirectory' => [
'summary' => '调用CreateDirectory创建目录。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryName',
'in' => 'query',
'schema' => ['description' => '目录名称。该参数必须全局唯一。'."\n"
."\n"
.'格式:包含小写字母、数字或短划线(-)。不能以短划线(-)开头或结尾,且不能有两个连续的短划线(-)。不能以`d-`开头。'."\n"
."\n"
.'长度:2~64个字符。'."\n"
."\n"
.'> 如果不指定,则由系统自动生成。', 'type' => 'string', 'required' => false, 'example' => 'example'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'ADADC31D-90EE-5459-99B0-D83DF07769A3'],
'Directory' => [
'description' => '目录信息。',
'type' => 'object',
'properties' => [
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-00fc2p61****'],
'CreateTime' => ['description' => '目录创建时间(UTC时间)。', 'type' => 'string', 'example' => '2021-10-10T04:04:04Z'],
'UpdateTime' => ['description' => '目录修改时间(UTC时间)。', 'type' => 'string', 'example' => '2021-10-10T04:04:04Z'],
'Region' => ['description' => '目录所在的地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'],
'DirectoryName' => ['description' => '目录名称。', 'type' => 'string', 'example' => 'example'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ADADC31D-90EE-5459-99B0-D83DF07769A3\\",\\n \\"Directory\\": {\\n \\"DirectoryId\\": \\"d-00fc2p61****\\",\\n \\"CreateTime\\": \\"2021-10-10T04:04:04Z\\",\\n \\"UpdateTime\\": \\"2021-10-10T04:04:04Z\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"DirectoryName\\": \\"example\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n ADADC31D-90EE-5459-99B0-D83DF07769A3\\n \\n d-00fc2p61****\\n 2021-10-10T04:04:04Z\\n 2021-10-10T04:04:04Z\\n cn-shanghai\\n example\\n \\n","errorExample":""}]',
'title' => '创建目录',
'description' => '### 使用说明'."\n"
.'目录是云SSO中的实例。使用云SSO前必须先创建一个目录,所有云SSO资源都必须在目录中维护。'."\n"
."\n"
.'您需要选择一个地域作为云SSO目录的所在地域。阿里云确保所有云SSO相关数据都只会保存在该地域,但与您在何处部署ECS、RDS等云资源无关,您在全球都可以登录并访问任何地域的云资源。您可以根据安全合规需求及目标用户所在地理位置选择适合您的地域。如果没有特殊的安全合规需求,一般情况下建议您选择与目标用户所在地理位置最为接近的地域,这样可以进一步提升用户的访问速度。目前,支持在华东2(上海)、中国(香港)、美国(硅谷)和德国(法兰克福)四个地域创建目录。'."\n"
."\n"
.'本文将提供一个示例,在华东2(上海)地域创建名为`example`的目录。'."\n"
."\n"
.'### 使用限制'."\n"
."\n"
.'- 一个管理账号只能创建一个目录。'."\n"
.'- 如果您想修改目录所在的地域,您必须先删除已有目录,然后在其他地域创建新的目录。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:CreateDirectory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/*'],
],
],
'additionalActions' => [
['action' => 'ram:CreateServiceLinkedRole', 'validationType' => 'always'],
],
],
],
],
'CreateGroup' => [
'summary' => '调用CreateGroup创建用户组。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'GroupName',
'in' => 'query',
'schema' => ['description' => '用户组的名称。'."\n"
."\n"
.'格式:允许英文字母、数字和特殊字符`_-.` 。'."\n"
."\n"
.'长度:最大128个字符。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'TestGroup'],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['description' => '用户组的描述。'."\n"
."\n"
.'长度:最大1024个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is a group.'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'Group' => [
'description' => '用户组信息。',
'type' => 'object',
'properties' => [
'GroupName' => ['description' => '用户组的名称。', 'type' => 'string', 'example' => 'TestGroup'],
'Description' => ['description' => '用户组的描述。', 'type' => 'string', 'example' => 'This is a group.'],
'CreateTime' => ['description' => '用户组的创建时间。 ', 'type' => 'string', 'example' => '2021-11-01T02:38:27Z'],
'ProvisionType' => ['description' => '用户组的类型。取值:Manual,表示手动创建。', 'type' => 'string', 'example' => 'Manual'],
'UpdateTime' => ['description' => '用户组的修改时间。', 'type' => 'string', 'example' => '2021-11-01T02:38:27Z'],
'GroupId' => ['description' => '用户组的ID。', 'type' => 'string', 'example' => 'g-00jqzghi2n3o5hkh****'],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '20E9650E-EC23-593E-933F-EA0D280D040C'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建用户组',
'description' => '本文将提供一个示例,创建一个名为`TestGroup`的用户组。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGroup'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:CreateGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Group\\": {\\n \\"GroupName\\": \\"TestGroup\\",\\n \\"Description\\": \\"This is a group.\\",\\n \\"CreateTime\\": \\"2021-11-01T02:38:27Z\\",\\n \\"ProvisionType\\": \\"Manual\\",\\n \\"UpdateTime\\": \\"2021-11-01T02:38:27Z\\",\\n \\"GroupId\\": \\"g-00jqzghi2n3o5hkh****\\"\\n },\\n \\"RequestId\\": \\"20E9650E-EC23-593E-933F-EA0D280D040C\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n TestGroup\\n This is a group.\\n 2021-11-01T02:38:27Z\\n Manual\\n 2021-11-01T02:38:27Z\\n g-00jqzghi2n3o5hkh****\\n \\n 20E9650E-EC23-593E-933F-EA0D280D040C\\n","errorExample":""}]',
],
'CreateSCIMServerCredential' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2D2E5180-7ACF-57FF-A56C-26A49ABEBFF7'],
'SCIMServerCredential' => [
'description' => 'SCIM密钥信息。',
'type' => 'object',
'properties' => [
'Status' => ['description' => 'SCIM密钥状态。取值:Enabled,表示启用状态。', 'type' => 'string', 'example' => 'Enabled'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-00fc2p61****'],
'CredentialId' => ['description' => 'SCIM密钥ID。', 'type' => 'string', 'example' => 'scimcred-004whl0kvfwcypbi****'],
'CreateTime' => ['description' => 'SCIM密钥的创建时间。', 'type' => 'string', 'example' => '2021-11-09T08:12:52Z'],
'CredentialType' => ['description' => 'SCIM密钥类型。', 'type' => 'string', 'example' => 'BearerToken'],
'ExpireTime' => ['description' => 'SCIM密钥的过期时间。', 'type' => 'string', 'example' => '2022-11-09T08:12:52Z'],
'CredentialSecret' => ['description' => 'SCIM密钥。'."\n"
."\n"
.'> SCIM密钥仅在创建时返回,后续不支持查询,请妥善保存。', 'type' => 'string', 'example' => '8aAJCtpbyPJ8saXeYDgyw****'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建SCIM密钥',
'summary' => '调用CreateSCIMServerCredential创建SCIM密钥。',
'description' => 'SCIM同步过程中需要使用SCIM密钥。您最多可以创建两个SCIM密钥。'."\n"
."\n"
.'本文将提供一个示例,在目录`d-00fc2p61****`下创建一个SCIM密钥。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSCIMServerCredential'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:CreateSCIMServerCredential',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'SCIMServerCredential', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/scim-credential/*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2D2E5180-7ACF-57FF-A56C-26A49ABEBFF7\\",\\n \\"SCIMServerCredential\\": {\\n \\"Status\\": \\"Enabled\\",\\n \\"DirectoryId\\": \\"d-00fc2p61****\\",\\n \\"CredentialId\\": \\"scimcred-004whl0kvfwcypbi****\\",\\n \\"CreateTime\\": \\"2021-11-09T08:12:52Z\\",\\n \\"CredentialType\\": \\"BearerToken\\",\\n \\"ExpireTime\\": \\"2022-11-09T08:12:52Z\\",\\n \\"CredentialSecret\\": \\"8aAJCtpbyPJ8saXeYDgyw****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 2D2E5180-7ACF-57FF-A56C-26A49ABEBFF7\\n \\n Enabled\\n d-00fc2p61****\\n scimcred-004whl0kvfwcypbi****\\n 2021-11-09T08:12:52Z\\n BearerToken\\n 2022-11-09T08:12:52Z\\n 8aAJCtpbyPJ8saXeYDgyw****\\n \\n","errorExample":""}]',
],
'CreateUser' => [
'summary' => '调用CreateUser创建用户。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'UserName',
'in' => 'query',
'schema' => ['description' => '用户名称。目录内必须唯一。不支持修改。'."\n"
."\n"
.'格式:包含数字、英文字母和特殊符号`@_-.`。'."\n"
."\n"
.'长度:最大64个字符。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Alice'],
],
[
'name' => 'FirstName',
'in' => 'query',
'schema' => ['description' => '用户的名。'."\n"
."\n"
.'长度:最大64个字符。'."\n", 'type' => 'string', 'required' => false, 'example' => 'Alice'],
],
[
'name' => 'LastName',
'in' => 'query',
'schema' => ['description' => '用户的姓。'."\n"
."\n"
.'长度:最大64个字符。', 'type' => 'string', 'required' => false, 'example' => 'Lee'],
],
[
'name' => 'DisplayName',
'in' => 'query',
'schema' => ['description' => '用户的显示名称。'."\n"
."\n"
.'长度:最大256个字符。', 'type' => 'string', 'required' => false, 'example' => 'Alice'],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['description' => '用户的描述。'."\n"
."\n"
.'长度:最大1024个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is a user.'],
],
[
'name' => 'Email',
'in' => 'query',
'schema' => ['description' => '用户的电子邮箱。目录内必须唯一。'."\n"
."\n"
.'长度:最大128个字符。', 'type' => 'string', 'required' => false, 'example' => 'Alice@example.com'],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => ['description' => '用户的状态。取值:'."\n"
."\n"
.'- Enabled(默认值):启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'required' => false, 'example' => 'Enabled'],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Key' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'required' => false,
'maxItems' => 21,
'description' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'User' => [
'description' => '用户信息。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '用户的状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'example' => 'Enabled'],
'UserName' => ['description' => '用户名称。', 'type' => 'string', 'example' => 'Alice'],
'Email' => ['description' => '用户的电子邮箱。', 'type' => 'string', 'example' => 'Alice@example.com'],
'Description' => ['description' => '用户的描述。', 'type' => 'string', 'example' => 'This is a user.'],
'UserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'u-00q8wbq42wiltcrk****'],
'FirstName' => ['description' => '用户的名。', 'type' => 'string', 'example' => 'Alice'],
'CreateTime' => ['description' => '用户的创建时间(UTC时间)。', 'type' => 'string', 'example' => '2021-10-26T03:03:42Z'],
'ProvisionType' => ['description' => '用户类型。取值:'."\n"
."\n"
.'- Manual:手动创建。'."\n"
.'- Synchronized:外部同步。', 'type' => 'string', 'example' => 'Manual'],
'DisplayName' => ['description' => '用户的显示名称。', 'type' => 'string', 'example' => 'Alice'],
'UpdateTime' => ['description' => '用户的修改时间(UTC时间)。', 'type' => 'string', 'example' => '2021-10-26T03:03:42Z'],
'LastName' => ['description' => '用户的姓。', 'type' => 'string', 'example' => 'Lee'],
'Tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Key' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'description' => '',
],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F6F90F3D-4502-5877-B80B-97476F6AE2CC'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建用户',
'changeSet' => [
['createdAt' => '2025-06-11T08:40:18.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUser'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:CreateUser',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"User\\": {\\n \\"Status\\": \\"Enabled\\",\\n \\"UserName\\": \\"Alice\\",\\n \\"Email\\": \\"Alice@example.com\\",\\n \\"Description\\": \\"This is a user.\\",\\n \\"UserId\\": \\"u-00q8wbq42wiltcrk****\\",\\n \\"FirstName\\": \\"Alice\\",\\n \\"CreateTime\\": \\"2021-10-26T03:03:42Z\\",\\n \\"ProvisionType\\": \\"Manual\\",\\n \\"DisplayName\\": \\"Alice\\",\\n \\"UpdateTime\\": \\"2021-10-26T03:03:42Z\\",\\n \\"LastName\\": \\"Lee\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"\\",\\n \\"Key\\": \\"\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"F6F90F3D-4502-5877-B80B-97476F6AE2CC\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n Enabled\\n Alice\\n \\n \\n u-00q8wbq42wiltcrk****\\n \\n 2021-10-26T03:03:42Z\\n Manual\\n \\n 2021-10-26T03:03:42Z\\n \\n \\n F6F90F3D-4502-5877-B80B-97476F6AE2CC\\n","errorExample":""}]',
],
'CreateUserProvisioning' => [
'summary' => '调用CreateUserProvisioning创建RAM用户同步。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-003qew84****'],
],
[
'name' => 'DuplicationStrategy',
'in' => 'query',
'schema' => ['description' => '冲突策略。当云SSO用户同步到RAM时,如果RAM中存在同名用户时的处理策略。取值:'."\n"
."\n"
.'- KeepBoth:两者都保留。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则对云SSO用户的用户名添加后缀`_sso`后尝试创建该用户名的RAM用户。'."\n"
.'- TakeOver:替换。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则直接将已经存在的RAM用户替换为云SSO同步用户。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'KeepBoth'],
],
[
'name' => 'DeletionStrategy',
'in' => 'query',
'schema' => ['description' => '删除策略。删除RAM用户同步时,对已同步的RAM用户的处理策略。取值:'."\n"
."\n"
.'- Delete:删除。删除RAM用户同步时,会删除从云SSO已经同步到RAM中的RAM用户。'."\n"
.'- Keep:保留。删除RAM用户同步时,会保留从云SSO已经同步到RAM中的RAM用户。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Delete'],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['description' => '描述。', 'type' => 'string', 'required' => false, 'example' => 'This is a user provisioning.'],
],
[
'name' => 'PrincipalId',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步的身份ID。取值:'."\n"
."\n"
.'- 当`PrincipalType`取值为`Group`时,该值为云SSO用户组ID(g-\\*\\*\\*\\*\\*\\*\\*\\*)。'."\n"
.'- 当`PrincipalType`取值为`User`时,该值为云SSO用户ID(u-\\*\\*\\*\\*\\*\\*\\*\\*)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'g-02ha881d*****'],
],
[
'name' => 'PrincipalType',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步的身份类型。取值:'."\n"
.'- User:表示该RAM用户同步的身份是云SSO用户。'."\n"
.'- Group:表示该RAM用户同步的身份是云SSO用户组。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Group'],
],
[
'name' => 'TargetId',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步的目标ID。目前取值为RD账号ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1743382******'],
],
[
'name' => 'TargetType',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步的目标类型。目前取值为`RD-Account`。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'RD-Account'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回参数。',
'type' => 'object',
'properties' => [
'UserProvisioning' => [
'description' => 'RAM用户同步信息。',
'type' => 'object',
'properties' => [
'Status' => ['description' => 'RAM用户同步的状态。取值:'."\n"
.'- Enabled:RAM用户同步已启用。'."\n"
.'- Disabled:RAM用户同步未启用。', 'type' => 'string', 'example' => 'Enabled'],
'Description' => ['description' => '描述。', 'type' => 'string', 'example' => 'This is a user provisioning.'],
'UserProvisioningId' => ['description' => 'RAM用户同步的ID。', 'type' => 'string', 'example' => 'up-002axzhapcbz6e63****'],
'PrincipalId' => ['description' => 'RAM用户同步的身份ID。取值:'."\n"
."\n"
.'- 当`PrincipalType`取值为`Group`时,该值为云SSO用户组ID(g-\\*\\*\\*\\*\\*\\*\\*\\*)。'."\n"
.'- 当`PrincipalType`取值为`User`时,该值为云SSO用户ID(u-\\*\\*\\*\\*\\*\\*\\*\\*)。', 'type' => 'string', 'example' => 'g-02ha881d*****'],
'TargetPath' => ['description' => 'RAM用户同步的目标RD账号路径。', 'type' => 'string', 'example' => 'rd-******/root/test**'],
'UpdateTime' => ['description' => '更新时间(UTC时间)。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
'DuplicationStrategy' => ['description' => '冲突策略。当云SSO用户同步到RAM时,如果RAM中存在同名用户时的处理策略。取值:'."\n"
."\n"
.'- KeepBoth:两者都保留。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则对云SSO用户的用户名添加后缀`_sso`后尝试创建该用户名的RAM用户。'."\n"
.'- TakeOver:替换。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则直接将已经存在的RAM用户替换为云SSO同步用户。', 'type' => 'string', 'example' => 'KeepBoth'],
'DeletionStrategy' => ['description' => '删除策略。删除RAM用户同步时,对已同步的RAM用户的处理策略。取值:'."\n"
."\n"
.'- Delete:删除。删除RAM用户同步时,会删除从云SSO已经同步到RAM中的RAM用户。'."\n"
.'- Keep:保留。删除RAM用户同步时,会保留从云SSO已经同步到RAM中的RAM用户。', 'type' => 'string', 'example' => 'Delete'],
'PrincipalName' => ['description' => 'RAM用户同步的身份名称。取值:'."\n"
."\n"
.'- 当`PrincipalType`取值为`Group`时,该值为云SSO用户组名称。'."\n"
.'- 当`PrincipalType`取值为`User`时,该值为云SSO用户名称。', 'type' => 'string', 'example' => 'testGroupName'],
'TargetName' => ['description' => 'RAM用户同步的目标名称。目前取值为RD账号名称。', 'type' => 'string', 'example' => 'testTargetName'],
'TargetId' => ['description' => 'RAM用户同步的目标ID。目前取值为RD账号ID。', 'type' => 'string', 'example' => '1743382******'],
'CreateTime' => ['description' => '创建时间(UTC时间)。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-003qew84****'],
'OwnerPk' => ['description' => '目录所属的主账号ID。', 'type' => 'string', 'example' => '1639738******'],
'TargetType' => ['description' => 'RAM用户同步的目标类型。目前取值为`RD-Account`。', 'type' => 'string', 'example' => 'RD-Account'],
'PrincipalType' => ['description' => 'RAM用户同步的身份类型。取值:'."\n"
.'- User:表示该RAM用户同步的身份是云SSO用户。'."\n"
.'- Group:表示该RAM用户同步的身份是云SSO用户组。', 'type' => 'string', 'example' => 'Group'],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F6F90F3D-4502-5877-B80B-97476F6AE2CC'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建RAM用户同步',
'description' => '您可以创建RAM用户同步,在目标RD账号中同步创建一个与云SSO用户同名的RAM用户,然后通过该RAM用户访问该RD账号中的资源。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUserProvisioning'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:CreateUserProvisioning',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/*'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Account', 'arn' => 'acs:resourcemanager::{#accountId}:account/{#AccountId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"UserProvisioning\\": {\\n \\"Status\\": \\"Enabled\\",\\n \\"Description\\": \\"This is a user provisioning.\\",\\n \\"UserProvisioningId\\": \\"up-002axzhapcbz6e63****\\",\\n \\"PrincipalId\\": \\"g-02ha881d*****\\",\\n \\"TargetPath\\": \\"rd-******/root/test**\\",\\n \\"UpdateTime\\": \\"2022-11-28T03:55:42Z\\",\\n \\"DuplicationStrategy\\": \\"KeepBoth\\",\\n \\"DeletionStrategy\\": \\"Delete\\",\\n \\"PrincipalName\\": \\"testGroupName\\",\\n \\"TargetName\\": \\"testTargetName\\",\\n \\"TargetId\\": \\"1743382******\\",\\n \\"CreateTime\\": \\"2022-11-28T03:55:42Z\\",\\n \\"DirectoryId\\": \\"d-003qew84****\\",\\n \\"OwnerPk\\": \\"1639738******\\",\\n \\"TargetType\\": \\"RD-Account\\",\\n \\"PrincipalType\\": \\"Group\\"\\n },\\n \\"RequestId\\": \\"F6F90F3D-4502-5877-B80B-97476F6AE2CC\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n Enabled\\n 描述\\n up-002axzhapcbz6e63****\\n g-02ha881d*****\\n /\\n 2022-11-28T03:55:42Z\\n 2022-11-28T03:55:42Z\\n KeepBoth\\n Delete\\n testGroupName\\n testTargetName\\n 1743382******\\n 2022-11-28T03:55:42Z\\n 2022-11-28T03:55:42Z\\n d-003qew84****\\n 1639738******\\n RD-Account\\n Group\\n \\n 69A4AB33-****-****-****-29AA0B56****\\n","errorExample":""}]',
],
'DeleteAccessAssignment' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'AccessConfigurationId',
'in' => 'query',
'schema' => ['description' => '访问配置ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ac-00jhtfl8thteu6uj****'],
],
[
'name' => 'TargetType',
'in' => 'query',
'schema' => ['description' => '任务目标类型。取值:RD-Account,表示任务目标类型为RD账号。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'RD-Account'],
],
[
'name' => 'TargetId',
'in' => 'query',
'schema' => ['description' => '任务目标ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '114240524784****'],
],
[
'name' => 'PrincipalType',
'in' => 'query',
'schema' => ['description' => '云SSO身份类型。取值:'."\n"
."\n"
.'- User:用户。'."\n"
.'- Group:用户组。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'User'],
],
[
'name' => 'PrincipalId',
'in' => 'query',
'schema' => ['description' => '云SSO身份ID。具体如下:'."\n"
."\n"
.'- 当`PrincipalType`为`User`时,`PrincipalId`为云SSO用户ID。'."\n"
.'- 当`PrincipalType`为`Group`时,`PrincipalId`为云SSO用户组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
[
'name' => 'DeprovisionStrategy',
'in' => 'query',
'schema' => ['description' => '当您移除一个RD账号上使用某访问配置的最后一个授权时,是否同时解除访问配置部署。取值:'."\n"
."\n"
.'- DeprovisionForLastAccessAssignmentOnAccount:解除访问配置部署。'."\n"
.'- None(默认值):不解除访问配置部署。', 'type' => 'string', 'required' => false, 'example' => 'None'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'Task' => [
'description' => '任务信息。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '任务状态。取值:'."\n"
."\n"
.'- InProgress:任务执行中。'."\n"
.'- Success:任务执行成功。'."\n"
.'- Failed:任务执行失败。', 'type' => 'string', 'example' => 'InProgress'],
'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 't-shfqw1u1edszvxw5****'],
'PrincipalId' => ['description' => '云SSO身份ID。', 'type' => 'string', 'example' => 'u-00q8wbq42wiltcrk****'],
'TargetPath' => ['description' => '任务目标在资源目录中的路径ID。', 'type' => 'string', 'example' => 'rd-3G****/r-Wm****/114240524784****'],
'PrincipalName' => ['description' => '云SSO身份名称。', 'type' => 'string', 'example' => 'Alice'],
'TargetName' => ['description' => '任务目标名称。', 'type' => 'string', 'example' => 'dev-test'],
'TargetId' => ['description' => '任务目标ID。', 'type' => 'string', 'example' => '114240524784****'],
'AccessConfigurationName' => ['description' => '访问配置名称。', 'type' => 'string', 'example' => 'ECS-Admin'],
'TargetPathName' => ['description' => '任务目标在资源目录中的路径名称。', 'type' => 'string', 'example' => 'rd-3G****/root/dev-test'],
'TaskType' => ['description' => '任务类型。取值:DeleteAccessAssignment,表示移除RD账号上的授权任务。', 'type' => 'string', 'example' => 'DeleteAccessAssignment'],
'TargetType' => ['description' => '任务目标类型。取值:RD-Account,表示任务目标类型为RD账号。', 'type' => 'string', 'example' => 'RD-Account'],
'AccessConfigurationId' => ['description' => '访问配置ID。', 'type' => 'string', 'example' => 'ac-00jhtfl8thteu6uj****'],
'PrincipalType' => ['description' => '云SSO身份类型。取值:'."\n"
."\n"
.'- User:用户。'."\n"
.'- Group:用户组。', 'type' => 'string', 'example' => 'User'],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '5C9D0CF4-5CE8-5CE6-932A-826EF4ADD007'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '移除RD账号上的授权',
'summary' => '调用DeleteAccessAssignment移除RD账号上的授权。',
'description' => '该API操作为异步操作。您可以使用返回参数中的`TaskId`,调用[GetTask](~~340670~~)查询任务执行状态。'."\n"
."\n"
.'本文将提供一个示例,移除RD账号`114240524784****`上云SSO用户`u-00q8wbq42wiltcrk****`使用访问配置`ac-00jhtfl8thteu6uj****`的授权。',
'changeSet' => [
['createdAt' => '2021-11-19T09:05:42.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2021-06-21T02:08:39.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAccessAssignment'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteAccessAssignment',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Account', 'arn' => 'acs:resourcemanager::{#accountId}:account/{#AccountId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Task\\": {\\n \\"Status\\": \\"InProgress\\",\\n \\"TaskId\\": \\"t-shfqw1u1edszvxw5****\\",\\n \\"PrincipalId\\": \\"u-00q8wbq42wiltcrk****\\",\\n \\"TargetPath\\": \\"rd-3G****/r-Wm****/114240524784****\\",\\n \\"PrincipalName\\": \\"Alice\\",\\n \\"TargetName\\": \\"dev-test\\",\\n \\"TargetId\\": \\"114240524784****\\",\\n \\"AccessConfigurationName\\": \\"ECS-Admin\\",\\n \\"TargetPathName\\": \\"rd-3G****/root/dev-test\\",\\n \\"TaskType\\": \\"DeleteAccessAssignment\\",\\n \\"TargetType\\": \\"RD-Account\\",\\n \\"AccessConfigurationId\\": \\"ac-00jhtfl8thteu6uj****\\",\\n \\"PrincipalType\\": \\"User\\"\\n },\\n \\"RequestId\\": \\"5C9D0CF4-5CE8-5CE6-932A-826EF4ADD007\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n InProgress\\n t-shfqw1u1edszvxw5****\\n u-00q8wbq42wiltcrk****\\n rd-3G****/r-Wm****/114240524784****\\n Alice\\n dev-test\\n 114240524784****\\n ECS-Admin\\n rd-3G****/root/dev-test\\n DeleteAccessAssignment\\n RD-Account\\n ac-00jhtfl8thteu6uj****\\n User\\n \\n 5C9D0CF4-5CE8-5CE6-932A-826EF4ADD007\\n","errorExample":""}]',
],
'DeleteAccessConfiguration' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccessConfigurationId',
'in' => 'query',
'schema' => ['description' => '访问配置ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ac-001j9mcm3k7335bc****'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'ForceRemovePermissionPolicies',
'in' => 'query',
'schema' => ['description' => '是否强制移除系统策略和内置策略。取值:'."\n"
."\n"
.'- true:删除访问配置时会强制移除关联的系统策略和内置策略。'."\n"
.'- false(默认值):删除访问配置时不会强制移除关联的系统策略和内置策略。如果存在这些策略,会删除失败。您需要在删除访问配置前移除这些系统策略和内置策略。具体操作,请参见[RemovePermissionPolicyFromAccessConfiguration](~~336904~~)。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9B13E4EE-3853-5852-9165-597C32AD8FB7'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除访问配置',
'summary' => '调用DeleteAccessConfiguration删除访问配置。',
'description' => '### 前提条件'."\n"
.'删除访问配置前,您需要解除该访问配置在资源目录成员中的部署。具体操作,请参见[DeprovisionAccessConfiguration](~~338352~~)。'."\n"
."\n\n"
.'### 使用说明'."\n"
.'本文将提供一个示例,删除ID为`ac-001j9mcm3k7335bc****`的访问配置。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAccessConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9B13E4EE-3853-5852-9165-597C32AD8FB7\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 9B13E4EE-3853-5852-9165-597C32AD8FB7\\n","errorExample":""}]',
],
'DeleteDirectory' => [
'summary' => '调用DeleteDirectory删除目录。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B182C041-8C64-5F2F-A07B-FC67FAF89CF9'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B182C041-8C64-5F2F-A07B-FC67FAF89CF9\\"\\n}","errorExample":""},{"type":"xml","example":"\\n B182C041-8C64-5F2F-A07B-FC67FAF89CF9\\n","errorExample":""}]',
'title' => '删除目录',
'description' => '### 前提条件'."\n"
.'删除目录前,请确保目录中没有任何资源。具体如下:'."\n"
."\n"
.'- 移除所有用户和用户组在RD账号上的授权。具体操作,请参见[DeleteAccessAssignment](~~338350~~)。'."\n"
.'- 删除用户:具体操作,请参见[DeleteUser](~~341671~~)。'."\n"
.'- 删除用户组:具体操作,请参见[DeleteGroup](~~341821~~)。'."\n"
.'- 删除访问配置:具体操作,请参见[DeleteAccessConfiguration](~~336907~~)。'."\n"
.'- 删除SCIM密钥:具体操作,请参见[DeleteSCIMServerCredential](~~341842~~)。'."\n"
.'- 删除单点登录配置:具体操作,请参见[ClearExternalSAMLIdentityProvider](~~341573~~)。'."\n"
."\n"
.'### 使用说明'."\n"
.'本文将提供一个示例,删除ID为`d-00fc2p61****`的目录。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteDirectory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'DeleteGroup' => [
'summary' => '调用DeleteGroup删除指定用户组。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'GroupId',
'in' => 'query',
'schema' => ['description' => '用户组的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'g-00jqzghi2n3o5hkh****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F723DE01-6276-5DC4-9B1F-9CBE3E1748B2'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除用户组',
'description' => '### 前提条件'."\n"
.'删除用户组前,请确保用户组未关联以下资源,否则会删除失败。具体如下:'."\n"
."\n"
.'- 用户:您需要移除用户组中的用户。具体操作,请参见[RemoveUserFromGroup](~~335116~~)。'."\n"
.'- 授权:您需要移除用户组在RD账号上的授权。具体操作,请参见[DeleteAccessAssignment](~~338350~~)。'."\n"
."\n"
.'### 使用说明'."\n"
."\n"
.'当启用SCIM同步后,不能删除SCIM同步的用户组。'."\n"
."\n"
.'本文将提供一个示例,删除用户组`g-00jqzghi2n3o5hkh****`。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:39.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGroup'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F723DE01-6276-5DC4-9B1F-9CBE3E1748B2\\"\\n}","errorExample":""},{"type":"xml","example":"\\n F723DE01-6276-5DC4-9B1F-9CBE3E1748B2\\n","errorExample":""}]',
],
'DeleteMFADeviceForUser' => [
'summary' => '调用DeleteMFADeviceForUser删除用户的MFA设备。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '仅依靠api/http调用无法完成资源创建,继而删除操作无法自动化测试'],
'parameters' => [
[
'name' => 'UserId',
'in' => 'query',
'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
[
'name' => 'MFADeviceId',
'in' => 'query',
'schema' => ['description' => 'MFA设备ID。'."\n"
."\n"
.'您可以调用[ListMFADevicesForUser](~~333531~~)查询MFA设备ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'mfa-00ujhet8pycljj7j****'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8B9982ED-FD0D-5622-8EA0-7B768685DCE7'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除用户的MFA设备',
'description' => '本文将提供一个示例,删除用户`u-00q8wbq42wiltcrk****`绑定的MFA设备`mfa-00ujhet8pycljj7j****`。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:39.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteMFADeviceForUser'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteMFADeviceForUser',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8B9982ED-FD0D-5622-8EA0-7B768685DCE7\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 8B9982ED-FD0D-5622-8EA0-7B768685DCE7\\n","errorExample":""}]',
],
'DeleteSCIMServerCredential' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'CredentialId',
'in' => 'query',
'schema' => ['description' => 'SCIM密钥ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'scimcred-004whl0kvfwcypbi****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8CE8B990-193D-50CE-A604-69F3E7DCE740'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除SCIM密钥',
'summary' => '调用DeleteSCIMServerCredential删除SCIM密钥。',
'description' => '删除SCIM密钥后,使用该SCIM密钥的同步任务将会失败。'."\n"
."\n"
.'本文将提供一个示例,删除ID为`scimcred-004whl0kvfwcypbi****`的SCIM密钥。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:39.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSCIMServerCredential'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteSCIMServerCredential',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'SCIMServerCredential', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/scim-credential/{#CredentialId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8CE8B990-193D-50CE-A604-69F3E7DCE740\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 8CE8B990-193D-50CE-A604-69F3E7DCE740\\n","errorExample":""}]',
],
'DeleteUser' => [
'summary' => '调用DeleteUser删除用户。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'UserId',
'in' => 'query',
'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E598602-AC67-56EF-B7CC-2927C30AA0A8'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除用户',
'description' => '### 前提条件'."\n"
.'删除用户前,请确保用户未关联以下资源,否则会删除失败。具体如下:'."\n"
."\n"
.'- MFA设备:您需要删除用户绑定的MFA设备。具体操作,请参见[DeleteMFADeviceForUser](~~341675~~)。'."\n"
.'- 授权:您需要移除用户在RD账号上的授权。具体操作,请参见[DeleteAccessAssignment](~~338350~~)。'."\n"
.'- 用户组:您需要将用户从用户组中移除。具体操作,请参见[RemoveUserFromGroup](~~335116~~)。'."\n"
."\n"
.'### 使用说明'."\n"
."\n"
.'当启用SCIM同步时,不能删除SCIM同步用户。'."\n"
."\n"
.'本文将提供一个示例,删除ID为`u-00q8wbq42wiltcrk****`的用户。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUser'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteUser',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E598602-AC67-56EF-B7CC-2927C30AA0A8\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tEE598602-AC67-56EF-B7CC-2927C30AA0A8\\r\\n\\t","errorExample":""}]',
],
'DeleteUserProvisioning' => [
'summary' => '调用DeleteUserProvisioning删除RAM用户同步。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-003qew84****'],
],
[
'name' => 'UserProvisioningId',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'up-002axzhapcbz6e63****'],
],
[
'name' => 'DeletionStrategy',
'in' => 'query',
'schema' => ['description' => '删除策略。删除RAM用户同步时,对已同步的RAM用户的处理策略。取值:'."\n"
."\n"
.'- Delete:删除。删除RAM用户同步时,会删除从云SSO已经同步到RAM中的RAM用户。'."\n"
.'- Keep:保留。删除RAM用户同步时,会保留从云SSO已经同步到RAM中的RAM用户。'."\n"
."\n"
.'> 该参数置空时,将采用创建RAM用户同步时设置的删除策略。', 'type' => 'string', 'required' => false, 'example' => 'Delete'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回参数。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F6F90F3D-4502-5877-B80B-97476F6AE2CC'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除RAM用户同步',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUserProvisioning'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteUserProvisioning',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F6F90F3D-4502-5877-B80B-97476F6AE2CC\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 69A4AB33-****-****-****-29AA0B56****\\n","errorExample":""}]',
],
'DeleteUserProvisioningEvent' => [
'summary' => '调用DeleteUserProvisioningEvent删除执行失败的RAM用户同步事件。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'EventId',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步事件ID。'."\n"
."\n"
.'您可以调用[ListUserProvisioningEvents](~~2636305~~)获取`EventId`。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'upe-wjKyNDmZvyZOiRcJ****'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-003qew84****'],
],
[
'name' => 'UserProvisioningId',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'up-002axzhapcbz6e63****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A9287DA5-FD59-32A0-A810-1962E8B58ABB'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A9287DA5-FD59-32A0-A810-1962E8B58ABB\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 69A4AB33-****-****-****-29AA0B56****\\n","errorExample":""}]',
'title' => '删除RAM用户同步事件',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteUserProvisioningEvent',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/*'],
],
],
],
],
],
'DeprovisionAccessConfiguration' => [
'summary' => '调用DeprovisionAccessConfiguration解除访问配置在RD账号上的部署。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'AccessConfigurationId',
'in' => 'query',
'schema' => ['description' => '访问配置ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ac-00jhtfl8thteu6uj****'],
],
[
'name' => 'TargetType',
'in' => 'query',
'schema' => ['description' => '任务目标类型。取值:RD-Account,表示任务目标类型为RD账号。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'RD-Account'],
],
[
'name' => 'TargetId',
'in' => 'query',
'schema' => ['description' => '任务目标ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '114240524784****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'Tasks' => [
'description' => '任务信息。',
'type' => 'array',
'items' => [
'description' => '任务信息。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '任务状态。取值:'."\n"
."\n"
.'- InProgress:任务执行中。'."\n"
.'- Success:任务执行成功。'."\n"
.'- Failed:任务执行失败。', 'type' => 'string', 'example' => 'InProgress'],
'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 't-sh0655wnq8pdlrlc****'],
'TargetPath' => ['description' => '任务目标在资源目录中的路径ID。', 'type' => 'string', 'example' => 'rd-3G****/r-Wm****/114240524784****'],
'TargetName' => ['description' => '任务目标名称。', 'type' => 'string', 'example' => 'dev-test'],
'TargetId' => ['description' => '任务目标ID。', 'type' => 'string', 'example' => '114240524784****'],
'AccessConfigurationName' => ['description' => '访问配置名称。', 'type' => 'string', 'example' => 'ECS-Admin'],
'TargetPathName' => ['description' => '任务目标在资源目录中的路径名称。', 'type' => 'string', 'example' => 'rd-3G****/root/dev-test'],
'TaskType' => ['description' => '任务类型。取值:DeprovisionAccessConfiguration,表示解除访问配置部署任务。', 'type' => 'string', 'example' => 'DeprovisionAccessConfiguration'],
'TargetType' => ['description' => '任务目标类型。取值:RD-Account,表示任务目标类型为RD账号。', 'type' => 'string', 'example' => 'RD-Account'],
'AccessConfigurationId' => ['description' => '访问配置ID。', 'type' => 'string', 'example' => 'ac-00jhtfl8thteu6uj****'],
],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '584FE9D0-D1AC-5B19-A39C-8D244FC0538C'],
],
],
],
],
'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'cloudsso::2021-05-15::GetTask', 'callbackInterval' => 10000, 'maxCallbackTimes' => 5],
'title' => '解除访问配置在RD账号上的部署',
'description' => '该API的操作为异步操作。您可以使用返回参数中的`TaskId`,调用[GetTask](~~340670~~)查询任务执行状态。'."\n"
."\n"
.'本文将提供一个示例,解除访问配置`ac-00jhtfl8thteu6uj****`在RD账号`114240524784****`上的部署。',
'changeSet' => [
['createdAt' => '2021-11-19T09:05:42.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeprovisionAccessConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:DeprovisionAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Tasks\\": [\\n {\\n \\"Status\\": \\"InProgress\\",\\n \\"TaskId\\": \\"t-sh0655wnq8pdlrlc****\\",\\n \\"TargetPath\\": \\"rd-3G****/r-Wm****/114240524784****\\",\\n \\"TargetName\\": \\"dev-test\\",\\n \\"TargetId\\": \\"114240524784****\\",\\n \\"AccessConfigurationName\\": \\"ECS-Admin\\",\\n \\"TargetPathName\\": \\"rd-3G****/root/dev-test\\",\\n \\"TaskType\\": \\"DeprovisionAccessConfiguration\\",\\n \\"TargetType\\": \\"RD-Account\\",\\n \\"AccessConfigurationId\\": \\"ac-00jhtfl8thteu6uj****\\"\\n }\\n ],\\n \\"RequestId\\": \\"584FE9D0-D1AC-5B19-A39C-8D244FC0538C\\"\\n}","errorExample":""},{"type":"xml","example":"\\n\\t\\n\\t\\t\\n\\t\\t\\tInProgress\\n\\t\\t\\tECS-Admin\\n\\t\\t\\tt-sh0655wnq8pdlrlc****\\n\\t\\t\\trd-3G****/root/dev-test\\n\\t\\t\\trd-3G****/r-Wm****/114240524784****\\n\\t\\t\\tDeprovisionAccessConfiguration\\n\\t\\t\\tRD-Account\\n\\t\\t\\tdev-test\\n\\t\\t\\tac-00jhtfl8thteu6uj****\\n\\t\\t\\t114240524784****\\n\\t\\t\\n\\t\\n\\t584FE9D0-D1AC-5B19-A39C-8D244FC0538C\\n\\t\\n","errorExample":""}]',
],
'DisableDelegateAccount' => [
'summary' => '调用DisableDelegateAccount禁用云SSO委派管理员账号。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
'schema' => ['description' => '需要禁用的云SSO委派管理员账号ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1200971777065046'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '12B3E332-DD16-515B-B695-39BA233AA172'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"12B3E332-DD16-515B-B695-39BA233AA172\\"\\n}","type":"json"}]',
'title' => '禁用云SSO委派管理员账号',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:DisableDelegateAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DisableService' => [
'summary' => '调用DisableService关闭云SSO。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3257EAD2-8723-1F26-B69C-F8707D8B565D'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3257EAD2-8723-1F26-B69C-F8707D8B565D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 3257EAD2-8723-1F26-B69C-F8707D8B565D\\n","errorExample":""}]',
'title' => '关闭云SSO',
'description' => '当云SSO内没有任何目录时,您可以根据需要关闭云SSO。关闭后,您也可以随时开启它。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:DisableService',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'EnableDelegateAccount' => [
'summary' => '调用EnableDelegateAccount启用云SSO委派管理员账号。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
'schema' => ['description' => '云SSO委派管理员账号ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '180658567986****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '768F908D-A66A-5A5D-816C-20C93CBBFEE3'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"768F908D-A66A-5A5D-816C-20C93CBBFEE3\\"\\n}","type":"json"}]',
'title' => '启用云SSO委派管理员账号',
'description' => '资源目录管理账号可以将资源目录的成员设置为云SSO的委派管理员账号。具体操作,请参见[添加委派管理员账号](~~208117~~)。'."\n"
."\n"
.'设置成功后,您可以调用本接口启用云SSO的委派管理员账号,实现云SSO委派管理员管理云SSO的目的。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:EnableDelegateAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'EnableService' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3D57EAD2-8723-1F26-B69C-F8707D8B565D'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '开通云SSO',
'summary' => '调用EnableService开通云SSO。',
'description' => '只有资源目录的管理账号下具有开通云SSO权限的用户才能调用本API。更多信息,请参见[开通云SSO](~~262819~~)。'."\n"
."\n"
.'调用该API视同您同意[产品协议](https://terms.aliyun.com/legal-agreement/terms/suit_bu1_ali_cloud/suit_bu1_ali_cloud202108161009_32808.html)[产品协议](https://www.alibabacloud.com/help/doc-detail/42416.htm)。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableService'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:EnableService',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3D57EAD2-8723-1F26-B69C-F8707D8B565D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 3D57EAD2-8723-1F26-B69C-F8707D8B565D\\n","errorExample":""}]',
],
'GetAccessConfiguration' => [
'summary' => '调用GetAccessConfiguration查询访问配置信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccessConfigurationId',
'in' => 'query',
'schema' => ['description' => '访问配置ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ac-00ccule7tadaijxc****'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D5E40508-483B-52F6-993C-D880B0F87591'],
'AccessConfiguration' => [
'description' => '访问配置信息。',
'type' => 'object',
'properties' => [
'AccessConfigurationName' => ['description' => '访问配置名称。', 'type' => 'string', 'example' => 'VPC-Admin'],
'SessionDuration' => ['description' => '会话持续时间。'."\n"
."\n"
.'云SSO用户使用访问配置访问RD账号时,会话最多保持的时间。'."\n"
."\n"
.'单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '3600'],
'Description' => ['description' => '访问配置的描述。', 'type' => 'string', 'example' => 'This is an access configuration.'],
'RelayState' => ['description' => '初始访问页面。'."\n"
."\n"
.'云SSO用户使用访问配置访问RD账号时,初始访问的页面地址。', 'type' => 'string', 'example' => 'https://cloudsso.console.aliyun.com'],
'CreateTime' => ['description' => '访问配置的创建时间。', 'type' => 'string', 'example' => '2021-06-30T09:39:44Z'],
'UpdateTime' => ['description' => '访问配置的修改时间。', 'type' => 'string', 'example' => '2021-07-26T03:02:11Z'],
'StatusNotifications' => [
'description' => '状态通知信息。',
'type' => 'array',
'items' => ['description' => '状态通知信息。取值:'."\n"
."\n"
.'- 空:表示没有状态通知信息。'."\n"
.'- ReprovisionRequired:表示该访问配置需要重新部署。', 'type' => 'string', 'example' => 'ReprovisionRequired'],
],
'AccessConfigurationId' => ['description' => '访问配置ID。', 'type' => 'string', 'example' => 'ac-00ccule7tadaijxc****'],
'Tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Key' => ['type' => 'string'],
'Value' => ['type' => 'string'],
],
],
],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D5E40508-483B-52F6-993C-D880B0F87591\\",\\n \\"AccessConfiguration\\": {\\n \\"AccessConfigurationName\\": \\"VPC-Admin\\",\\n \\"SessionDuration\\": 3600,\\n \\"Description\\": \\"This is an access configuration.\\",\\n \\"RelayState\\": \\"https://cloudsso.console.aliyun.com\\",\\n \\"CreateTime\\": \\"2021-06-30T09:39:44Z\\",\\n \\"UpdateTime\\": \\"2021-07-26T03:02:11Z\\",\\n \\"StatusNotifications\\": [\\n \\"ReprovisionRequired\\"\\n ],\\n \\"AccessConfigurationId\\": \\"ac-00ccule7tadaijxc****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n D5E40508-483B-52F6-993C-D880B0F87591\\n \\n VPC-Admin\\n 3600\\n This is an access configuration.\\n \\n 2021-06-30T09:39:44Z\\n 2021-07-26T03:02:11Z\\n ReprovisionRequired\\n ac-00ccule7tadaijxc****\\n \\n","errorExample":""}]',
'title' => '查询访问配置信息',
'description' => '本文将提供一个示例 ,查询ID为`ac-00ccule7tadaijxc****`的访问配置信息。',
'changeSet' => [
['createdAt' => '2025-06-11T08:40:18.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAccessConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
],
],
'GetDirectory' => [
'summary' => '调用GetDirectory查询目录信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AA6A9E4B-8A61-59E1-AA87-F61CA18258A3'],
'Directory' => [
'description' => '目录信息。',
'type' => 'object',
'properties' => [
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-00fc2p61****'],
'CreateTime' => ['description' => '目录创建时间。', 'type' => 'string', 'example' => '2021-06-30T08:35:26Z'],
'UpdateTime' => ['description' => '目录修改时间。', 'type' => 'string', 'example' => '2021-10-25T07:18:46Z'],
'Region' => ['description' => '目录所在的地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'],
'DirectoryName' => ['description' => '目录名称。', 'type' => 'string', 'example' => 'example'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AA6A9E4B-8A61-59E1-AA87-F61CA18258A3\\",\\n \\"Directory\\": {\\n \\"DirectoryId\\": \\"d-00fc2p61****\\",\\n \\"CreateTime\\": \\"2021-06-30T08:35:26Z\\",\\n \\"UpdateTime\\": \\"2021-10-25T07:18:46Z\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"DirectoryName\\": \\"example\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n AA6A9E4B-8A61-59E1-AA87-F61CA18258A3\\n \\n d-00fc2p61****\\n 2021-06-30T08:35:26Z\\n 2021-10-25T07:18:46Z\\n cn-shanghai\\n example\\n \\n","errorExample":""}]',
'title' => '查询目录信息',
'description' => '本文将提供一个示例,查询ID为`d-00fc2p61****`的目录信息。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetDirectory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'GetDirectorySAMLServiceProviderInfo' => [
'summary' => '调用GetDirectorySAMLServiceProviderInfo查询SAML服务提供商(SP)信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4632107D-BCE1-5A96-B30B-182EE0709625'],
'SAMLServiceProvider' => [
'description' => 'SP信息。',
'type' => 'object',
'properties' => [
'EntityId' => ['description' => 'SP标识。', 'type' => 'string', 'example' => 'https://signin-cn-shanghai.alibabacloudsso.com/saml/sp/d-00fc2p61****'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-00fc2p61****'],
'EncodedMetadataDocument' => ['description' => 'SP元数据文档(Base64编码)。', 'type' => 'string', 'example' => 'PD94bWwgdmVyc2lv****'],
'AcsUrl' => ['description' => 'SP的ACS URL。', 'type' => 'string', 'example' => 'https://signin-cn-shanghai.alibabacloudsso.com/saml/acs/51d298a9-2a3f-4e23-97c7-7ad1cfa9****'],
'AuthnSignAlgo' => ['description' => '阿里云发起的AuthNRequest支持的签名算法。取值:'."\n"
.'- rsa-sha256'."\n"
.'- rsa-sha1', 'type' => 'string', 'example' => 'rsa-sha256'],
'CertificateType' => ['description' => '阿里云在SSO过程中签名使用的证书类型。取值:'."\n"
.'- self-signed:使用自签名证书。'."\n"
.'- public:使用CA签发证书。', 'type' => 'string', 'example' => 'self-signed'],
'SupportEncryptedAssertion' => ['description' => '是否支持IdP侧对Assertion加密。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4632107D-BCE1-5A96-B30B-182EE0709625\\",\\n \\"SAMLServiceProvider\\": {\\n \\"EntityId\\": \\"https://signin-cn-shanghai.alibabacloudsso.com/saml/sp/d-00fc2p61****\\",\\n \\"DirectoryId\\": \\"d-00fc2p61****\\",\\n \\"EncodedMetadataDocument\\": \\"PD94bWwgdmVyc2lv****\\",\\n \\"AcsUrl\\": \\"https://signin-cn-shanghai.alibabacloudsso.com/saml/acs/51d298a9-2a3f-4e23-97c7-7ad1cfa9****\\",\\n \\"AuthnSignAlgo\\": \\"rsa-sha256\\",\\n \\"CertificateType\\": \\"self-signed\\",\\n \\"SupportEncryptedAssertion\\": true\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 4632107D-BCE1-5A96-B30B-182EE0709625\\n \\n https://signin-cn-shanghai.alibabacloudsso.com/saml/sp/d-00fc2p61****\\n d-00fc2p61****\\n PD94bWwgdmVyc2lv****\\n https://signin-cn-shanghai.alibabacloudsso.com/saml/acs/51d298a9-2a3f-4e23-97c7-7ad1cfa9****\\n \\n","errorExample":""}]',
'title' => '查询SAML服务提供商信息',
'description' => '在基于SAML 2.0的SSO登录过程中,云SSO目录是服务提供商(SP),而企业自有的身份管理系统则是身份提供商(IdP)。'."\n"
."\n"
.'本文将提供一个示例,查询目录`d-00fc2p61****`下的SP信息。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetDirectorySAMLServiceProviderInfo',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'GetDirectoryStatistics' => [
'summary' => '调用GetDirectoryStatistics查询目录的统计信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7B7228B0-A435-5D27-A6B2-ED3571F0654B'],
'DirectoryStatistics' => [
'description' => '目录的统计信息。',
'type' => 'object',
'properties' => [
'UserCount' => ['description' => '用户数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '16'],
'GroupCount' => ['description' => '用户组数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
'UserQuota' => ['description' => '用户配额。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
'GroupQuota' => ['description' => '用户组配额。', 'type' => 'integer', 'format' => 'int32', 'example' => '500'],
'AccessConfigurationQuota' => ['description' => '访问配置配额。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
'AccessAssignmentCount' => ['description' => '授权数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
'SCIMServerCredentialCount' => ['description' => 'SCIM同步密钥数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-00fc2p61****'],
'SSOEnabled' => ['description' => '是否已启用SSO登录。取值:'."\n"
."\n"
.'- true:已启用。'."\n"
.'- false:未启用。', 'type' => 'boolean', 'example' => 'false'],
'Region' => ['description' => '目录所在的地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'],
'AccessConfigurationCount' => ['description' => '访问配置数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
'DirectoryName' => ['description' => '目录名称。', 'type' => 'string', 'example' => 'new-example'],
'InProgressTaskCount' => ['description' => '执行中的任务数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'SCIMSyncEnabled' => ['description' => '是否已启用SCIM同步。取值:'."\n"
."\n"
.'- true:已启用。'."\n"
.'- false:未启用。', 'type' => 'boolean', 'example' => 'true'],
'SystemPolicyPerAccessConfigurationQuota' => ['description' => '访问配置绑定的系统策略配额。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'InlinePolicyPerAccessConfigurationQuota' => ['description' => '访问配置绑定的内置策略配额。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7B7228B0-A435-5D27-A6B2-ED3571F0654B\\",\\n \\"DirectoryStatistics\\": {\\n \\"UserCount\\": 16,\\n \\"GroupCount\\": 4,\\n \\"UserQuota\\": 1000,\\n \\"GroupQuota\\": 500,\\n \\"AccessConfigurationQuota\\": 1000,\\n \\"AccessAssignmentCount\\": 5,\\n \\"SCIMServerCredentialCount\\": 2,\\n \\"DirectoryId\\": \\"d-00fc2p61****\\",\\n \\"SSOEnabled\\": false,\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"AccessConfigurationCount\\": 6,\\n \\"DirectoryName\\": \\"new-example\\",\\n \\"InProgressTaskCount\\": 0,\\n \\"SCIMSyncEnabled\\": true,\\n \\"SystemPolicyPerAccessConfigurationQuota\\": 20,\\n \\"InlinePolicyPerAccessConfigurationQuota\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 7B7228B0-A435-5D27-A6B2-ED3571F0654B\\n \\n 16\\n 4\\n 1000\\n 500\\n 1000\\n true\\n 5\\n 2\\n d-00fc2p61****\\n false\\n cn-shanghai\\n 6\\n new-example\\n 0\\n \\n","errorExample":""}]',
'title' => '查询目录的统计信息',
'description' => '本文将提供一个示例,查询ID为`d-00fc2p61****`目录的统计信息,包括用户数量、用户配额、用户组数量、用户组配额、访问配置数量、访问配置配额、访问配置绑定的系统策略配额、授权数量、SCIM同步密钥数量、SSO登录启用状态、SCIM启用状态和异步任务数量等信息。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetDirectoryStatistics',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'GetExternalSAMLIdentityProvider' => [
'summary' => '调用GetExternalSAMLIdentityProvider查询SAML身份提供商(IdP)的配置信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '96D1E5FF-0301-5636-8D33-071E033CFB82'],
'SAMLIdentityProviderConfiguration' => [
'description' => 'IdP配置信息。',
'type' => 'object',
'properties' => [
'EntityId' => ['description' => 'IdP标识。', 'type' => 'string', 'example' => 'http://www.okta.com/exk3qwgtjhetR2Od****'],
'SSOStatus' => ['description' => 'SSO登录的启用状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'example' => 'Enabled'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-00fc2p61****'],
'EncodedMetadataDocument' => ['description' => 'IdP元数据文档(Base64编码)。', 'type' => 'string', 'example' => 'PD94bWwgdmVyc2lvbj0iMS4****'],
'CreateTime' => ['description' => '首次配置IdP的时间。', 'type' => 'string', 'example' => '2021-11-09T09:30:13Z'],
'WantRequestSigned' => ['description' => '在用户访问云SSO登录页面发起SAML SSO时,是否要求云SSO发送签名的SAML请求。取值:'."\n"
."\n"
.'- true:要求签名。'."\n"
.'- false(默认值):不要求签名。', 'type' => 'boolean', 'example' => 'false'],
'UpdateTime' => ['description' => '最近一次修改IdP配置的时间。', 'type' => 'string', 'example' => '2021-11-09T09:30:22Z'],
'CertificateIds' => [
'description' => 'SAML签名证书列表。',
'type' => 'array',
'items' => ['description' => 'SAML签名证书ID。'."\n"
."\n"
.'多个ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => '[ "idp-c-00s6c04my7hvv1uj****" ]'],
],
'LoginUrl' => ['description' => 'IdP的登录地址。', 'type' => 'string', 'example' => 'https://dev-xxxxxx.okta.com/app/dev-xxxxxx_cloudssodemo_1/exk3qwgtjhetR2Od****/sso/saml'],
'BindingType' => ['description' => '发起SAML请求的Binding方式。取值:'."\n"
."\n"
.'- Post: 以Post的方式发起SAML请求。'."\n"
.'- Redirect: 以Redirect的方式发起SAML请求。', 'type' => 'string', 'example' => 'Post'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"96D1E5FF-0301-5636-8D33-071E033CFB82\\",\\n \\"SAMLIdentityProviderConfiguration\\": {\\n \\"EntityId\\": \\"http://www.okta.com/exk3qwgtjhetR2Od****\\",\\n \\"SSOStatus\\": \\"Enabled\\",\\n \\"DirectoryId\\": \\"d-00fc2p61****\\",\\n \\"EncodedMetadataDocument\\": \\"PD94bWwgdmVyc2lvbj0iMS4****\\",\\n \\"CreateTime\\": \\"2021-11-09T09:30:13Z\\",\\n \\"WantRequestSigned\\": false,\\n \\"UpdateTime\\": \\"2021-11-09T09:30:22Z\\",\\n \\"CertificateIds\\": [\\n \\"[ \\\\\\"idp-c-00s6c04my7hvv1uj****\\\\\\" ]\\"\\n ],\\n \\"LoginUrl\\": \\"https://dev-xxxxxx.okta.com/app/dev-xxxxxx_cloudssodemo_1/exk3qwgtjhetR2Od****/sso/saml\\",\\n \\"BindingType\\": \\"Post\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 96D1E5FF-0301-5636-8D33-071E033CFB82\\n \\n http://www.okta.com/exk3qwgtjhetR2Od****\\n Enabled\\n d-00fc2p61****\\n PD94bWwgdmVyc2lvbj0iMS4****\\n 2021-11-09T09:30:13Z\\n false\\n 2021-11-09T09:30:22Z\\n idp-c-00s6c04my7hvv1uj****\\n https://dev-xxxxxx.okta.com/app/dev-xxxxxx_cloudssodemo_1/exk3qwgtjhetR2Od****/sso/saml\\n \\n","errorExample":""}]',
'title' => '查询SAML身份提供商配置信息',
'description' => '本文将提供一个示例,查询目录`d-00fc2p61****`下的SAML身份提供商的配置信息。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetExternalSAMLIdentityProvider',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'GetGroup' => [
'summary' => '调用GetGroup查询指定用户组信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'GroupId',
'in' => 'query',
'schema' => ['description' => '用户组的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'g-00jqzghi2n3o5hkh****'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'Group' => [
'description' => '用户组信息。',
'type' => 'object',
'properties' => [
'GroupName' => ['description' => '用户组的名称。', 'type' => 'string', 'example' => 'TestGroup'],
'Description' => ['description' => '用户组的描述。', 'type' => 'string', 'example' => 'This is a group.'],
'CreateTime' => ['description' => '用户组的创建时间。', 'type' => 'string', 'example' => '2021-11-01T02:38:27Z'],
'ProvisionType' => ['description' => '用户组的类型。取值:'."\n"
."\n"
.'- Manual:手动创建。'."\n"
.'- Synchronized:外部同步。', 'type' => 'string', 'example' => 'Manual'],
'UpdateTime' => ['description' => '用户组的修改时间。', 'type' => 'string', 'example' => '2021-11-01T02:38:27Z'],
'GroupId' => ['description' => '用户组的ID。', 'type' => 'string', 'example' => 'g-00jqzghi2n3o5hkh****'],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '768F908D-A66A-5A5D-816C-20C93CBBFEE3'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Group\\": {\\n \\"GroupName\\": \\"TestGroup\\",\\n \\"Description\\": \\"This is a group.\\",\\n \\"CreateTime\\": \\"2021-11-01T02:38:27Z\\",\\n \\"ProvisionType\\": \\"Manual\\",\\n \\"UpdateTime\\": \\"2021-11-01T02:38:27Z\\",\\n \\"GroupId\\": \\"g-00jqzghi2n3o5hkh****\\"\\n },\\n \\"RequestId\\": \\"768F908D-A66A-5A5D-816C-20C93CBBFEE3\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n TestGroup\\n This is a group.\\n 2021-11-01T02:38:27Z\\n Manual\\n 2021-11-01T02:38:27Z\\n g-00jqzghi2n3o5hkh****\\n \\n 768F908D-A66A-5A5D-816C-20C93CBBFEE3\\n","errorExample":""}]',
'title' => '查询用户组信息',
'description' => '本文将提供一个示例,查询目录`d-00fc2p61****`下用户组`g-00jqzghi2n3o5hkh****`的信息。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
],
],
],
],
],
'GetLoginPreference' => [
'summary' => '调用GetLoginPreference查询登录偏好。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8CE8B990-193D-50CE-A604-69F3E7DCE740'],
'LoginPreference' => [
'description' => '登录偏好。',
'type' => 'object',
'properties' => [
'LoginNetworkMasks' => ['description' => 'IP地址白名单,用于限制云SSO用户只能通过白名单中的IP地址登录云SSO用户门户。'."\n"
."\n"
.'只能对云SSO用户通过用户名密码或单点登录方式登录到云SSO用户门户生效,从云SSO用户门户登录到RD账号不生效。'."\n"
."\n"
.'为空时,表示未设置IP地址白名单。', 'type' => 'string', 'example' => '192.168.0.0/16;10.0.0.0/8'],
'AllowUserToGetCredentials' => ['description' => '用户登录后能否在门户获取程序访问凭证。取值:'."\n"
."\n"
.'- True:是。'."\n"
.'- False(默认值):否。', 'type' => 'boolean', 'example' => 'True'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8CE8B990-193D-50CE-A604-69F3E7DCE740\\",\\n \\"LoginPreference\\": {\\n \\"LoginNetworkMasks\\": \\"192.168.0.0/16;10.0.0.0/8\\",\\n \\"AllowUserToGetCredentials\\": true\\n }\\n}","type":"json"}]',
'title' => '查询登录偏好',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetLoginPreference',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'GetMFAAuthenticationSettingInfo' => [
'summary' => '调用GetMFAAuthenticationSettingInfo查询全局MFA配置。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '95D3B107-DA80-5B34-A3D0-9E82F8F0DA0E'],
'MFAAuthenticationSettingInfo' => [
'description' => '全局MFA校验配置。',
'type' => 'object',
'properties' => [
'MfaAuthenticationAdvanceSettings' => ['description' => '全局MFA校验策略。取值:'."\n"
."\n"
.'- Enabled:为所有用户启用MFA校验。'."\n"
.'- Byuser:依赖用户的独立MFA配置。关于用户MFA单独配置的详情,请参见[UpdateUserMFAAuthenticationSettings](~~450135~~)。'."\n"
.'- Disabled:为所有用户禁用MFA校验。'."\n"
.'- OnlyRiskyLogin:只在异常登录时验证。', 'type' => 'string', 'example' => 'OnlyRiskyLogin'],
'OperationForRiskLogin' => ['description' => '异常登录时的MFA校验策略。取值:'."\n"
."\n"
.'- Autonomous:异常登录时可以跳过MFA绑定,但是已经绑定的必须验证。'."\n"
.'- EnforceVerify:异常登录时强制绑定或验证MFA。'."\n"
."\n"
.'> 仅当MfaAuthenticationAdvanceSettings值为Byuser或OnlyRiskyLogin时显示该参数。', 'type' => 'string', 'example' => 'EnforceVerify'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"95D3B107-DA80-5B34-A3D0-9E82F8F0DA0E\\",\\n \\"MFAAuthenticationSettingInfo\\": {\\n \\"MfaAuthenticationAdvanceSettings\\": \\"OnlyRiskyLogin\\",\\n \\"OperationForRiskLogin\\": \\"EnforceVerify\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 95D3B107-DA80-5B34-A3D0-9E82F8F0DA0E\\n \\n OnlyRiskyLogin\\n EnforceVerify\\n \\n","errorExample":""}]',
'title' => '查询全局MFA配置',
'description' => '当启用用户名密码登录时,您可以获取全局用户登录时的MFA校验策略。'."\n"
."\n"
.'本文将提供一个示例,查询目录`u-00q8wbq42wiltcrk****`下云SSO用户的全局MFA校验策略。',
'changeSet' => [
['createdAt' => '2023-09-18T06:17:41.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMFAAuthenticationSettingInfo'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetMFAAuthenticationSettingInfo',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'GetMFAAuthenticationSettings' => [
'summary' => '调用GetMFAAuthenticationSettings查询全局MFA配置。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A2BC00C5-76A2-5FFC-A340-927940A98377'],
'MFAAuthenticationAdvanceSettings' => ['description' => '全局MFA配置。取值:'."\n"
."\n"
.'- Enabled:为所有用户启用MFA校验。'."\n"
.'- Byuser:依赖用户的MFA独立配置。'."\n"
.'- Disabled:为所有用户禁用MFA校验。', 'type' => 'string', 'example' => 'Enabled'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A2BC00C5-76A2-5FFC-A340-927940A98377\\",\\n \\"MFAAuthenticationAdvanceSettings\\": \\"Enabled\\"\\n}","errorExample":""},{"type":"xml","example":"\\n A2BC00C5-76A2-5FFC-A340-927940A98377\\n Enabled\\n","errorExample":""}]',
'title' => '查询全局MFA配置',
'description' => '> 该API后续将不再维护和更新,推荐您使用新API [GetMFAAuthenticationSettingInfo](~~611286~~),查询更详细的信息。'."\n"
."\n"
.'本文将提供一个示例,查询目录`d-00fc2p61****`的全局MFA配置。返回结果显示,全局MFA为已启用状态。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetMFAAuthenticationSettings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'GetMFAAuthenticationStatus' => [
'summary' => '查询用户的多因素认证(MFA)启用状态。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '5E688346-DF1A-5537-9BFC-8A9974D29586'],
'MFAAuthenticationStatus' => ['description' => 'MFA启用状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'example' => 'Enabled'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5E688346-DF1A-5537-9BFC-8A9974D29586\\",\\n \\"MFAAuthenticationStatus\\": \\"Enabled\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 5E688346-DF1A-5537-9BFC-8A9974D29586\\n Enabled\\n","errorExample":""}]',
'title' => '查询用户的MFA启用状态',
'description' => '本文将提供一个示例,查询ID为`d-00fc2p61****`目录下的MFA启用状态。返回结果显示,MFA状态为已启用。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetMFAAuthenticationStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'GetPasswordPolicy' => [
'summary' => '调用GetPasswordPolicy查询云SSO用户的密码策略。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B7C6E839-FB65-59BE-B753-003AA8AF7DF7'],
'PasswordPolicy' => [
'description' => '密码策略。',
'type' => 'object',
'properties' => [
'MinPasswordLength' => ['description' => '最小密码长度。'."\n"
."\n"
.'取值范围:8~32。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
'MinPasswordDifferentChars' => ['description' => '密码中最少包含的不同字符数量。'."\n"
."\n"
.'最小值为0,表示不限制密码中的不同字符数量。最大值为`MinPasswordLength`设置的值。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
'PasswordNotContainUsername' => ['description' => '密码中是否不允许包含用户名。取值:'."\n"
."\n"
.'- true:密码中不允许包含用户名。'."\n"
.'- false:密码中允许包含用户名。', 'type' => 'boolean', 'example' => 'true'],
'MaxPasswordAge' => ['description' => '密码有效期。'."\n"
."\n"
.'取值范围:1~120。单位:天。', 'type' => 'integer', 'format' => 'int32', 'example' => '90'],
'PasswordReusePrevention' => ['description' => '历史密码检查策略。'."\n"
."\n"
.'禁止使用前N次的历史密码,N的取值范围:0~24,0表示不启用历史密码检查策略。'."\n"
.'> 2024年1月5日之前修改的密码不计入历史密码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'MaxLoginAttempts' => ['description' => '密码重试次数。'."\n"
."\n"
.'连续输入错误密码达到设定次数后,账号将被锁定一小时。'."\n"
."\n"
.'取值范围:0~32,0表示不限制密码重试次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
'RequireNumbers' => ['description' => '密码中是否需要有数字。取值:'."\n"
.'- true:密码中需要有数字。'."\n"
.'- false:密码中不需要有数字。', 'type' => 'boolean', 'example' => 'true'],
'RequireLowerCaseChars' => ['description' => '密码中是否需要有小写字母。取值:'."\n"
.'- true:密码中需要有小写字母。'."\n"
.'- false:密码中不需要有小写字母。', 'type' => 'boolean', 'example' => 'true'],
'MaxPasswordLength' => ['description' => '最大密码长度。', 'type' => 'integer', 'format' => 'int32', 'example' => '32'],
'RequireUpperCaseChars' => ['description' => '密码中是否需要有大写字母。取值:'."\n"
.'- true:密码中需要有大写字母。'."\n"
.'- false:密码中不需要有大写字母。', 'type' => 'boolean', 'example' => 'true'],
'RequireSymbols' => ['description' => '密码中是否需要有符号。取值:'."\n"
.'- true:密码中需要有符号。'."\n"
.'- false:密码中不需要有符号。', 'type' => 'boolean', 'example' => 'true'],
'HardExpire' => ['description' => '密码过期后是否限制登录。取值:'."\n"
.'- true:密码过期后限制登录。'."\n"
.'- false:密码过期后不限制登录。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B7C6E839-FB65-59BE-B753-003AA8AF7DF7\\",\\n \\"PasswordPolicy\\": {\\n \\"MinPasswordLength\\": 8,\\n \\"MinPasswordDifferentChars\\": 8,\\n \\"PasswordNotContainUsername\\": true,\\n \\"MaxPasswordAge\\": 90,\\n \\"PasswordReusePrevention\\": 1,\\n \\"MaxLoginAttempts\\": 5,\\n \\"RequireNumbers\\": true,\\n \\"RequireLowerCaseChars\\": true,\\n \\"MaxPasswordLength\\": 32,\\n \\"RequireUpperCaseChars\\": true,\\n \\"RequireSymbols\\": true,\\n \\"HardExpire\\": true\\n }\\n}","type":"json"}]',
'title' => '查询密码策略',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetPasswordPolicy',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'GetSCIMSynchronizationStatus' => [
'summary' => '调用GetSCIMSynchronizationStatus查询SCIM同步的状态。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7C086C2F-1C66-57B3-B14E-2C1DA70727CD'],
'SCIMSynchronizationStatus' => ['description' => 'SCIM同步状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'example' => 'Enabled'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7C086C2F-1C66-57B3-B14E-2C1DA70727CD\\",\\n \\"SCIMSynchronizationStatus\\": \\"Enabled\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 7C086C2F-1C66-57B3-B14E-2C1DA70727CD\\n Enabled\\n","errorExample":""}]',
'title' => '查询SCIM同步状态',
'description' => '本文将提供一个示例,查询目录`d-00fc2p61****`下的SCIM同步状态。返回结果显示,SCIM同步为启用状态。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetSCIMSynchronizationStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'GetServiceStatus' => [
'summary' => '调用GetServiceStatus查询云SSO状态。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'ADADC31D-90EE-5459-99B0-D83DF07769A3'],
'ServiceStatus' => [
'description' => '云SSO状态。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '云SSO开通状态。取值:'."\n"
."\n"
.'- Enabled:开通。'."\n"
.'- Disabled:关闭。', 'type' => 'string', 'example' => 'Enabled'],
'AccountId' => ['description' => '阿里云账号ID。', 'type' => 'string', 'example' => '151266687691****'],
'PrerequisiteCheckResult' => ['description' => '检查是否满足云SSO的开通条件。取值:'."\n"
."\n"
.'- Success:满足。'."\n"
.'- Failed:不满足。'."\n"
."\n"
.'> 当`Status`为`Disabled`时,返回该参数。', 'type' => 'string', 'example' => 'Success'],
'RegionsInUse' => [
'description' => '地域ID。',
'type' => 'array',
'items' => ['description' => '地域ID。取值:'."\n"
."\n"
.'- 如果已创建目录,该参数为目录所在的地域ID。'."\n"
.'- 如果未创建目录,该参数为空。'."\n"
."\n"
.'> 当`Status`为`Enabled`时,返回该参数。', 'type' => 'string', 'example' => 'cn-shanghai'],
],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ADADC31D-90EE-5459-99B0-D83DF07769A3\\",\\n \\"ServiceStatus\\": {\\n \\"Status\\": \\"Enabled\\",\\n \\"AccountId\\": \\"151266687691****\\",\\n \\"PrerequisiteCheckResult\\": \\"Success\\",\\n \\"RegionsInUse\\": [\\n \\"cn-shanghai\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n ADADC31D-90EE-5459-99B0-D83DF07769A3\\n \\n Enabled\\n 151266687691****\\n cn-shanghai\\n \\n","errorExample":""}]',
'title' => '查询云SSO状态',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetServiceStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetTask' => [
'summary' => '调用GetTask查询异步任务信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 't-shfqw1u1edszvxw5****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'Task' => [
'description' => '任务信息。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '任务状态。取值:'."\n"
."\n"
.'- InProgress:任务执行中。'."\n"
.'- Success:任务执行成功。'."\n"
.'- Failed:任务执行失败。', 'type' => 'string', 'example' => 'Success'],
'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 't-shfqw1u1edszvxw5****'],
'EndTime' => ['description' => '任务结束时间。', 'type' => 'string', 'example' => '2021-11-05T02:58:08Z'],
'PrincipalId' => ['description' => '云SSO身份ID。', 'type' => 'string', 'example' => 'u-00q8wbq42wiltcrk****'],
'TargetPath' => ['description' => '任务目标在资源目录中的路径ID。', 'type' => 'string', 'example' => 'rd-3G****/r-Wm****/114240524784****'],
'StartTime' => ['description' => '任务开始时间。', 'type' => 'string', 'example' => '2021-11-05T02:58:07Z'],
'PrincipalName' => ['description' => '云SSO身份名称。', 'type' => 'string', 'example' => 'Alice'],
'TargetName' => ['description' => '任务目标名称。', 'type' => 'string', 'example' => 'dev-test'],
'TargetId' => ['description' => '任务目标ID。', 'type' => 'string', 'example' => '114240524784****'],
'AccessConfigurationName' => ['description' => '访问配置名称。', 'type' => 'string', 'example' => 'ECS-Admin'],
'TargetPathName' => ['description' => '任务目标在资源目录中的路径名称。', 'type' => 'string', 'example' => 'rd-3G****/root/dev-test'],
'TaskType' => ['description' => '任务类型。取值:'."\n"
."\n"
.'- ProvisionAccessConfiguration:部署访问配置。'."\n"
.'- DeprovisionAccessConfiguration:解除访问配置部署。'."\n"
.'- CreateAccessAssignment:在RD账号上授权。'."\n"
.'- DeleteAccessAssignment:移除RD账号上的授权。'."\n", 'type' => 'string', 'example' => 'DeleteAccessAssignment'],
'FailureReason' => ['description' => '任务失败原因。'."\n"
."\n"
.'> 只有`Status`为`Failed`,才会显示该参数。', 'type' => 'string', 'example' => 'No Permission.'],
'TargetType' => ['description' => '任务目标类型。取值:RD-Account,表示任务目标类型为RD账号。', 'type' => 'string', 'example' => 'RD-Account'],
'AccessConfigurationId' => ['description' => '访问配置ID。', 'type' => 'string', 'example' => 'ac-00jhtfl8thteu6uj****'],
'PrincipalType' => ['description' => '云SSO身份类型。取值:'."\n"
."\n"
.'- User:用户。'."\n"
.'- Group:用户组。', 'type' => 'string', 'example' => 'User'],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '923CA5E8-57BF-5E15-8BA6-E75A966B7E3F'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Task\\": {\\n \\"Status\\": \\"Success\\",\\n \\"TaskId\\": \\"t-shfqw1u1edszvxw5****\\",\\n \\"EndTime\\": \\"2021-11-05T02:58:08Z\\",\\n \\"PrincipalId\\": \\"u-00q8wbq42wiltcrk****\\",\\n \\"TargetPath\\": \\"rd-3G****/r-Wm****/114240524784****\\",\\n \\"StartTime\\": \\"2021-11-05T02:58:07Z\\",\\n \\"PrincipalName\\": \\"Alice\\",\\n \\"TargetName\\": \\"dev-test\\",\\n \\"TargetId\\": \\"114240524784****\\",\\n \\"AccessConfigurationName\\": \\"ECS-Admin\\",\\n \\"TargetPathName\\": \\"rd-3G****/root/dev-test\\",\\n \\"TaskType\\": \\"DeleteAccessAssignment\\",\\n \\"FailureReason\\": \\"No Permission.\\",\\n \\"TargetType\\": \\"RD-Account\\",\\n \\"AccessConfigurationId\\": \\"ac-00jhtfl8thteu6uj****\\",\\n \\"PrincipalType\\": \\"User\\"\\n },\\n \\"RequestId\\": \\"923CA5E8-57BF-5E15-8BA6-E75A966B7E3F\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n Success\\n t-shfqw1u1edszvxw5****\\n 2021-11-05T02:58:08Z\\n u-00q8wbq42wiltcrk****\\n rd-3G****/r-Wm****/114240524784****\\n 2021-11-05T02:58:07Z\\n Alice\\n dev-test\\n 114240524784****\\n ECS-Admin\\n rd-3G****/root/dev-test\\n DeleteAccessAssignment\\n RD-Account\\n ac-00jhtfl8thteu6uj****\\n User\\n \\n 923CA5E8-57BF-5E15-8BA6-E75A966B7E3F\\n","errorExample":""}]',
'title' => '查询异步任务信息',
'description' => '本文将提供一个示例,查询ID为`t-shfqw1u1edszvxw5****`的任务信息。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'GetTaskStatus' => [
'summary' => '调用GetTaskStatus查询异步任务的状态。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 't-shfqw1u1edszvxw5****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '005F4623-AE53-504D-830F-44825F7DC211'],
'TaskStatus' => [
'description' => '任务状态信息。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '任务状态。取值:'."\n"
."\n"
.'- InProgress:任务执行中。'."\n"
.'- Success:任务执行成功。'."\n"
.'- Failed:任务执行失败。', 'type' => 'string', 'example' => 'Success'],
'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 't-shfqw1u1edszvxw5****'],
'EndTime' => ['description' => '任务结束时间。', 'type' => 'string', 'example' => '2021-11-05T02:58:08Z'],
'TaskType' => ['description' => '任务类型。取值:'."\n"
."\n"
.'- ProvisionAccessConfiguration:部署访问配置。'."\n"
.'- DeprovisionAccessConfiguration:解除访问配置部署。'."\n"
.'- CreateAccessAssignment:在RD账号上授权。'."\n"
.'- DeleteAccessAssignment:移除RD账号上的授权。', 'type' => 'string', 'example' => 'DeleteAccessAssignment'],
'FailureReason' => ['description' => '任务失败原因。'."\n"
."\n"
.'> 只有`Status`为`Failed`,才会显示该参数。', 'type' => 'string', 'example' => 'No Permission.'],
'StartTime' => ['description' => '任务开始时间。', 'type' => 'string', 'example' => '2021-11-05T02:58:07Z'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"005F4623-AE53-504D-830F-44825F7DC211\\",\\n \\"TaskStatus\\": {\\n \\"Status\\": \\"Success\\",\\n \\"TaskId\\": \\"t-shfqw1u1edszvxw5****\\",\\n \\"EndTime\\": \\"2021-11-05T02:58:08Z\\",\\n \\"TaskType\\": \\"DeleteAccessAssignment\\",\\n \\"FailureReason\\": \\"No Permission.\\",\\n \\"StartTime\\": \\"2021-11-05T02:58:07Z\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 005F4623-AE53-504D-830F-44825F7DC211\\n \\n Success\\n t-shfqw1u1edszvxw5****\\n 2021-11-05T02:58:08Z\\n DeleteAccessAssignment\\n 2021-11-05T02:58:07Z\\n \\n","errorExample":""}]',
'title' => '查询异步任务的状态',
'description' => '本API主要是查询异步任务的状态信息,如需查询异步任务的更多信息,请使用[GetTask](~~340670~~)。'."\n"
."\n"
.'本文将提供一个示例,查询ID为`t-shfqw1u1edszvxw5****`的任务信息。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetTaskStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'GetUser' => [
'summary' => '调用GetUser查询指定用户信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'UserId',
'in' => 'query',
'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'User' => [
'description' => '用户信息。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '用户的状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'example' => 'Enabled'],
'UserName' => ['description' => '用户名称。', 'type' => 'string', 'example' => 'Alice'],
'Email' => ['description' => '用户的电子邮箱。', 'type' => 'string', 'example' => 'Alice@example.com'],
'Description' => ['description' => '用户的描述。', 'type' => 'string', 'example' => 'This is a user.'],
'UserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'u-00q8wbq42wiltcrk****'],
'FirstName' => ['description' => '用户的名。', 'type' => 'string', 'example' => 'Alice'],
'CreateTime' => ['description' => '用户的创建时间(UTC时间)。', 'type' => 'string', 'example' => '2021-10-26T03:03:42Z'],
'ProvisionType' => ['description' => '用户的类型。取值:'."\n"
."\n"
.'- Manual:手动创建。'."\n"
.'- Synchronized:外部同步。', 'type' => 'string', 'example' => 'Manual'],
'DisplayName' => ['description' => '用户的显示名称。', 'type' => 'string', 'example' => 'Alice'],
'UpdateTime' => ['description' => '用户的修改时间(UTC时间)。', 'type' => 'string', 'example' => '2021-10-26T06:43:55Z'],
'LastName' => ['description' => '用户的姓。', 'type' => 'string', 'example' => 'Lee'],
'ExternalId' => [
'description' => '外部身份提供商的用户标识符信息。',
'type' => 'object',
'properties' => [
'Id' => ['description' => '外部身份提供商的用户标识符。', 'type' => 'string', 'example' => 'c73******a5fdd5'],
'Issuer' => ['description' => '外部身份同步渠道,当前仅支持SCIM同步。', 'type' => 'string', 'example' => 'SCIM'],
],
],
'Tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Key' => ['type' => 'string'],
'Value' => ['type' => 'string'],
],
],
],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EE42D2C4-A30A-59B7-ACEB-6D22FB44174A'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"User\\": {\\n \\"Status\\": \\"Enabled\\",\\n \\"UserName\\": \\"Alice\\",\\n \\"Email\\": \\"Alice@example.com\\",\\n \\"Description\\": \\"This is a user.\\",\\n \\"UserId\\": \\"u-00q8wbq42wiltcrk****\\",\\n \\"FirstName\\": \\"Alice\\",\\n \\"CreateTime\\": \\"2021-10-26T03:03:42Z\\",\\n \\"ProvisionType\\": \\"Manual\\",\\n \\"DisplayName\\": \\"Alice\\",\\n \\"UpdateTime\\": \\"2021-10-26T06:43:55Z\\",\\n \\"LastName\\": \\"Lee\\",\\n \\"ExternalId\\": {\\n \\"Id\\": \\"c73******a5fdd5\\",\\n \\"Issuer\\": \\"SCIM\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"EE42D2C4-A30A-59B7-ACEB-6D22FB44174A\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n Enabled\\n Alice\\n Alice@example.com\\n This is a user.\\n u-00q8wbq42wiltcrk****\\n Alice\\n 2021-10-26T03:03:42Z\\n Manual\\n Alice\\n 2021-10-26T06:43:55Z\\n Lee\\n \\n EE42D2C4-A30A-59B7-ACEB-6D22FB44174A\\n","errorExample":""}]',
'title' => '查询用户信息',
'changeSet' => [
['createdAt' => '2025-04-21T12:32:56.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-04-21T12:31:59.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-04-21T12:31:45.000Z', 'description' => 'OpenAPI 下线'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUser',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
],
],
'GetUserId' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '当前镇元能力不支持,http调用步骤不支持在header中引用步骤出参'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'ExternalId',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => '外部身份提供商的用户标识符信息。',
'type' => 'object',
'properties' => [
'Id' => ['description' => '外部身份提供商的用户标识符。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'c73******a5fdd5'],
'Issuer' => ['description' => '外部身份同步渠道,当前仅支持SCIM同步。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'SCIM'],
],
'required' => true,
'docRequired' => true,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A3A41736-A050-50B6-ABC5-590F376A0044'],
'UserId' => ['description' => '云SSO用户ID。', 'type' => 'string', 'example' => 'u-d8d1iox****'],
],
'description' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '通过ExternalId获取用户ID',
'summary' => '调用GetUserId通过ExternalId获取目录下对应的用户ID。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserId'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUserId',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A3A41736-A050-50B6-ABC5-590F376A0044\\",\\n \\"UserId\\": \\"u-d8d1iox****\\"\\n}","type":"json"}]',
],
'GetUserMFAAuthenticationSettings' => [
'summary' => '调用GetUserMFAAuthenticationSettings查询用户MFA独立配置。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'UserId',
'in' => 'query',
'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '5B598B62-85E6-5792-9DF1-246D251B07DA'],
'UserMFAAuthenticationSettings' => ['description' => '用户MFA配置。取值:'."\n"
."\n"
.'- Enabled:为指定用户启用MFA校验。'."\n"
.'- Disabled:为指定用户禁用MFA校验。', 'type' => 'string', 'example' => 'Enabled'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5B598B62-85E6-5792-9DF1-246D251B07DA\\",\\n \\"UserMFAAuthenticationSettings\\": \\"Enabled\\"\\n}","errorExample":""},{"type":"xml","example":"\\n Enabled\\n 5B598B62-85E6-5792-9DF1-246D251B07DA\\n","errorExample":""}]',
'title' => '查询用户MFA独立配置',
'description' => '本文将提供一个示例,查询用户`u-00q8wbq42wiltcrk****`的MFA独立配置。返回结果显示,用户MFA为已启用状态。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUserMFAAuthenticationSettings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
],
],
'GetUserProvisioning' => [
'summary' => '调用GetUserProvisioning查询RAM用户同步信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '154714',
'abilityTreeNodes' => ['FEATUREram8EN4H0'],
],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-003qew84****'],
],
[
'name' => 'UserProvisioningId',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'up-002axzhapcbz6e63****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'UserProvisioning' => [
'description' => 'RAM用户同步信息。',
'type' => 'object',
'properties' => [
'Status' => ['description' => 'RAM用户同步的状态。取值:'."\n"
.'- Enabled:RAM用户同步已启用。'."\n"
.'- Disabled:RAM用户同步未启用。', 'type' => 'string', 'example' => 'Enabled'],
'Description' => ['description' => '描述。', 'type' => 'string', 'example' => 'This is a user provisioning.'],
'UserProvisioningId' => ['description' => 'RAM用户同步的ID。', 'type' => 'string', 'example' => 'up-002axzhapcbz6e63****'],
'PrincipalId' => ['description' => 'RAM用户同步的身份ID。取值:'."\n"
."\n"
.'- 当`PrincipalType`取值为`Group`时,该值为云SSO用户组ID(g-\\*\\*\\*\\*\\*\\*\\*\\*)。'."\n"
.'- 当`PrincipalType`取值为`User`时,该值为云SSO用户ID(u-\\*\\*\\*\\*\\*\\*\\*\\*)。', 'type' => 'string', 'example' => 'g-02ha881d*****'],
'TargetPath' => ['description' => 'RAM用户同步的目标的RD路径。', 'type' => 'string', 'example' => 'rd-******/root/test**'],
'UpdateTime' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
'DuplicationStrategy' => ['description' => '冲突策略。当云SSO用户同步到RAM时,如果RAM中存在同名用户时的处理策略。取值:'."\n"
."\n"
.'- KeepBoth:两者都保留。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则对云SSO用户的用户名添加后缀`_sso`后尝试创建该用户名的RAM用户。'."\n"
.'- TakeOver:替换。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则直接将已经存在的RAM用户替换为云SSO同步用户。', 'type' => 'string', 'example' => 'KeepBoth'],
'DeletionStrategy' => ['description' => '删除策略。删除RAM用户同步时,对已同步的RAM用户的处理策略。取值:'."\n"
."\n"
.'- Delete:删除。删除RAM用户同步时,会删除从云SSO已经同步到RAM中的RAM用户。'."\n"
.'- Keep:保留。删除RAM用户同步时,会保留从云SSO已经同步到RAM中的RAM用户。', 'type' => 'string', 'example' => 'Delete'],
'PrincipalName' => ['description' => 'RAM用户同步的身份名称。取值:'."\n"
."\n"
.'- 当`PrincipalType`取值为`Group`时,该值为云SSO用户组名称。'."\n"
.'- 当`PrincipalType`取值为`User`时,该值为云SSO用户名称。', 'type' => 'string', 'example' => 'testGroupName'],
'TargetName' => ['description' => 'RAM用户同步的目标名称。目前取值为RD账号名称。', 'type' => 'string', 'example' => 'testRdMember'],
'TargetId' => ['description' => 'RAM用户同步的目标ID。目前取值为RD账号ID。', 'type' => 'string', 'example' => '1743382******'],
'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-003qew84****'],
'OwnerPk' => ['description' => '目录所属的主账号ID。', 'type' => 'string', 'example' => '1639738******'],
'TargetType' => ['description' => 'RAM用户同步的目标类型。目前取值为`RD-Account`。', 'type' => 'string', 'example' => 'RD-Account'],
'PrincipalType' => ['description' => 'RAM用户同步的身份类型。取值:'."\n"
.'- User:表示该RAM用户同步的身份是云SSO用户。'."\n"
.'- Group:表示该RAM用户同步的身份是云SSO用户组。', 'type' => 'string', 'example' => 'Group'],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F6F90F3D-4502-5877-B80B-97476F6AE2CC'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"UserProvisioning\\": {\\n \\"Status\\": \\"Enabled\\",\\n \\"Description\\": \\"This is a user provisioning.\\",\\n \\"UserProvisioningId\\": \\"up-002axzhapcbz6e63****\\",\\n \\"PrincipalId\\": \\"g-02ha881d*****\\",\\n \\"TargetPath\\": \\"rd-******/root/test**\\",\\n \\"UpdateTime\\": \\"2022-11-28T03:55:42Z\\",\\n \\"DuplicationStrategy\\": \\"KeepBoth\\",\\n \\"DeletionStrategy\\": \\"Delete\\",\\n \\"PrincipalName\\": \\"testGroupName\\",\\n \\"TargetName\\": \\"testRdMember\\",\\n \\"TargetId\\": \\"1743382******\\",\\n \\"CreateTime\\": \\"2022-11-28T03:55:42Z\\",\\n \\"DirectoryId\\": \\"d-003qew84****\\",\\n \\"OwnerPk\\": \\"1639738******\\",\\n \\"TargetType\\": \\"RD-Account\\",\\n \\"PrincipalType\\": \\"Group\\"\\n },\\n \\"RequestId\\": \\"F6F90F3D-4502-5877-B80B-97476F6AE2CC\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n Enabled\\n 用户描述\\n up-002axzhapcbz6e63****\\n g-02ha881d*****\\n /\\n 2022-11-28T03:55:42Z\\n 2022-11-28T03:55:42Z\\n KeepBoth\\n Delete\\n testGroupName\\n testRdMember\\n 1743382******\\n 2022-11-28T03:55:42Z\\n 2022-11-28T03:55:42Z\\n d-003qew84****\\n 1639738******\\n RD-Account\\n Group\\n \\n 69A4AB33-****-****-****-29AA0B56****\\n","errorExample":""}]',
'title' => '查询RAM用户同步',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUserProvisioning',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
],
],
],
],
],
'GetUserProvisioningConfiguration' => [
'summary' => '调用GetUserProvisioningConfiguration查询RAM用户同步全局配置。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '66898413-EB80-556D-9429-06FE3548F672'],
'UserProvisioningConfiguration' => [
'description' => 'RAM用户同步的全局配置信息。',
'type' => 'object',
'properties' => [
'SessionDuration' => ['description' => '登录Session的持续时长。'."\n"
."\n"
.'单位:小时。'."\n"
."\n"
.'取值范围:1~24。'."\n"
."\n"
.'默认值:6。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-00fc2p61****'],
'DefaultLandingPage' => ['description' => '用户登录后的默认落地页地址。'."\n"
."\n"
.'默认值:https://homenew.console.aliyun.com。', 'type' => 'string', 'example' => 'https://homenew.console.aliyun.com'],
'UpdateTime' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"66898413-EB80-556D-9429-06FE3548F672\\",\\n \\"UserProvisioningConfiguration\\": {\\n \\"SessionDuration\\": 10,\\n \\"CreateTime\\": \\"2022-11-28T03:55:42Z\\",\\n \\"DirectoryId\\": \\"d-00fc2p61****\\",\\n \\"DefaultLandingPage\\": \\"https://homenew.console.aliyun.com\\",\\n \\"UpdateTime\\": \\"2022-11-28T03:55:42Z\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 66898413-EB80-556D-9429-06FE3548F672\\n \\n 10\\n 2022-11-28T03:55:42Z\\n 2022-11-28T03:55:42Z\\n d-00fc2p61****\\n https://home.console.aliyun.com/home/dashboard/ProductAndService\\n -\\n 2022-11-28T03:55:42Z\\n 2022-11-28T03:55:42Z\\n \\n","errorExample":""}]',
'title' => '查询RAM用户同步全局配置',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUserProvisioningConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'GetUserProvisioningEvent' => [
'summary' => '调用GetUserProvisioningEvent查询执行失败的RAM用户同步事件。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'EventId',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步事件ID。'."\n"
."\n"
.'您可以调用[ListUserProvisioningEvents](~~2636305~~)获取`EventId`。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'upe-wjKyNDmZvyZOiRcJ****'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-003qew84****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B801715C-97EA-3067-AC97-EF1EBECBB39C'],
'UserProvisioningEvent' => [
'description' => 'RAM用户同步事件。',
'type' => 'object',
'properties' => [
'UserProvisioningId' => ['description' => 'RAM用户同步事件ID。', 'type' => 'string', 'example' => 'up-002axzhapcbz6e63****'],
'PrincipalId' => ['description' => 'RAM用户同步的身份ID。取值:'."\n"
."\n"
.'- 当`PrincipalType`取值为`Group`时,该值为云SSO用户组ID(g-\\*\\*\\*\\*\\*\\*\\*\\*)。'."\n"
.'- 当`PrincipalType`取值为`User`时,该值为云SSO用户ID(u-\\*\\*\\*\\*\\*\\*\\*\\*)。', 'type' => 'string', 'example' => 'g-02ha881d*****'],
'TargetPath' => ['description' => 'RAM用户同步的目标的RD路径。', 'type' => 'string', 'example' => 'rd-******/root/test**'],
'ErrorInfo' => ['description' => 'RAM用户同步事件上次执行失败的错误信息。', 'type' => 'string', 'example' => 'OperationConflict.UserProvisioning.Process.fail.ImsUserExists'],
'SourceType' => ['description' => '源操作类型。取值:'."\n"
.'- StartProvisioning:启用RAM用户同步。'."\n"
.'- DeleteProvisioning:删除RAM用户同步。'."\n"
.'- AddUserToGroup:用户加入用户组。'."\n"
.'- RemoveUserFromGroup:用户从用户组移出。'."\n"
.'- UserProvisioningDeletionClearing:删除RAM用户同步之后,后台进行资源清理。', 'type' => 'string', 'example' => 'AddUserToGroup'],
'UpdateTime' => ['description' => '修改时间(UTC时间)。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
'DuplicationStrategy' => ['description' => '冲突策略。当云SSO用户同步到RAM时,如果RAM中存在同名用户时的处理策略。取值:'."\n"
."\n"
.'- KeepBoth:两者都保留。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则对云SSO用户的用户名添加后缀`_sso`后尝试创建该用户名的RAM用户。'."\n"
.'- TakeOver:替换。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则直接将已经存在的RAM用户替换为云SSO同步用户。', 'type' => 'string', 'example' => 'KeepBoth'],
'DeletionStrategy' => ['description' => '删除策略。删除RAM用户同步时,对已同步的RAM用户的处理策略。取值:'."\n"
."\n"
.'- Delete:删除。删除RAM用户同步时,会删除从云SSO已经同步到RAM中的RAM用户。'."\n"
.'- Keep:保留。删除RAM用户同步时,会保留从云SSO已经同步到RAM中的RAM用户。', 'type' => 'string', 'example' => 'Delete'],
'PrincipalName' => ['description' => 'RAM用户同步的身份名称。取值:'."\n"
."\n"
.'- 当`PrincipalType`取值为`Group`时,该值为云SSO用户组名称。'."\n"
.'- 当`PrincipalType`取值为`User`时,该值为云SSO用户名称。', 'type' => 'string', 'example' => 'exampleGroupName'],
'TargetName' => ['description' => 'RAM用户同步的目标名称。'."\n"
."\n"
.'当`TargetType`为`RD-Account`时,取值为RD账号名称。', 'type' => 'string', 'example' => 'exampleRdMember'],
'ErrorCount' => ['description' => '执行失败次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'TargetId' => ['description' => 'RAM用户同步的目标ID。'."\n"
."\n"
.'当`TargetType`为`RD-Account`时,取值为RD账号ID。', 'type' => 'string', 'example' => '1743382******'],
'CreateTime' => ['description' => '创建时间(UTC时间)。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-003qew84****'],
'TargetType' => ['description' => 'RAM用户同步的目标类型。目前取值为`RD-Account`。', 'type' => 'string', 'example' => 'RD-Account'],
'EventId' => ['description' => 'RAM用户同步事件ID。', 'type' => 'string', 'example' => 'upe-wjKyNDmZvyZOiRcJ****'],
'PrincipalType' => ['description' => 'RAM用户同步的身份类型。取值:'."\n"
.'- User:表示该RAM用户同步的身份是云SSO用户。'."\n"
.'- Group:表示该RAM用户同步的身份是云SSO用户组。', 'type' => 'string', 'example' => 'Group'],
'LatestAsyncTime' => ['description' => '此事件上次执行的时间(UTC时间)。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B801715C-97EA-3067-AC97-EF1EBECBB39C\\",\\n \\"UserProvisioningEvent\\": {\\n \\"UserProvisioningId\\": \\"up-002axzhapcbz6e63****\\",\\n \\"PrincipalId\\": \\"g-02ha881d*****\\",\\n \\"TargetPath\\": \\"rd-******/root/test**\\",\\n \\"ErrorInfo\\": \\"OperationConflict.UserProvisioning.Process.fail.ImsUserExists\\",\\n \\"SourceType\\": \\"AddUserToGroup\\",\\n \\"UpdateTime\\": \\"2022-11-28T03:55:42Z\\",\\n \\"DuplicationStrategy\\": \\"KeepBoth\\",\\n \\"DeletionStrategy\\": \\"Delete\\",\\n \\"PrincipalName\\": \\"exampleGroupName\\",\\n \\"TargetName\\": \\"exampleRdMember\\",\\n \\"ErrorCount\\": 3,\\n \\"TargetId\\": \\"1743382******\\",\\n \\"CreateTime\\": \\"2022-11-28T03:55:42Z\\",\\n \\"DirectoryId\\": \\"d-003qew84****\\",\\n \\"TargetType\\": \\"RD-Account\\",\\n \\"EventId\\": \\"upe-wjKyNDmZvyZOiRcJ****\\",\\n \\"PrincipalType\\": \\"Group\\",\\n \\"LatestAsyncTime\\": \\"2022-11-28T03:55:42Z\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 69A4AB33-****-****-****-29AA0B56****\\n \\n up-002axzhapcbz6e63****\\n g-02ha881d*****\\n /\\n AddUserToGroup\\n 2022-11-28T03:55:42Z\\n 2022-11-28T03:55:42Z\\n KeepBoth\\n Delete\\n testRdMember\\n testGroupName\\n 3\\n 1743382******\\n 2022-11-28T03:55:42Z\\n 2022-11-28T03:55:42Z\\n d-003qew84****\\n RD-Account\\n upe-wjKyNDmZvyZOiRcJ****\\n Group\\n 2022-11-28T03:55:42Z\\n \\n","errorExample":""}]',
'title' => '查询RAM用户同步事件',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUserProvisioningEvent',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/*'],
],
],
],
],
],
'GetUserProvisioningRdAccountStatistics' => [
'summary' => '调用GetUserProvisioningRdAccountStatistics查询资源目录成员账号中的RAM用户同步任务统计信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-003qew84****'],
],
[
'name' => 'RdMemberId',
'in' => 'query',
'schema' => ['description' => '资源目录成员ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1743382******'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'UserProvisioningStatistics' => [
'description' => 'RAM用户同步的统计信息。',
'type' => 'object',
'properties' => [
'EntityId' => ['description' => '实体ID,即资源目录成员ID。', 'type' => 'string', 'example' => '1743382******'],
'Type' => ['description' => '实体类型,取值为`RD Account`。', 'type' => 'string', 'example' => 'RD Account'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-003qew84****'],
'FailedEventCount' => ['description' => '失败的RAM用户同步事件数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'],
'OwnerPk' => ['description' => '目录所属的主账号ID。', 'type' => 'string', 'example' => '1639738******'],
'LatestAsyncTime' => ['description' => '上次同步时间。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F6F90F3D-4502-5877-B80B-97476F6AE2CC'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"UserProvisioningStatistics\\": {\\n \\"EntityId\\": \\"1743382******\\",\\n \\"Type\\": \\"RD Account\\",\\n \\"DirectoryId\\": \\"d-003qew84****\\",\\n \\"FailedEventCount\\": 4,\\n \\"OwnerPk\\": \\"1639738******\\",\\n \\"LatestAsyncTime\\": \\"2022-11-28T03:55:42Z\\"\\n },\\n \\"RequestId\\": \\"F6F90F3D-4502-5877-B80B-97476F6AE2CC\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n 1743382******\\n RD-Account\\n d-003qew84****\\n 4\\n 1639738******\\n 2022-11-28T03:55:42Z\\n \\n 69A4AB33-****-****-****-29AA0B56****\\n","errorExample":""}]',
'title' => '查询资源目录成员的RAM用户同步统计信息',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUserProvisioningRdAccountStatistics',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Account', 'arn' => 'acs:resourcemanager::{#accountId}:account/{#AccountId}'],
],
],
],
],
],
'GetUserProvisioningStatistics' => [
'summary' => '调用GetUserProvisioningStatistics查询RAM用户同步的统计信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-003qew84****'],
],
[
'name' => 'UserProvisioningId',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'up-002axzhapcbz6e63****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'UserProvisioningStatistics' => [
'description' => 'RAM用户同步的统计信息。',
'type' => 'object',
'properties' => [
'EntityId' => ['description' => '实体ID,即RAM用户同步的ID。', 'type' => 'string', 'example' => 'up-002axzhapcbz6e63****'],
'Type' => ['description' => '实体类型,取值为`User Provisioning`。', 'type' => 'string', 'example' => 'User Provisioning'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-003qew84****'],
'FailedEventCount' => ['description' => '该条RAM用户同步所关联的执行失败的RAM用户同步事件数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'OwnerPk' => ['description' => '目录所属的主账号ID。', 'type' => 'string', 'example' => '139665787317****'],
'LatestAsyncTime' => ['description' => '上次同步时间。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F6F90F3D-4502-5877-B80B-97476F6AE2CC'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"UserProvisioningStatistics\\": {\\n \\"EntityId\\": \\"up-002axzhapcbz6e63****\\",\\n \\"Type\\": \\"User Provisioning\\",\\n \\"DirectoryId\\": \\"d-003qew84****\\",\\n \\"FailedEventCount\\": 3,\\n \\"OwnerPk\\": \\"139665787317****\\",\\n \\"LatestAsyncTime\\": \\"2022-11-28T03:55:42Z\\"\\n },\\n \\"RequestId\\": \\"F6F90F3D-4502-5877-B80B-97476F6AE2CC\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n up-002axzhapcbz6e63****\\n User Provisioning\\n d-003qew84****\\n 3\\n 139665787317****\\n 2022-11-28T03:55:42Z\\n \\n 69A4AB33-****-****-****-29AA0B56****\\n","errorExample":""}]',
'title' => '查询RAM用户同步的统计信息',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUserProvisioningStatistics',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
],
],
],
],
],
'ListAccessAssignments' => [
'summary' => '调用ListAccessAssignments查询授权列表。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'AccessConfigurationId',
'in' => 'query',
'schema' => ['description' => '访问配置ID,用于查询的过滤条件。', 'type' => 'string', 'required' => false, 'example' => 'ac-00jhtfl8thteu6uj****'],
],
[
'name' => 'TargetType',
'in' => 'query',
'schema' => ['description' => '任务目标类型,用于查询的过滤条件。'."\n"
."\n"
.'取值:RD-Account,表示任务目标类型为RD账号。'."\n"
."\n"
.'> `TargetId`与`TargetType`必须同时配置才能作为有效的过滤条件进行查询。', 'type' => 'string', 'required' => false, 'example' => 'RD-Account'],
],
[
'name' => 'TargetId',
'in' => 'query',
'schema' => ['description' => '任务目标ID,用于查询的过滤条件。'."\n"
."\n"
.'> `TargetId`与`TargetType`必须同时配置才能作为有效的过滤条件进行查询。', 'type' => 'string', 'required' => false, 'example' => '114240524784****'],
],
[
'name' => 'PrincipalType',
'in' => 'query',
'schema' => ['description' => '云SSO身份类型,用于查询的过滤条件。取值:'."\n"
."\n"
.'- User:用户。'."\n"
.'- Group:用户组。'."\n"
."\n"
.'> `PrincipalId`与`PrincipalType`必须同时配置才能作为有效的过滤条件进行查询。', 'type' => 'string', 'required' => false, 'example' => 'User'],
],
[
'name' => 'PrincipalId',
'in' => 'query',
'schema' => ['description' => '云SSO身份ID,用于查询的过滤条件。具体如下:'."\n"
."\n"
.'- 当`PrincipalType`为User时,`PrincipalId`为云SSO用户ID。'."\n"
.'- 当`PrincipalType`为Group时,`PrincipalId`为云SSO用户组ID。'."\n"
."\n"
.'> `PrincipalId`与`PrincipalType`必须同时配置才能作为有效的过滤条件进行查询。', 'type' => 'string', 'required' => false, 'example' => 'u-00q8wbq42wiltcrk****'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '查询返回结果下一页的令牌。首次调用API不需要`NextToken`。'."\n"
."\n"
.'当您首次调用API时,如果返回数据总条数超过`MaxResults`限制,数据会被截断,只返回`MaxResults`条数据,同时,返回参数`IsTruncated`为`true`,返回一个`NextToken`。您可以使用上一次返回的`NextToken`继续调用API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到`IsTruncated`为`false`,表示全部数据查询完毕。', 'type' => 'string', 'required' => false, 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '每页的最大数据条数。'."\n"
."\n"
.'取值范围:1~20。'."\n"
."\n"
.'默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '查询返回结果下一页的令牌。'."\n"
."\n"
.'> 只有`IsTruncated`为`true`,才显示该参数。', 'type' => 'string', 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '66898413-EB80-556D-9429-06FE3548F672'],
'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'TotalCounts' => ['description' => '符合请求参数条件的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'IsTruncated' => ['description' => '返回结果是否被截断。取值:'."\n"
."\n"
.'- true:已截断。'."\n"
.'- false:未截断。', 'type' => 'boolean', 'example' => 'false'],
'AccessAssignments' => [
'description' => '授权信息列表。',
'type' => 'array',
'items' => [
'description' => '授权信息列表。',
'type' => 'object',
'properties' => [
'AccessConfigurationName' => ['description' => '访问配置名称。', 'type' => 'string', 'example' => 'ECS-Admin'],
'TargetPathName' => ['description' => '任务目标在资源目录中的路径名称。', 'type' => 'string', 'example' => 'rd-3G****/root/dev-test'],
'PrincipalId' => ['description' => '云SSO身份ID。', 'type' => 'string', 'example' => 'u-00q8wbq42wiltcrk****'],
'TargetPath' => ['description' => '任务目标在资源目录中的路径ID。', 'type' => 'string', 'example' => 'rd-3G****/r-Wm****/114240524784****'],
'CreateTime' => ['description' => '授权成功的时间。', 'type' => 'string', 'example' => '2021-11-04T10:03:08Z'],
'TargetType' => ['description' => '任务目标类型。'."\n"
."\n"
.'取值:RD-Account,表示任务目标类型为RD账号。', 'type' => 'string', 'example' => 'RD-Account'],
'PrincipalName' => ['description' => '云SSO身份名称。', 'type' => 'string', 'example' => 'Alice'],
'TargetName' => ['description' => '任务目标名称。', 'type' => 'string', 'example' => 'dev-test'],
'AccessConfigurationId' => ['description' => '访问配置ID。', 'type' => 'string', 'example' => 'ac-00jhtfl8thteu6uj****'],
'PrincipalType' => ['description' => '云SSO身份类型。取值:'."\n"
."\n"
.'- User:用户。'."\n"
.'- Group:用户组。', 'type' => 'string', 'example' => 'User'],
'TargetId' => ['description' => '任务目标ID。', 'type' => 'string', 'example' => '114240524784****'],
],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****\\",\\n \\"RequestId\\": \\"66898413-EB80-556D-9429-06FE3548F672\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCounts\\": 1,\\n \\"IsTruncated\\": false,\\n \\"AccessAssignments\\": [\\n {\\n \\"AccessConfigurationName\\": \\"ECS-Admin\\",\\n \\"TargetPathName\\": \\"rd-3G****/root/dev-test\\",\\n \\"PrincipalId\\": \\"u-00q8wbq42wiltcrk****\\",\\n \\"TargetPath\\": \\"rd-3G****/r-Wm****/114240524784****\\",\\n \\"CreateTime\\": \\"2021-11-04T10:03:08Z\\",\\n \\"TargetType\\": \\"RD-Account\\",\\n \\"PrincipalName\\": \\"Alice\\",\\n \\"TargetName\\": \\"dev-test\\",\\n \\"AccessConfigurationId\\": \\"ac-00jhtfl8thteu6uj****\\",\\n \\"PrincipalType\\": \\"User\\",\\n \\"TargetId\\": \\"114240524784****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n\\t66898413-EB80-556D-9429-06FE3548F672\\n\\t10\\n\\t1\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tECS-Admin\\n\\t\\t\\trd-3G****/root/dev-test\\n\\t\\t\\tu-00q8wbq42wiltcrk****\\n\\t\\t\\trd-3G****/r-Wm****/114240524784****\\n\\t\\t\\t2021-11-04T10:03:08Z\\n\\t\\t\\tRD-Account\\n\\t\\t\\tAlice\\n\\t\\t\\tdev-test\\n\\t\\t\\tac-00jhtfl8thteu6uj****\\n\\t\\t\\tUser\\n\\t\\t\\t114240524784****\\n\\t\\t\\n\\t\\n\\t\\n","errorExample":""}]',
'title' => '查询授权列表',
'description' => '本文将提供一个示例,查询在RD账号`114240524784****`上的授权信息。返回结果显示,该RD账号上存在一条授权记录。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListAccessAssignments',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListAccessConfigurationProvisionings' => [
'summary' => '调用ListAccessConfigurationProvisionings查询访问配置部署列表。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'AccessConfigurationId',
'in' => 'query',
'schema' => ['description' => '访问配置ID,用于查询的过滤条件。', 'type' => 'string', 'required' => false, 'example' => 'ac-00ccule7tadaijxc****'],
],
[
'name' => 'TargetType',
'in' => 'query',
'schema' => ['description' => '任务目标类型,用于查询的过滤条件。'."\n"
."\n"
.'取值:RD-Account,表示任务目标类型为RD账号。'."\n"
."\n"
.'> `TargetId`与`TargetType`必须同时配置才能作为有效的过滤条件进行查询。', 'type' => 'string', 'required' => false, 'example' => 'RD-Account'],
],
[
'name' => 'TargetId',
'in' => 'query',
'schema' => ['description' => '任务目标ID,用于查询的过滤条件。'."\n"
."\n"
.'> `TargetId`与`TargetType`必须同时配置才能作为有效的过滤条件进行查询。', 'type' => 'string', 'required' => false, 'example' => '114240524784****'],
],
[
'name' => 'ProvisioningStatus',
'in' => 'query',
'schema' => ['description' => '部署状态,用于查询的过滤条件。取值:'."\n"
."\n"
.'- Provisioned:部署成功。'."\n"
.'- ReprovisionRequired:需要重新部署。'."\n"
.'- DeprovisionFailed:部署失败。', 'type' => 'string', 'required' => false, 'example' => 'Provisioned'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '查询返回结果下一页的令牌。首次调用API不需要`NextToken`。'."\n"
."\n"
.'当您首次调用API时,如果返回数据总条数超过`MaxResults`限制,数据会被截断,只返回`MaxResults`条数据,同时,返回参数`IsTruncated`为`true`,返回一个`NextToken`。您可以使用上一次返回的`NextToken`继续调用API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到`IsTruncated`为`false`,表示全部数据查询完毕。', 'type' => 'string', 'required' => false, 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '每页的最大数据条数。'."\n"
."\n"
.'取值范围:1~20。'."\n"
."\n"
.'默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '查询返回结果下一页的令牌。'."\n"
."\n"
.'> 只有`IsTruncated`为`true`,才显示该参数。', 'type' => 'string', 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6BA1BDF1-D845-5D2C-B742-74BE2970E4C1'],
'AccessConfigurationProvisionings' => [
'description' => '访问配置部署列表。',
'type' => 'array',
'items' => [
'description' => '访问配置部署列表。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '部署状态。取值:'."\n"
."\n"
.'- Provisioned:部署成功。'."\n"
.'- ReprovisionRequired:需要重新部署。'."\n"
.'- DeprovisionFailed:部署失败。', 'type' => 'string', 'example' => 'Provisioned'],
'SAMLProviderName' => ['description' => '在RD账号中创建的SAML身份提供商名称。', 'type' => 'string', 'example' => 'AliyunReservedSSO-d-00fc2p61****'],
'TargetPath' => ['description' => '任务目标在资源目录中的路径ID。', 'type' => 'string', 'example' => 'rd-3G****/r-Wm****/fd-pjM8oy****/101522521960****'],
'CreateTime' => ['description' => '首次部署成功的时间。', 'type' => 'string', 'example' => '2021-07-26T08:54:14Z'],
'TargetName' => ['description' => '任务目标名称。', 'type' => 'string', 'example' => 'SharedServices_5009****'],
'TargetId' => ['description' => '任务目标ID。'."\n"
."\n"
.'当任务目标类型为`RD-Account`时,该参数为RD账号UID。', 'type' => 'string', 'example' => '101522521960****'],
'RAMRoleName' => ['description' => '在RD账号中创建的RAM角色名称。', 'type' => 'string', 'example' => 'AliyunReservedSSO-VPC-Admin'],
'AccessConfigurationName' => ['description' => '访问配置名称。', 'type' => 'string', 'example' => 'VPC-Admin'],
'TargetPathName' => ['description' => '任务目标在资源目录中的路径名称。', 'type' => 'string', 'example' => 'rd-3G****/root/Core/SharedServices_5009****'],
'TargetType' => ['description' => '任务目标类型。'."\n"
."\n"
.'取值:RD-Account,表示任务目标类型为RD账号。', 'type' => 'string', 'example' => 'RD-Account'],
'UpdateTime' => ['description' => '最近一次部署成功的时间。', 'type' => 'string', 'example' => '2021-07-26T08:54:18Z'],
'RAMPolicyNames' => [
'description' => '在RD账号中创建的自定义策略名称。',
'type' => 'array',
'items' => ['description' => '在RD账号中创建的自定义策略名称。'."\n"
."\n"
.'> 只有访问配置存在内置策略,才显示该参数。', 'type' => 'string', 'example' => 'AliyunReservedSSO-VPC-Admin-InlinePolicy'],
],
'AccessConfigurationId' => ['description' => '访问配置ID。', 'type' => 'string', 'example' => 'ac-00ccule7tadaijxc****'],
],
],
],
'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'IsTruncated' => ['description' => '返回结果是否被截断。取值:'."\n"
."\n"
.'- true:已截断。'."\n"
.'- false:未截断。', 'type' => 'boolean', 'example' => 'false'],
'TotalCounts' => ['description' => '符合请求参数条件的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****\\",\\n \\"RequestId\\": \\"6BA1BDF1-D845-5D2C-B742-74BE2970E4C1\\",\\n \\"AccessConfigurationProvisionings\\": [\\n {\\n \\"Status\\": \\"Provisioned\\",\\n \\"SAMLProviderName\\": \\"AliyunReservedSSO-d-00fc2p61****\\",\\n \\"TargetPath\\": \\"rd-3G****/r-Wm****/fd-pjM8oy****/101522521960****\\",\\n \\"CreateTime\\": \\"2021-07-26T08:54:14Z\\",\\n \\"TargetName\\": \\"SharedServices_5009****\\",\\n \\"TargetId\\": \\"101522521960****\\",\\n \\"RAMRoleName\\": \\"AliyunReservedSSO-VPC-Admin\\",\\n \\"AccessConfigurationName\\": \\"VPC-Admin\\",\\n \\"TargetPathName\\": \\"rd-3G****/root/Core/SharedServices_5009****\\",\\n \\"TargetType\\": \\"RD-Account\\",\\n \\"UpdateTime\\": \\"2021-07-26T08:54:18Z\\",\\n \\"RAMPolicyNames\\": [\\n \\"AliyunReservedSSO-VPC-Admin-InlinePolicy\\"\\n ],\\n \\"AccessConfigurationId\\": \\"ac-00ccule7tadaijxc****\\"\\n }\\n ],\\n \\"MaxResults\\": 10,\\n \\"IsTruncated\\": false,\\n \\"TotalCounts\\": 2\\n}","errorExample":""},{"type":"xml","example":"\\n\\t6BA1BDF1-D845-5D2C-B742-74BE2970E4C1\\n\\t\\n\\t\\t\\n\\t\\t\\tProvisioned\\n\\t\\t\\tVPC-Admin\\n\\t\\t\\tAliyunReservedSSO-d-00fc2p61****\\n\\t\\t\\trd-3G****/root/Core/SharedServices_5009****\\n\\t\\t\\trd-3G****/r-Wm****/fd-pjM8oy****/101522521960****\\n\\t\\t\\t2021-07-26T08:54:14Z\\n\\t\\t\\tRD-Account\\n\\t\\t\\t2021-07-26T08:54:18Z\\n\\t\\t\\tSharedServices_5009****\\n\\t\\t\\tac-00ccule7tadaijxc****\\n\\t\\t\\t101522521960****\\n\\t\\t\\tAliyunReservedSSO-VPC-Admin\\n\\t\\t\\n\\t\\t\\n\\t\\t\\tReprovisionRequired\\n\\t\\t\\tVPC-Admin\\n\\t\\t\\tAliyunReservedSSO-d-00fc2p61****\\n\\t\\t\\trd-3G****/root/部门1\\n\\t\\t\\trd-3G****/r-Wm****/195320939469****\\n\\t\\t\\t2021-07-04T09:37:31Z\\n\\t\\t\\tRD-Account\\n\\t\\t\\t2021-07-26T03:02:11Z\\n\\t\\t\\t部门1\\n\\t\\t\\tac-00ccule7tadaijxc****\\n\\t\\t\\t195320939469****\\n\\t\\t\\tAliyunReservedSSO-VPC-Admin\\n\\t\\t\\n\\t\\n\\t10\\n\\t2\\n\\tfalse\\n","errorExample":""}]',
'title' => '查询访问配置部署列表',
'description' => '本文将提供一个示例,查询访问配置`ac-00ccule7tadaijxc****`的部署列表。返回结果显示,该访问配置在两个RD账号上进行了部署。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListAccessConfigurationProvisionings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/*'],
],
],
],
],
],
'ListAccessConfigurations' => [
'summary' => '调用ListAccessConfigurations查询访问配置列表。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '查询返回结果下一页的令牌。首次调用API不需要`NextToken`。'."\n"
."\n"
.'当您首次调用API时,如果返回数据总条数超过`MaxResults`限制,数据会被截断,只返回`MaxResults`条数据,同时,返回参数`IsTruncated`为`true`,返回一个`NextToken`。您可以使用上一次返回的`NextToken`继续调用API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到`IsTruncated`为`false`,表示全部数据查询完毕。', 'type' => 'string', 'required' => false, 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '每页的最大数据条数。'."\n"
."\n"
.'取值范围:1~100。'."\n"
."\n"
.'默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'Filter',
'in' => 'query',
'schema' => ['description' => '过滤条件。'."\n"
."\n"
.'格式: ,不区分大小写。目前,只支持AccessConfigurationName,只支持eq(Equals)和sw(Start With)。'."\n"
."\n"
.'示例:Filter = "AccessConfigurationName sw test",表示查询名称以test开头的全部访问配置。Filter = "AccessConfigurationName eq TestAccessConfiguration",表示查询名称为TestAccessConfiguration的访问配置。', 'type' => 'string', 'required' => false, 'example' => 'AccessConfigurationName sw test'],
],
[
'name' => 'StatusNotifications',
'in' => 'query',
'schema' => ['description' => '状态通知信息,用于查询的过滤条件。'."\n"
."\n"
.'取值:ReprovisionRequired,表示查询需要重新部署的访问配置。', 'type' => 'string', 'required' => false, 'example' => 'ReprovisionRequired'],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Key' => ['type' => 'string', 'required' => false],
'Value' => ['type' => 'string', 'required' => false],
],
'required' => false,
],
'required' => false,
'maxItems' => 21,
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'AccessConfigurations' => [
'description' => '访问配置列表。',
'type' => 'array',
'items' => [
'description' => '访问配置列表。',
'type' => 'object',
'properties' => [
'AccessConfigurationName' => ['description' => '访问配置名称。', 'type' => 'string', 'example' => 'ECS-Admin'],
'SessionDuration' => ['description' => '会话持续时间。'."\n"
."\n"
.'云SSO用户使用访问配置访问RD账号时,会话最多保持的时间。'."\n"
."\n"
.'单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '900'],
'Description' => ['description' => '访问配置的描述。', 'type' => 'string', 'example' => 'This is an access configuration.'],
'RelayState' => ['description' => '初始访问页面。'."\n"
."\n"
.'云SSO用户使用访问配置访问RD账号时,初始访问的页面地址。', 'type' => 'string', 'example' => 'https://cloudsso.console.aliyun.com'],
'CreateTime' => ['description' => '访问配置的创建时间。', 'type' => 'string', 'example' => '2021-11-02T08:44:23Z'],
'UpdateTime' => ['description' => '访问配置的修改时间。', 'type' => 'string', 'example' => '2021-11-02T08:44:23Z'],
'StatusNotifications' => [
'description' => '状态通知信息。',
'type' => 'array',
'items' => ['description' => '状态通知信息。取值:'."\n"
."\n"
.'- 空:表示没有状态通知信息。'."\n"
.'- ReprovisionRequired:表示该访问配置需要重新部署。', 'type' => 'string', 'example' => 'ReprovisionRequired'],
],
'AccessConfigurationId' => ['description' => '访问配置ID。', 'type' => 'string', 'example' => 'ac-00jhtfl8thteu6uj****'],
'Tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Key' => ['type' => 'string'],
'Value' => ['type' => 'string'],
],
],
],
],
],
],
'NextToken' => ['description' => '查询返回结果下一页的令牌。'."\n"
."\n"
.'> 只有`IsTruncated`为`true`时,才显示该参数。', 'type' => 'string', 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2BC0CBAC-45E1-5BD3-BF6E-F69D1D5391C2'],
'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'TotalCounts' => ['description' => '符合请求参数条件的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'IsTruncated' => ['description' => '返回结果是否被截断。取值:'."\n"
."\n"
.'- true:已截断。'."\n"
.'- false:未截断。', 'type' => 'boolean', 'example' => 'false'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"AccessConfigurations\\": [\\n {\\n \\"AccessConfigurationName\\": \\"ECS-Admin\\",\\n \\"SessionDuration\\": 900,\\n \\"Description\\": \\"This is an access configuration.\\",\\n \\"RelayState\\": \\"https://cloudsso.console.aliyun.com\\",\\n \\"CreateTime\\": \\"2021-11-02T08:44:23Z\\",\\n \\"UpdateTime\\": \\"2021-11-02T08:44:23Z\\",\\n \\"StatusNotifications\\": [\\n \\"ReprovisionRequired\\"\\n ],\\n \\"AccessConfigurationId\\": \\"ac-00jhtfl8thteu6uj****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\"\\n }\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****\\",\\n \\"RequestId\\": \\"2BC0CBAC-45E1-5BD3-BF6E-F69D1D5391C2\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCounts\\": 2,\\n \\"IsTruncated\\": false\\n}","errorExample":""},{"type":"xml","example":"\\n\\n\\t\\n\\t\\t\\n\\t\\t\\tVPC-Admin\\n\\t\\t\\t3600\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t2021-06-30T09:39:44Z\\n\\t\\t\\t2021-07-26T03:02:11Z\\n\\t\\t\\tReprovisionRequired\\n\\t\\t\\tac-00ccule7tadaijxc****\\n\\t\\t\\n\\t\\t\\n\\t\\t\\tECS-Admin\\n\\t\\t\\t900\\n\\t\\t\\tThis is an access configuration.\\n\\t\\t\\t\\n\\t\\t\\t2021-11-02T08:44:23Z\\n\\t\\t\\t2021-11-02T08:44:23Z\\n\\t\\t\\tac-00jhtfl8thteu6uj****\\n\\t\\t\\n\\t\\n\\t2BC0CBAC-45E1-5BD3-BF6E-F69D1D5391C2\\n\\t10\\n\\t2\\n\\tfalse\\n\\t\\n","errorExample":""}]',
'title' => '查询访问配置列表',
'description' => '本文将提供一个示例,查询目录`d-00fc2p61****`下的访问配置列表。返回结果显示,一共有`VPC-Admin`和`ECS-Admin`两个访问配置。',
'changeSet' => [
['createdAt' => '2025-06-11T08:40:18.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAccessConfigurations'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListAccessConfigurations',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/*'],
],
],
],
],
],
'ListDirectories' => [
'summary' => '调用ListDirectories查询目录列表。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '33222',
'abilityTreeNodes' => ['FEATUREramWYOP0E'],
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'Directories' => [
'description' => '目录列表。',
'type' => 'array',
'items' => [
'description' => '目录列表。',
'type' => 'object',
'properties' => [
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-00fc2p61****'],
'CreateTime' => ['description' => '目录创建时间。', 'type' => 'string', 'example' => '2021-06-30T08:35:26Z'],
'UpdateTime' => ['description' => '目录修改时间。', 'type' => 'string', 'example' => '2021-10-25T09:13:24Z'],
'Region' => ['description' => '目录所在的地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'],
'DirectoryName' => ['description' => '目录名称。', 'type' => 'string', 'example' => 'new-example'],
],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9A504392-F06D-5029-AB64-6654CB9F1DC1'],
'TotalCounts' => ['description' => '目录数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Directories\\": [\\n {\\n \\"DirectoryId\\": \\"d-00fc2p61****\\",\\n \\"CreateTime\\": \\"2021-06-30T08:35:26Z\\",\\n \\"UpdateTime\\": \\"2021-10-25T09:13:24Z\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"DirectoryName\\": \\"new-example\\"\\n }\\n ],\\n \\"RequestId\\": \\"9A504392-F06D-5029-AB64-6654CB9F1DC1\\",\\n \\"TotalCounts\\": 1\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t\\r\\n\\t\\td-00fc2p61****\\r\\n\\t\\t2021-06-30T08:35:26Z\\r\\n\\t\\t2021-10-25T09:13:24Z\\r\\n\\t\\tcn-shanghai\\r\\n\\t\\tnew-example\\r\\n\\t\\r\\n\\t9A504392-F06D-5029-AB64-6654CB9F1DC1\\r\\n\\t1\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '查询目录列表',
'description' => '本文将提供一个示例,查询当前阿里云账号下的目录列表。返回结果显示,当前阿里云账号下只有一个ID为`d-00fc2p61****`的目录。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:39.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDirectories'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListDirectories',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/*'],
],
],
],
],
],
'ListExternalSAMLIdPCertificates' => [
'summary' => '调用ListExternalSAMLIdPCertificates查询SAML签名证书列表。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '400979BC-92EC-58B9-B47C-6913BD56A6FD'],
'TotalCounts' => ['description' => '符合请求参数条件的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'SAMLIdPCertificates' => [
'description' => 'SAML签名证书列表。',
'type' => 'array',
'items' => [
'description' => 'SAML签名证书列表。',
'type' => 'object',
'properties' => [
'SerialNumber' => ['description' => '证书序列号。', 'type' => 'string', 'example' => '159289587****'],
'Issuer' => ['description' => '证书颁发者。', 'type' => 'string', 'example' => '1.2.840.113549.1.9.1=#160d696e666f406f6b74612e63****,CN=dev-xxxxxx,OU=SSOProvider,O=Okta,L=San Francisco,ST=California,C=US'],
'Version' => ['description' => '证书版本。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
'CertificateId' => ['description' => '证书ID。', 'type' => 'string', 'example' => 'idp-c-00dt9gnl7fmjaw9c****'],
'PublicKey' => ['description' => 'PEM格式的公钥证书(Base64编码)。', 'type' => 'string', 'example' => 'MIIBIjANBgkqhkiG****'],
'SignatureAlgorithm' => ['description' => '证书的签名算法。', 'type' => 'string', 'example' => 'SHA256withRSA'],
'NotAfter' => ['description' => '证书的过期时间。', 'type' => 'string', 'example' => '2030-06-23T07:04:37Z'],
'NotBefore' => ['description' => '证书的创建时间。', 'type' => 'string', 'example' => '2020-06-23T07:03:37Z'],
'Subject' => ['description' => '证书的主体。', 'type' => 'string', 'example' => '1.2.840.113549.1.9.1=#160d696e666f406f6b74612e63****,CN=dev-xxxxxx,OU=SSOProvider,O=Okta,L=San Francisco,ST=California,C=US'],
'X509Certificate' => ['description' => 'PEM格式的X509证书。', 'type' => 'string', 'example' => 'MIIDpDCCAoygAwIBAgIG****'],
],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"400979BC-92EC-58B9-B47C-6913BD56A6FD\\",\\n \\"TotalCounts\\": 1,\\n \\"SAMLIdPCertificates\\": [\\n {\\n \\"SerialNumber\\": \\"159289587****\\",\\n \\"Issuer\\": \\"1.2.840.113549.1.9.1=#160d696e666f406f6b74612e63****,CN=dev-xxxxxx,OU=SSOProvider,O=Okta,L=San Francisco,ST=California,C=US\\",\\n \\"Version\\": 3,\\n \\"CertificateId\\": \\"idp-c-00dt9gnl7fmjaw9c****\\",\\n \\"PublicKey\\": \\"MIIBIjANBgkqhkiG****\\",\\n \\"SignatureAlgorithm\\": \\"SHA256withRSA\\",\\n \\"NotAfter\\": \\"2030-06-23T07:04:37Z\\",\\n \\"NotBefore\\": \\"2020-06-23T07:03:37Z\\",\\n \\"Subject\\": \\"1.2.840.113549.1.9.1=#160d696e666f406f6b74612e63****,CN=dev-xxxxxx,OU=SSOProvider,O=Okta,L=San Francisco,ST=California,C=US\\",\\n \\"X509Certificate\\": \\"MIIDpDCCAoygAwIBAgIG****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n\\t400979BC-92EC-58B9-B47C-6913BD56A6FD\\n\\t1\\n\\t\\n\\t\\t\\n\\t\\t\\t159289587****\\n\\t\\t\\t1.2.840.113549.1.9.1=#160d696e666f406f6b74612e63****,CN=dev-xxxxxx,OU=SSOProvider,O=Okta,L=San Francisco,ST=California,C=US\\n\\t\\t\\t3\\n\\t\\t\\tidp-c-00dt9gnl7fmjaw9c****\\n\\t\\t\\tMIIBIjANBgkqhkiG****\\n\\t\\t\\tSHA256withRSA\\n\\t\\t\\t2030-06-23T07:04:37Z\\n\\t\\t\\t2020-06-23T07:03:37Z\\n\\t\\t\\t1.2.840.113549.1.9.1=#160d696e666f406f6b74612e63****,CN=dev-xxxxxx,OU=SSOProvider,O=Okta,L=San Francisco,ST=California,C=US\\n\\t\\t\\tMIIDpDCCAoygAwIBAgIG****\\n\\t\\t\\n\\t\\n\\t","errorExample":""}]',
'title' => '查询SAML签名证书列表',
'description' => '本文将提供一个示例,查询`d-00fc2p61****`目录下的SAML签名证书列表。返回结果显示,该目录下只有一个SAML签名证书。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListExternalSAMLIdPCertificates',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'ListGroupMembers' => [
'summary' => '查询用户组中的用户列表。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'GroupId',
'in' => 'query',
'schema' => ['description' => '用户组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'g-00jqzghi2n3o5hkh****'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '查询返回结果下一页的令牌。首次调用API不需要`NextToken`。'."\n"
."\n"
.'当您首次调用API时,如果返回数据总条数超过`MaxResults`限制,数据会被截断,只返回`MaxResults`条数据,同时,返回参数`IsTruncated`为`true`,返回一个`NextToken`。您可以使用上一次返回的`NextToken`继续调用API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到`IsTruncated`为`false`,表示全部数据查询完毕。', 'type' => 'string', 'required' => false, 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '每页的最大数据条数。'."\n"
."\n"
.'取值范围:1~100。'."\n"
."\n"
.'默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '查询返回结果下一页的令牌。'."\n"
."\n"
.'> 只有`IsTruncated`为`true`时,才显示该参数。', 'type' => 'string', 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BB759F84-2C64-5C36-B6C6-253172C5C370'],
'TotalCounts' => ['description' => '符合请求参数条件的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'IsTruncated' => ['description' => '返回结果是否被截断。取值:'."\n"
."\n"
.'- true:已截断。'."\n"
.'- false:未截断。', 'type' => 'boolean', 'example' => 'false'],
'GroupMembers' => [
'description' => '用户组中的用户列表。',
'type' => 'array',
'items' => [
'description' => '用户组中的用户列表。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '用户的状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'example' => 'Enabled'],
'UserName' => ['description' => '用户名称。', 'type' => 'string', 'example' => 'Alice'],
'Email' => ['description' => '用户的电子邮箱。', 'type' => 'string', 'example' => 'AliceLee@example.com'],
'Description' => ['description' => '用户的描述。', 'type' => 'string', 'example' => 'This is a user.'],
'UserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'u-00q8wbq42wiltcrk****'],
'ProvisionType' => ['description' => '用户的类型。取值:'."\n"
."\n"
.'- Manual:手动创建。'."\n"
.'- Synchronized:外部同步。', 'type' => 'string', 'example' => 'Manual'],
'DisplayName' => ['description' => '用户的显示名称。', 'type' => 'string', 'example' => 'Alice'],
'JoinTime' => ['description' => '用户加入用户组的时间。', 'type' => 'string', 'example' => '2021-11-01T06:58:18Z'],
'GroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => 'g-00jqzghi2n3o5hkh****'],
],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****\\",\\n \\"RequestId\\": \\"BB759F84-2C64-5C36-B6C6-253172C5C370\\",\\n \\"TotalCounts\\": 2,\\n \\"MaxResults\\": 10,\\n \\"IsTruncated\\": false,\\n \\"GroupMembers\\": [\\n {\\n \\"Status\\": \\"Enabled\\",\\n \\"UserName\\": \\"Alice\\",\\n \\"Email\\": \\"AliceLee@example.com\\",\\n \\"Description\\": \\"This is a user.\\",\\n \\"UserId\\": \\"u-00q8wbq42wiltcrk****\\",\\n \\"ProvisionType\\": \\"Manual\\",\\n \\"DisplayName\\": \\"Alice\\",\\n \\"JoinTime\\": \\"2021-11-01T06:58:18Z\\",\\n \\"GroupId\\": \\"g-00jqzghi2n3o5hkh****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n\\tBB759F84-2C64-5C36-B6C6-253172C5C370\\n\\t2\\n\\t10\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tEnabled\\n\\t\\t\\tAlice\\n\\t\\t\\tAliceLee@example.com\\n\\t\\t\\tThis is a user.\\n\\t\\t\\tu-00q8wbq42wiltcrk****\\n\\t\\t\\tManual\\n\\t\\t\\tAlice\\n\\t\\t\\t2021-11-01T06:58:18Z\\n\\t\\t\\tg-00jqzghi2n3o5hkh****\\n\\t\\t\\n\\t\\t\\n\\t\\t\\tEnabled\\n\\t\\t\\tuser1\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t\\tu-00pkfll14gwm1mb9****\\n\\t\\t\\tManual\\n\\t\\t\\t\\n\\t\\t\\t2021-11-01T07:37:14Z\\n\\t\\t\\tg-00jqzghi2n3o5hkh****\\n\\t\\t\\n\\t\\n\\t\\n","errorExample":""}]',
'title' => '查询用户组中的用户列表',
'description' => '本文将提供一个示例,查询用户组`g-00jqzghi2n3o5hkh****`中的用户列表。返回结果显示,该用户组中一共有`Alice`和`user1`两个用户。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListGroupMembers',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
],
],
],
],
],
'ListGroups' => [
'summary' => '调用ListGroups查询用户组列表。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '查询返回结果下一页的令牌。首次调用API不需要`NextToken`。'."\n"
."\n"
.'当您首次调用API时,如果返回数据总条数超过`MaxResults`限制,数据会被截断,只返回`MaxResults`条数据,同时,返回参数`IsTruncated`为`true`,返回一个`NextToken`。您可以使用上一次返回的`NextToken`继续调用API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到`IsTruncated`为`false`,表示全部数据查询完毕。', 'type' => 'string', 'required' => false, 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '每页的最大数据条数。'."\n"
."\n"
.'取值范围:1~100。'."\n"
."\n"
.'默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'Filter',
'in' => 'query',
'schema' => ['description' => '过滤条件。'."\n"
."\n"
.'格式:` `,不区分大小写。目前,``只支持`GroupName`,``只支持`eq`(Equals)和`sw`(Start With)。'."\n"
."\n"
.'示例:Filter = "GroupName sw test",表示查询名称以test开头的全部用户组。Filter = "GroupName eq testgroup",表示查询名称为testgroup的用户组。', 'type' => 'string', 'required' => false, 'example' => 'GroupName eq testgroup'],
],
[
'name' => 'ProvisionType',
'in' => 'query',
'schema' => ['description' => '用户组的类型,用于查询的过滤条件。取值:'."\n"
."\n"
.'- Manual:手动创建。'."\n"
.'- Synchronized:外部同步。', 'type' => 'string', 'required' => false, 'example' => 'Manual'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '查询返回结果下一页的令牌。'."\n"
."\n"
.'> 只有`IsTruncated`为`true`时,才显示该参数。', 'type' => 'string', 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '768F908D-A66A-5A5D-816C-20C93CBBFEE3'],
'Groups' => [
'description' => '用户组列表。',
'type' => 'array',
'items' => [
'description' => '用户组列表。',
'type' => 'object',
'properties' => [
'GroupName' => ['description' => '用户组的名称。', 'type' => 'string', 'example' => 'TestGroup'],
'Description' => ['description' => '用户组的描述。', 'type' => 'string', 'example' => 'This is a group.'],
'CreateTime' => ['description' => '用户组的创建时间。', 'type' => 'string', 'example' => '2021-11-01T02:38:27Z'],
'ProvisionType' => ['description' => '用户组的类型。取值:'."\n"
."\n"
.'- Manual:手动创建。'."\n"
.'- Synchronized:外部同步。', 'type' => 'string', 'example' => 'Manual'],
'UpdateTime' => ['description' => '用户组的修改时间。', 'type' => 'string', 'example' => '2021-11-01T02:38:27Z'],
'GroupId' => ['description' => '用户组的ID。', 'type' => 'string', 'example' => 'g-00jqzghi2n3o5hkh****'],
],
],
],
'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'TotalCounts' => ['description' => '符合请求参数条件的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
'IsTruncated' => ['description' => '返回结果是否被截断。取值:'."\n"
."\n"
.'- true:已截断。'."\n"
.'- false:未截断。', 'type' => 'boolean', 'example' => 'false'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****\\",\\n \\"RequestId\\": \\"768F908D-A66A-5A5D-816C-20C93CBBFEE3\\",\\n \\"Groups\\": [\\n {\\n \\"GroupName\\": \\"TestGroup\\",\\n \\"Description\\": \\"This is a group.\\",\\n \\"CreateTime\\": \\"2021-11-01T02:38:27Z\\",\\n \\"ProvisionType\\": \\"Manual\\",\\n \\"UpdateTime\\": \\"2021-11-01T02:38:27Z\\",\\n \\"GroupId\\": \\"g-00jqzghi2n3o5hkh****\\"\\n }\\n ],\\n \\"MaxResults\\": 10,\\n \\"TotalCounts\\": 3,\\n \\"IsTruncated\\": false\\n}","errorExample":""},{"type":"xml","example":"\\n\\t768F908D-A66A-5A5D-816C-20C93CBBFEE3\\n\\t\\n\\t\\t\\n\\t\\t\\tgroup1\\n\\t\\t\\t\\n\\t\\t\\t2021-06-30T08:52:17Z\\n\\t\\t\\tSynchronized\\n\\t\\t\\t2021-07-09T03:27:23Z\\n\\t\\t\\tg-00dd217ozcicxqz0****\\n\\t\\t\\n\\t\\t\\n\\t\\t\\tgroup2\\n\\t\\t\\t\\n\\t\\t\\t2021-07-09T03:26:48Z\\n\\t\\t\\tSynchronized\\n\\t\\t\\t2021-07-09T03:26:48Z\\n\\t\\t\\tg-00e2fbulf91zlsuu****\\n\\t\\t\\n\\t\\t\\n\\t\\t\\tTestGroup\\n\\t\\t\\tThis is a group.\\n\\t\\t\\t2021-11-01T02:38:27Z\\n\\t\\t\\tManual\\n\\t\\t\\t2021-11-01T02:38:27Z\\n\\t\\t\\tg-00jqzghi2n3o5hkh****\\n\\t\\t\\n\\t\\n\\t10\\n\\t3\\n\\tfalse\\n\\t","errorExample":""}]',
'title' => '查询用户组列表',
'description' => '本文将提供一个示例,查询目录`d-00fc2p61****`下的用户组列表。返回结果显示,该目录下一共存在3个用户组,其中`group1`和`group2`是从外部同步的用户组,`TestGroup`是云SSO内部手动创建的用户组。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/*'],
],
],
],
],
],
'ListJoinedGroupsForUser' => [
'summary' => '查询用户加入的用户组。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'UserId',
'in' => 'query',
'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '查询返回结果下一页的令牌。首次调用API不需要`NextToken`。'."\n"
."\n"
.'当您首次调用API时,如果返回数据总条数超过`MaxResults`限制,数据会被截断,只返回`MaxResults`条数据,同时,返回参数`IsTruncated`为`true`,返回一个`NextToken`。您可以使用上一次返回的`NextToken`继续调用API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到`IsTruncated`为`false`,表示全部数据查询完毕。', 'type' => 'string', 'required' => false, 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '每页的最大数据条数。'."\n"
."\n"
.'取值范围:1~100。'."\n"
."\n"
.'默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '查询返回结果下一页的令牌。'."\n"
."\n"
.'> 只有`IsTruncated`为`true`时,才显示该参数。', 'type' => 'string', 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E9BBB45F-7877-5DE9-96A5-20E6CFA48929'],
'TotalCounts' => ['description' => '符合请求参数条件的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'IsTruncated' => ['description' => '返回结果是否被截断。取值:'."\n"
."\n"
.'- true:已截断。'."\n"
.'- false:未截断。', 'type' => 'boolean', 'example' => 'false'],
'JoinedGroups' => [
'description' => '加入的用户组列表。',
'type' => 'array',
'items' => [
'description' => '加入的用户组列表。',
'type' => 'object',
'properties' => [
'GroupName' => ['description' => '用户组的名称。', 'type' => 'string', 'example' => 'TestGroup'],
'Description' => ['description' => '用户组的描述。', 'type' => 'string', 'example' => 'This is a group.'],
'UserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'u-00q8wbq42wiltcrk****'],
'ProvisionType' => ['description' => '用户组的类型。取值:'."\n"
."\n"
.'- Manual:手动创建。'."\n"
.'- Synchronized:外部同步。', 'type' => 'string', 'example' => 'Manual'],
'JoinTime' => ['description' => '用户加入用户组的时间。', 'type' => 'string', 'example' => '2021-11-01T06:58:18Z'],
'GroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => 'g-00jqzghi2n3o5hkh****'],
],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****\\",\\n \\"RequestId\\": \\"E9BBB45F-7877-5DE9-96A5-20E6CFA48929\\",\\n \\"TotalCounts\\": 2,\\n \\"MaxResults\\": 10,\\n \\"IsTruncated\\": false,\\n \\"JoinedGroups\\": [\\n {\\n \\"GroupName\\": \\"TestGroup\\",\\n \\"Description\\": \\"This is a group.\\",\\n \\"UserId\\": \\"u-00q8wbq42wiltcrk****\\",\\n \\"ProvisionType\\": \\"Manual\\",\\n \\"JoinTime\\": \\"2021-11-01T06:58:18Z\\",\\n \\"GroupId\\": \\"g-00jqzghi2n3o5hkh****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n\\tE9BBB45F-7877-5DE9-96A5-20E6CFA48929\\n\\t2\\n\\t10\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tTestGroup\\n\\t\\t\\tThis is a group.\\n\\t\\t\\tu-00q8wbq42wiltcrk****\\n\\t\\t\\tManual\\n\\t\\t\\t2021-11-01T06:58:18Z\\n\\t\\t\\tg-00jqzghi2n3o5hkh****\\n\\t\\t\\n\\t\\t\\n\\t\\t\\tgroup1\\n\\t\\t\\t\\n\\t\\t\\tu-00q8wbq42wiltcrk****\\n\\t\\t\\tSynchronized\\n\\t\\t\\t2021-11-01T07:16:44Z\\n\\t\\t\\tg-00dd217ozcicxqz0****\\n\\t\\t\\n\\t\\n\\t\\n","errorExample":""}]',
'title' => '查询用户加入的用户组',
'description' => '本文将提供一个示例,查询用户`u-00q8wbq42wiltcrk****`加入的用户组。返回结果显示,该用户加入了`TestGroup`和`group1`两个用户组。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListJoinedGroupsForUser',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
],
],
'ListMFADevicesForUser' => [
'summary' => '调用ListMFADevicesForUser查询用户的MFA设备列表。每个用户最多只能有2个MFA设备。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'UserId',
'in' => 'query',
'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8B9982ED-FD0D-5622-8EA0-7B768685DCE7'],
'TotalCounts' => ['description' => 'MFA设备总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'MFADevices' => [
'description' => 'MFA设备列表。',
'type' => 'array',
'items' => [
'description' => 'MFA设备列表 。',
'type' => 'object',
'properties' => [
'DeviceType' => ['description' => 'MFA设备类型。取值:TOTP,表示基于TOTP的虚拟MFA设备。', 'type' => 'string', 'example' => 'TOTP'],
'EffectiveTime' => ['description' => '生效时间。', 'type' => 'string', 'example' => '2021-10-29T09:14:06Z'],
'DeviceId' => ['description' => 'MFA设备ID。', 'type' => 'string', 'example' => 'mfa-00ujhet8pycljj7j****'],
'UserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'u-00q8wbq42wiltcrk****'],
'DeviceName' => ['description' => 'MFA设备名称。', 'type' => 'string', 'example' => 'Alice-MFA1'],
],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8B9982ED-FD0D-5622-8EA0-7B768685DCE7\\",\\n \\"TotalCounts\\": 1,\\n \\"MFADevices\\": [\\n {\\n \\"DeviceType\\": \\"TOTP\\",\\n \\"EffectiveTime\\": \\"2021-10-29T09:14:06Z\\",\\n \\"DeviceId\\": \\"mfa-00ujhet8pycljj7j****\\",\\n \\"UserId\\": \\"u-00q8wbq42wiltcrk****\\",\\n \\"DeviceName\\": \\"Alice-MFA1\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n\\t8B9982ED-FD0D-5622-8EA0-7B768685DCE7\\n\\t1\\n\\t\\n\\t\\t\\n\\t\\t\\tTOTP\\n\\t\\t\\t2021-10-29T09:14:06Z\\n\\t\\t\\tmfa-00ujhet8pycljj7j****\\n\\t\\t\\tu-00q8wbq42wiltcrk****\\n\\t\\t\\tAlice-MFA1\\n\\t\\t\\n\\t\\n\\t","errorExample":""}]',
'title' => '查询用户的MFA设备列表',
'description' => '本文将提供一个示例,查询用户`u-00q8wbq42wiltcrk****`的MFA设备列表。返回结果显示,该用户配置了一个名为`Alice-MFA1`的MFA设备。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListMFADevicesForUser',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
],
],
'ListPermissionPoliciesInAccessConfiguration' => [
'summary' => '查询访问配置中的权限策略列表。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'AccessConfigurationId',
'in' => 'query',
'schema' => ['description' => '访问配置ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ac-00jhtfl8thteu6uj****'],
],
[
'name' => 'PermissionPolicyType',
'in' => 'query',
'schema' => ['description' => '权限策略类型,用于查询的过滤条件。取值:'."\n"
."\n"
.'- System:系统策略。'."\n"
.'- Inline:内置策略。'."\n"
."\n"
.'如不指定,则查询所有类型的权限策略。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'System'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'PermissionPolicies' => [
'description' => '权限策略列表。',
'type' => 'array',
'items' => [
'description' => '权限策略列表。',
'type' => 'object',
'properties' => [
'PermissionPolicyName' => ['description' => '权限策略名称。', 'type' => 'string', 'example' => 'AliyunECSFullAccess'],
'PermissionPolicyType' => ['description' => '权限策略类型。', 'type' => 'string', 'example' => 'System'],
'PermissionPolicyDocument' => ['description' => '内置策略内容。'."\n"
."\n"
.'> 仅内置策略返回该参数。', 'type' => 'string', 'example' => '{\\"Statement\\": [{\\"Action\\": \\"*\\",\\"Effect\\": \\"Allow\\",\\"Resource\\": \\"*\\"}],\\"Version\\": \\"1\\"}'],
'AddTime' => ['description' => '权限策略被添加到访问配置的时间。', 'type' => 'string', 'example' => '2021-11-03T06:37:25Z'],
],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3A5E771F-1F5A-5555-A64E-579748AAFD98'],
'TotalCounts' => ['description' => '权限策略总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"PermissionPolicies\\": [\\n {\\n \\"PermissionPolicyName\\": \\"AliyunECSFullAccess\\",\\n \\"PermissionPolicyType\\": \\"System\\",\\n \\"PermissionPolicyDocument\\": \\"{\\\\\\\\\\\\\\"Statement\\\\\\\\\\\\\\": [{\\\\\\\\\\\\\\"Action\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"*\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Effect\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"Allow\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Resource\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"*\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"Version\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"}\\",\\n \\"AddTime\\": \\"2021-11-03T06:37:25Z\\"\\n }\\n ],\\n \\"RequestId\\": \\"3A5E771F-1F5A-5555-A64E-579748AAFD98\\",\\n \\"TotalCounts\\": 2\\n}","errorExample":""},{"type":"xml","example":"\\n\\t\\n\\t\\t\\n\\t\\t\\tInlinePolicy\\n\\t\\t\\tInline\\n\\t\\t\\t{\\"Statement\\": [{\\"Action\\": \\"*\\",\\"Effect\\": \\"Allow\\",\\"Resource\\": \\"*\\"}],\\"Version\\": \\"1\\"}\\n\\t\\t\\t2021-11-03T06:49:50Z\\n\\t\\t\\n\\t\\t\\n\\t\\t\\tAliyunECSFullAccess\\n\\t\\t\\tSystem\\n\\t\\t\\t2021-11-03T06:37:25Z\\n\\t\\t\\n\\t\\n\\t3A5E771F-1F5A-5555-A64E-579748AAFD98\\n\\t2\\n","errorExample":""}]',
'title' => '查询访问配置中的权限策略列表',
'description' => '本文将提供一个示例,查询访问配置`ac-00jhtfl8thteu6uj****`中的权限策略列表。返回结果显示,该访问配置中存在一个系统策略和一个内置策略。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListPermissionPoliciesInAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
],
],
'ListSCIMServerCredentials' => [
'summary' => '调用ListSCIMServerCredentials查询SCIM密钥列表。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FE4B7037-C315-5DD5-826E-57A87950BCD1'],
'TotalCounts' => ['description' => '符合请求参数条件的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'SCIMServerCredentials' => [
'description' => 'SCIM密钥列表。',
'type' => 'array',
'items' => [
'description' => 'SCIM密钥列表。',
'type' => 'object',
'properties' => [
'Status' => ['description' => 'SCIM密钥状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'example' => 'Enabled'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-00fc2p61****'],
'CredentialId' => ['description' => 'SCIM密钥ID。', 'type' => 'string', 'example' => 'scimcred-004whl0kvfwcypbi****'],
'CreateTime' => ['description' => 'SCIM密钥的创建时间。', 'type' => 'string', 'example' => '2021-11-09T08:12:52Z'],
'CredentialType' => ['description' => 'SCIM密钥类型。', 'type' => 'string', 'example' => 'BearerToken'],
'ExpireTime' => ['description' => 'SCIM密钥的过期时间。', 'type' => 'string', 'example' => '2022-11-09T08:12:52Z'],
],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE4B7037-C315-5DD5-826E-57A87950BCD1\\",\\n \\"TotalCounts\\": 1,\\n \\"SCIMServerCredentials\\": [\\n {\\n \\"Status\\": \\"Enabled\\",\\n \\"DirectoryId\\": \\"d-00fc2p61****\\",\\n \\"CredentialId\\": \\"scimcred-004whl0kvfwcypbi****\\",\\n \\"CreateTime\\": \\"2021-11-09T08:12:52Z\\",\\n \\"CredentialType\\": \\"BearerToken\\",\\n \\"ExpireTime\\": \\"2022-11-09T08:12:52Z\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n\\tFE4B7037-C315-5DD5-826E-57A87950BCD1\\n\\t1\\n\\t\\n\\t\\t\\n\\t\\t\\tEnabled\\n\\t\\t\\td-00fc2p61****\\n\\t\\t\\tscimcred-004whl0kvfwcypbi****\\n\\t\\t\\t2021-11-09T08:12:52Z\\n\\t\\t\\tBearerToken\\n\\t\\t\\t2022-11-09T08:12:52Z\\n\\t\\t\\n\\t\\n\\t","errorExample":""}]',
'title' => '查询SCIM密钥列表',
'description' => '本文将提供一个示例,查询目录`d-00fc2p61****`下的SCIM密钥列表。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListSCIMServerCredentials',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'SCIMServerCredential', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/scim-credential/*'],
],
],
],
],
],
'ListTasks' => [
'summary' => '调用ListTasks查询异步任务列表。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'AccessConfigurationId',
'in' => 'query',
'schema' => ['description' => '访问配置ID,用于查询的过滤条件。', 'type' => 'string', 'required' => false, 'example' => 'ac-00jhtfl8thteu6uj****'],
],
[
'name' => 'TargetType',
'in' => 'query',
'schema' => ['description' => '任务目标类型,用于查询的过滤条件。'."\n"
."\n"
.'取值:RD-Account,表示任务目标类型为RD账号。'."\n"
."\n"
.'> `TargetId`与`TargetType`必须同时配置才能作为有效的过滤条件进行查询。', 'type' => 'string', 'required' => false, 'example' => 'RD-Account'],
],
[
'name' => 'TargetId',
'in' => 'query',
'schema' => ['description' => '任务目标ID,用于查询的过滤条件。'."\n"
."\n"
.'> `TargetId`与`TargetType`必须同时配置才能作为有效的过滤条件进行查询。', 'type' => 'string', 'required' => false, 'example' => '114240524784****'],
],
[
'name' => 'PrincipalType',
'in' => 'query',
'schema' => ['description' => '云SSO身份类型,用于查询的过滤条件。取值:'."\n"
."\n"
.'- User:用户。'."\n"
.'- Group:用户组。'."\n"
."\n"
.'> `PrincipalId`与`PrincipalType`必须同时配置才能作为有效的过滤条件进行查询。', 'type' => 'string', 'required' => false, 'example' => 'User'],
],
[
'name' => 'PrincipalId',
'in' => 'query',
'schema' => ['description' => '云SSO身份ID,用于查询的过滤条件。具体如下:'."\n"
."\n"
.'- 当`PrincipalType`为`User`时,`PrincipalId`为云SSO用户ID。'."\n"
.'- 当`PrincipalType`为`Group`时,`PrincipalId`为云SSO用户组ID。'."\n"
."\n"
.'> `PrincipalId`与`PrincipalType`必须同时配置才能作为有效的过滤条件进行查询。', 'type' => 'string', 'required' => false, 'example' => 'u-00q8wbq42wiltcrk****'],
],
[
'name' => 'TaskType',
'in' => 'query',
'schema' => ['description' => '任务类型,用于查询的过滤条件。取值:'."\n"
."\n"
.'- ProvisionAccessConfiguration:部署访问配置。'."\n"
.'- DeprovisionAccessConfiguration:解除访问配置部署。'."\n"
.'- CreateAccessAssignment:在RD账号上授权。'."\n"
.'- DeleteAccessAssignment:移除RD账号上的授权。', 'type' => 'string', 'required' => false, 'example' => 'CreateAccessAssignment'],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => ['description' => '任务状态,用于查询的过滤条件。取值:'."\n"
."\n"
.'- InProgress:任务执行中。'."\n"
.'- Success:任务执行成功。'."\n"
.'- Failed:任务执行失败。', 'type' => 'string', 'required' => false, 'example' => 'Success'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '查询返回结果下一页的令牌。首次调用API不需要`NextToken`。'."\n"
."\n"
.'当您首次调用API时,如果返回数据总条数超过`MaxResults`限制,数据会被截断,只返回`MaxResults`条数据,同时,返回参数`IsTruncated`为`true`,返回一个`NextToken`。您可以使用上一次返回的`NextToken`继续调用API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到`IsTruncated`为`false`,表示全部数据查询完毕。', 'type' => 'string', 'required' => false, 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '每页的最大数据条数。'."\n"
."\n"
.'取值范围:1~20。'."\n"
."\n"
.'默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'Filter',
'in' => 'query',
'schema' => ['description' => '过滤条件。'."\n"
."\n"
.'格式: ,不区分大小写。其中,只支持StartTime,只支持ge(Greater Than or Equals),格式为YYYY-MM-DDTHH:mm:SSZ,且只能填写距离当前时间不超过7天的值。'."\n"
."\n"
.'示例:Filter = "StartTime ge 2021-03-15T01:12:23Z",表示查询从2021-03-15T01:12:23 GMT(0时区)时间开始的任务列表。'."\n"
."\n"
.'> 如不指定该参数,则默认返回距离当前时间24小时内的任务列表。', 'type' => 'string', 'required' => false, 'example' => 'StartTime ge 2021-03-15T01:12:23Z'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'Tasks' => [
'description' => '任务列表。',
'type' => 'array',
'items' => [
'description' => '任务列表。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '任务状态。取值:'."\n"
."\n"
.'- InProgress:任务执行中。'."\n"
.'- Success:任务执行成功。'."\n"
.'- Failed:任务执行失败。', 'type' => 'string', 'example' => 'Success'],
'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 't-sh5k4gesm6twlrqb****'],
'EndTime' => ['description' => '任务结束时间。', 'type' => 'string', 'example' => '2021-11-09T05:50:50Z'],
'PrincipalId' => ['description' => '云SSO身份ID。', 'type' => 'string', 'example' => 'u-00q8wbq42wiltcrk****'],
'TargetPath' => ['description' => '任务目标在资源目录中的路径ID。', 'type' => 'string', 'example' => 'rd-3G****/r-Wm****/114240524784****'],
'StartTime' => ['description' => '任务开始时间。', 'type' => 'string', 'example' => '2021-11-09T05:50:50Z'],
'PrincipalName' => ['description' => '云SSO身份名称。', 'type' => 'string', 'example' => 'Alice'],
'TargetName' => ['description' => '任务目标名称。', 'type' => 'string', 'example' => 'dev-test'],
'TargetId' => ['description' => '任务目标ID。', 'type' => 'string', 'example' => '114240524784****'],
'AccessConfigurationName' => ['description' => '访问配置名称。', 'type' => 'string', 'example' => 'ECS-Admin'],
'TargetPathName' => ['description' => '任务目标在资源目录中的路径名称。', 'type' => 'string', 'example' => 'rd-3G****/root/dev-test'],
'TaskType' => ['description' => '任务类型。取值:'."\n"
."\n"
.'- ProvisionAccessConfiguration:部署访问配置。'."\n"
.'- DeprovisionAccessConfiguration:解除访问配置部署。'."\n"
.'- CreateAccessAssignment:在RD账号上授权。'."\n"
.'- DeleteAccessAssignment:移除RD账号上的授权。', 'type' => 'string', 'example' => 'CreateAccessAssignment'],
'FailureReason' => ['description' => '任务失败原因。'."\n"
."\n"
.'> 只有`Status`为`Failed`,才显示该参数。', 'type' => 'string', 'example' => 'No Permission.'],
'TargetType' => ['description' => '任务目标类型。'."\n"
."\n"
.'取值:RD-Account,表示任务目标类型为RD账号。', 'type' => 'string', 'example' => 'RD-Account'],
'AccessConfigurationId' => ['description' => '访问配置ID。', 'type' => 'string', 'example' => 'ac-00jhtfl8thteu6uj****'],
'PrincipalType' => ['description' => '云SSO身份类型。取值:'."\n"
."\n"
.'- User:用户。'."\n"
.'- Group:用户组。', 'type' => 'string', 'example' => 'User'],
],
],
],
'NextToken' => ['description' => '查询返回结果下一页的令牌。'."\n"
."\n"
.'> 只有`IsTruncated`为`true`,才显示该参数。', 'type' => 'string', 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C0DA2DFC-EB18-59EF-BD82-C30862EBA3A3'],
'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'TotalCounts' => ['description' => '符合请求参数条件的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'IsTruncated' => ['description' => '返回结果是否被截断。取值:'."\n"
."\n"
.'- true:已截断。'."\n"
.'- false:未截断。', 'type' => 'boolean', 'example' => 'false'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Tasks\\": [\\n {\\n \\"Status\\": \\"Success\\",\\n \\"TaskId\\": \\"t-sh5k4gesm6twlrqb****\\",\\n \\"EndTime\\": \\"2021-11-09T05:50:50Z\\",\\n \\"PrincipalId\\": \\"u-00q8wbq42wiltcrk****\\",\\n \\"TargetPath\\": \\"rd-3G****/r-Wm****/114240524784****\\",\\n \\"StartTime\\": \\"2021-11-09T05:50:50Z\\",\\n \\"PrincipalName\\": \\"Alice\\",\\n \\"TargetName\\": \\"dev-test\\",\\n \\"TargetId\\": \\"114240524784****\\",\\n \\"AccessConfigurationName\\": \\"ECS-Admin\\",\\n \\"TargetPathName\\": \\"rd-3G****/root/dev-test\\",\\n \\"TaskType\\": \\"CreateAccessAssignment\\",\\n \\"FailureReason\\": \\"No Permission.\\",\\n \\"TargetType\\": \\"RD-Account\\",\\n \\"AccessConfigurationId\\": \\"ac-00jhtfl8thteu6uj****\\",\\n \\"PrincipalType\\": \\"User\\"\\n }\\n ],\\n \\"NextToken\\": \\"K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****\\",\\n \\"RequestId\\": \\"C0DA2DFC-EB18-59EF-BD82-C30862EBA3A3\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCounts\\": 1,\\n \\"IsTruncated\\": false\\n}","errorExample":""},{"type":"xml","example":"\\n\\t\\n\\t\\t\\n\\t\\t\\tSuccess\\n\\t\\t\\tt-sh5k4gesm6twlrqb****\\n\\t\\t\\t2021-11-09T05:50:50Z\\n\\t\\t\\tu-00q8wbq42wiltcrk****\\n\\t\\t\\trd-3G****/r-Wm****/114240524784****\\n\\t\\t\\t2021-11-09T05:50:50Z\\n\\t\\t\\tAlice\\n\\t\\t\\tdev-test\\n\\t\\t\\t114240524784****\\n\\t\\t\\tECS-Admin\\n\\t\\t\\trd-3G****/root/dev-test\\n\\t\\t\\tCreateAccessAssignment\\n\\t\\t\\tRD-Account\\n\\t\\t\\tac-00jhtfl8thteu6uj****\\n\\t\\t\\tUser\\n\\t\\t\\n\\t\\n\\tC0DA2DFC-EB18-59EF-BD82-C30862EBA3A3\\n\\t10\\n\\t1\\n\\tfalse\\n\\t","errorExample":""}]',
'title' => '查询异步任务列表',
'description' => '本API默认查询距离当前时间24小时内的任务列表。最多支持查询7天内的任务列表。您可以通过`Filter`参数设置查询的开始时间。'."\n"
."\n"
.'本文将提供一个示例,查询24小时内的任务列表。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTasks'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListTasks',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'ListUserProvisioningEvents' => [
'summary' => '调用ListUserProvisioningEvents查询执行失败的RAM用户同步事件列表。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'UserProvisioningId',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步的ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'up-002axzhapcbz6e63****'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00xz91nf****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '每页的最大数据条数。'."\n"
."\n"
.'取值范围:1~100。'."\n"
."\n"
.'默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '查询返回结果下一页的令牌。首次调用API不需要`NextToken`。'."\n"
."\n"
.'当您首次调用API时,如果返回数据总条数超过`MaxResults`限制,数据会被截断,只返回`MaxResults`条数据,同时,返回参数`IsTruncated`为`true`,返回一个`NextToken`。您可以使用上一次返回的`NextToken`继续调用API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到`IsTruncated`为`false`,表示全部数据查询完毕。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '查询返回结果下一页的令牌。 '."\n"
."\n"
.'> 只有`IsTruncated`为`true`时,才显示该参数。', 'type' => 'string', 'example' => '2eEMmhmLa1b7Bbj9UzCgZUGj8DpDeG5TbNknuNKNP2h84KjJRnAb7vzzSDkYNmsidnAybyJYBfnPPB6xfgw54B1Wub2KQmC8LofzqBW2Y****'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0D85B43D-EF98-396D-B426-837E428D2D39'],
'TotalCounts' => ['description' => '符合请求参数条件的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '110'],
'MaxResults' => ['description' => '每页的最大数据条数。'."\n"
."\n"
.'取值范围:1~100。'."\n"
."\n"
.'默认值:10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'IsTruncated' => ['description' => '返回结果是否被截断。取值:'."\n"
."\n"
.'- true:已截断。'."\n"
.'- false:未截断。', 'type' => 'boolean', 'example' => 'false'],
'UserProvisioningEvents' => [
'description' => 'RAM用户同步事件列表。',
'type' => 'array',
'items' => [
'description' => 'RAM用户同步事件列表。',
'type' => 'object',
'properties' => [
'UserProvisioningId' => ['description' => 'RAM用户同步的ID。', 'type' => 'string', 'example' => 'up-002axzhapcbz6e63****'],
'PrincipalId' => ['description' => 'RAM用户同步的身份ID。取值:'."\n"
."\n"
.'- 当`PrincipalType`取值为`Group`时,该值为云SSO用户组ID(g-\\*\\*\\*\\*\\*\\*\\*\\*)。'."\n"
.'- 当`PrincipalType`取值为`User`时,该值为云SSO用户ID(u-\\*\\*\\*\\*\\*\\*\\*\\*)。', 'type' => 'string', 'example' => 'g-02ha881d*****'],
'TargetPath' => ['description' => 'RAM用户同步的目标的RD路径。', 'type' => 'string', 'example' => 'rd-******/root/test**'],
'ErrorInfo' => ['description' => 'RAM用户同步事件上次执行失败的错误信息。', 'type' => 'string', 'example' => 'OperationConflict.UserProvisioning.Process.fail.ImsUserExists'],
'SourceType' => ['description' => '源操作类型。取值:'."\n"
.'- StartProvisioning:启用RAM用户同步。'."\n"
.'- DeleteProvisioning:删除RAM用户同步。'."\n"
.'- AddUserToGroup:用户加入用户组。'."\n"
.'- RemoveUserFromGroup:用户从用户组移出。'."\n"
.'- UserProvisioningDeletionClearing:删除RAM用户同步之后,后台进行资源清理。', 'type' => 'string', 'example' => 'StartProvisioning'],
'UpdateTime' => ['description' => '修改时间(UTC时间)。', 'type' => 'string', 'example' => '2022-11-28T03:55:55Z'],
'DuplicationStrategy' => ['description' => '冲突策略。当云SSO用户同步到RAM时,如果RAM中存在同名用户时的处理策略。取值:'."\n"
."\n"
.'- KeepBoth:两者都保留。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则对云SSO用户的用户名添加后缀`_sso`后尝试创建该用户名的RAM用户。'."\n"
.'- TakeOver:替换。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则直接将已经存在的RAM用户替换为云SSO同步用户。', 'type' => 'string', 'example' => 'KeepBoth'],
'DeletionStrategy' => ['description' => '删除策略。删除RAM用户同步时,对已同步的RAM用户的处理策略。取值:'."\n"
."\n"
.'- Delete:删除。删除RAM用户同步时,会删除从云SSO已经同步到RAM中的RAM用户。'."\n"
.'- Keep:保留。删除RAM用户同步时,会保留从云SSO已经同步到RAM中的RAM用户。', 'type' => 'string', 'example' => 'Keep'],
'PrincipalName' => ['description' => 'RAM用户同步的身份名称。取值:'."\n"
."\n"
.'- 当`PrincipalType`取值为`Group`时,该值为云SSO用户组名称。'."\n"
.'- 当`PrincipalType`取值为`User`时,该值为云SSO用户名称。', 'type' => 'string', 'example' => 'exampleGroupName'],
'TargetName' => ['description' => 'RAM用户同步的目标名称。'."\n"
."\n"
.'当`TargetType`为`RD-Account`时,取值为RD 账号名称。', 'type' => 'string', 'example' => 'exampleRdMember'],
'ErrorCount' => ['description' => '执行失败次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TargetId' => ['description' => 'RAM用户同步的目标ID。'."\n"
."\n"
.'当`TargetType`为`RD-Account`时,取值为RD账号ID。', 'type' => 'string', 'example' => '153218*******'],
'CreateTime' => ['description' => '创建时间(UTC时间)。', 'type' => 'string', 'example' => '2022-11-28T03:55:55Z'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-003qew84****'],
'TargetType' => ['description' => 'RAM用户同步的目标类型。目前取值为`RD-Account`。', 'type' => 'string', 'example' => 'RD-Account'],
'EventId' => ['description' => 'RAM用户同步事件ID。', 'type' => 'string', 'example' => 'upe-wjKyNDmZvyZOiRcJ****'],
'PrincipalType' => ['description' => 'RAM用户同步的身份类型。取值:'."\n"
.'- User:表示该RAM用户同步的身份是云SSO用户。'."\n"
.'- Group:表示该RAM用户同步的身份是云SSO用户组。', 'type' => 'string', 'example' => 'Group'],
'LatestAsyncTime' => ['description' => '此事件上次执行的时间(UTC时间)。', 'type' => 'string', 'example' => '2022-11-28T03:55:55Z'],
],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"2eEMmhmLa1b7Bbj9UzCgZUGj8DpDeG5TbNknuNKNP2h84KjJRnAb7vzzSDkYNmsidnAybyJYBfnPPB6xfgw54B1Wub2KQmC8LofzqBW2Y****\\",\\n \\"RequestId\\": \\"0D85B43D-EF98-396D-B426-837E428D2D39\\",\\n \\"TotalCounts\\": 110,\\n \\"MaxResults\\": 10,\\n \\"IsTruncated\\": false,\\n \\"UserProvisioningEvents\\": [\\n {\\n \\"UserProvisioningId\\": \\"up-002axzhapcbz6e63****\\",\\n \\"PrincipalId\\": \\"g-02ha881d*****\\",\\n \\"TargetPath\\": \\"rd-******/root/test**\\",\\n \\"ErrorInfo\\": \\"OperationConflict.UserProvisioning.Process.fail.ImsUserExists\\",\\n \\"SourceType\\": \\"StartProvisioning\\",\\n \\"UpdateTime\\": \\"2022-11-28T03:55:55Z\\",\\n \\"DuplicationStrategy\\": \\"KeepBoth\\",\\n \\"DeletionStrategy\\": \\"Keep\\",\\n \\"PrincipalName\\": \\"exampleGroupName\\",\\n \\"TargetName\\": \\"exampleRdMember\\",\\n \\"ErrorCount\\": 1,\\n \\"TargetId\\": \\"153218*******\\",\\n \\"CreateTime\\": \\"2022-11-28T03:55:55Z\\",\\n \\"DirectoryId\\": \\"d-003qew84****\\",\\n \\"TargetType\\": \\"RD-Account\\",\\n \\"EventId\\": \\"upe-wjKyNDmZvyZOiRcJ****\\",\\n \\"PrincipalType\\": \\"Group\\",\\n \\"LatestAsyncTime\\": \\"2022-11-28T03:55:55Z\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => '查询RAM用户同步事件列表',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListUserProvisioningEvents',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/*'],
],
],
],
],
],
'ListUserProvisionings' => [
'summary' => '调用ListUserProvisionings查询RAM用户同步列表。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-003qew84****'],
],
[
'name' => 'PrincipalId',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步的身份ID。取值:'."\n"
."\n"
.'- 当`PrincipalType`取值为`Group`时,该值为云SSO用户组ID(g-\\*\\*\\*\\*\\*\\*\\*\\*)。'."\n"
.'- 当`PrincipalType`取值为`User`时,该值为云SSO用户ID(u-\\*\\*\\*\\*\\*\\*\\*\\*)。', 'type' => 'string', 'required' => false, 'example' => 'u-88d73u*****'],
],
[
'name' => 'PrincipalType',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步的身份类型。取值:'."\n"
.'- User:表示该RAM用户同步的身份是云SSO用户。'."\n"
.'- Group:表示该RAM用户同步的身份是云SSO用户组。', 'type' => 'string', 'required' => false, 'example' => 'RD-Account'],
],
[
'name' => 'TargetId',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步的目标ID。目前取值为RD账号ID。', 'type' => 'string', 'required' => false, 'example' => '1743382******'],
],
[
'name' => 'TargetType',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步的目标类型。目前取值为`RD-Account`。', 'type' => 'string', 'required' => false, 'example' => 'User'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '每页的最大数据条数。'."\n"
."\n"
.'取值范围:1~100。'."\n"
."\n"
.'默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '查询返回结果下一页的令牌。首次调用API不需要`NextToken`。'."\n"
."\n"
.'当您首次调用API时,如果返回数据总条数超过`MaxResults`限制,数据会被截断,只返回`MaxResults`条数据,同时,返回参数`IsTruncated`为`true`,返回一个`NextToken`。您可以使用上一次返回的`NextToken`继续调用API,其他请求参数保持不变,查询被截断的数据。您可以按此方法多次查询,直到`IsTruncated`为`false`,表示全部数据查询完毕。', 'type' => 'string', 'required' => false, 'example' => '27EbL9j4ZgZjsMZFqbZFgbwQ1VXFU1Khcpx9e2vrW1zwzTBmTGWaM7ixHhRin8SCsxaJdazYVCzeKc2UF2QkyGb83cPhr8ZxrzoaiTd****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回参数。',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '查询返回结果下一页的令牌。 '."\n"
."\n"
.'> 只有`IsTruncated`为`true`时,才显示该参数。', 'type' => 'string', 'example' => '27EbL9j4ZgZjsMZFqbZFgbwQ1VXFU1Khcpx9e2vrW1zwzTBmTGWaM7ixHhRin8SCsxaJdazYVCzeKc2UF2QkyGb83cPhr8ZxrzoaiTd****'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F76AF4FC-****-****-B7CB-74F3********'],
'MaxResults' => ['description' => '每页的最大数据条数。'."\n"
."\n"
.'取值范围:1~100。'."\n"
."\n"
.'默认值:10。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'TotalCounts' => ['description' => '符合请求参数条件的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '110'],
'UserProvisionings' => [
'description' => 'RAM用户同步列表。',
'type' => 'array',
'items' => [
'description' => 'RAM用户同步列表。',
'type' => 'object',
'properties' => [
'Status' => ['description' => 'RAM用户同步的状态。取值:'."\n"
.'- Enabled:RAM用户同步已启用。'."\n"
.'- Disabled:RAM用户同步未启用。', 'type' => 'string', 'example' => 'Enabled'],
'Description' => ['description' => '描述。', 'type' => 'string', 'example' => 'this is a user provisioning.'],
'UserProvisioningId' => ['description' => 'RAM用户同步的ID。', 'type' => 'string', 'example' => 'up-002axzhapcbz6e63****'],
'PrincipalId' => ['description' => 'RAM用户同步的身份ID。取值:'."\n"
."\n"
.'- 当`PrincipalType`取值为`Group`时,该值为云SSO用户组ID(g-\\*\\*\\*\\*\\*\\*\\*\\*)。'."\n"
.'- 当`PrincipalType`取值为`User`时,该值为云SSO用户ID(u-\\*\\*\\*\\*\\*\\*\\*\\*)。', 'type' => 'string', 'example' => 'g-02ha881d*****'],
'TargetPath' => ['description' => 'RAM用户同步的目标的RD路径。', 'type' => 'string', 'example' => 'rd-******/root/test**'],
'UpdateTime' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
'DuplicationStrategy' => ['description' => '冲突策略。当云SSO用户同步到RAM时,如果RAM中存在同名用户时的处理策略。取值:'."\n"
."\n"
.'- KeepBoth:两者都保留。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则对云SSO用户的用户名添加后缀`_sso`后尝试创建该用户名的RAM用户。'."\n"
.'- TakeOver:替换。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则直接将已经存在的RAM用户替换为云SSO同步用户。', 'type' => 'string', 'example' => 'KeepBoth'],
'DeletionStrategy' => ['description' => '删除策略。删除RAM用户同步时,对已同步的RAM用户的处理策略。取值:'."\n"
."\n"
.'- Delete:删除。删除RAM用户同步时,会删除从云SSO已经同步到RAM中的RAM用户。'."\n"
.'- Keep:保留。删除RAM用户同步时,会保留从云SSO已经同步到RAM中的RAM用户。', 'type' => 'string', 'example' => 'Delete'],
'PrincipalName' => ['description' => 'RAM用户同步的身份名称。取值:'."\n"
."\n"
.'- 当`PrincipalType`取值为`Group`时,该值为云SSO用户组名称。'."\n"
.'- 当`PrincipalType`取值为`User`时,该值为云SSO用户名称。', 'type' => 'string', 'example' => 'testGroupName'],
'TargetName' => ['description' => 'RAM用户同步的目标类型。目前取值为`RD-Account`。', 'type' => 'string', 'example' => 'testRdMember'],
'TargetId' => ['description' => 'RAM用户同步的目标ID。目前取值为RD账号ID。', 'type' => 'string', 'example' => '1743382******'],
'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-003qew84****'],
'OwnerPk' => ['description' => '目录所属的主账号ID。', 'type' => 'string', 'example' => '1639738******'],
'TargetType' => ['description' => 'RAM用户同步的目标类型。目前取值为`RD-Account`。', 'type' => 'string', 'example' => 'RD-Account'],
'PrincipalType' => ['description' => 'RAM用户同步的身份类型。取值:'."\n"
.'- User:表示该RAM用户同步的身份是云SSO用户。'."\n"
.'- Group:表示该RAM用户同步的身份是云SSO用户组。', 'type' => 'string', 'example' => 'Group'],
],
],
],
'IsTruncated' => ['description' => '返回结果是否被截断。取值:'."\n"
."\n"
.'- true:已截断。'."\n"
.'- false:未截断。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"27EbL9j4ZgZjsMZFqbZFgbwQ1VXFU1Khcpx9e2vrW1zwzTBmTGWaM7ixHhRin8SCsxaJdazYVCzeKc2UF2QkyGb83cPhr8ZxrzoaiTd****\\",\\n \\"RequestId\\": \\"F76AF4FC-****-****-B7CB-74F3********\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCounts\\": 110,\\n \\"UserProvisionings\\": [\\n {\\n \\"Status\\": \\"Enabled\\",\\n \\"Description\\": \\"this is a user provisioning.\\",\\n \\"UserProvisioningId\\": \\"up-002axzhapcbz6e63****\\",\\n \\"PrincipalId\\": \\"g-02ha881d*****\\",\\n \\"TargetPath\\": \\"rd-******/root/test**\\",\\n \\"UpdateTime\\": \\"2022-11-28T03:55:42Z\\",\\n \\"DuplicationStrategy\\": \\"KeepBoth\\",\\n \\"DeletionStrategy\\": \\"Delete\\",\\n \\"PrincipalName\\": \\"testGroupName\\",\\n \\"TargetName\\": \\"testRdMember\\",\\n \\"TargetId\\": \\"1743382******\\",\\n \\"CreateTime\\": \\"2022-11-28T03:55:42Z\\",\\n \\"DirectoryId\\": \\"d-003qew84****\\",\\n \\"OwnerPk\\": \\"1639738******\\",\\n \\"TargetType\\": \\"RD-Account\\",\\n \\"PrincipalType\\": \\"Group\\"\\n }\\n ],\\n \\"IsTruncated\\": true\\n}","type":"json"}]',
'title' => '查询RAM用户同步列表',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListUserProvisionings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListUsers' => [
'summary' => '调用ListUsers查询用户列表。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => ['description' => '用户状态,用于查询的过滤条件。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'required' => false, 'example' => 'Enabled'],
],
[
'name' => 'ProvisionType',
'in' => 'query',
'schema' => ['description' => '用户类型,用于查询的过滤条件。取值:'."\n"
."\n"
.'- Manual:手动创建。'."\n"
.'- Synchronized:外部同步。', 'type' => 'string', 'required' => false, 'example' => 'Manual'],
],
[
'name' => 'Filter',
'in' => 'query',
'schema' => ['description' => '过滤条件。'."\n"
."\n"
.'格式:` `,不区分大小写。目前``只支持`UserName`,`Operator`只支持`eq`(Equals)和`sw`(Start With)。'."\n"
."\n"
.'示例:Filter = "UserName sw test",表示查询用户名称以test开头的全部用户。Filter = "UserName eq testuser",表示查询用户名称为`testuser`的用户。', 'type' => 'string', 'required' => false, 'example' => 'UserName sw test'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '每页的最大数据条数。'."\n"
."\n"
.'取值范围:1~100。'."\n"
."\n"
.'默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '查询返回结果下一页的令牌。首次调用API不需要`NextToken`。'."\n"
."\n"
.'当您首次调用API时,如果返回数据总条数超过`MaxResults`限制,数据会被截断,只返回`MaxResults`条数据,同时,返回参数`IsTruncated`为`true`,返回一个`NextToken`。您可以使用上一次返回的`NextToken`继续调用API,其他请求参数保持不变,查询被截断的数据。您可以按此方法经过多次查询,直到`IsTruncated`为`false`时,表示全部数据查询完毕。', 'type' => 'string', 'required' => false, 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Key' => ['type' => 'string', 'required' => false],
'Value' => ['type' => 'string', 'required' => false],
],
'required' => false,
],
'required' => false,
'maxItems' => 21,
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '查询返回结果下一页的令牌。 '."\n"
."\n"
.'> 只有`IsTruncated`为`true`时,才显示该参数。', 'type' => 'string', 'example' => 'K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '734D9AAC-9A8E-5DF6-A633-ADE70FF2A9B1'],
'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'TotalCounts' => ['description' => '符合请求参数条件的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'IsTruncated' => ['description' => '返回结果是否被截断。取值:'."\n"
."\n"
.'- true:已截断。'."\n"
.'- false:未截断。', 'type' => 'boolean', 'example' => 'false'],
'Users' => [
'description' => '用户列表。',
'type' => 'array',
'items' => [
'description' => '用户列表。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '用户的状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'example' => 'Enabled'],
'UserName' => ['description' => '用户名称。', 'type' => 'string', 'example' => 'AliceLee@example.onmicrosoft.com'],
'Email' => ['description' => '用户的电子邮箱。', 'type' => 'string', 'example' => 'AliceLee@example.onmicrosoft.com'],
'Description' => ['description' => '用户的描述。', 'type' => 'string', 'example' => 'This is a user.'],
'UserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'u-00bikzkuzbb58luh****'],
'FirstName' => ['description' => '用户的名。', 'type' => 'string', 'example' => 'Alice'],
'CreateTime' => ['description' => '用户的创建时间(UTC时间)。', 'type' => 'string', 'example' => '2021-06-30T09:20:08Z'],
'ProvisionType' => ['description' => '用户的类型。取值:'."\n"
."\n"
.'- Manual:手动创建。'."\n"
.'- Synchronized:外部同步。', 'type' => 'string', 'example' => 'Synchronized'],
'DisplayName' => ['description' => '用户的显示名称。', 'type' => 'string', 'example' => 'AliceLee'],
'UpdateTime' => ['description' => '用户的修改时间(UTC时间)。', 'type' => 'string', 'example' => '2021-06-30T09:20:08Z'],
'LastName' => ['description' => '用户的姓。', 'type' => 'string', 'example' => 'Lee'],
'ExternalId' => [
'description' => '外部身份提供商的用户标识符信息。',
'type' => 'object',
'properties' => [
'Id' => ['description' => '外部身份提供商的用户标识符。', 'type' => 'string', 'example' => 'c73******a5fdd5'."\n"],
'Issuer' => ['description' => '外部身份同步渠道,当前仅支持SCIM同步。', 'type' => 'string', 'example' => 'SCIM'],
],
],
'Tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Key' => ['type' => 'string'],
'Value' => ['type' => 'string'],
],
],
],
],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****\\",\\n \\"RequestId\\": \\"734D9AAC-9A8E-5DF6-A633-ADE70FF2A9B1\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCounts\\": 2,\\n \\"IsTruncated\\": false,\\n \\"Users\\": [\\n {\\n \\"Status\\": \\"Enabled\\",\\n \\"UserName\\": \\"AliceLee@example.onmicrosoft.com\\",\\n \\"Email\\": \\"AliceLee@example.onmicrosoft.com\\",\\n \\"Description\\": \\"This is a user.\\",\\n \\"UserId\\": \\"u-00bikzkuzbb58luh****\\",\\n \\"FirstName\\": \\"Alice\\",\\n \\"CreateTime\\": \\"2021-06-30T09:20:08Z\\",\\n \\"ProvisionType\\": \\"Synchronized\\",\\n \\"DisplayName\\": \\"AliceLee\\",\\n \\"UpdateTime\\": \\"2021-06-30T09:20:08Z\\",\\n \\"LastName\\": \\"Lee\\",\\n \\"ExternalId\\": {\\n \\"Id\\": \\"c73******a5fdd5\\\\n\\",\\n \\"Issuer\\": \\"SCIM\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n\\t734D9AAC-9A8E-5DF6-A633-ADE70FF2A9B1\\n\\t10\\n\\t2\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tEnabled\\n\\t\\t\\tAliceLee@example.onmicrosoft.com\\n\\t\\t\\tAliceLee@example.onmicrosoft.com\\n\\t\\t\\tThis is a user.\\n\\t\\t\\tu-00bikzkuzbb58luh****\\n\\t\\t\\tAlice\\n\\t\\t\\t2021-06-30T09:20:08Z\\n\\t\\t\\tSynchronized\\n\\t\\t\\tAliceLee\\n\\t\\t\\t2021-06-30T09:20:08Z\\n\\t\\t\\tLee\\n\\t\\t\\n\\t\\t\\n\\t\\t\\tEnabled\\n\\t\\t\\tuser1\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t\\tu-00pkfll14gwm1mb9****\\n\\t\\t\\t\\n\\t\\t\\t2021-07-12T03:11:38Z\\n\\t\\t\\tManual\\n\\t\\t\\t\\n\\t\\t\\t2021-07-12T03:11:38Z\\n\\t\\t\\t\\n\\t\\t\\n\\t\\n\\t\\n","errorExample":""}]',
'title' => '查询用户列表',
'changeSet' => [
['createdAt' => '2025-04-21T12:32:56.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-04-21T12:31:59.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-04-21T12:31:45.000Z', 'description' => 'OpenAPI 下线'],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListUsers',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/*'],
],
],
],
],
],
'ProvisionAccessConfiguration' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'AccessConfigurationId',
'in' => 'query',
'schema' => ['description' => '访问配置ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ac-00jhtfl8thteu6uj****'],
],
[
'name' => 'TargetType',
'in' => 'query',
'schema' => ['description' => '任务目标类型。取值:RD-Account,表示任务目标类型为RD账号。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'RD-Account'],
],
[
'name' => 'TargetId',
'in' => 'query',
'schema' => ['description' => '任务目标ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '114240524784****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'Tasks' => [
'description' => '任务信息。',
'type' => 'array',
'items' => [
'description' => '任务信息。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '任务状态。取值:'."\n"
."\n"
.'- InProgress:任务执行中。'."\n"
.'- Success:任务执行成功。'."\n"
.'- Failed:任务执行失败。', 'type' => 'string', 'example' => 'InProgress'],
'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 't-shqlhd8uvt280rtm****'],
'TargetPath' => ['description' => '任务目标在资源目录中的路径ID。', 'type' => 'string', 'example' => 'rd-3G****/r-Wm****/114240524784****'],
'TargetName' => ['description' => '任务目标名称。', 'type' => 'string', 'example' => 'dev-test'],
'TargetId' => ['description' => '部署目标ID。', 'type' => 'string', 'example' => '114240524784****'],
'AccessConfigurationName' => ['description' => '访问配置名称。', 'type' => 'string', 'example' => 'ECS-Admin'],
'TargetPathName' => ['description' => '任务目标在资源目录中的路径名称。', 'type' => 'string', 'example' => 'rd-3G****/root/dev-test'],
'TaskType' => ['description' => '任务类型。取值:ProvisionAccessConfiguration,表示部署访问配置任务。', 'type' => 'string', 'example' => 'ProvisionAccessConfiguration'],
'TargetType' => ['description' => '任务目标类型。取值:RD-Account,表示任务目标类型为RD账号。', 'type' => 'string', 'example' => 'RD-Account'],
'AccessConfigurationId' => ['description' => '访问配置ID。', 'type' => 'string', 'example' => 'ac-00jhtfl8thteu6uj****'],
],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DFDC16B2-4509-5FA6-9FA5-3CD35E4292FB'],
],
],
],
],
'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'cloudsso::2021-05-15::GetTask', 'callbackInterval' => 10000, 'maxCallbackTimes' => 5],
'title' => '将访问配置部署到RD账号上',
'summary' => '调用ProvisionAccessConfiguration将访问配置部署到RD账号上。',
'description' => '该API的操作为异步操作。您可以使用返回参数中的`TaskId`,调用[GetTask](~~340670~~)查询任务执行状态。'."\n"
."\n"
.'本文将提供一个示例,将访问配置`ac-00jhtfl8thteu6uj****`部署到RD账号`114240524784****`上。',
'changeSet' => [
['createdAt' => '2021-11-19T09:05:42.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ProvisionAccessConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:ProvisionAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Tasks\\": [\\n {\\n \\"Status\\": \\"InProgress\\",\\n \\"TaskId\\": \\"t-shqlhd8uvt280rtm****\\",\\n \\"TargetPath\\": \\"rd-3G****/r-Wm****/114240524784****\\",\\n \\"TargetName\\": \\"dev-test\\",\\n \\"TargetId\\": \\"114240524784****\\",\\n \\"AccessConfigurationName\\": \\"ECS-Admin\\",\\n \\"TargetPathName\\": \\"rd-3G****/root/dev-test\\",\\n \\"TaskType\\": \\"ProvisionAccessConfiguration\\",\\n \\"TargetType\\": \\"RD-Account\\",\\n \\"AccessConfigurationId\\": \\"ac-00jhtfl8thteu6uj****\\"\\n }\\n ],\\n \\"RequestId\\": \\"DFDC16B2-4509-5FA6-9FA5-3CD35E4292FB\\"\\n}","errorExample":""},{"type":"xml","example":"\\n\\t\\n\\t\\t\\n\\t\\t\\tInProgress\\n\\t\\t\\tECS-Admin\\n\\t\\t\\tt-shqlhd8uvt280rtm****\\n\\t\\t\\trd-3G****/root/dev-test\\n\\t\\t\\trd-3G****/r-Wm****/114240524784****\\n\\t\\t\\tProvisionAccessConfiguration\\n\\t\\t\\tRD-Account\\n\\t\\t\\tdev-test\\n\\t\\t\\tac-00jhtfl8thteu6uj****\\n\\t\\t\\t114240524784****\\n\\t\\t\\n\\t\\n\\tDFDC16B2-4509-5FA6-9FA5-3CD35E4292FB\\n\\t","errorExample":""}]',
],
'RemoveExternalSAMLIdPCertificate' => [
'summary' => '调用RemoveExternalSAMLIdPCertificate移除SAML签名证书。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'CertificateId',
'in' => 'query',
'schema' => ['description' => '证书ID。'."\n"
."\n"
.'您可以通过[ListExternalSAMLIdPCertificates](~~341629~~)获取证书ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'idp-c-00dt9gnl7fmjaw9c****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '400979BC-92EC-58B9-B47C-6913BD56A6FD'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"400979BC-92EC-58B9-B47C-6913BD56A6FD\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 400979BC-92EC-58B9-B47C-6913BD56A6FD\\n","errorExample":""}]',
'title' => '移除SAML签名证书',
'description' => '本文将提供一个示例,移除ID为`idp-c-00dt9gnl7fmjaw9c****`的SAML签名证书。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:RemoveExternalSAMLIdPCertificate',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'RemovePermissionPolicyFromAccessConfiguration' => [
'summary' => '为访问配置移除权限策略。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'AccessConfigurationId',
'in' => 'query',
'schema' => ['description' => '访问配置ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ac-00jhtfl8thteu6uj****'],
],
[
'name' => 'PermissionPolicyType',
'in' => 'query',
'schema' => ['description' => '权限策略类型。取值:'."\n"
."\n"
.'- System:系统策略。'."\n"
.'- Inline:内置策略。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'System'],
],
[
'name' => 'PermissionPolicyName',
'in' => 'query',
'schema' => ['description' => '权限策略名称。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'AliyunECSFullAccess'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9B13E4EE-3853-5852-9165-597C32AD8FB7'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '为访问配置移除权限策略',
'description' => '内置策略移除后不可恢复。'."\n"
."\n"
.'本文将提供一个示例,为访问配置`ac-00jhtfl8thteu6uj****`移除一条系统策略`AliyunECSFullAccess`。',
'changeSet' => [
['createdAt' => '2021-11-26T08:09:18.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2021-11-24T12:49:03.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2021-06-21T02:08:39.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemovePermissionPolicyFromAccessConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:RemovePermissionPolicyFromAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9B13E4EE-3853-5852-9165-597C32AD8FB7\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 9B13E4EE-3853-5852-9165-597C32AD8FB7\\n","errorExample":""}]',
],
'RemoveUserFromGroup' => [
'summary' => '从用户组中移除用户。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'GroupId',
'in' => 'query',
'schema' => ['description' => '用户组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'g-00jqzghi2n3o5hkh****'],
],
[
'name' => 'UserId',
'in' => 'query',
'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F723DE01-6276-5DC4-9B1F-9CBE3E1748B2'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '从用户组中移除用户',
'description' => '当启用SCIM同步后,不能从SCIM同步的用户组中移除用户。'."\n"
."\n"
.'本文将提供一个示例,从用户组`g-00jqzghi2n3o5hkh****`中移除用户`u-00q8wbq42wiltcrk****`。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveUserFromGroup'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:RemoveUserFromGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F723DE01-6276-5DC4-9B1F-9CBE3E1748B2\\"\\n}","errorExample":""},{"type":"xml","example":"\\n F723DE01-6276-5DC4-9B1F-9CBE3E1748B2\\n","errorExample":""}]',
],
'ResetUserPassword' => [
'summary' => '调用ResetUserPassword重置用户密码。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'UserId',
'in' => 'query',
'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
[
'name' => 'Password',
'in' => 'query',
'schema' => ['description' => '新密码。'."\n"
."\n"
.'格式:必须包含大写英文字母、小写英文字母、数字、特殊符号每种至少各一个。'."\n"
."\n"
.'长度:8~32个字符。'."\n"
."\n"
.'> 当`GenerateRandomPassword`为`False`时,您需要设置`Password`。', 'type' => 'string', 'required' => false, 'example' => 'uc)XK$?ictf72CKFDy9vtWaFmISl****'],
],
[
'name' => 'GenerateRandomPassword',
'in' => 'query',
'schema' => ['description' => '是否自动生成密码。取值:'."\n"
."\n"
.'- True:自动生成密码。'."\n"
.'- False(默认值):手动设置密码。', 'type' => 'boolean', 'required' => false, 'example' => 'True'],
],
[
'name' => 'RequirePasswordResetForNextLogin',
'in' => 'query',
'schema' => ['description' => '用户下次登录时是否需要重置密码。取值:'."\n"
."\n"
.'- True:需要重置。'."\n"
.'- False(默认值):不需要重置。', 'type' => 'boolean', 'required' => false, 'example' => 'False'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'NewPassword' => ['description' => '新密码。'."\n"
."\n"
.'> 该参数仅在系统自动生成密码时显示。', 'type' => 'string', 'example' => 'W2koInFIm0Wy2wVZ$oB)MzD$nY!G****'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F44F02EC-70D1-5E51-8E8E-FA9AC4EF952A'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '重置用户密码',
'description' => '当用户忘记密码、用户密码已过期或用户密码存在安全风险时,云SSO管理员可以为用户重置密码。'."\n"
."\n"
.'> 启用单点登录后,不允许重置用户密码。'."\n"
."\n"
.'本文将提供一个示例,通过系统自动生成密码的方式重置用户`u-00q8wbq42wiltcrk****`的密码。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetUserPassword'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:ResetUserPassword',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"NewPassword\\": \\"W2koInFIm0Wy2wVZ$oB)MzD$nY!G****\\",\\n \\"RequestId\\": \\"F44F02EC-70D1-5E51-8E8E-FA9AC4EF952A\\"\\n}","errorExample":""},{"type":"xml","example":"\\n W2koInFIm0Wy2wVZ$oB)MzD$nY!G****\\n F07A9FF3-B22F-5ACF-8825-89483B96F2FD\\n","errorExample":""}]',
],
'RetryUserProvisioningEvent' => [
'summary' => '调用RetryUserProvisioningEvent重试执行失败的RAM用户同步事件。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'EventId',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步事件ID。'."\n"
."\n"
.'您可以调用[ListUserProvisioningEvents](~~2636305~~)获取`EventId`。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'upe-wjKyNDmZvyZOiRcJ****'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-003qew84****'],
],
[
'name' => 'DuplicationStrategy',
'in' => 'query',
'schema' => ['description' => '冲突策略。当云SSO用户同步到RAM时,如果RAM中存在同名用户时的处理策略。取值:'."\n"
."\n"
.'- KeepBoth:两者都保留。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则对云SSO用户的用户名添加后缀`_sso`后尝试创建该用户名的RAM用户。'."\n"
.'- TakeOver:替换。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则直接将已经存在的RAM用户替换为云SSO同步用户。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'KeepBoth'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F6F90F3D-4502-5877-B80B-97476F6AE2CC'],
],
],
],
],
'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'cloudsso::2021-05-15::GetUserProvisioningEvent', 'callbackInterval' => 10000, 'maxCallbackTimes' => 5],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F6F90F3D-4502-5877-B80B-97476F6AE2CC\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 69A4AB33-****-****-****-29AA0B56****\\n","errorExample":""}]',
'title' => '重试RAM用户同步事件',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:RetryUserProvisioningEvent',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/*'],
],
],
],
],
],
'SetExternalSAMLIdentityProvider' => [
'summary' => '调用SetExternalSAMLIdentityProvider配置SAML身份提供商(IdP)信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'EncodedMetadataDocument',
'in' => 'query',
'schema' => ['description' => 'IdP元数据文档(Base64编码)。'."\n"
."\n"
.'由支持SAML 2.0协议的IdP提供。', 'type' => 'string', 'required' => false, 'example' => 'PD94bWwgdmVyc2lvbj0iMS4****'],
],
[
'name' => 'SSOStatus',
'in' => 'query',
'schema' => ['description' => 'SSO登录的启用状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled(默认值):禁用。', 'type' => 'string', 'required' => false, 'example' => 'Disabled'],
],
[
'name' => 'EntityId',
'in' => 'query',
'schema' => ['description' => 'IdP标识。', 'type' => 'string', 'required' => false, 'example' => 'http://www.okta.com/exk3qwgtjhetR2Od****'],
],
[
'name' => 'LoginUrl',
'in' => 'query',
'schema' => ['description' => 'IdP的登录地址。', 'type' => 'string', 'required' => false, 'example' => 'https://dev-xxxxxx.okta.com/app/dev-xxxxxx_cloudssodemo_1/exk3qwgtjhetR2Od****/sso/saml'],
],
[
'name' => 'WantRequestSigned',
'in' => 'query',
'schema' => ['description' => '在用户访问云SSO登录页面发起SAML SSO时,是否要求云SSO发送签名的SAML请求。取值:'."\n"
."\n"
.'- true:要求云SSO发送签名的SAML请求。'."\n"
.'- false(默认值):不要求云SSO发送签名的SAML请求。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'X509Certificate',
'in' => 'query',
'schema' => ['description' => 'PEM格式的X509证书。指定该参数会替换所有已经存在的证书。', 'type' => 'string', 'required' => false, 'example' => 'MIIC8DCCAdigAwIBAgIQP9eomUYGeoND****'],
],
[
'name' => 'BindingType',
'in' => 'query',
'schema' => ['description' => '发起SAML请求的Binding方式。取值:'."\n"
.'- Post:以Post的方式发起SAML请求。'."\n"
.'- Redirect:以Redirect的方式发起SAML请求。', 'type' => 'string', 'required' => false, 'example' => 'Redirect'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '63160579-2E1B-57B0-8273-B27427172385'],
'SAMLIdentityProviderConfiguration' => [
'description' => 'IdP配置信息。',
'type' => 'object',
'properties' => [
'EntityId' => ['description' => 'IdP标识。', 'type' => 'string', 'example' => 'http://www.okta.com/exk3qwgtjhetR2Od****'],
'SSOStatus' => ['description' => 'SSO登录的启用状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'example' => 'Disabled'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-00fc2p61****'],
'EncodedMetadataDocument' => ['description' => 'IdP元数据文档(Base64编码)。', 'type' => 'string', 'example' => 'PD94bWwgdmVyc2lvbj0iMS4****'],
'CreateTime' => ['description' => '首次配置IdP的时间。', 'type' => 'string', 'example' => '2021-11-10T02:57:16Z'],
'WantRequestSigned' => ['description' => '在用户访问云SSO登录页面发起SAML SSO时,是否要求云SSO发送签名的SAML请求。取值:'."\n"
."\n"
.'- true:要求云SSO发送签名的SAML请求。'."\n"
.'- false(默认值):不要求云SSO发送签名的SAML请求。', 'type' => 'boolean', 'example' => 'false'],
'UpdateTime' => ['description' => '最近一次修改IdP配置的时间。', 'type' => 'string', 'example' => '2021-11-10T02:57:16Z'],
'CertificateIds' => [
'description' => 'SAML签名证书ID。',
'type' => 'array',
'items' => ['description' => 'SAML签名证书ID。'."\n"
."\n"
.'多个ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => '[ "idp-c-00buzdx63z8ewtdf****", "idp-c-00gmuxnr2mrek3t2****" ]'],
],
'LoginUrl' => ['description' => 'IdP的登录地址。', 'type' => 'string', 'example' => 'https://dev-xxxxxx.okta.com/app/dev-xxxxxx_cloudssodemo_1/exk3qwgtjhetR2Od****/sso/saml'],
'BindingType' => ['description' => '发起SAML请求的Binding方式。取值:'."\n"
.'- Post:以Post的方式发起SAML请求。'."\n"
.'- Redirect:以Redirect的方式发起SAML请求。', 'type' => 'string', 'example' => 'Redirect'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"63160579-2E1B-57B0-8273-B27427172385\\",\\n \\"SAMLIdentityProviderConfiguration\\": {\\n \\"EntityId\\": \\"http://www.okta.com/exk3qwgtjhetR2Od****\\",\\n \\"SSOStatus\\": \\"Disabled\\",\\n \\"DirectoryId\\": \\"d-00fc2p61****\\",\\n \\"EncodedMetadataDocument\\": \\"PD94bWwgdmVyc2lvbj0iMS4****\\",\\n \\"CreateTime\\": \\"2021-11-10T02:57:16Z\\",\\n \\"WantRequestSigned\\": false,\\n \\"UpdateTime\\": \\"2021-11-10T02:57:16Z\\",\\n \\"CertificateIds\\": [\\n \\"[ \\\\\\"idp-c-00buzdx63z8ewtdf****\\\\\\", \\\\\\"idp-c-00gmuxnr2mrek3t2****\\\\\\" ]\\"\\n ],\\n \\"LoginUrl\\": \\"https://dev-xxxxxx.okta.com/app/dev-xxxxxx_cloudssodemo_1/exk3qwgtjhetR2Od****/sso/saml\\",\\n \\"BindingType\\": \\"Redirect\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 63160579-2E1B-57B0-8273-B27427172385\\n \\n http://www.okta.com/exk3qwgtjhetR2Od****\\n Disabled\\n d-00fc2p61****\\n PD94bWwgdmVyc2lvbj0iMS4****\\n 2021-11-10T02:57:16Z\\n false\\n 2021-11-10T02:57:16Z\\n idp-c-00buzdx63z8ewtdf****\\n idp-c-00gmuxnr2mrek3t2****\\n https://dev-xxxxxx.okta.com/app/dev-xxxxxx_cloudssodemo_1/exk3qwgtjhetR2Od****/sso/saml\\n \\n","errorExample":""}]',
'title' => '配置SAML身份提供商信息',
'description' => '在基于SAML 2.0的SSO登录过程中,云SSO目录是服务提供商(SP),而企业自有的身份管理系统则是身份提供商(IdP)。'."\n"
."\n"
.'配置SAML身份提供商(IdP)信息有以下两种方式,您可以任选其一进行配置,但不能同时进行配置。需要用到的元数据文档或相关参数,请从您的IdP中获取。'."\n"
."\n"
.'- 元数据文档:通过`EncodedMetadataDocument`参数配置元数据文档。'."\n"
.'- 手动配置:通过`EntityId`、`LoginUrl`、`WantRequestSigned`和`X509Certificate`参数手动配置IdP信息。'."\n"
."\n"
.'如果已经配置过SAML IdP信息,则调用本API会替换已有的配置信息。具体如下:'."\n"
."\n"
.'- 元数据文档:全部替换为新的配置信息。'."\n"
.'- 手动配置:只替换提供的新参数值。'."\n"
."\n"
.'> 如果SSO登录状态是已启用,替换后的配置信息会立即生效,请注意对生产环境的影响。'."\n"
."\n"
.'本文将提供一个示例,在目录`d-00fc2p61****`下通过元数据文档配置IdP信息。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:SetExternalSAMLIdentityProvider',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'SetLoginPreference' => [
'summary' => '调用SetLoginPreference设置云SSO用户的登录偏好。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'LoginNetworkMasks',
'in' => 'query',
'schema' => ['description' => 'IP地址白名单,用于限制云SSO用户只能通过白名单中的IP地址登录云SSO用户门户。约束如下:'."\n"
."\n"
.'- 可以输入IP地址或IP地址段,支持IPv4地址。'."\n"
.'- 最多允许输入100个IP地址或IP地址段,多值以`;`分隔。'."\n"
.'- 传入空值时,表示不修改原配置值。'."\n"
.'- 传入`;`时,表示清空原配置值。'."\n"
.'- 只能对云SSO用户通过用户名密码或单点登录方式登录到云SSO用户门户生效,从云SSO用户门户登录到RD账号不生效。', 'type' => 'string', 'required' => false, 'example' => '192.168.0.0/16;10.0.0.0/8'],
],
[
'name' => 'AllowUserToGetCredentials',
'in' => 'query',
'schema' => ['description' => '设置用户登录后能否在门户获取程序访问凭证。取值:'."\n"
."\n"
.'- True:是。'."\n"
.'- False(默认值):否。', 'type' => 'boolean', 'required' => false, 'example' => 'True'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9B13E4EE-3853-5852-9165-597C32AD8FB7'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9B13E4EE-3853-5852-9165-597C32AD8FB7\\"\\n}","type":"json"}]',
'title' => '设置登录偏好',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:SetLoginPreference',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'SetMFAAuthenticationStatus' => [
'summary' => '调用SetMFAAuthenticationStatus为目录中的用户启用或禁用多因素认证(MFA)。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'MFAAuthenticationStatus',
'in' => 'query',
'schema' => ['description' => 'MFA启用状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'required' => false, 'example' => 'Enabled'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '14E2B1A9-7713-5E6F-8409-8DE12DF51AF4'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"14E2B1A9-7713-5E6F-8409-8DE12DF51AF4\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 14E2B1A9-7713-5E6F-8409-8DE12DF51AF4\\n","errorExample":""}]',
'title' => '为目录中的用户启用或禁用MFA',
'description' => '当云SSO管理员为用户启用控制台的用户名密码登录时,为了提高安全性,云SSO默认会启用MFA。云SSO管理员也可以根据需要,调用该API禁用或再次启用MFA。'."\n"
."\n"
.'本文将提供一个示例,为用户启用MFA。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:SetMFAAuthenticationStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'SetPasswordPolicy' => [
'summary' => '调用SetPasswordPolicy设置云SSO用户的密码策略。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'MinPasswordLength',
'in' => 'query',
'schema' => ['description' => '最小密码长度。'."\n"
."\n"
.'取值范围:8~32。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8'],
],
[
'name' => 'MinPasswordDifferentChars',
'in' => 'query',
'schema' => ['description' => '密码中最少包含的不同字符数量。'."\n"
."\n"
.'最小值为0,表示不限制密码中的不同字符数量。最大值为`MinPasswordLength`设置的值。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8'],
],
[
'name' => 'PasswordNotContainUsername',
'in' => 'query',
'schema' => ['description' => '密码中是否不允许包含用户名。取值:'."\n"
."\n"
.'- true:密码中不允许包含用户名。'."\n"
.'- false:密码中允许包含用户名。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'MaxPasswordAge',
'in' => 'query',
'schema' => ['description' => '密码有效期。'."\n"
."\n"
.'取值范围:1~120。单位:天。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '90'],
],
[
'name' => 'PasswordReusePrevention',
'in' => 'query',
'schema' => ['description' => '历史密码检查策略。'."\n"
."\n"
.'禁止使用前N次的历史密码,N的取值范围:0~24,0表示不启用历史密码检查策略。'."\n"
.'> 2024年1月5日之前修改的密码不计入历史密码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'MaxLoginAttempts',
'in' => 'query',
'schema' => ['description' => '密码重试次数。'."\n"
."\n"
.'连续输入错误密码达到设定次数后,账号将被锁定一小时。'."\n"
."\n"
.'取值范围:0~32,0表示不限制密码重试次数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '768F908D-A66A-5A5D-816C-20C93CBBFEE3'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"768F908D-A66A-5A5D-816C-20C93CBBFEE3\\"\\n}","type":"json"}]',
'title' => '设置密码策略',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:SetPasswordPolicy',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'SetSCIMSynchronizationStatus' => [
'summary' => '调用SetSCIMSynchronizationStatus启用或禁用SCIM同步。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'SCIMSynchronizationStatus',
'in' => 'query',
'schema' => ['description' => 'SCIM同步状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'required' => false, 'example' => 'Enabled'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3BF1FC78-5D20-54CC-BAEB-8CC33AE21D01'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3BF1FC78-5D20-54CC-BAEB-8CC33AE21D01\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 3BF1FC78-5D20-54CC-BAEB-8CC33AE21D01\\n","errorExample":""}]',
'title' => '启用或禁用SCIM同步',
'description' => '启用SCIM同步后,您才能从支持SCIM 2.0的外部IdP同步用户或用户组到云SSO。禁用后,您将不能同步用户或用户组到云SSO。启用或禁用SCIM同步的影响如下:'."\n"
."\n"
.'- 在SCIM同步启用状态下,对于已同步到云SSO的SCIM用户和用户组,您不能修改和删除它们,也不能为SCIM用户组添加或移除用户,但可以修改用户的密码和状态。'."\n"
.'- 在SCIM同步禁用状态下,对于已同步到云SSO的SCIM用户和用户组,您可以修改或删除它们,也可以为SCIM用户组添加或移除用户。'."\n"
."\n"
.'本文将提供一个示例,启用目录`d-00fc2p61****`下的SCIM同步功能。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:SetSCIMSynchronizationStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'UpdateAccessConfiguration' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'AccessConfigurationId',
'in' => 'query',
'schema' => ['description' => '访问配置ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ac-00jhtfl8thteu6uj****'],
],
[
'name' => 'NewDescription',
'in' => 'query',
'schema' => ['description' => '新的访问配置描述。'."\n"
."\n"
.'长度:最大1024个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is an access configuration.'],
],
[
'name' => 'NewSessionDuration',
'in' => 'query',
'schema' => ['description' => '新的会话持续时间。'."\n"
."\n"
.'云SSO用户使用访问配置访问RD账号时,会话最多保持的时间。'."\n"
."\n"
.'单位:秒。'."\n"
."\n"
.'取值范围:900~43200(15分钟~12小时)。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3600'],
],
[
'name' => 'NewRelayState',
'in' => 'query',
'schema' => ['description' => '新的初始访问页面。'."\n"
."\n"
.'云SSO用户使用访问配置访问RD账号时,初始访问的页面地址。'."\n"
."\n"
.'该页面必须是阿里云控制台页面。', 'type' => 'string', 'required' => false, 'example' => 'https://cloudsso.console.aliyun.com'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9B13E4EE-3853-5852-9165-597C32AD8FB7'],
'AccessConfiguration' => [
'description' => '访问配置信息。',
'type' => 'object',
'properties' => [
'AccessConfigurationName' => ['description' => '访问配置名称。', 'type' => 'string', 'example' => 'ECS-Admin'],
'SessionDuration' => ['description' => '会话持续时间。'."\n"
."\n"
.'云SSO用户使用访问配置访问RD账号时,会话最多保持的时间。'."\n"
."\n"
.'单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '3600'],
'Description' => ['description' => '访问配置的描述。', 'type' => 'string', 'example' => 'This is an access configuration.'],
'RelayState' => ['description' => '初始访问页面。'."\n"
."\n"
.'云SSO用户使用访问配置访问RD账号时,初始访问的页面地址。', 'type' => 'string', 'example' => 'https://cloudsso.console.aliyun.com'],
'CreateTime' => ['description' => '访问配置的创建时间。', 'type' => 'string', 'example' => '2021-11-02T08:44:23Z'],
'UpdateTime' => ['description' => '访问配置的修改时间。', 'type' => 'string', 'example' => '2021-11-02T10:10:01Z'],
'StatusNotifications' => [
'description' => '状态通知信息。',
'type' => 'array',
'items' => ['description' => '状态通知信息。取值:'."\n"
."\n"
.'- 空:表示没有状态通知信息。'."\n"
.'- ReprovisionRequired:表示该访问配置需要重新部署。', 'type' => 'string', 'example' => 'ReprovisionRequired'],
],
'AccessConfigurationId' => ['description' => '访问配置ID。', 'type' => 'string', 'example' => 'ac-00jhtfl8thteu6uj****'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改访问配置信息',
'summary' => '调用UpdateAccessConfiguration修改访问配置信息。',
'description' => '您可以根据需要修改访问配置的`Description`、`SessionDuration`和`RelayState`。'."\n"
."\n"
.'本文将提供一个示例,修改访问配置`ac-00jhtfl8thteu6uj****`的初始访问页面为`https://cloudsso.console.aliyun.com`。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAccessConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9B13E4EE-3853-5852-9165-597C32AD8FB7\\",\\n \\"AccessConfiguration\\": {\\n \\"AccessConfigurationName\\": \\"ECS-Admin\\",\\n \\"SessionDuration\\": 3600,\\n \\"Description\\": \\"This is an access configuration.\\",\\n \\"RelayState\\": \\"https://cloudsso.console.aliyun.com\\",\\n \\"CreateTime\\": \\"2021-11-02T08:44:23Z\\",\\n \\"UpdateTime\\": \\"2021-11-02T10:10:01Z\\",\\n \\"StatusNotifications\\": [\\n \\"ReprovisionRequired\\"\\n ],\\n \\"AccessConfigurationId\\": \\"ac-00jhtfl8thteu6uj****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 9B13E4EE-3853-5852-9165-597C32AD8FB7\\n \\n ECS-Admin\\n 3600\\n This is an access configuration.\\n https://cloudsso.console.aliyun.com\\n 2021-11-02T08:44:23Z\\n 2021-11-02T10:10:01Z\\n ac-00jhtfl8thteu6uj****\\n \\n","errorExample":""}]',
],
'UpdateDirectory' => [
'summary' => '调用UpdateDirectory修改目录名称。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'NewDirectoryName',
'in' => 'query',
'schema' => ['description' => '新的目录名称。该参数必须全局唯一。'."\n"
."\n"
.'格式:包含小写字母、数字和短划线(-)。不能以短划线(-)开头或结尾,且不能有两个连续的短划线(-)。如果新的目录名以`d-`开头,则只能与本目录ID相同,而不能设置为其他值。'."\n"
."\n"
.'长度:2~64个字符。', 'type' => 'string', 'required' => false, 'example' => 'new-example'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B182C041-8C64-5F2F-A07B-FC67FAF89CF9'],
'Directory' => [
'description' => '目录信息。',
'type' => 'object',
'properties' => [
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-00fc2p61****'],
'CreateTime' => ['description' => '目录创建时间。', 'type' => 'string', 'example' => '2021-06-30T08:35:26Z'],
'UpdateTime' => ['description' => '目录修改时间。', 'type' => 'string', 'example' => '2021-10-25T09:13:24Z'],
'Region' => ['description' => '目录所在的地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'],
'DirectoryName' => ['description' => '目录名称。', 'type' => 'string', 'example' => 'new-example'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B182C041-8C64-5F2F-A07B-FC67FAF89CF9\\",\\n \\"Directory\\": {\\n \\"DirectoryId\\": \\"d-00fc2p61****\\",\\n \\"CreateTime\\": \\"2021-06-30T08:35:26Z\\",\\n \\"UpdateTime\\": \\"2021-10-25T09:13:24Z\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"DirectoryName\\": \\"new-example\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n B182C041-8C64-5F2F-A07B-FC67FAF89CF9\\n \\n d-00fc2p61****\\n 2021-06-30T08:35:26Z\\n 2021-10-25T09:13:24Z\\n cn-shanghai\\n new-example\\n \\n","errorExample":""}]',
'title' => '修改目录名称',
'description' => '修改目录名称会影响云SSO用户的登录地址,请在修改后务必将新的登录地址通知用户。'."\n"
."\n"
.'本文将提供一个示例,将目录名称修改为`new-example`。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateDirectory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'UpdateGroup' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'GroupId',
'in' => 'query',
'schema' => ['description' => '用户组的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'g-00jqzghi2n3o5hkh****'],
],
[
'name' => 'NewGroupName',
'in' => 'query',
'schema' => ['description' => '新的用户组名称。', 'type' => 'string', 'required' => false, 'example' => 'NewTestGroup'],
],
[
'name' => 'NewDescription',
'in' => 'query',
'schema' => ['description' => '新的用户组描述。', 'type' => 'string', 'required' => false, 'example' => 'This is a group.'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'Group' => [
'description' => '用户组信息。',
'type' => 'object',
'properties' => [
'GroupName' => ['description' => '用户组的名称。', 'type' => 'string', 'example' => 'NewTestGroup'],
'Description' => ['description' => '用户组的描述。', 'type' => 'string', 'example' => 'This is a group.'],
'CreateTime' => ['description' => '用户组的创建时间。', 'type' => 'string', 'example' => '2021-11-01T02:38:27Z'],
'ProvisionType' => ['description' => '用户组的类型。取值:'."\n"
."\n"
.'- Manual:手动创建。'."\n"
.'- Synchronized:外部同步。', 'type' => 'string', 'example' => 'Manual'],
'UpdateTime' => ['description' => '用户组的修改时间。', 'type' => 'string', 'example' => '2021-11-01T06:06:11Z'],
'GroupId' => ['description' => '用户组的ID。', 'type' => 'string', 'example' => 'g-00jqzghi2n3o5hkh****'],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F723DE01-6276-5DC4-9B1F-9CBE3E1748B2'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改用户组信息',
'summary' => '调用UpdateGroup修改用户组信息。',
'description' => '您可以根据需要修改用户组的`GroupName`和`Description`。'."\n"
."\n"
.'> 当启用SCIM同步后,不能修改SCIM同步的用户组信息。'."\n"
."\n"
.'本文将提供一个示例,修改用户组`g-00jqzghi2n3o5hkh****`的名称为`NewTestGroup`。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGroup'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Group\\": {\\n \\"GroupName\\": \\"NewTestGroup\\",\\n \\"Description\\": \\"This is a group.\\",\\n \\"CreateTime\\": \\"2021-11-01T02:38:27Z\\",\\n \\"ProvisionType\\": \\"Manual\\",\\n \\"UpdateTime\\": \\"2021-11-01T06:06:11Z\\",\\n \\"GroupId\\": \\"g-00jqzghi2n3o5hkh****\\"\\n },\\n \\"RequestId\\": \\"F723DE01-6276-5DC4-9B1F-9CBE3E1748B2\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n NewTestGroup\\n This is a group.\\n 2021-11-01T02:38:27Z\\n Manual\\n 2021-11-01T06:06:11Z\\n g-00jqzghi2n3o5hkh****\\n \\n F723DE01-6276-5DC4-9B1F-9CBE3E1748B2\\n","errorExample":""}]',
],
'UpdateInlinePolicyForAccessConfiguration' => [
'summary' => '调用UpdateInlinePolicyForAccessConfiguration修改访问配置的内置策略。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'AccessConfigurationId',
'in' => 'query',
'schema' => ['description' => '访问配置ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ac-00jhtfl8thteu6uj****'],
],
[
'name' => 'InlinePolicyName',
'in' => 'query',
'schema' => ['description' => '内置策略名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'InlinePolicy'],
],
[
'name' => 'NewInlinePolicyDocument',
'in' => 'query',
'schema' => ['description' => '新的内置策略内容。'."\n"
."\n"
.'长度:最大4096个字符。'."\n"
."\n"
.'关于权限策略的语法和结构,请参见[权限策略语法和结构](~~93739~~)。'."\n", 'type' => 'string', 'required' => false, 'example' => '{"Statement": [{"Action": "*","Effect": "Allow","Resource": "*"}],"Version": "1"}'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9B13E4EE-3853-5852-9165-597C32AD8FB7'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改访问配置的内置策略',
'description' => '本文将提供一个示例,修改访问配置`ac-00jhtfl8thteu6uj****`的内置策略。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateInlinePolicyForAccessConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateInlinePolicyForAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9B13E4EE-3853-5852-9165-597C32AD8FB7\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 9B13E4EE-3853-5852-9165-597C32AD8FB7\\n","errorExample":""}]',
],
'UpdateMFAAuthenticationSettings' => [
'summary' => '调用UpdateMFAAuthenticationSettings修改全局MFA配置。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'MFAAuthenticationSettings',
'in' => 'query',
'schema' => ['description' => '全局MFA配置。取值:'."\n"
."\n"
.'- Enabled:为所有用户启用MFA校验。'."\n"
.'- Byuser:依赖用户的MFA独立配置。关于用户MFA单独配置的详情,请参见[UpdateUserMFAAuthenticationSettings](~~450135~~)。'."\n"
.'- Disabled:为所有用户禁用MFA校验。'."\n"
.'- OnlyRiskyLogin:只在异常登录时验证。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Enabled'],
],
[
'name' => 'OperationForRiskLogin',
'in' => 'query',
'schema' => ['description' => '当登录是否进行多因素配置选项值是只在异常登录时验证时。取值:'."\n"
."\n"
.'Autonomous:异常登录时可以跳过绑定MFA, 但是已经绑定的必须验证MFA。'."\n"
.'EnforceVerify:未绑定MFA时需要强制绑定,已绑定的需验证。', 'type' => 'string', 'required' => false, 'example' => 'Autonomous'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A1C748E3-8944-5593-81BC-7D96AE24F77B'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A1C748E3-8944-5593-81BC-7D96AE24F77B\\"\\n}","errorExample":""},{"type":"xml","example":"\\n A1C748E3-8944-5593-81BC-7D96AE24F77B\\n","errorExample":""}]',
'title' => '修改全局MFA配置',
'description' => '当启用用户名密码登录时,您可以配置全局用户登录时的MFA校验策略。'."\n"
."\n"
.'本文将提供一个示例,为目录`d-00fc2p61****`下所有云SSO用户启用MFA校验。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateMFAAuthenticationSettings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'UpdateSCIMServerCredentialStatus' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'CredentialId',
'in' => 'query',
'schema' => ['description' => 'SCIM密钥ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'scimcred-004whl0kvfwcypbi****'],
],
[
'name' => 'NewStatus',
'in' => 'query',
'schema' => ['description' => 'SCIM密钥状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'required' => false, 'example' => 'Disabled'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7C086C2F-1C66-57B3-B14E-2C1DA70727CD'],
'SCIMServerCredential' => [
'description' => 'SCIM密钥信息。',
'type' => 'object',
'properties' => [
'Status' => ['description' => 'SCIM密钥状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'example' => 'Disabled'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-00fc2p61****'],
'CredentialId' => ['description' => 'SCIM密钥ID。', 'type' => 'string', 'example' => 'scimcred-004whl0kvfwcypbi****'],
'CreateTime' => ['description' => 'SCIM密钥的创建时间。', 'type' => 'string', 'example' => '2021-11-09T08:12:52Z'],
'CredentialType' => ['description' => 'SCIM密钥类型。', 'type' => 'string', 'example' => 'BearerToken'],
'ExpireTime' => ['description' => 'SCIM密钥的过期时间。', 'type' => 'string', 'example' => '2022-11-09T08:12:52Z'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '启用或禁用SCIM密钥',
'summary' => '调用UpdateSCIMServerCredentialStatus启用或禁用SCIM密钥。',
'description' => '本文将提供一个示例,禁用ID为`scimcred-004whl0kvfwcypbi****`的SCIM密钥。禁用后,使用该SCIM密钥的同步任务将会失败。您也可以再次调用本API启用SCIM密钥。',
'changeSet' => [
['createdAt' => '2021-08-03T07:56:51.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSCIMServerCredentialStatus'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateSCIMServerCredentialStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'SCIMServerCredential', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/scim-credential/{#CredentialId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7C086C2F-1C66-57B3-B14E-2C1DA70727CD\\",\\n \\"SCIMServerCredential\\": {\\n \\"Status\\": \\"Disabled\\",\\n \\"DirectoryId\\": \\"d-00fc2p61****\\",\\n \\"CredentialId\\": \\"scimcred-004whl0kvfwcypbi****\\",\\n \\"CreateTime\\": \\"2021-11-09T08:12:52Z\\",\\n \\"CredentialType\\": \\"BearerToken\\",\\n \\"ExpireTime\\": \\"2022-11-09T08:12:52Z\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 7C086C2F-1C66-57B3-B14E-2C1DA70727CD\\n \\n Disabled\\n d-00fc2p61****\\n scimcred-004whl0kvfwcypbi****\\n 2021-11-09T08:12:52Z\\n BearerToken\\n 2022-11-09T08:12:52Z\\n \\n","errorExample":""}]',
],
'UpdateUser' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'UserId',
'in' => 'query',
'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
[
'name' => 'NewFirstName',
'in' => 'query',
'schema' => ['description' => '用户的名。', 'type' => 'string', 'required' => false, 'example' => 'Alice'],
],
[
'name' => 'NewLastName',
'in' => 'query',
'schema' => ['description' => '用户的姓。', 'type' => 'string', 'required' => false, 'example' => 'Lee'],
],
[
'name' => 'NewDisplayName',
'in' => 'query',
'schema' => ['description' => '用户的显示名称。', 'type' => 'string', 'required' => false, 'example' => 'AliceLee'],
],
[
'name' => 'NewDescription',
'in' => 'query',
'schema' => ['description' => '用户的描述。', 'type' => 'string', 'required' => false, 'example' => 'This is a user.'],
],
[
'name' => 'NewEmail',
'in' => 'query',
'schema' => ['description' => '用户的电子邮箱。', 'type' => 'string', 'required' => false, 'example' => 'AliceLee@example.com'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'User' => [
'description' => '用户信息。',
'type' => 'object',
'properties' => [
'Status' => ['description' => '用户的状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'example' => 'Enabled'],
'UserName' => ['description' => '用户名称。', 'type' => 'string', 'example' => 'Alice'],
'Email' => ['description' => '用户的电子邮箱。', 'type' => 'string', 'example' => 'AliceLee@example.com'],
'Description' => ['description' => '用户的描述。', 'type' => 'string', 'example' => 'This is a user.'],
'UserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'u-00q8wbq42wiltcrk****'],
'FirstName' => ['description' => '用户的名。', 'type' => 'string', 'example' => 'Alice'],
'CreateTime' => ['description' => '用户的创建时间(UTC时间)。', 'type' => 'string', 'example' => '2021-10-26T03:03:42Z'],
'ProvisionType' => ['description' => '用户的类型。取值:'."\n"
."\n"
.'- Manual:手动创建。'."\n"
.'- Synchronized:外部同步。', 'type' => 'string', 'example' => 'Manual'],
'DisplayName' => ['description' => '用户的显示名称。', 'type' => 'string', 'example' => 'Alice'],
'UpdateTime' => ['description' => '用户的修改时间(UTC时间)。', 'type' => 'string', 'example' => '2021-10-26T07:32:32Z'],
'LastName' => ['description' => '用户的姓。', 'type' => 'string', 'example' => 'Lee'],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F44F02EC-70D1-5E51-8E8E-FA9AC4EF952A'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改用户信息',
'summary' => '调用UpdateUser修改用户信息。',
'description' => '您可以根据需要修改用户的`FirstName`、`LastName`、`DisplayName`、`Email`和`Description`,不能修改用户的`UserName` 。'."\n"
."\n"
.'> 当启用SCIM同步时,不能修改SCIM同步用户的信息。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUser'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateUser',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"User\\": {\\n \\"Status\\": \\"Enabled\\",\\n \\"UserName\\": \\"Alice\\",\\n \\"Email\\": \\"AliceLee@example.com\\",\\n \\"Description\\": \\"This is a user.\\",\\n \\"UserId\\": \\"u-00q8wbq42wiltcrk****\\",\\n \\"FirstName\\": \\"Alice\\",\\n \\"CreateTime\\": \\"2021-10-26T03:03:42Z\\",\\n \\"ProvisionType\\": \\"Manual\\",\\n \\"DisplayName\\": \\"Alice\\",\\n \\"UpdateTime\\": \\"2021-10-26T07:32:32Z\\",\\n \\"LastName\\": \\"Lee\\"\\n },\\n \\"RequestId\\": \\"F44F02EC-70D1-5E51-8E8E-FA9AC4EF952A\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t\\r\\n\\t\\tEnabled\\r\\n\\t\\tAlice\\r\\n\\t\\tAliceLee@example.com\\r\\n\\t\\tThis is a user.\\r\\n\\t\\tu-00q8wbq42wiltcrk****\\r\\n\\t\\tAlice\\r\\n\\t\\t2021-10-26T03:03:42Z\\r\\n\\t\\tManual\\r\\n\\t\\tAlice\\r\\n\\t\\t2021-10-26T07:32:32Z\\r\\n\\t\\tLee\\r\\n\\t\\r\\n\\tF44F02EC-70D1-5E51-8E8E-FA9AC4EF952A\\r\\n\\t\\r\\n","errorExample":""}]',
],
'UpdateUserMFAAuthenticationSettings' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'UserId',
'in' => 'query',
'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
[
'name' => 'UserMFAAuthenticationSettings',
'in' => 'query',
'schema' => ['description' => '用户MFA配置。取值:'."\n"
.'- Enabled:为指定用户启用MFA校验。'."\n"
.'- Disabled:为指定用户禁用MFA校验。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Enabled'],
],
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '5E6C6049-E9B0-5F6F-A104-6150E3B1F4D7'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改用户MFA独立配置',
'summary' => '调用UpdateUserMFAAuthenticationSettings修改用户MFA独立配置。',
'description' => '当您调用[UpdateMFAAuthenticationSettings](~~450134~~)将全局MFA配置为`Byuser`,即依赖用户MFA独立配置时,您需要调用UpdateUserMFAAuthenticationSettings完成用户MFA的独立配置。'."\n"
."\n"
.'新创建用户的MFA独立配置默认为已启用`Enabled`状态。'."\n"
."\n"
.'本文将提供一个示例,为用户`u-00q8wbq42wiltcrk****`启用MFA校验。',
'changeSet' => [
['createdAt' => '2022-08-23T03:14:21.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserMFAAuthenticationSettings'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateUserMFAAuthenticationSettings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5E6C6049-E9B0-5F6F-A104-6150E3B1F4D7\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 5E6C6049-E9B0-5F6F-A104-6150E3B1F4D7\\n","errorExample":""}]',
],
'UpdateUserProvisioning' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-003qew84****'],
],
[
'name' => 'UserProvisioningId',
'in' => 'query',
'schema' => ['description' => 'RAM用户同步ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'up-002axzhapcbz6e63****'],
],
[
'name' => 'NewDuplicationStrategy',
'in' => 'query',
'schema' => ['description' => '新的冲突策略。当云SSO用户同步到RAM时,如果RAM中存在同名用户时的处理策略。取值:'."\n"
."\n"
.'- KeepBoth:两者都保留。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则对云SSO用户的用户名添加后缀`_sso`后尝试创建该用户名的RAM用户。'."\n"
.'- TakeOver:替换。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则直接将已经存在的RAM用户替换为云SSO同步用户。', 'type' => 'string', 'required' => false, 'example' => 'KeepBoth'],
],
[
'name' => 'NewDeletionStrategy',
'in' => 'query',
'schema' => ['description' => '新的删除策略。删除RAM用户同步时,对已同步的RAM用户的处理策略。取值:'."\n"
."\n"
.'- Delete:删除。删除RAM用户同步时,会删除从云SSO已经同步到RAM中的RAM用户。'."\n"
.'- Keep:保留。删除RAM用户同步时,会保留从云SSO已经同步到RAM中的RAM用户。', 'type' => 'string', 'required' => false, 'example' => 'Delete'],
],
[
'name' => 'NewDescription',
'in' => 'query',
'schema' => ['description' => '新的RAM用户同步描述信息。', 'type' => 'string', 'required' => false, 'example' => 'description*****'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'UserProvisioning' => [
'description' => 'RAM用户同步信息。',
'type' => 'object',
'properties' => [
'Status' => ['description' => 'RAM用户同步的状态。取值:'."\n"
.'- Enabled:RAM用户同步已启用。'."\n"
.'- Disabled:RAM用户同步未启用。', 'type' => 'string', 'example' => 'Enabled'],
'Description' => ['description' => 'RAM用户同步的描述。', 'type' => 'string', 'example' => 'This is a user provisioning.'],
'UserProvisioningId' => ['description' => 'RAM用户同步ID。', 'type' => 'string', 'example' => 'up-002axzhapcbz6e63****'],
'PrincipalId' => ['description' => 'RAM用户同步的身份ID。取值:'."\n"
."\n"
.'- 当`PrincipalType`取值为`Group`时,该值为云SSO用户组ID(g-\\*\\*\\*\\*\\*\\*\\*\\*)。'."\n"
.'- 当`PrincipalType`取值为`User`时,该值为云SSO用户ID(u-\\*\\*\\*\\*\\*\\*\\*\\*)。', 'type' => 'string', 'example' => 'g-02ha881d*****'],
'TargetPath' => ['description' => 'RAM用户同步的目标的RD路径。', 'type' => 'string', 'example' => 'rd-******/root/test**'],
'UpdateTime' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
'DuplicationStrategy' => ['description' => '冲突策略。当云SSO用户同步到RAM时,如果RAM中存在同名用户时的处理策略。取值:'."\n"
."\n"
.'- KeepBoth:两者都保留。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则对云SSO用户的用户名添加后缀`_sso`后尝试创建该用户名的RAM用户。'."\n"
.'- TakeOver:替换。当云SSO用户被同步到RAM时,如果RAM已经存在同名用户,则直接将已经存在的RAM用户替换为云SSO同步用户。', 'type' => 'string', 'example' => 'KeepBoth'],
'DeletionStrategy' => ['description' => '删除策略。删除RAM用户同步时,对已同步的RAM用户的处理策略。取值:'."\n"
."\n"
.'- Delete:删除。删除RAM用户同步时,会删除从云SSO已经同步到RAM中的RAM用户。'."\n"
.'- Keep:保留。删除RAM用户同步时,会保留从云SSO已经同步到RAM中的RAM用户。', 'type' => 'string', 'example' => 'Delete'],
'PrincipalName' => ['description' => 'RAM用户同步的身份名称。取值:'."\n"
."\n"
.'- 当`PrincipalType`取值为`Group`时,该值为云SSO用户组名称。'."\n"
.'- 当`PrincipalType`取值为`User`时,该值为云SSO用户名称。', 'type' => 'string', 'example' => 'testUserName'],
'TargetName' => ['description' => 'RAM用户同步的目标名称。目前取值为RD账号名称。', 'type' => 'string', 'example' => 'testMemberName'],
'TargetId' => ['description' => 'RAM用户同步的目标ID。目前取值为RD账号ID。', 'type' => 'string', 'example' => 'u-02ha881d*****'],
'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-003qew84****'],
'OwnerPk' => ['description' => '目录所属的主账号ID。', 'type' => 'string', 'example' => '164987310*****'],
'TargetType' => ['description' => 'RAM用户同步的目标类型。目前取值为`RD-Account`。', 'type' => 'string', 'example' => 'RD-Account'],
'PrincipalType' => ['description' => 'RAM用户同步的身份类型。取值:'."\n"
.'- User:表示该RAM用户同步的身份是云SSO用户。'."\n"
.'- Group:表示该RAM用户同步的身份是云SSO用户组。', 'type' => 'string', 'example' => 'User'],
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F6F90F3D-4502-5877-B80B-97476F6AE2CC'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改RAM用户同步',
'summary' => '调用UpdateUserProvisioning修改RAM用户同步。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserProvisioning'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateUserProvisioning',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"UserProvisioning\\": {\\n \\"Status\\": \\"Enabled\\",\\n \\"Description\\": \\"This is a user provisioning.\\",\\n \\"UserProvisioningId\\": \\"up-002axzhapcbz6e63****\\",\\n \\"PrincipalId\\": \\"g-02ha881d*****\\",\\n \\"TargetPath\\": \\"rd-******/root/test**\\",\\n \\"UpdateTime\\": \\"2022-11-28T03:55:42Z\\",\\n \\"DuplicationStrategy\\": \\"KeepBoth\\",\\n \\"DeletionStrategy\\": \\"Delete\\",\\n \\"PrincipalName\\": \\"testUserName\\",\\n \\"TargetName\\": \\"testMemberName\\",\\n \\"TargetId\\": \\"u-02ha881d*****\\",\\n \\"CreateTime\\": \\"2022-11-28T03:55:42Z\\",\\n \\"DirectoryId\\": \\"d-003qew84****\\",\\n \\"OwnerPk\\": \\"164987310*****\\",\\n \\"TargetType\\": \\"RD-Account\\",\\n \\"PrincipalType\\": \\"User\\"\\n },\\n \\"RequestId\\": \\"F6F90F3D-4502-5877-B80B-97476F6AE2CC\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n Enabled\\n description****\\n up-002axzhapcbz6e63****\\n g-02ha881d*****\\n /\\n 2022-11-28T03:55:42Z\\n 2022-11-28T03:55:42Z\\n KeepBoth\\n Delete\\n UserName\\n TargetName\\n u-02ha881d*****\\n 2022-11-28T03:55:42Z\\n 2022-11-28T03:55:42Z\\n d-003qew84****\\n 164987310*****\\n RD-Account\\n User\\n \\n 66898413-EB80-556D-9429-06FE3548F672\\n","errorExample":""}]',
],
'UpdateUserProvisioningConfiguration' => [
'summary' => '调用UpdateUserProvisioningConfiguration修改RAM用户同步全局配置。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-003qew84****'],
],
[
'name' => 'NewDefaultLandingPage',
'in' => 'query',
'schema' => ['description' => '新设置的用户登录后的默认落地页地址。'."\n"
."\n"
.'默认值:https://homenew.console.aliyun.com。', 'type' => 'string', 'required' => false, 'example' => 'https://home.console.aliyun.com/home/dashboard/ProductAndService'],
],
[
'name' => 'NewSessionDuration',
'in' => 'query',
'schema' => ['description' => '新设置的登录Session的持续时长。'."\n"
."\n"
.'单位:小时。'."\n"
."\n"
.'取值范围:1~24。'."\n"
."\n"
.'默认值:6。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '6'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BBC2ED1D-FAC5-3DF8-B63C-992B85B08DD9'],
'UserProvisioningConfiguration' => [
'description' => 'RAM用户同步的全局设置。',
'type' => 'object',
'properties' => [
'SessionDuration' => ['description' => '登录Session的持续时长。'."\n"
."\n"
.'单位:小时。'."\n"
."\n"
.'取值范围:1~24。'."\n"
."\n"
.'默认值:6。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => 'd-003qew84****'],
'DefaultLandingPage' => ['description' => '用户登录后的默认落地页地址。'."\n"
."\n"
.'默认值:https://homenew.console.aliyun.com。', 'type' => 'string', 'example' => 'https://homenew.console.aliyun.com'],
'UpdateTime' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2022-11-28T03:55:42Z'],
],
],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BBC2ED1D-FAC5-3DF8-B63C-992B85B08DD9\\",\\n \\"UserProvisioningConfiguration\\": {\\n \\"SessionDuration\\": 6,\\n \\"CreateTime\\": \\"2022-11-28T03:55:42Z\\",\\n \\"DirectoryId\\": \\"d-003qew84****\\",\\n \\"DefaultLandingPage\\": \\"https://homenew.console.aliyun.com\\",\\n \\"UpdateTime\\": \\"2022-11-28T03:55:42Z\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 66898413-EB80-556D-9429-06FE3548F672\\n \\n 7\\n 2022-11-28T03:55:42Z\\n 2022-11-28T03:55:42Z\\n d-003qew84****\\n https://home.console.aliyun.com/home/dashboard/ProductAndService\\n -\\n 2022-11-28T03:55:42Z\\n 2022-11-28T03:55:42Z\\n \\n","errorExample":""}]',
'title' => '修改RAM用户同步全局配置',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateUserProvisioningConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
],
],
'UpdateUserStatus' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DirectoryId',
'in' => 'query',
'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd-00fc2p61****'],
],
[
'name' => 'UserId',
'in' => 'query',
'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'u-00q8wbq42wiltcrk****'],
],
[
'name' => 'NewStatus',
'in' => 'query',
'schema' => ['description' => '用户的状态。取值:'."\n"
."\n"
.'- Enabled:启用。'."\n"
.'- Disabled:禁用。', 'type' => 'string', 'required' => false, 'example' => 'Disabled'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EE598602-AC67-56EF-B7CC-2927C30AA0A8'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改用户状态',
'summary' => '调用UpdateUserStatus修改用户状态。',
'description' => '本文将提供一个示例,将ID为`u-00q8wbq42wiltcrk****`的用户状态修改为禁用(Disabled)。处于禁用状态的用户,将不能正常登录云SSO用户门户。',
'changeSet' => [
['createdAt' => '2021-06-21T02:08:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserStatus'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateUserStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EE598602-AC67-56EF-B7CC-2927C30AA0A8\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tEE598602-AC67-56EF-B7CC-2927C30AA0A8\\r\\n\\t\\r\\n","errorExample":""}]',
],
],
'endpoints' => [
['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudsso.cn-shanghai.aliyuncs.com', 'endpoint' => 'cloudsso.cn-shanghai.aliyuncs.com', 'vpc' => 'cloudsso-vpc.cn-shanghai.aliyuncs.com'],
['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudsso.cn-hongkong.aliyuncs.com', 'endpoint' => 'cloudsso.cn-hongkong.aliyuncs.com', 'vpc' => 'cloudsso-vpc.cn-hongkong.aliyuncs.com'],
['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudsso.ap-northeast-2.aliyuncs.com', 'endpoint' => 'cloudsso.ap-northeast-2.aliyuncs.com', 'vpc' => 'cloudsso-vpc.ap-northeast-2.aliyuncs.com'],
['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudsso.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudsso.ap-southeast-1.aliyuncs.com', 'vpc' => 'cloudsso-vpc.ap-southeast-1.aliyuncs.com'],
['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cloudsso.us-west-1.aliyuncs.com', 'endpoint' => 'cloudsso.us-west-1.aliyuncs.com', 'vpc' => 'cloudsso-vpc.us-west-1.aliyuncs.com'],
['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cloudsso.eu-central-1.aliyuncs.com', 'endpoint' => 'cloudsso.eu-central-1.aliyuncs.com', 'vpc' => 'cloudsso-vpc.eu-central-1.aliyuncs.com'],
],
'errorCodes' => [
['code' => 'AuthenticationCodeError', 'message' => 'MFA Device authenticate failed.', 'http_code' => 400, 'description' => 'MFA设备验证失败。'],
['code' => 'AuthenticationFailed.Password', 'message' => 'Auth Password failed.', 'http_code' => 409, 'description' => '密码验证失败。'],
['code' => 'BlackListForbidden.DirectoryName', 'message' => 'The Directory Name you specified is not allowed.', 'http_code' => 401, 'description' => '当前设置的目录名不允许设置,请使用其他目录名。'],
['code' => 'DeletionConflict.AccessConfiguration.PermissionPolicy', 'message' => 'Make sure that the access configuration does not contain a permission policy before the deletion.', 'http_code' => 409, 'description' => '删除访问配置前请先解除关联的权限策略。'],
['code' => 'DeletionConflict.AccessConfiguration.Task', 'message' => 'Make sure that the access configuration does not relate to an in-progress task before the deletion.', 'http_code' => 409, 'description' => '删除访问配置前请先确保无运行中的任务。'],
['code' => 'DeletionConflict.Directory.AccessConfiguration', 'message' => 'Make sure that the directory does not contain an access configuration before the deletion.', 'http_code' => 409, 'description' => '删除目录前请先删除所有的访问配置。'],
['code' => 'DeletionConflict.Directory.ExternalSAMLIdentityProvider', 'message' => 'Make sure that the directory has not configured external SAML identity provider before the deletion.', 'http_code' => 409, 'description' => '删除目录前请先删除所有的外部IdP配置。'],
['code' => 'DeletionConflict.Directory.Group', 'message' => 'Make sure that the directory does not contain a user group before the deletion.', 'http_code' => 409, 'description' => '删除目录前请先删除所有的组。'],
['code' => 'DeletionConflict.Directory.SCIMCredential', 'message' => 'Make sure that the directory does not contain a SCIM credential before the deletion.', 'http_code' => 409, 'description' => '删除目录前请先删除所有的SCIM密钥。'],
['code' => 'DeletionConflict.Directory.User', 'message' => 'Make sure that the directory does not contain a user before the deletion.', 'http_code' => 409, 'description' => '删除目录前请先删除所有的用户。'],
['code' => 'DeletionConflict.Group.AccessAssigment', 'message' => 'Make sure that the user group has no access assignment before the deletion.', 'http_code' => 409, 'description' => '删除组前请先解除关联的权限分配。'],
['code' => 'DeletionConflict.Group.User', 'message' => 'Make sure that the user group does not contain a user before the deletion.', 'http_code' => 409, 'description' => '删除组前请先将所有用户移出本组。'],
['code' => 'DeletionConflict.Group.UserProvision', 'message' => 'Make sure that the user group has no user provision assignment before the deletion.', 'http_code' => 409, 'description' => '删除组前请先解除组关联的RAM用户同步。'],
['code' => 'DeletionConflict.Service.Directory', 'message' => 'Make sure that no directories exists before you disable the Cloud SSO service.', 'http_code' => 409, 'description' => '关闭CloudSSO服务前请先确保已删除所有CloudSSO目录。'],
['code' => 'DeletionConflict.User.AccessAssigment', 'message' => 'Make sure that the user has no access assignment before the deletion.', 'http_code' => 409, 'description' => '删除用户前请先解除关联的权限分配。'],
['code' => 'DeletionConflict.User.Group', 'message' => 'Make sure that the user is not added to a user group before the deletion.', 'http_code' => 409, 'description' => '删除用户前请先将用户从所有组下移出。'],
['code' => 'DeletionConflict.User.MFADevice', 'message' => 'Make sure that the user is not bound to an MFA device before the deletion.', 'http_code' => 409, 'description' => '删除用户前请先删除用户的MFA设备。'],
['code' => 'DeletionConflict.User.UserProvisioning', 'message' => 'Make sure that the user is not assign user provision before the deletion.', 'http_code' => 409, 'description' => '删除用户前请先解除关联的用户同步。'],
['code' => 'EntityAlreadyExists.AccessAssignment', 'message' => 'AccessAssignment already exists.', 'http_code' => 409, 'description' => '权限分配已存在。'],
['code' => 'EntityAlreadyExists.AccessConfiguration', 'message' => 'AccessConfiguration already exists.', 'http_code' => 409, 'description' => '访问配置已存在。'],
['code' => 'EntityAlreadyExists.Directory', 'message' => 'Directory already exists.', 'http_code' => 409, 'description' => '目录已存在。'],
['code' => 'EntityAlreadyExists.GroupMember', 'message' => 'GroupMember already exists.', 'http_code' => 409, 'description' => '用户已加入组。'],
['code' => 'EntityAlreadyExists.MFADeviceRelation', 'message' => 'MFADeviceRelation already exists.', 'http_code' => 409, 'description' => 'MFA设备已绑定。'],
['code' => 'EntityAlreadyExists.PermissionPolicyInAccessConfiguration', 'message' => 'PermissionPolicyInAccessConfiguration already exists.', 'http_code' => 409, 'description' => '权限策略已关联该访问配置。'],
['code' => 'EntityAlreadyExists.User.Email', 'message' => 'User\'s email is already exists.', 'http_code' => 409, 'description' => '该Email已存在。'],
['code' => 'EntityAlreadyExists.User.UserName', 'message' => 'The parameter UserName already exists.', 'http_code' => 409, 'description' => '该用户名已被使用。'],
['code' => 'EntityAlreadyExists.User.UserName', 'message' => 'The parameter UserName already exists.', 'http_code' => 409, 'description' => '该用户名已被使用。'],
['code' => 'EntityAlreadyExists.UserProvisioning', 'message' => 'UserProvisioning already exists.', 'http_code' => 409, 'description' => '用户同步已存在。'],
['code' => 'EntityNotExists.AccessAssignment', 'message' => 'AccessAssignment does not exist.', 'http_code' => 404, 'description' => '授权信息不存在。'],
['code' => 'EntityNotExists.AccessConfiguration', 'message' => 'AccessConfiguration does not exist.', 'http_code' => 404, 'description' => '访问配置不存在。'],
['code' => 'EntityNotExists.AccessConfigurationProvisioning', 'message' => 'AccessConfigurationProvisioning does not exist.', 'http_code' => 404, 'description' => '访问配置部署不存在。'],
['code' => 'EntityNotExists.Account', 'message' => 'Account does not exist.', 'http_code' => 404, 'description' => '账号不存在。'],
['code' => 'EntityNotExists.Directory', 'message' => 'Directory does not exist.', 'http_code' => 404, 'description' => '目录不存在。'],
['code' => 'EntityNotExists.ExternalSAMLIdentityProvider', 'message' => 'ExternalSAMLIdentityProvider does not exist.', 'http_code' => 404, 'description' => '外部IDP配置不存在。'],
['code' => 'EntityNotExists.Group', 'message' => 'Group does not exist.', 'http_code' => 404, 'description' => '组不存在。'],
['code' => 'EntityNotExists.MFADevice', 'message' => 'MFADevice does not exist.', 'http_code' => 404, 'description' => 'MFA设备不存在。'],
['code' => 'EntityNotExists.PermissionPolicy', 'message' => 'PermissionPolicy does not exist.', 'http_code' => 404, 'description' => '权限策略不存在。'],
['code' => 'EntityNotExists.Task', 'message' => 'Task does not exist.', 'http_code' => 404, 'description' => '任务不存在。'],
['code' => 'EntityNotExists.User', 'message' => 'User does not exist.', 'http_code' => 404, 'description' => '用户不存在。'],
['code' => 'EntityNotExists.UserProvisioning', 'message' => 'UserProvisioning does not exist.', 'http_code' => 404, 'description' => '用户同步不存在。'],
['code' => 'EntityNotExists.UserProvisioningStatistics', 'message' => 'UserProvisioningStatistics does not exist.', 'http_code' => 404, 'description' => '用户同步统计数据不存在。'],
['code' => 'InvalidParameter.AccessConfigurationId', 'message' => 'The format of the value specified for the AccessConfigurationId parameter is invalid.', 'http_code' => 400, 'description' => '参数AccessConfigurationId格式错误。'],
['code' => 'InvalidParameter.AccessConfigurationName.Length', 'message' => 'The length of the value specified for the AccessConfigurationName parameter is invalid.', 'http_code' => 400, 'description' => '参数AccessConfigurationName的长度超过限制。'],
['code' => 'InvalidParameter.AuthenticationCode', 'message' => 'The format of the value specified for the AuthenticationCode parameter is invalid.', 'http_code' => 400, 'description' => '参数AuthenticationCode格式错误。'],
['code' => 'InvalidParameter.DeprovisionStrategy', 'message' => 'The format of the value specified for the DeprovisionStrategy parameter is invalid.', 'http_code' => 400, 'description' => '参数DeprovisionStrategy格式错误。'],
['code' => 'InvalidParameter.Description.Length', 'message' => 'The length of the value specified for the Description parameter is invalid.', 'http_code' => 400, 'description' => '参数Description长度超过限制。'],
['code' => 'InvalidParameter.DirectoryId', 'message' => 'The format of the value specified for the DirectoryId parameter is invalid.', 'http_code' => 400, 'description' => '参数DirectoryId格式错误。'],
['code' => 'InvalidParameter.DirectoryName', 'message' => 'The format of the value specified for the DirectoryName parameter is invalid.', 'http_code' => 400, 'description' => '参数DirectoryName格式错误。'],
['code' => 'InvalidParameter.DirectoryName.Length', 'message' => 'The length of the value specified for the DirectoryName parameter is invalid.', 'http_code' => 400, 'description' => '参数DirectoryName的长度超过限制。'],
['code' => 'InvalidParameter.EncodedMetadataDocument', 'message' => 'The format of the value specified for the EncodedMetadataDocument parameter is invalid.', 'http_code' => 400, 'description' => '参数EncodedMetadataDocument格式错误。'],
['code' => 'InvalidParameter.Filter', 'message' => 'The format of the value specified for the Filter parameter is invalid.', 'http_code' => 400, 'description' => '参数Filter格式错误。'],
['code' => 'InvalidParameter.GroupName', 'message' => 'The format of the value specified for the GroupName parameter is invalid.', 'http_code' => 400, 'description' => '参数GroupName格式错误。'],
['code' => 'InvalidParameter.InlinePolicyDocument', 'message' => 'The policy document is invalid.', 'http_code' => 400, 'description' => '参数InlinePolicyDocument格式错误。'],
['code' => 'InvalidParameter.InlinePolicyDocument.Length', 'message' => 'The length of the value specified for the InlinePolicyDocument parameter is invalid.', 'http_code' => 400, 'description' => '参数InlinePolicyDocument长度超过限制。'],
['code' => 'InvalidParameter.MaxResults', 'message' => 'The format of the value specified for the MaxResults parameter is invalid.', 'http_code' => 400, 'description' => '参数MaxResults格式错误。'],
['code' => 'InvalidParameter.NewDefaultLandingPage', 'message' => 'The format of the value specified for the NewDefaultLandingPage parameter is invalid.', 'http_code' => 400, 'description' => '参数NewDefaultLandingPage格式错误。'],
['code' => 'InvalidParameter.NewDescription.Length', 'message' => 'The length of the value specified for the NewDescription parameter is invalid.', 'http_code' => 400, 'description' => '参数NewDescription长度超过限制。'],
['code' => 'InvalidParameter.NewInlinePolicyDocument', 'message' => 'The policy document is invalid.', 'http_code' => 400, 'description' => '参数NewInlinePolicyDocument格式错误。'],
['code' => 'InvalidParameter.NewInlinePolicyDocument.Length', 'message' => 'The length of the value specified for the NewInlinePolicyDocument parameter is invalid.', 'http_code' => 400, 'description' => '参数NewInlinePolicyDocument长度超过限制。'],
['code' => 'InvalidParameter.NewInlinePolicyDocument.Length', 'message' => 'The format of the value specified for the NewRelayState parameter is invalid.', 'http_code' => 400, 'description' => '参数NewRelayState格式错误。'],
['code' => 'InvalidParameter.NewRelayState', 'message' => 'The format of the value specified for the NewRelayState parameter is invalid.', 'http_code' => 400, 'description' => '参数NewRelayState格式错误。'],
['code' => 'InvalidParameter.PermissionPolicyType', 'message' => 'The format of the value specified for the PermissionPolicyType parameter is invalid.', 'http_code' => 400, 'description' => '参数PermissionPolicyType格式错误。'],
['code' => 'InvalidParameter.PrincipalType', 'message' => 'The format of the value specified for the PrincipalType parameter is invalid.', 'http_code' => 400, 'description' => '参数PrincipalType格式错误。'],
['code' => 'InvalidParameter.ProvisioningStatus', 'message' => 'The format of the value specified for the ProvisioningStatus parameter is invalid.', 'http_code' => 400, 'description' => '参数ProvisioningStatus格式错误。'],
['code' => 'InvalidParameter.RelayState', 'message' => 'The format of the value specified for the RelayState parameter is invalid.', 'http_code' => 400, 'description' => '参数RelayState格式错误。'],
['code' => 'InvalidParameter.Status', 'message' => 'The format of the value specified for the Status parameter is invalid.', 'http_code' => 400, 'description' => '参数Status格式错误。'],
['code' => 'InvalidParameter.TargetType', 'message' => 'The format of the value specified for the TargetType parameter is invalid.', 'http_code' => 400, 'description' => '参数TargetType格式错误。'],
['code' => 'InvalidParameter.TaskType', 'message' => 'The format of the value specified for the TaskType parameter is invalid.', 'http_code' => 400, 'description' => '参数TaskType格式错误。'],
['code' => 'InvalidParameter.UserMFAAuthenticationSettings', 'message' => 'The format of the value specified for the UserMFAAuthenticationSettings parameter is invalid.', 'http_code' => 400, 'description' => '参数UserMFAAuthenticationSettings格式错误。'],
['code' => 'InvalidParameter.UserName', 'message' => 'The format of the value specified for the UserName parameter is invalid.', 'http_code' => 400, 'description' => '参数UserName格式错误。'],
['code' => 'InvalidParameter.UserName.Length', 'message' => 'The length of the value specified for the UserName parameter is invalid.', 'http_code' => 400, 'description' => '参数UserName长度超过限制。'],
['code' => 'InvalidServiceStatus', 'message' => 'Cloud SSO is not activated.', 'http_code' => 400, 'description' => '云SSO未开通。'],
['code' => 'LimitExceeded.Directory', 'message' => 'The number of Directory exceeds the quota.', 'http_code' => 409, 'description' => '目录数量超出限额。'],
['code' => 'LimitExceeded.MFADevice', 'message' => 'The number of MFADevice exceeds the quota.', 'http_code' => 409, 'description' => 'MFA设备数量超过配额。'],
['code' => 'LimitExceeded.PermissionPolicy', 'message' => 'The number of PermissionPolicy exceeds the quota.', 'http_code' => 409, 'description' => '访问配置关联的权限策略超过限制。'],
['code' => 'MissingAccessConfigurationId', 'message' => 'The required AccessConfigurationId parameter is not specified.', 'http_code' => 400, 'description' => '缺少参数AccessConfigurationId。'],
['code' => 'MissingDeletionStrategy', 'message' => 'The required DeletionStrategy parameter is not specified.', 'http_code' => 400, 'description' => '缺少参数DeletionStrategy。'],
['code' => 'MissingDirectoryId', 'message' => 'The required DirectoryId parameter is not specified.', 'http_code' => 400, 'description' => '缺少参数DirectoryId。'],
['code' => 'MissingDuplicationStrategy', 'message' => 'The required DuplicationStrategy parameter is not specified.', 'http_code' => 400, 'description' => '缺少参数DuplicationStrategy。'],
['code' => 'MissingPermissionPolicyName', 'message' => 'The required PermissionPolicyName parameter is not specified.', 'http_code' => 400, 'description' => '缺少参数PermissionPolicyName。'],
['code' => 'MissingPermissionPolicyType', 'message' => 'The required PermissionPolicyType parameter is not specified.', 'http_code' => 400, 'description' => '缺少参数PermissionPolicyType。'],
['code' => 'MissingPrincipalId', 'message' => 'The required PrincipalId parameter is not specified.', 'http_code' => 400, 'description' => '缺少参数PrincipalId。'],
['code' => 'MissingPrincipalType', 'message' => 'The required PrincipalType parameter is not specified.', 'http_code' => 400, 'description' => '缺少参数PrincipalType。'],
['code' => 'MissingTargetId', 'message' => 'The required TargetId parameter is not specified.', 'http_code' => 400, 'description' => '缺少参数TargetId。'],
['code' => 'MissingTargetType', 'message' => 'The required TargetType parameter is not specified.', 'http_code' => 400, 'description' => '缺少参数TargetType。'],
['code' => 'MissingTaskId', 'message' => 'The required TaskId parameter is not specified.', 'http_code' => 400, 'description' => '缺少参数TaskId。'],
['code' => 'MissingUserId', 'message' => 'The required UserId parameter is not specified.', 'http_code' => 400, 'description' => '缺少参数UserId。'],
['code' => 'NoPermission', 'message' => 'You do not have the required permissions.', 'http_code' => 401, 'description' => '您没有操作当前接口的权限。'],
['code' => 'OperationConflict.Task', 'message' => 'In-progress tasks exist.', 'http_code' => 409, 'description' => '有任务未执行完成。'],
['code' => 'Password.Reuse', 'message' => 'Password reuse prevention exceeded.', 'http_code' => 400, 'description' => '密码和最近的旧密码相同,请修改。'],
['code' => 'Password.TooWeak', 'message' => 'The specified password is not compliant with the password policy.', 'http_code' => 400, 'description' => '密码设置强度过弱。'],
['code' => 'PasswordResetNotAllowed', 'message' => 'You are not allowed to reset passwords.', 'http_code' => 409, 'description' => '不允许重置密码。'],
['code' => 'PrerequisiteCheckFailed', 'message' => 'The prerequisites to activate the Cloud SSO service is not satisfied.', 'http_code' => 400, 'description' => '开启CloudSSO服务的前置条件未满足'],
],
'changeSet' => [
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetDirectorySAMLServiceProviderInfo'],
],
'createdAt' => '2024-12-12T08:33:11.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetLoginPreference'],
['description' => '请求参数发生变更', 'api' => 'SetLoginPreference'],
],
'createdAt' => '2024-09-02T08:42:28.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetExternalSAMLIdentityProvider'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'SetExternalSAMLIdentityProvider'],
],
'createdAt' => '2024-08-21T05:57:47.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetDirectorySAMLServiceProviderInfo'],
],
'createdAt' => '2024-06-21T06:53:43.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetDirectoryStatistics'],
],
'createdAt' => '2024-04-22T07:15:48.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetUser'],
['description' => '响应参数发生变更', 'api' => 'ListUsers'],
],
'createdAt' => '2024-03-29T05:35:58.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetDirectorySAMLServiceProviderInfo'],
],
'createdAt' => '2023-11-21T06:55:30.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'GetMFAAuthenticationSettingInfo'],
],
'createdAt' => '2023-09-18T06:17:52.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetDirectoryStatistics'],
],
'createdAt' => '2023-09-04T01:28:52.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'UpdateMFAAuthenticationSettings'],
],
'createdAt' => '2022-11-18T08:35:16.000Z',
'description' => '此次发布增加了cloudsso登录风控的能力,允许用户在设置页面选择是否在账密方式登录时做风险识别以及二次核身的能力',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'GetMFAAuthenticationSettings'],
['description' => 'OpenAPI 下线', 'api' => 'GetUserMFAAuthenticationSettings'],
['description' => 'OpenAPI 下线', 'api' => 'UpdateMFAAuthenticationSettings'],
['description' => 'OpenAPI 下线', 'api' => 'UpdateUserMFAAuthenticationSettings'],
],
'createdAt' => '2022-08-23T05:04:35.000Z',
'description' => '新增全局MFA验证策略配置API: 1. UpdateMFAAuthenticationSettings 2. GetMFAAuthenticationSettings新增用户级MFA验证策略配置API: 1. UpdateUserMFAAuthenticationSettings 2. GetUserMFAAuthenticationSettings',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'RemovePermissionPolicyFromAccessConfiguration'],
],
'createdAt' => '2021-11-26T10:15:03.000Z',
'description' => '新产品暂未发布api',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'AddPermissionPolicyToAccessConfiguration'],
['description' => '请求参数发生变更', 'api' => 'RemovePermissionPolicyFromAccessConfiguration'],
],
'createdAt' => '2021-11-24T12:50:44.000Z',
'description' => '新产品api还未上线',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'CreateAccessAssignment'],
['description' => '响应参数发生变更', 'api' => 'DeleteAccessAssignment'],
['description' => '响应参数发生变更', 'api' => 'DeprovisionAccessConfiguration'],
['description' => '响应参数发生变更', 'api' => 'GetDirectoryStatistics'],
['description' => '响应参数发生变更', 'api' => 'ListAccessConfigurationProvisionings'],
['description' => '请求参数发生变更', 'api' => 'ListPermissionPoliciesInAccessConfiguration'],
['description' => '响应参数发生变更', 'api' => 'ProvisionAccessConfiguration'],
],
'createdAt' => '2021-11-19T09:07:58.000Z',
'description' => '新产品发布,文档和sdk还没有正式发布',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'GetTaskStatus'],
],
'createdAt' => '2021-08-13T04:08:02.000Z',
'description' => '新增openapi: GetTaskStatus, 专门用于获取异步任务执行状态',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'AddPermissionPolicyToAccessConfiguration'],
['description' => 'OpenAPI 下线', 'api' => 'AddUserToGroup'],
['description' => 'OpenAPI 下线', 'api' => 'CheckRDFeaturePrerequisite'],
['description' => 'OpenAPI 下线', 'api' => 'ClearExternalSAMLIdentityProvider'],
['description' => 'OpenAPI 下线', 'api' => 'CreateAccessAssignment'],
['description' => 'OpenAPI 下线', 'api' => 'CreateAccessConfiguration'],
['description' => 'OpenAPI 下线', 'api' => 'CreateDirectory'],
['description' => 'OpenAPI 下线', 'api' => 'CreateGroup'],
['description' => 'OpenAPI 下线', 'api' => 'CreateSCIMServerCredential'],
['description' => 'OpenAPI 下线', 'api' => 'CreateUser'],
],
'createdAt' => '2021-06-21T02:17:17.000Z',
'description' => 'cloudsso邀测发布',
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeprovisionAccessConfiguration'],
['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableDelegateAccount'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceStatus'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTaskStatus'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUsers'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLoginPreference'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ProvisionAccessConfiguration'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAccessAssignment'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMFAAuthenticationStatus'],
['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDirectory'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserProvisioning'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPermissionPoliciesInAccessConfiguration'],
['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableService'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDirectory'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAccessAssignments'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddUserToGroup'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUserProvisioning'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAccessConfiguration'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUserProvisioning'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDirectorySAMLServiceProviderInfo'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAccessConfiguration'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RetryUserProvisioningEvent'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAccessConfiguration'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUser'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetUserPassword'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveUserFromGroup'],
['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableService'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserId'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTasks'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateInlinePolicyForAccessConfiguration'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGroupMembers'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSCIMServerCredential'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUserProvisioningEvent'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAccessConfigurations'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetSCIMSynchronizationStatus'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserProvisioningRdAccountStatistics'],
['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDirectory'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetGroup'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserMFAAuthenticationSettings'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveExternalSAMLIdPCertificate'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ClearExternalSAMLIdentityProvider'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserProvisioningConfiguration'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMFAAuthenticationSettingInfo'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAccessConfigurationProvisionings'],
['threshold' => '400', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMFADevicesForUser'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDirectoryStatistics'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserProvisioningStatistics'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddExternalSAMLIdPCertificate'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUser'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGroups'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExternalSAMLIdPCertificates'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserProvisioningConfiguration'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGroup'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSCIMSynchronizationStatus'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemovePermissionPolicyFromAccessConfiguration'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserProvisioningEvents'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteMFADeviceForUser'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetMFAAuthenticationStatus'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserProvisioningEvent'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDirectories'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetLoginPreference'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddPermissionPolicyToAccessConfiguration'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAccessAssignment'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSCIMServerCredentials'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSCIMServerCredential'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSCIMServerCredentialStatus'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetExternalSAMLIdentityProvider'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListJoinedGroupsForUser'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGroup'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAccessConfiguration'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUser'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPasswordPolicy'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserProvisionings'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetPasswordPolicy'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserMFAAuthenticationSettings'],
['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDirectory'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserProvisioning'],
['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableDelegateAccount'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMFAAuthenticationSettings'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateMFAAuthenticationSettings'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserStatus'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUser'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetExternalSAMLIdentityProvider'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGroup'],
],
],
'ram' => [
'productCode' => 'CloudSSO',
'productName' => '访问控制',
'ramCodes' => ['cloudsso'],
'ramLevel' => '资源级',
'ramConditions' => [],
'ramActions' => [
[
'apiName' => 'GetUserProvisioningConfiguration',
'description' => '查询RAM用户同步全局配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUserProvisioningConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'DisableDelegateAccount',
'description' => '禁用云SSO委派管理员账号',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:DisableDelegateAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'AddUserToGroup',
'description' => '为用户组添加用户',
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:AddUserToGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
],
],
],
[
'apiName' => 'GetMFAAuthenticationSettingInfo',
'description' => '查询全局MFA配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetMFAAuthenticationSettingInfo',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'GetTaskStatus',
'description' => '查询异步任务的状态',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetTaskStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'DeleteSCIMServerCredential',
'description' => '删除SCIM密钥',
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteSCIMServerCredential',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'SCIMServerCredential', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/scim-credential/{#CredentialId}'],
],
],
],
[
'apiName' => 'DeleteUser',
'description' => '删除用户',
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteUser',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
[
'apiName' => 'ListUserProvisionings',
'description' => '查询RAM用户同步列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListUserProvisionings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteDirectory',
'description' => '删除目录',
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteDirectory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'ListGroups',
'description' => '查询用户组列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/*'],
],
],
],
[
'apiName' => 'UpdateDirectory',
'description' => '修改目录名称',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateDirectory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'ListJoinedGroupsForUser',
'description' => '查询用户加入的用户组',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListJoinedGroupsForUser',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
[
'apiName' => 'CreateUser',
'description' => '创建用户',
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:CreateUser',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/*'],
],
],
],
[
'apiName' => 'GetLoginPreference',
'description' => '查询登录偏好',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetLoginPreference',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'TagResources',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:TagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
[
'apiName' => 'CreateUserProvisioning',
'description' => '创建RAM用户同步',
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:CreateUserProvisioning',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/*'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Account', 'arn' => 'acs:resourcemanager::{#accountId}:account/{#AccountId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
[
'apiName' => 'RemovePermissionPolicyFromAccessConfiguration',
'description' => '为访问配置移除权限策略',
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:RemovePermissionPolicyFromAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
[
'apiName' => 'CreateDirectory',
'description' => '创建目录',
'operationType' => 'create',
'additionalActions' => [
['action' => 'ram:CreateServiceLinkedRole', 'validationType' => 'always'],
],
'ramAction' => [
'action' => 'cloudsso:CreateDirectory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/*'],
],
],
],
[
'apiName' => 'UpdateMFAAuthenticationSettings',
'description' => '修改全局MFA配置',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateMFAAuthenticationSettings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'UpdateSCIMServerCredentialStatus',
'description' => '启用或禁用SCIM密钥',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateSCIMServerCredentialStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'SCIMServerCredential', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/scim-credential/{#CredentialId}'],
],
],
],
[
'apiName' => 'UpdateDirectoryGlobalAccessStatus',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateDirectoryGlobalAccessStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'GetUserProvisioning',
'description' => '查询RAM用户同步',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUserProvisioning',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
],
],
],
[
'apiName' => 'UpdateUserMFAAuthenticationSettings',
'description' => '修改用户MFA独立配置',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateUserMFAAuthenticationSettings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
[
'apiName' => 'DeprovisionAccessConfiguration',
'description' => '解除访问配置在RD账号上的部署',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:DeprovisionAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
[
'apiName' => 'DisableService',
'description' => '关闭云SSO',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:DisableService',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetAccessConfiguration',
'description' => '查询访问配置信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
[
'apiName' => 'RetryUserProvisioningEvent',
'description' => '重试RAM用户同步事件',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:RetryUserProvisioningEvent',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/*'],
],
],
],
[
'apiName' => 'RemoveExternalSAMLIdPCertificate',
'description' => '移除SAML签名证书',
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:RemoveExternalSAMLIdPCertificate',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'ProvisionAccessConfiguration',
'description' => '将访问配置部署到RD账号上',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:ProvisionAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
[
'apiName' => 'EnableService',
'description' => '开通云SSO',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:EnableService',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListAccessAssignments',
'description' => '查询授权列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListAccessAssignments',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateAccessAssignment',
'description' => '在RD账号上授权',
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:CreateAccessAssignment',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Account', 'arn' => 'acs:resourcemanager::{#accountId}:account/{#AccountId}'],
],
],
],
[
'apiName' => 'ListSCIMServerCredentials',
'description' => '查询SCIM密钥列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListSCIMServerCredentials',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'SCIMServerCredential', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/scim-credential/*'],
],
],
],
[
'apiName' => 'UpdateUser',
'description' => '修改用户信息',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateUser',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
[
'apiName' => 'EnableDelegateAccount',
'description' => '启用云SSO委派管理员账号',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:EnableDelegateAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateUserStatus',
'description' => '修改用户状态',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateUserStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
[
'apiName' => 'GetMFAAuthenticationStatus',
'description' => '查询用户的MFA启用状态',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetMFAAuthenticationStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'CreateAccessConfiguration',
'description' => '创建访问配置',
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:CreateAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/*'],
],
],
],
[
'apiName' => 'GetGroup',
'description' => '查询用户组信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
],
],
],
[
'apiName' => 'DeleteAccessConfiguration',
'description' => '删除访问配置',
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
[
'apiName' => 'ListMFADevicesForUser',
'description' => '查询用户的MFA设备列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListMFADevicesForUser',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
[
'apiName' => 'PreCheckForCreateUserProvisioning',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:PreCheckForCreateUserProvisioning',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/*'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Account', 'arn' => 'acs:resourcemanager::{#accountId}:account/{#AccountId}'],
],
],
],
[
'apiName' => 'ListDirectories',
'description' => '查询目录列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListDirectories',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/*'],
],
],
],
[
'apiName' => 'ListTagResources',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListTagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
[
'apiName' => 'UpdateGroup',
'description' => '修改用户组信息',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
],
],
],
[
'apiName' => 'AddExternalSAMLIdPCertificate',
'description' => '添加SAML签名证书',
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:AddExternalSAMLIdPCertificate',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'GetDirectory',
'description' => '查询目录信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetDirectory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'GetDirectoryGlobalAccessStatus',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetDirectoryGlobalAccessStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'GetPasswordPolicy',
'description' => '查询密码策略',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetPasswordPolicy',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'SetPasswordPolicy',
'description' => '设置密码策略',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:SetPasswordPolicy',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'DeleteMFADeviceForUser',
'description' => '删除用户的MFA设备',
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteMFADeviceForUser',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
[
'apiName' => 'GetUser',
'description' => '查询用户信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUser',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
[
'apiName' => 'ListAccessConfigurations',
'description' => '查询访问配置列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListAccessConfigurations',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/*'],
],
],
],
[
'apiName' => 'DeleteAccessAssignment',
'description' => '移除RD账号上的授权',
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteAccessAssignment',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Account', 'arn' => 'acs:resourcemanager::{#accountId}:account/{#AccountId}'],
],
],
],
[
'apiName' => 'GetUserProvisioningRdAccountStatistics',
'description' => '查询资源目录成员的RAM用户同步统计信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUserProvisioningRdAccountStatistics',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Account', 'arn' => 'acs:resourcemanager::{#accountId}:account/{#AccountId}'],
],
],
],
[
'apiName' => 'ListUserProvisioningEvents',
'description' => '查询RAM用户同步事件列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListUserProvisioningEvents',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/*'],
],
],
],
[
'apiName' => 'UntagResources',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UntagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
[
'apiName' => 'UpdateInlinePolicyForAccessConfiguration',
'description' => '修改访问配置的内置策略',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateInlinePolicyForAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
[
'apiName' => 'DeleteUserProvisioning',
'description' => '删除RAM用户同步',
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteUserProvisioning',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
],
],
],
[
'apiName' => 'GetMFAAuthenticationSettings',
'description' => '查询全局MFA配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetMFAAuthenticationSettings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'ResetUserPassword',
'description' => '重置用户密码',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:ResetUserPassword',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
[
'apiName' => 'GetDirectorySAMLServiceProviderInfo',
'description' => '查询SAML服务提供商信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetDirectorySAMLServiceProviderInfo',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'GetServiceStatus',
'description' => '查询云SSO状态',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetServiceStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListGroupMembers',
'description' => '查询用户组中的用户列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListGroupMembers',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
],
],
],
[
'apiName' => 'ListTasks',
'description' => '查询异步任务列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListTasks',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'ListUsers',
'description' => '查询用户列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListUsers',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/*'],
],
],
],
[
'apiName' => 'DeleteGroup',
'description' => '删除用户组',
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
],
],
],
[
'apiName' => 'GetDelegateAccount',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetDelegateAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'SetExternalSAMLIdentityProvider',
'description' => '配置SAML身份提供商信息',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:SetExternalSAMLIdentityProvider',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'SetDirectorySAMLServiceProviderInfo',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:SetDirectorySAMLServiceProviderInfo',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'GetUserProvisioningStatistics',
'description' => '查询RAM用户同步的统计信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUserProvisioningStatistics',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
],
],
],
[
'apiName' => 'SetMFAAuthenticationStatus',
'description' => '为目录中的用户启用或禁用MFA',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:SetMFAAuthenticationStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'AddPermissionPolicyToAccessConfiguration',
'description' => '为访问配置添加权限策略',
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:AddPermissionPolicyToAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
[
'apiName' => 'CreateSCIMServerCredential',
'description' => '创建SCIM密钥',
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:CreateSCIMServerCredential',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'SCIMServerCredential', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/scim-credential/*'],
],
],
],
[
'apiName' => 'ListPermissionPoliciesInAccessConfiguration',
'description' => '查询访问配置中的权限策略列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListPermissionPoliciesInAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
[
'apiName' => 'GetUserId',
'description' => '通过ExternalId获取用户ID',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUserId',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/*'],
],
],
],
[
'apiName' => 'GetUserProvisioningEvent',
'description' => '查询RAM用户同步事件',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUserProvisioningEvent',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/*'],
],
],
],
[
'apiName' => 'RemoveUserFromGroup',
'description' => '从用户组中移除用户',
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:RemoveUserFromGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
[
'apiName' => 'ClearExternalSAMLIdentityProvider',
'description' => '清空SAML身份提供商配置信息',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:ClearExternalSAMLIdentityProvider',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'ListExternalSAMLIdPCertificates',
'description' => '查询SAML签名证书列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListExternalSAMLIdPCertificates',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'CreateGroup',
'description' => '创建用户组',
'operationType' => 'create',
'ramAction' => [
'action' => 'cloudsso:CreateGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/*'],
],
],
],
[
'apiName' => 'EnableDirectoryRDFeature',
'description' => '',
'operationType' => 'update',
'additionalActions' => [],
'ramAction' => [
'action' => 'cloudsso:EnableDirectoryRDFeature',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'GetTask',
'description' => '查询异步任务信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'CheckRDFeaturePrerequisite',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:CheckRDFeaturePrerequisite',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateUserProvisioningConfiguration',
'description' => '修改RAM用户同步全局配置',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateUserProvisioningConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'UpdateUserProvisioning',
'description' => '修改RAM用户同步',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateUserProvisioning',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
],
],
],
[
'apiName' => 'SetSCIMSynchronizationStatus',
'description' => '启用或禁用SCIM同步',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:SetSCIMSynchronizationStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'GetSCIMSynchronizationStatus',
'description' => '查询SCIM同步状态',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetSCIMSynchronizationStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'GetExternalSAMLIdentityProvider',
'description' => '查询SAML身份提供商配置信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetExternalSAMLIdentityProvider',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'SetLoginPreference',
'description' => '设置登录偏好',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:SetLoginPreference',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'UpdateAccessConfiguration',
'description' => '修改访问配置信息',
'operationType' => 'update',
'ramAction' => [
'action' => 'cloudsso:UpdateAccessConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
],
],
],
[
'apiName' => 'ListAccessConfigurationProvisionings',
'description' => '查询访问配置部署列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'cloudsso:ListAccessConfigurationProvisionings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/*'],
],
],
],
[
'apiName' => 'GetUserMFAAuthenticationSettings',
'description' => '查询用户MFA独立配置',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetUserMFAAuthenticationSettings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
],
],
],
[
'apiName' => 'GetDirectoryStatistics',
'description' => '查询目录的统计信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetDirectoryStatistics',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'GetDirectoryRDFeatureStatus',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'cloudsso:GetDirectoryRDFeatureStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'CloudSSO', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
],
],
],
[
'apiName' => 'DeleteUserProvisioningEvent',
'description' => '删除RAM用户同步事件',
'operationType' => 'delete',
'ramAction' => [
'action' => 'cloudsso:DeleteUserProvisioningEvent',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
['validationType' => 'conditional', 'product' => 'CloudSSO', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/*'],
],
],
],
],
'resourceTypes' => [
['validationType' => 'always', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}'],
['validationType' => 'always', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/{#UserId}'],
['validationType' => 'always', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/{#GroupId}'],
['validationType' => 'always', 'resourceType' => 'SCIMServerCredential', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/scim-credential/{#CredentialId}'],
['validationType' => 'always', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/*'],
['validationType' => 'conditional', 'resourceType' => 'Account', 'arn' => 'acs:resourcemanager::{#accountId}:account/*'],
['validationType' => 'conditional', 'resourceType' => 'Account', 'arn' => 'acs:resourcemanager::{#accountId}:account/{#AccountId}'],
['validationType' => 'conditional', 'resourceType' => 'Group', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/group/*'],
['validationType' => 'conditional', 'resourceType' => 'User', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user/*'],
['validationType' => 'always', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}'],
['validationType' => 'always', 'resourceType' => 'Directory', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/*'],
['validationType' => 'always', 'resourceType' => 'UserProvisioning', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}'],
['validationType' => 'conditional', 'resourceType' => 'AccessConfiguration', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/*'],
['validationType' => 'always', 'resourceType' => 'SCIMServerCredential', 'arn' => 'acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/scim-credential/*'],
],
],
];