Share via


ArmCosmosDBModelFactory.CassandraCommandPostBody Method

Definition

Initializes a new instance of CassandraCommandPostBody.

public static Azure.ResourceManager.CosmosDB.Models.CassandraCommandPostBody CassandraCommandPostBody (string command = default, System.Collections.Generic.IDictionary<string,string> arguments = default, string host = default, bool? cassandraStopStart = default, bool? allowWrite = default);
static member CassandraCommandPostBody : string * System.Collections.Generic.IDictionary<string, string> * string * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.CosmosDB.Models.CassandraCommandPostBody
Public Shared Function CassandraCommandPostBody (Optional command As String = Nothing, Optional arguments As IDictionary(Of String, String) = Nothing, Optional host As String = Nothing, Optional cassandraStopStart As Nullable(Of Boolean) = Nothing, Optional allowWrite As Nullable(Of Boolean) = Nothing) As CassandraCommandPostBody

Parameters

command
String

The command which should be run.

arguments
IDictionary<String,String>

The arguments for the command to be run.

host
String

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

cassandraStopStart
Nullable<Boolean>

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

allowWrite
Nullable<Boolean>

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

Returns

A new CassandraCommandPostBody instance for mocking.

Applies to