Tüm Ürünler
Search
Belge Merkezi

:UpdateUserProvisioning

Son Güncelleme:Sep 30, 2026

Bir Resource Access Management (RAM) kullanıcı sağlamasını değiştirir.

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

update

*UserProvisioning

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

None None

Request parameters

Parameter

Type

Required

Description

Example

DirectoryId

string

Yes

Kaynak dizininin kimliği.

d-003qew84****

UserProvisioningId

string

Yes

RAM kullanıcı sağlamasının kimliği.

up-002axzhapcbz6e63****

NewDuplicationStrategy

string

No

Yeni ç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

NewDeletionStrategy

string

No

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

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

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

Delete

NewDescription

string

No

RAM kullanıcı sağlamasının yeni açıklaması.

description*****

Response elements

Element

Type

Description

Example

object

Döndürülen sonuçlar.

UserProvisioning

object

RAM kullanıcı sağlaması hakkındaki bilgiler.

Status

string

RAM kullanıcı sağlamasının durumu. Geçerli değerler:

  • Enabled

  • Disabled

Enabled

Description

string

RAM kullanıcı sağlamasının açıklaması.

This is a user provisioning.

UserProvisioningId

string

RAM kullanıcı sağlamasının kimliği.

up-002axzhapcbz6e63****

PrincipalId

string

RAM kullanıcı sağlamasının asıl 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ğlamasını oluşturduğunuz kaynak dizininin yolu.

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

UpdateTime

string

Güncelleme zamanı.

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ğlamasını sildiğinizde eşitlenen kullanıcıları yönetmek için kullanılır. Geçerli değerler:

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

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

Delete

PrincipalName

string

RAM kullanıcı sağlamasının asıl 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.

testUserName

TargetName

string

RAM kullanıcı sağlamasını oluşturduğunuz nesnenin adı. Değer, kaynak dizininin adı olarak sabittir.

testMemberName

TargetId

string

RAM kullanıcı sağlamasını oluşturduğunuz nesnenin kimliği. Değer, kaynak dizinindeki hesabın kimliği olarak sabittir.

u-02ha881d*****

CreateTime

string

Oluşturma zamanı.

2022-11-28T03:55:42Z

DirectoryId

string

Kaynak dizininin kimliği.

d-003qew84****

OwnerPk

string

Kaynak dizininin ait olduğu Alibaba Cloud hesabının kimliği.

164987310*****

TargetType

string

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

RD-Account

PrincipalType

string

RAM kullanıcı sağlamasının asıl türü. Geçerli değerler:

  • User: RAM kullanıcı sağlamasının aslının bir CloudSSO kullanıcısı olduğunu belirtir.

  • Group: RAM kullanıcı sağlamasının aslının bir CloudSSO kullanıcı grubu olduğunu belirtir.

User

RequestId

string

İstek kimliği.

F6F90F3D-4502-5877-B80B-97476F6AE2CC

Examples

Success response

JSON format

{
  "UserProvisioning": {
    "Status": "Enabled",
    "Description": "This is a user provisioning.",
    "UserProvisioningId": "up-002axzhapcbz6e63****",
    "PrincipalId": "g-02ha881d*****",
    "TargetPath": "rd-******/root/test**",
    "UpdateTime": "2022-11-28T03:55:42Z",
    "DuplicationStrategy": "KeepBoth",
    "DeletionStrategy": "Delete",
    "PrincipalName": "testUserName",
    "TargetName": "testMemberName",
    "TargetId": "u-02ha881d*****",
    "CreateTime": "2022-11-28T03:55:42Z",
    "DirectoryId": "d-003qew84****",
    "OwnerPk": "164987310*****",
    "TargetType": "RD-Account",
    "PrincipalType": "User"
  },
  "RequestId": "F6F90F3D-4502-5877-B80B-97476F6AE2CC"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.