CommandPostBody Constructors
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.
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
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.
Applies to
Azure SDK for .NET