Delen via


CommandPostBody Constructors

Definition

Overloads

CommandPostBody()

Initializes a new instance of the CommandPostBody class.

CommandPostBody(String, String, IDictionary<String,String>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the CommandPostBody class.

CommandPostBody()

Initializes a new instance of the CommandPostBody class.

public CommandPostBody ();
Public Sub New ()

Applies to

CommandPostBody(String, String, IDictionary<String,String>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the CommandPostBody class.

public CommandPostBody (string command, string host, System.Collections.Generic.IDictionary<string,string> arguments = default, bool? cassandraStopStart = default, bool? readwrite = default);
new Microsoft.Azure.Management.CosmosDB.Models.CommandPostBody : string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Management.CosmosDB.Models.CommandPostBody
Public Sub New (command As String, host As String, Optional arguments As IDictionary(Of String, String) = Nothing, Optional cassandraStopStart As Nullable(Of Boolean) = Nothing, Optional readwrite As Nullable(Of Boolean) = Nothing)

Parameters

command
String

The command which should be run

host
String

IP address of the cassandra host to run the command on

arguments
IDictionary<String,String>

The arguments for the command to be run

cassandraStopStart
Nullable<Boolean>

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

readwrite
Nullable<Boolean>

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

Applies to