指定されたプロセスインスタンス ID に基づくリソース権限アプリケーションの内容を照会します。
操作説明
リクエストの説明
この API は、指定された
ProcessInstanceIdに基づいてリソース権限アプリケーションの詳細をクエリするために使用されます。リクエストには有効な
ProcessInstanceIdパラメーターを指定する必要があります。応答には、基本情報、ステータス、および具体的なアプリケーション内容のリストが含まれます。
各アプリケーション内容には、詳細なリソース情報、権限付与対象者、リクエストされた操作権限などが含まれます。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ProcessInstanceId |
string |
必須 |
送信されたアプリケーションの承認プロセスインスタンス ID。 |
332066440109224007 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答パラメーター。 |
||
| RequestId |
string |
リクエスト ID。ログの検索やトラブルシューティングに使用されます。 |
34267E2E-0335-1A60-A1F0-ADA530890CBA |
| Data |
object |
プロセスインスタンスおよび関連するアプリケーション内容。 |
|
| ProcessInstanceId |
string |
プロセスインスタンス ID。 |
332066440109224007 |
| DefSchema |
string |
リソースタイプ。 注: アプリケーションでサポートされるリソースタイプは ResourceSchema .name によって制約されます。 列挙値:
|
MaxCompute |
| Reason |
string |
アプリケーションの理由。 |
业务需要 |
| ApplicationTime |
integer |
アプリケーションが送信された時間(ミリ秒タイムスタンプ)。 |
1779675618000 |
| Status |
string |
承認ステータス。有効な値:
列挙値:
|
WaitApproval |
| Contents |
array<object> |
アプリケーション内容のリスト。 |
|
|
array<object> |
アプリケーション内容の詳細。 |
||
| Id |
string |
The unique ID of the application content item. |
Y9H7AKFmjhWzLYdZNDZA5 |
| ProcessInstanceId |
string |
The ID of the approval process instance for the application. |
777799223 |
| TenantId |
string |
The tenant ID. |
69973837489 |
| ResourceName |
string |
The specific type of the resource, such as a table. |
table |
| DefSchema |
string |
The resource type. 列挙値:
|
MaxCompute |
| AuthMethod |
string |
The authorization method. |
ranger |
| Resource |
object |
The resource declaration. |
|
| DefSchema |
string |
The name of the 列挙値:
|
MaxCompute |
| DefVersion |
string |
The version of the |
v1.0.0 |
| MetaData |
string |
The resource metadata. The structure of the metadata is defined by the |
"{\"schema\":\"default\",\"threeTierModel\":false,\"workspace\":\"449656\",\"project\":\"sync_destination\",\"table\":\"order_table\",\"tenant\":\"524997424564736\"}" |
| Grantee |
object |
The grantee. |
|
| PrincipalType |
string |
The principal type. Valid values:
列挙値:
|
RamRole |
| PrincipalId |
string |
The ID of the principal. The format of the ID varies based on the
|
ROLE_3133343434 |
| AccessTypes |
array |
A list of the permissions requested for the resource. |
|
|
string |
A requested permission. |
select |
|
| FinalAccessTypes |
array |
A list of the permissions granted in the final approval. |
|
|
string |
An approved permission. |
select |
|
| ExpirationTime |
integer |
The time when the permissions expire. This value is a millisecond-precision timestamp. |
1785835708000 |
| Status |
string |
The approval status. Valid values:
列挙値:
|
Deleted |
| CreateTime |
integer |
The time when the content item was created. This value is a millisecond-precision timestamp. |
1773972024000 |
| UpdateTime |
integer |
The time when the content item was last updated. This value is a millisecond-precision timestamp. |
1773972024000 |
例
成功レスポンス
JSONJSON
{
"RequestId": "34267E2E-0335-1A60-A1F0-ADA530890CBA",
"Data": {
"ProcessInstanceId": "332066440109224007",
"DefSchema": "MaxCompute",
"Reason": "业务需要",
"ApplicationTime": 1779675618000,
"Status": "WaitApproval",
"Contents": [
{
"Id": "Y9H7AKFmjhWzLYdZNDZA5",
"ProcessInstanceId": "777799223",
"TenantId": "69973837489",
"ResourceName": "table",
"DefSchema": "MaxCompute",
"AuthMethod": "ranger",
"Resource": {
"DefSchema": "MaxCompute",
"DefVersion": "v1.0.0",
"MetaData": "\"{\\\"schema\\\":\\\"default\\\",\\\"threeTierModel\\\":false,\\\"workspace\\\":\\\"449656\\\",\\\"project\\\":\\\"sync_destination\\\",\\\"table\\\":\\\"order_table\\\",\\\"tenant\\\":\\\"524997424564736\\\"}\""
},
"Grantee": {
"PrincipalType": "RamRole",
"PrincipalId": "ROLE_3133343434"
},
"AccessTypes": [
"select"
],
"FinalAccessTypes": [
"select"
],
"ExpirationTime": 1785835708000,
"Status": "Deleted",
"CreateTime": 1773972024000,
"UpdateTime": 1773972024000
}
]
}
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。