All Products
Document Center


Last Updated: Mar 05, 2019


You can call this operation to initialize DLA in the region for the service account based on input parameters.

Request parameters

Name Type Required Description
Action String Yes The operation that you want to perform. Set the value to InitializeRegion.
RegionID String Yes The ID of the region where you make the request. For more information, see DLA regions in Appendix.
UseRandomPassword String Yes Indicates whether the randomly generated password for the service account is used.
InitPassword String No If you set UseRandomPassword to false, enter a user-defined password.

The password consists of letters, digits, and special characters, such as acute accents (`), tildes (~), exclamation marks (!), at signs (@), number signs (#), dollar signs ($), percent signs (%), carets (^), ampersand signs (&), asterisks (*), parentheses (()), underscores (_), plus signs (+), en dashes (-), equal signs (=), brackets ([]), backslashes (), vertical bars (|), semicolons (;), single quotation marks (‘), colons (:), commas (,), periods (.), forward slashes (/), angle brackets (<>), and question marks (?) .

EnableKMS Boolean No Indicates whether KMS is enabled for user password management.

Response parameters

Name Type Description
Common response parameters - For more information, see Common parameters.
RequestId String The GUID generated by Alibaba Cloud for the request.
RegionId String The ID of the region where you make the request.
Account Account The returned data for the service account.

Account type

Name Type Description
UserName String The service account assigned to you.
Password String The password for the service account.

Sample requests

  2. &RegionID=<RegionID>, for example, cn-hangzhou
  3. &UseRandomPassword=true
  4. &<Common request parameters>


  2. &RegionID=<RegionID>, for example, cn-hangzhou
  3. &UseRandomPassword=false
  4. &InitPassword=W1kmzshiLB6bjHDE39
  5. &EnableKMS=true
  6. &<Common request parameters>

Sample responses

XML format

  1. <InitializeRegionResponse>
  2. <RequestId>3D19F17E-59A2-49B6-A9D8-907E8901F1EC</RequestId>
  3. <RegionId>cn-hangzhou</RegionId>
  4. <Account>
  5. <UserName>oa_186330081173000000aaaa</RegionId>
  6. <Password>W1kmzshiLB6bjHDE39</RegionId>
  7. </Account>
  8. </InitializeRegionResponse>

JSON format

  1. {
  2. "RequestId": "3D19F17E-59A2-49B6-A9D8-907E8901F1EC",
  3. "RegionId": "cn-hangzhou"
  4. "Account": {
  5. "Password": "W1kmzshiLB6bjHDE39",
  6. "UserName": "oa_186330081173000000aaaa"
  7. }
  8. }