4.6. 操作名の表示
read-operation-names
を使用すると、指定のリソースで使用できる操作をリスト表示できます。
:read-operation-names
以下の例は、デプロイメントで実行できる操作のリストを表示します。
/deployment=DEPLOYMENT_NAME:read-operation-names
{
"outcome" => "success",
"result" => [
"add",
"deploy",
"list-add",
"list-clear",
"list-get",
"list-remove",
"map-clear",
"map-get",
"map-put",
"map-remove",
"query",
"read-attribute",
"read-attribute-group",
"read-attribute-group-names",
"read-children-names",
"read-children-resources",
"read-children-types",
"read-operation-description",
"read-operation-names",
"read-resource",
"read-resource-description",
"redeploy",
"remove",
"undefine-attribute",
"undeploy",
"whoami",
"write-attribute"
]
}
read-operation-description
操作を使用して 操作の詳細を表示します。