メンバーに関する情報を照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
resourcemanager:GetAccount |
get |
*Account
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| AccountId |
string |
必須 |
メンバーの ID。 |
|
| IncludeTags |
boolean |
任意 |
タグ情報を返すかどうかを指定します。 有効な値:
|
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
返されるデータ。 |
||
| Account |
object |
メンバーに関する情報。 |
|
| Status |
string |
メンバーのステータス。 有効な値:
|
|
| Type |
string |
メンバーのタイプ。 有効な値:
|
|
| DisplayName |
string |
メンバーの表示名。 |
|
| FolderId |
string |
フォルダの ID。 |
|
| ResourceDirectoryId |
string |
リソースディレクトリの ID。 |
|
| IdentityInformation |
string |
ID 検証情報。 |
|
| JoinTime |
string |
メンバーがリソースディレクトリに参加した時間。 |
|
| AccountId |
string |
メンバーの ID。 |
|
| JoinMethod |
string |
メンバーがリソースディレクトリに参加した方法。 有効な値:
|
|
| ModifyTime |
string |
メンバーが最後に変更された時間。 |
|
| AccountName |
string |
アカウント名。 |
|
| ResourceDirectoryPath |
string |
リソースディレクトリ内のメンバーのパス (RDPath)。 |
|
| Tags |
array<object> |
タグ。 |
|
|
object |
タグのリスト。 |
||
| Key |
string |
タグキー。 |
|
| Value |
string |
タグ値。 |
|
| Location |
string |
リソースディレクトリ内のメンバーのロケーション。 |
|
| EmailStatus |
string |
メールアドレスのステータス。 有効な値:
|
|
| HasSecureMobilePhone |
boolean |
セキュリティ携帯電話がメンバーにアタッチされているかどうかを示します。 有効な値:
|
|
| SecureMobilePhone |
string |
セキュリティ携帯電話番号。 |
|
| RequestId |
string |
リクエストの ID。 |
例
成功レスポンス
JSONJSON
{
"Account": {
"Status": "",
"Type": "",
"DisplayName": "",
"FolderId": "",
"ResourceDirectoryId": "",
"IdentityInformation": "",
"JoinTime": "",
"AccountId": "",
"JoinMethod": "",
"ModifyTime": "",
"AccountName": "",
"ResourceDirectoryPath": "",
"Tags": [
{
"Key": "",
"Value": ""
}
],
"Location": "",
"EmailStatus": "",
"HasSecureMobilePhone": true,
"SecureMobilePhone": ""
},
"RequestId": ""
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | MissingParameter.AccountId | You must specify AccountId. | |
| 400 | InvalidParameter.AccountId | The AccountId is invalid. | 指定された Alibaba Cloud アカウント ID は無効です。 アカウント ID は 16 桁の英数字です。 |
| 404 | EntityNotExists.Account | This resource directory account does not exist. | 指定されたメンバーアカウントは存在しません。 まずメンバーアカウントを作成してください。 |
| 404 | EntityNotExists.ResourceDirectory | The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account. | The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。