Show Table of Contents
4.14. role
role リソースタイプは、Red Hat Virtualization 環境の個別ロールをすべてグループ化します。
表4.37 ロールのパラメーター
| 名前 | タイプ | 説明 | 必須 | ユーザーが作成可能 | ユーザーが更新可能 |
|---|---|---|---|---|---|
--name
|
文字列
|
ロール名
|
はい
|
はい
|
はい
|
--permits-permit
|
コレクション
|
ロールに最初から含まれているパーミット一覧。permit リソースタイプに含まれている追加パーミット。
|
はい
|
はい
|
いいえ
|
--description
|
文字列
|
ロールの説明
|
いいえ
|
はい
|
はい
|
--administrative
|
ブール値
|
管理者ロールの場合は
true に設定します。
|
いいえ
|
はい
|
はい
|
--permits-permi パラメーターは、以下の表に記載したサブパラメーターを使用するコレクションです。
表4.38 --permits-permit パラメーター
| 名前 | タイプ | 説明 |
|---|---|---|
permit.id
|
文字列
|
ロールのパーミットに追加するパーミットへの参照
|
例4.32 新規ロールの作成
[RHEVM shell (connected)]# add role --name MyRole --permits-permit {permit.id: 1;},{permit.id: 2;)
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.