アカウントファクトリーに登録されたアカウントの詳細情報を照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
governance:GetEnrolledAccount |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| 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 |
| Version |
string |
ベースラインアイテムのバージョンです。 |
1.0 |
| CreateTime |
string |
アカウントが作成された時刻です。 |
2021-11-01T02:38:27Z |
| DisplayName |
string |
アカウントの表示名です。 |
test-account |
| ErrorInfo |
object |
エラーメッセージです。 説明
|
|
| 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 |
初期化が完了しているかどうかを示します。有効値:
|
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 |
| 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 |
アカウントへのベースライン適用のステータスです。有効値:
|
Running |
| RequestId |
string |
リクエスト ID です。 |
768F908D-A66A-5A5D-816C-20C93CBBFEE3 |
| Status |
string |
アカウントのステータスです。有効値:
|
Finished |
| UpdateTime |
string |
更新時刻です。 |
2021-11-01T02:38:27Z |
例
成功レスポンス
JSONJSON
{
"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 ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。