Tüm Ürünler
Search
Belge Merkezi

:GetDirectoryStatistics

Son Güncelleme:Sep 30, 2026

Bir dizinin istatistiklerini sorgular.

Operation description

Bu konu, kimliği d-00fc2p61**** olan bir dizinin istatistiklerinin nasıl sorgulanacağına dair bir örnek sunar. İstatistikler; kullanıcı sayısı, kullanıcı kotası, grup sayısı, grup kotası, erişim yapılandırması sayısı, erişim yapılandırması kotası, atanan erişim izni sayısı, bir erişim yapılandırması için yapılandırılabilecek sistem ilkesi sayısı, Etki Alanları Arası Kimlik Yönetimi (SCIM) kimlik bilgisi sayısı, eşzamansız görev sayısı, tek oturum açma (SSO) durumu ve SCIM senkronizasyon durumunu içerir.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

cloudsso:GetDirectoryStatistics

get

*Directory

acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}

None None

Request parameters

Parameter

Type

Required

Description

Example

DirectoryId

string

Yes

Dizinin kimliği.

d-00fc2p61****

Ortak istek parametreleri hakkında daha fazla bilgi için Ortak parametreler konusuna bakın.

Response elements

Element

Type

Description

Example

object

Yanıt parametreleri.

RequestId

string

İstek kimliği.

7B7228B0-A435-5D27-A6B2-ED3571F0654B

DirectoryStatistics

object

Dizinin istatistikleri.

UserCount

integer

Kullanıcı sayısı.

16

GroupCount

integer

Kullanıcı grubu sayısı.

4

UserQuota

integer

Kullanıcı kotası.

1000

GroupQuota

integer

Kullanıcı grubu kotası.

500

AccessConfigurationQuota

integer

Erişim yapılandırması kotası.

1000

AccessAssignmentCount

integer

Atanan erişim izni sayısı.

5

SCIMServerCredentialCount

integer

SCIM kimlik bilgisi sayısı.

2

DirectoryId

string

Dizinin kimliği.

d-00fc2p61****

SSOEnabled

boolean

SSO'nun etkin olup olmadığını gösterir. Geçerli değerler:

  • true

  • false

false

Region

string

Dizinin bölge kimliği.

cn-shanghai

AccessConfigurationCount

integer

Erişim yapılandırması sayısı.

6

DirectoryName

string

Dizinin adı.

new-example

InProgressTaskCount

integer

Yürütülmekte olan görev sayısı.

0

SCIMSyncEnabled

boolean

SCIM senkronizasyonunun etkin olup olmadığını gösterir. Geçerli değerler:

  • true

  • false

true

SystemPolicyPerAccessConfigurationQuota

integer

Bir erişim yapılandırması için yapılandırılabilecek sistem ilkeleri kotası.

20

InlinePolicyPerAccessConfigurationQuota

integer

Bir erişim yapılandırması için yapılandırılabilecek satır içi ilke sayısı.

1

Examples

Success response

JSON format

{
  "RequestId": "7B7228B0-A435-5D27-A6B2-ED3571F0654B",
  "DirectoryStatistics": {
    "UserCount": 16,
    "GroupCount": 4,
    "UserQuota": 1000,
    "GroupQuota": 500,
    "AccessConfigurationQuota": 1000,
    "AccessAssignmentCount": 5,
    "SCIMServerCredentialCount": 2,
    "DirectoryId": "d-00fc2p61****",
    "SSOEnabled": false,
    "Region": "cn-shanghai",
    "AccessConfigurationCount": 6,
    "DirectoryName": "new-example",
    "InProgressTaskCount": 0,
    "SCIMSyncEnabled": true,
    "SystemPolicyPerAccessConfigurationQuota": 20,
    "InlinePolicyPerAccessConfigurationQuota": 1
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.