CommandPublicResource interface

resource representing a command

Properties

arguments

The arguments for the command to be run

cassandraStopStart

If true, stops cassandra before executing the command and then start it again

command

The command which should be run

commandId

The unique id of command

host

IP address of the cassandra host to run the command on

isAdmin

Whether command has admin privileges

outputFile

The name of the file where the result is written.

readWrite

If true, allows the command to write to the cassandra directory, otherwise read-only.

result

Result output of the command.

status

Status of the command.

Property Details

arguments

The arguments for the command to be run

arguments?: Record<string, unknown>

Property Value

Record<string, unknown>

cassandraStopStart

If true, stops cassandra before executing the command and then start it again

cassandraStopStart?: boolean

Property Value

boolean

command

The command which should be run

command?: string

Property Value

string

commandId

The unique id of command

commandId?: string

Property Value

string

host

IP address of the cassandra host to run the command on

host?: string

Property Value

string

isAdmin

Whether command has admin privileges

isAdmin?: boolean

Property Value

boolean

outputFile

The name of the file where the result is written.

outputFile?: string

Property Value

string

readWrite

If true, allows the command to write to the cassandra directory, otherwise read-only.

readWrite?: boolean

Property Value

boolean

result

Result output of the command.

result?: string

Property Value

string

status

Status of the command.

status?: string

Property Value

string