Skip to main content

cassandra_clusters_command_asyncs

Creates, updates, deletes, gets or lists a cassandra_clusters_command_asyncs resource.

Overview

Namecassandra_clusters_command_asyncs
TypeResource
Idazure.cosmos_db.cassandra_clusters_command_asyncs

Fields

NameDatatypeDescription
argumentsobjectThe arguments for the command to be run
cassandraStopStartbooleanIf true, stops cassandra before executing the command and then start it again
commandstringThe command which should be run
commandIdstringThe unique id of command
hoststringIP address of the cassandra host to run the command on
isAdminbooleanWhether command has admin privileges
outputFilestringThe name of the file where the result is written.
readWritebooleanIf true, allows the command to write to the cassandra directory, otherwise read-only.
resultstringResult output of the command.
statusstringStatus of the command.

Methods

NameAccessible byRequired ParamsDescription
getSELECTclusterName, commandId, resourceGroupName, subscriptionIdGet details about a specified command that was run asynchronously.

SELECT examples

Get details about a specified command that was run asynchronously.

SELECT
arguments,
cassandraStopStart,
command,
commandId,
host,
isAdmin,
outputFile,
readWrite,
result,
status
FROM azure.cosmos_db.cassandra_clusters_command_asyncs
WHERE clusterName = '{{ clusterName }}'
AND commandId = '{{ commandId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';