クラスターのすべてのユーザーをクエリします。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ehpc:ListUsers |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ClusterId |
string |
必須 |
E-HPC クラスターの ID。 ListClusters 操作を呼び出して、クラスター ID をクエリできます。 |
ehpc-hz-FYUr32**** |
| PageNumber |
integer |
任意 |
返すページ番号。 ページは 1 から始まります。 デフォルト値:1。 |
1 |
| PageSize |
integer |
任意 |
各ページで返すエントリ数。 有効な値:1~50。 デフォルト値:10。 |
10 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| PageSize |
integer |
ページあたりに返されるエントリ数。 |
1 |
| RequestId |
string |
リクエスト ID。 |
04F0F334-1335-436C-A1D7-6C044FE7**** |
| PageNumber |
integer |
返されたページ番号。 |
1 |
| TotalCount |
integer |
返されたエントリの総数。 |
1 |
| Users |
object |
||
| UserInfo |
array<object> |
ユーザーのリスト。 |
|
|
object |
|||
| Name |
string |
アカウントのユーザー名。 |
user1 |
| AddTime |
string |
ユーザーが作成された時間。 |
2018-07-18T17:46:47 |
| Group |
string |
権限グループの名前。 有効な値:
|
wheel |
例
成功レスポンス
JSONJSON
{
"PageSize": 1,
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****",
"PageNumber": 1,
"TotalCount": 1,
"Users": {
"UserInfo": [
{
"Name": "user1",
"AddTime": "2018-07-18T17:46:47",
"Group": "wheel"
}
]
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParams | The specified parameter %s is invalid. | |
| 500 | UnknownError | An unknown error occurred. | |
| 403 | InvalidClusterStatus | The operation failed due to invalid cluster status. | |
| 404 | ManagerNotFound | The manager nodes do not exist or their status is abnormal. | |
| 404 | ClusterNotFound | The specified cluster does not exist. | |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | |
| 406 | AgentError | The agent service request failed. | |
| 406 | AgentError.Account.DomainNotExist | The specified domain does not exist: %s. | |
| 406 | AgentError.Account.GetentPasswdFailure | Failed to get the user list: %s. | |
| 406 | AgentError.Account.GetUserListFailure | Get user list fail: %s | |
| 407 | NotAuthorized | You are not authorized by RAM for this request. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。