全部產品
Search
文件中心

Agentic Cloud Governance Center:GetEnrolledAccount - 擷取帳號工廠中註冊帳號詳情

更新時間:Apr 21, 2026

擷取帳號工廠中註冊帳號詳情。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

governance:GetEnrolledAccount

get

*全部資源

*

請求參數

名稱

類型

必填

描述

樣本值

AccountUid

integer

帳號 ID。

19534534552****

RegionId

string

地區 ID。

cn-hangzhou

返回參數

名稱

類型

描述

樣本值

object

註冊帳號資訊。

AccountUid

integer

帳號 ID。

12868156179*****

BaselineId

string

當前應用的基準 ID。

afb-bp1adadfadsf***

BaselineItems

array<object>

基準項配置數組。

object

基準項配置。

Config

string

基準項配置。

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

Name

string

基準項的名稱。

ACS-BP_ACCOUNT_FACTORY_VPC

Skip

boolean

是否跳過基準項。取值:

  • false:不跳過。

  • true:跳過。

false

Version

string

基準項版本。

1.0

CreateTime

string

建立時間。

2021-11-01T02:38:27Z

DisplayName

string

帳號顯示名稱。

test-account

ErrorInfo

object

錯誤資訊。

說明

StatusFailedScheduleFailed時,返回該錯誤資訊。

Code

string

錯誤碼。

EntityAlreadyExists.Role

Message

string

錯誤資訊。

The role already exists.

Recommend

string

處理建議。

https://next.api.aliyun.com/troubleshoot?q=EntityAlreadyExists.Role\u0026product=Ram

RequestId

string

請求 ID。

6D5EAA86-2D41-5CB7-8DA7-B60093ACAA4E

FolderId

string

父資源夾 ID。

fd-5ESoku****

Initialized

boolean

是否初始化完成。取值:

  • false:未完成。

  • true:已完成。

true

Inputs

object

註冊帳號時的輸入參數。

AccountNamePrefix

string

帳號名稱首碼。

test-account

AccountUid

integer

帳號 ID。

12868156179*****

BaselineItems

array<object>

基準項列表。

object

基準項列表。

Config

string

基準項配置。

{\"Contacts\":[{\"Name\":\"governance\",\"Email\":\"wibud5210+10@gmail.com\",\"Mobile\":\"1234\",\"Position\":\"Other\"}]}

Name

string

基準項名稱。

ACS-BP_ACCOUNT_FACTORY_VPC

Skip

boolean

是否跳過基準項。取值:

  • false:不跳過。

  • true:跳過。

false

Version

string

基準項版本。

1.0

DisplayName

string

帳號顯示名稱。

test-account

FolderId

string

父資源夾 ID。

fd-5ESoku****

PayerAccountUid

integer

結算帳號 ID。

19534534552*****

Tag

array<object>

標籤。

object

標籤。

Key

string

標籤鍵。

product

Value

string

標籤值。

governance

MasterAccountUid

integer

所屬的資來源目錄管理帳號 ID。

19534534552*****

PayerAccountUid

integer

結算帳號 ID。

19534534552*****

Progress

array<object>

基準實施進度。

object

實施進度。

Name

string

基準項名稱。

ACS-BP_ACCOUNT_FACTORY_VPC

Status

string

基準項實施狀態。取值:

  • Pending:等待中。

  • Running:實施中。

  • Finished:實施成功。

  • Failed:實施失敗。

Running

RequestId

string

請求 ID。

768F908D-A66A-5A5D-816C-20C93CBBFEE3

Status

string

帳號註冊狀態。取值:

  • Pending:等待中。

  • Running:建立實施中。

  • Finished:建立成功。

  • Failed:建立失敗。

  • Scheduling:調度中。

  • ScheduleFailed:調度失敗。

Finished

UpdateTime

string

更新時間。

2021-11-01T02:38:27Z

樣本

正常返回樣本

JSON格式

{
  "AccountUid": 0,
  "BaselineId": "afb-bp1adadfadsf***",
  "BaselineItems": [
    {
      "Config": "{\\\"Notifications\\\":[{\\\"GroupKey\\\":\\\"account_msg\\\",\\\"Contacts\\\":[{\\\"Name\\\":\\\"aa\\\"}],\\\"PmsgStatus\\\":1,\\\"EmailStatus\\\":1,\\\"SmsStatus\\\":1}]}",
      "Name": "ACS-BP_ACCOUNT_FACTORY_VPC",
      "Skip": false,
      "Version": "1.0"
    }
  ],
  "CreateTime": "2021-11-01T02:38:27Z",
  "DisplayName": "test-account",
  "ErrorInfo": {
    "Code": "EntityAlreadyExists.Role",
    "Message": "The role already exists.",
    "Recommend": "https://next.api.aliyun.com/troubleshoot?q=EntityAlreadyExists.Role\\u0026product=Ram",
    "RequestId": "6D5EAA86-2D41-5CB7-8DA7-B60093ACAA4E"
  },
  "FolderId": "fd-5ESoku****",
  "Initialized": true,
  "Inputs": {
    "AccountNamePrefix": "test-account",
    "AccountUid": 0,
    "BaselineItems": [
      {
        "Config": "{\\\"Contacts\\\":[{\\\"Name\\\":\\\"governance\\\",\\\"Email\\\":\\\"wibud5210+10@gmail.com\\\",\\\"Mobile\\\":\\\"1234\\\",\\\"Position\\\":\\\"Other\\\"}]}",
        "Name": "ACS-BP_ACCOUNT_FACTORY_VPC",
        "Skip": false,
        "Version": "1.0"
      }
    ],
    "DisplayName": "test-account",
    "FolderId": "fd-5ESoku****",
    "PayerAccountUid": 0,
    "Tag": [
      {
        "Key": "product",
        "Value": "governance"
      }
    ]
  },
  "MasterAccountUid": 0,
  "PayerAccountUid": 0,
  "Progress": [
    {
      "Name": "ACS-BP_ACCOUNT_FACTORY_VPC",
      "Status": "Running"
    }
  ],
  "RequestId": "768F908D-A66A-5A5D-816C-20C93CBBFEE3",
  "Status": "Finished",
  "UpdateTime": "2021-11-01T02:38:27Z"
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 InvalidParameter The specified parameter %s is not valid. 您的請求中存在參數缺失或者參數無效。
500 InternalError A system error occurred. 系統錯誤。
404 InvalidUser.NotFound The specified user does not exist. 使用者不存在。
404 InvalidBlueprint.NotFound The specified blueprint does not exist. 藍圖執行個體不存在。
404 InvalidEnterpriseRealName.NotFound The specified account has not passed enterprise real name verification. Please complete the verification for the account first. 當前帳號未進行企業實名認證,請您先完成企業實名認證。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情