Show Table of Contents
3.6.7. 用管理 CLI 显示可用资源的描述
必须具备的条件
过程 3.19. 在管理 CLI 里执行命令
运行
read-resource-description操作在管理 CLI 里,使用read-resource-description来读取和显示可用资源。关于操作请求的详情,请参考 第 3.5.8 节 “在管理 CLI 里使用操作和命令”。[standalone@localhost:9999 /]
:read-resource-description使用可选参数
read-resource-description操作允许使用其他参数。- 使用
operations参数来包含资源操作的描述。[standalone@localhost:9999 /]
:read-resource-description(operations=true) - 使用
inherited参数可以包含或排除资源继承操作的描述。默认状态是 true。[standalone@localhost:9999 /]
:read-resource-description(inherited=false) - 使用
recursive参数来包含子资源的递归描述。[standalone@localhost:9999 /]
:read-resource-description(recursive=true) - 使用
locale参数来获取资源描述。如果为 null 则使用默认的 locale。[standalone@localhost:9999 /]
:read-resource-description(locale=true)
结果
显示可用资源的描述。

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.