カーソルを使用して、指定された ResourceServer 配下のスコープ権限のリストを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
eiam:ListResourceServerScopes |
list |
*ResourceServerScope
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| InstanceId |
string |
必須 |
インスタンスの ID。 |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| NextToken |
string |
任意 |
結果の次のページを取得するために使用されるページネーショントークン。このパラメーターには、前の API 呼び出しで返された NextToken の値を設定します。最初のクエリでは、このパラメーターを空にします。 |
NTxxxxxexample |
| MaxResults |
integer |
任意 |
ページングクエリにおける 1 ページあたりのエントリ数。 |
20 |
| ApplicationId |
string |
必須 |
アプリケーションの ID。 |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| ResourceServerScopeName |
string |
任意 |
スコープ権限の名前。 |
读取全部用户 |
| ResourceServerScopeValue |
string |
任意 |
スコープ権限の値。 |
User:Write:ALL |
| PreviousToken |
string |
任意 |
前ページのページネーショントークン。このパラメーターには、前の API 呼び出しで返された PreviousToken の値を設定します。 |
PTxxxxxexample |
| ResourceServerScopeType |
string |
任意 |
スコープ権限のタイプ。 列挙値:
|
urn:alibaba:idaas:resourceserver:scope:delegated |
| AuthorizationType |
string |
任意 |
権限付与のタイプ。 列挙値:
|
authorize_required |
| ResourceServerScopeIds |
array |
任意 |
スコープ権限 ID のリスト。 |
|
|
string |
任意 |
スコープ権限の ID。 |
ress_neg35flu6byysxwutaxu3dxxxx |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID。 |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
リスト内のエントリの総数。 |
100 |
| NextToken |
string |
次ページのページネーショントークン。 |
NTxxxexample |
| MaxResults |
integer |
ページングクエリにおける 1 ページあたりのエントリ数。 |
20 |
| ResourceServerScopes |
array<object> |
ResourceServer 配下のスコープ権限のリスト。 |
|
|
object |
|||
| InstanceId |
string |
インスタンスの ID。 |
idaas_xxxxxxxxxxx |
| ApplicationId |
string |
アプリケーションの ID。 |
app_xxxxxxxxxxx |
| ResourceServerScopeId |
string |
スコープ権限の ID。 |
rss_xxxxxxxxxxx |
| ResourceServerScopeName |
string |
スコープ権限の名前。 |
读取全部用户 |
| ResourceServerScopeValue |
string |
スコープ権限の値。 |
User:Write:ALL |
| ResourceServerScopeType |
string |
スコープ権限のタイプ。 |
urn:alibaba:idaas:resourceserver:scope:delegated |
| AuthorizationType |
string |
権限付与のタイプ。 列挙値:
|
authorize_required |
| PreviousToken |
string |
前ページのページネーショントークン。 |
PTxxxexample |
例
成功レスポンス
JSONJSON
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"NextToken": "NTxxxexample",
"MaxResults": 20,
"ResourceServerScopes": [
{
"InstanceId": "idaas_xxxxxxxxxxx",
"ApplicationId": "app_xxxxxxxxxxx",
"ResourceServerScopeId": "rss_xxxxxxxxxxx",
"ResourceServerScopeName": "读取全部用户",
"ResourceServerScopeValue": "User:Write:ALL",
"ResourceServerScopeType": "urn:alibaba:idaas:resourceserver:scope:delegated",
"AuthorizationType": "authorize_required"
}
],
"PreviousToken": "PTxxxexample"
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。