CommandPostBody Class

Specification of which command to run where.

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

Inheritance
azure.mgmt.cosmosdb._serialization.Model
CommandPostBody

Constructor

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

Keyword-Only Parameters

Name Description
command
str

The command which should be run. Required.

arguments

The arguments for the command to be run.

host
str

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

cassandra_stop_start

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

readwrite

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

Variables

Name Description
command
str

The command which should be run. Required.

arguments

The arguments for the command to be run.

host
str

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

cassandra_stop_start

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

readwrite

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