cassandra_clusters_command_asyncs
Creates, updates, deletes, gets or lists a cassandra_clusters_command_asyncs
resource.
Overview
Name | cassandra_clusters_command_asyncs |
Type | Resource |
Id | azure.cosmos_db.cassandra_clusters_command_asyncs |
Fields
Name | Datatype | Description |
---|---|---|
arguments | object | The arguments for the command to be run |
cassandraStopStart | boolean | If true, stops cassandra before executing the command and then start it again |
command | string | The command which should be run |
commandId | string | The unique id of command |
host | string | IP address of the cassandra host to run the command on |
isAdmin | boolean | Whether command has admin privileges |
outputFile | string | The name of the file where the result is written. |
readWrite | boolean | If true, allows the command to write to the cassandra directory, otherwise read-only. |
result | string | Result output of the command. |
status | string | Status of the command. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | clusterName, commandId, resourceGroupName, subscriptionId | Get 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 }}';