RAM ユーザーまたは RAM ロールに ApsaraVideo VOD アプリケーションへのアクセス権限を付与します。
操作説明
Each RAM user or RAM role can be granted permissions to access a maximum of 10 applications.
To call this operation, you must have application administrator permissions. We recommend that you use your Alibaba Cloud account for the first call.
The AppId parameter is optional only if you set PolicyNames to VODAppAdministratorAccess.
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vod:AttachAppPolicyToIdentity |
none |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| IdentityType |
string |
必須 |
ID タイプ。有効な値:
|
RamRole |
| IdentityName |
string |
必須 |
RAM ユーザーの ID または RAM ロールの名前。
|
**** |
| AppId |
string |
任意 |
アプリケーション ID。デフォルト値: app-1000000。詳細については、マルチアプリケーションをご参照ください。 説明
このパラメーターは、PolicyNames を VODAppAdministratorAccess に設定した場合にのみ省略できます。 |
app-**** |
| PolicyNames |
string |
必須 |
システムポリシーのみがサポートされています。複数のポリシー名はコンマ (,) で区切ります。有効な値:
|
VODAppFullAccess |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
The ID of the request. |
25818875-5F78-4A13-****-D7393642CA58 |
| NonExistPolicyNames |
array |
The names of the policies that were not found. |
|
|
string |
The names of the policies that were not found. |
test****1 |
|
| FailedPolicyNames |
array |
The names of the policies that failed to be granted to the RAM user or RAM role. |
|
|
string |
The names of the policies that failed to be granted to the RAM user or RAM role. |
test****2 |
例
成功レスポンス
JSONJSON
{
"RequestId": "25818875-5F78-4A13-****-D7393642CA58",
"NonExistPolicyNames": [
"test****1"
],
"FailedPolicyNames": [
"test****2"
]
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。