Tüm Ürünler
Search
Belge Merkezi

:BatchEnrollAccounts

Son Güncelleme:Oct 27, 2026

Mevcut kaynak hesaplarına toplu olarak hesap temel yapılandırmalarını uygular.

Operation description

Bu API'yi mevcut kaynak hesaplarına hesap temel yapılandırmalarını uygulamak için kullanabilirsiniz.

Hesap kaydı eşzamansız bir işlemdir. Bir kaynak hesap oluşturulduktan sonra, hesap fabrikası temel yapılandırması hesaba uygulanır. Hesap ayrıntılarını sorgulamak ve uygulama sonuçlarını kontrol etmek için GetEnrolledAccount API'sini çağırabilirsiniz.

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

governance:BatchEnrollAccounts

create

*Tüm kaynaklar.

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Accounts

array<object>

No

Hesap listesi.

object

No

Hesap bilgileri.

AccountUid

integer

No

Hesap kimliği. Bir hesap oluşturmak için bu parametre gereklidir.

12868156179****

BaselineItems

array<object>

No

Temel yapılandırma öğesi yapılandırmaları dizisi. Bu parametre belirtilirse, temel yapılandırma öğesi yapılandırmaları belirtilen hesap temel yapılandırmasıyla birleştirilir. Aynı temel yapılandırma öğeleri için bu parametredeki yapılandırmalar önceliklidir. Bu parametreyi boş bırakın, BaselineId parametresini kullanarak hesap temel yapılandırmasını belirtin ve mevcut temel yapılandırmayı kullanarak yapılandırmaları hesaba uygulayın.

object

No

Temel yapılandırma öğesi yapılandırması.

Config

string

No

Temel yapılandırma öğesi yapılandırması.

{"Notifications":[{"GroupKey":"account_msg","Contacts":[{"Name":"aa"}],"PmsgStatus":1,"EmailStatus":1,"SmsStatus":1}]}

Name

string

No

Temel yapılandırma öğesinin adı.

ACS-BP_ACCOUNT_FACTORY_VPC

Skip

boolean

No

Temel yapılandırma öğesinin atlanıp atlanmayacağını belirtir. Geçerli değerler:

  • false: Temel yapılandırma öğesi atlanmaz.

  • true: Temel yapılandırma öğesi atlanır.

false

Version

string

No

Temel yapılandırma öğesinin sürümü.

1.0

BaselineId

string

No

Temel yapılandırma kimliği. Bu parametre boş bırakılırsa, sistem varsayılan temel yapılandırması kullanılır.

afb-bp1durvn3lgqe28v****

RegionId

string

No

Bölge kimliği.

cn-hangzhou

Response elements

Element

Type

Description

Example

object

Yanıt parametreleri.

RequestId

string

İstek kimliği.

16B208DD-86BD-5E7D-AC93-FFD44B6FBDF1

Examples

Success response

JSON format

{
  "RequestId": "16B208DD-86BD-5E7D-AC93-FFD44B6FBDF1"
}

Error codes

HTTP status code

Error code

Error message

Description

500 InternalError A system error occurred. Bir sistem hatası oluştu.
404 InvalidEnterpriseRealName.NotFound The specified account has not passed enterprise real name verification. Please complete the verification for the account first. Mevcut hesap kurumsal gerçek ad doğrulamasını tamamlamadı. Önce kurumsal gerçek ad doğrulamasını tamamlayın.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.