Tüm Ürünler
Search
Belge Merkezi

:GetUserProvisioningEvent

Son Güncelleme:Sep 30, 2026

Resource Access Management (RAM) kullanıcı sağlama bilgilerini sorgular.

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:GetUserProvisioningEvent

get

UserProvisioning

acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/{#UserProvisioningId}

UserProvisioning

acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/user-provisioning/*

None None

Request parameters

Parameter

Type

Required

Description

Example

EventId

string

Yes

RAM kullanıcı sağlama olayının kimliği.

EventId değerini sorgulamak için ListUserProvisioningEvents işlemini çağırabilirsiniz.

upe-wjKyNDmZvyZOiRcJ****

DirectoryId

string

Yes

Kaynak dizininin kimliği.

d-003qew84****

Response elements

Element

Type

Description

Example

object

Yanıt parametreleri.

RequestId

string

İstek kimliği.

B801715C-97EA-3067-AC97-EF1EBECBB39C

UserProvisioningEvent

object

RAM kullanıcı sağlama olayı.

UserProvisioningId

string

RAM kullanıcı sağlama olayının kimliği.

up-002axzhapcbz6e63****

PrincipalId

string

RAM kullanıcı sağlama kimliği. Geçerli değerler:

  • PrincipalType parametresi için Group döndürülürse, bu parametrenin değeri bir CloudSSO kullanıcı grubunun kimliğidir (g-********).

  • PrincipalType parametresi için User döndürülürse, bu parametrenin değeri bir CloudSSO kullanıcısının kimliğidir (u-********).

g-02ha881d*****

TargetPath

string

Nesne için RAM kullanıcı sağlama işlemini oluşturduğunuz kaynak dizininin yolu.

rd-******/root/test**

ErrorInfo

string

RAM kullanıcı sağlama olayının son çalıştırması başarısız olduğunda görüntülenen hata mesajı.

OperationConflict.UserProvisioning.Process.fail.ImsUserExists

SourceType

string

Kaynak işleminin türü. Geçerli değerler:

  • StartProvisioning: RAM kullanıcı sağlamayı etkinleştirir.

  • DeleteProvisioning: RAM kullanıcı sağlamayı siler.

  • AddUserToGroup: Bir kullanıcıyı bir kullanıcı grubuna ekler.

  • RemoveUserFromGroup: Bir kullanıcıyı bir kullanıcı grubundan kaldırır.

  • UserProvisioningDeletionClearing: RAM kullanıcı sağlamayı siler ve arka planda kaynakları temizler.

AddUserToGroup

UpdateTime

string

Değişiklik zamanı. Zaman UTC olarak gösterilir.

2022-11-28T03:55:42Z

DuplicationStrategy

string

Çakışma işleme politikası. Bu politika, bir RAM kullanıcısının RAM'e eşitlenen CloudSSO kullanıcısıyla aynı kullanıcı adına sahip olması durumunda kullanılır. Geçerli değerler:

  • KeepBoth: Bir CloudSSO kullanıcısı RAM'e eşitlendiğinde, CloudSSO kullanıcısıyla aynı kullanıcı adına sahip bir RAM kullanıcısı varsa, sistem kullanıcı adı CloudSSO kullanıcısının kullanıcı adı artı _sso son eki olan bir RAM kullanıcısı oluşturur.

  • TakeOver: Bir CloudSSO kullanıcısı RAM'e eşitlendiğinde, CloudSSO kullanıcısıyla aynı kullanıcı adına sahip bir RAM kullanıcısı varsa, sistem RAM kullanıcısını CloudSSO kullanıcısıyla değiştirir.

KeepBoth

DeletionStrategy

string

Silme politikası. Bu politika, RAM kullanıcı sağlamayı sildiğinizde eşitlenen kullanıcıları yönetmek için kullanılır. Geçerli değerler:

  • Delete: RAM kullanıcı sağlamayı sildiğinizde, sistem eşitlenen kullanıcıları siler.

  • Keep: RAM kullanıcı sağlamayı sildiğinizde, sistem eşitlenen kullanıcıları korur.

Delete

PrincipalName

string

RAM kullanıcı sağlama kimliğinin adı. Geçerli değerler:

  • PrincipalType parametresi için Group döndürülürse, bu parametrenin değeri bir CloudSSO kullanıcı grubunun adıdır.

  • PrincipalType parametresi için User döndürülürse, bu parametrenin değeri bir CloudSSO kullanıcısının adıdır.

exampleGroupName

TargetName

string

RAM kullanıcı sağlama işlemini oluşturduğunuz nesnenin adı.

Değer, kaynak dizinindeki üyenin adı olarak sabittir.

exampleRdMember

ErrorCount

integer

Başarısız çalıştırma sayısı.

3

TargetId

string

RAM kullanıcı sağlama işlemini oluşturduğunuz nesnenin kimliği.

Değer, kaynak dizinindeki üyenin kimliği olarak sabittir.

1743382******

CreateTime

string

Oluşturma zamanı. Zaman UTC olarak gösterilir.

2022-11-28T03:55:42Z

DirectoryId

string

Kaynak dizininin kimliği.

d-003qew84****

TargetType

string

RAM kullanıcı sağlama işlemini oluşturduğunuz nesne. Değer, RD-Account olarak sabittir.

RD-Account

EventId

string

RAM kullanıcı sağlama olayının kimliği.

upe-wjKyNDmZvyZOiRcJ****

PrincipalType

string

RAM kullanıcı sağlama kimliğinin türü. Geçerli değerler:

  • User: RAM kullanıcı sağlama kimliği bir CloudSSO kullanıcısıdır.

  • Group: RAM kullanıcı sağlama kimliği bir CloudSSO kullanıcı grubudur.

Group

LatestAsyncTime

string

RAM kullanıcı sağlama olayının en son çalıştırıldığı zaman. Zaman UTC olarak gösterilir.

2022-11-28T03:55:42Z

Examples

Success response

JSON format

{
  "RequestId": "B801715C-97EA-3067-AC97-EF1EBECBB39C",
  "UserProvisioningEvent": {
    "UserProvisioningId": "up-002axzhapcbz6e63****",
    "PrincipalId": "g-02ha881d*****",
    "TargetPath": "rd-******/root/test**",
    "ErrorInfo": "OperationConflict.UserProvisioning.Process.fail.ImsUserExists",
    "SourceType": "AddUserToGroup",
    "UpdateTime": "2022-11-28T03:55:42Z",
    "DuplicationStrategy": "KeepBoth",
    "DeletionStrategy": "Delete",
    "PrincipalName": "exampleGroupName",
    "TargetName": "exampleRdMember",
    "ErrorCount": 3,
    "TargetId": "1743382******",
    "CreateTime": "2022-11-28T03:55:42Z",
    "DirectoryId": "d-003qew84****",
    "TargetType": "RD-Account",
    "EventId": "upe-wjKyNDmZvyZOiRcJ****",
    "PrincipalType": "Group",
    "LatestAsyncTime": "2022-11-28T03:55:42Z"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.