CommandPostBody Class

Specification of which command to run where.

All required parameters must be populated in order to send to Azure.

Inheritance
CommandPostBody

Constructor

CommandPostBody(*, command: str, host: str, arguments: Optional[Dict[str, str]] = None, cassandra_stop_start: Optional[bool] = None, readwrite: Optional[bool] = None, **kwargs)

Variables

command
str

Required. The command which should be run.

arguments
dict[str, str]

The arguments for the command to be run.

host
str

Required. IP address of the cassandra host to run the command on.

cassandra_stop_start
bool

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

readwrite
bool

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