ArmCosmosDBModelFactory.CassandraCommandPostBody Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
If true, stops cassandra before executing the command and then start it again.
If true, allows the command to write to the cassandra directory, otherwise read-only.
Returns
A new CassandraCommandPostBody instance for mocking.