无法使用API -api/net/fc/interfaces删除REST角色
适用场景
- ONTAP 9
- RESt-API
问题描述
使用API调用
/api/network/fc/interfaces
和访问设置创建自定义角色以 readonly
防止删除此角色:cluster1::> security login rest-role delete -vserver svm1 -role custom-role -api /api/network/fc/interfaces
Warning: "custom-role" role has no access to the following commands (they are unsupported for Vserver administrators):
network interface create
network interface delete
network interface modify
Warning: This operation will also affect the following commands:
"network interface create"
"network interface delete"
"network interface modify"
Error: command failed: entry doesn't exist