CommandPublicResource interface
代表命令的資源
屬性
| arguments | 要執行之命令的自變數 |
| cassandra |
如果為 true,請在執行命令之前停止 cassandra,然後再次啟動它 |
| command | 應該執行的命令 |
| command |
命令的唯一標識碼 |
| host | 要執行命令的 cassandra 主機 IP 位址 |
| is |
命令是否具有系統管理員許可權 |
| output |
寫入結果的檔名。 |
| read |
如果為 true,則允許命令 將 寫入 cassandra 目錄,否則為唯讀。 |
| result | 命令的結果輸出。 |
| status | 命令的狀態。 |
屬性詳細資料
arguments
要執行之命令的自變數
arguments?: Record<string, unknown>
屬性值
Record<string, unknown>
cassandraStopStart
如果為 true,請在執行命令之前停止 cassandra,然後再次啟動它
cassandraStopStart?: boolean
屬性值
boolean
command
應該執行的命令
command?: string
屬性值
string
commandId
命令的唯一標識碼
commandId?: string
屬性值
string
host
要執行命令的 cassandra 主機 IP 位址
host?: string
屬性值
string
isAdmin
命令是否具有系統管理員許可權
isAdmin?: boolean
屬性值
boolean
outputFile
寫入結果的檔名。
outputFile?: string
屬性值
string
readWrite
如果為 true,則允許命令 將 寫入 cassandra 目錄,否則為唯讀。
readWrite?: boolean
屬性值
boolean
result
命令的結果輸出。
result?: string
屬性值
string
status
命令的狀態。
status?: string
屬性值
string