Condividi tramite


CassandraCommandPostBody Class

Definition

Specification of which command to run where.

public class CassandraCommandPostBody : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.CassandraCommandPostBody>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.CassandraCommandPostBody>
type CassandraCommandPostBody = class
    interface IJsonModel<CassandraCommandPostBody>
    interface IPersistableModel<CassandraCommandPostBody>
Public Class CassandraCommandPostBody
Implements IJsonModel(Of CassandraCommandPostBody), IPersistableModel(Of CassandraCommandPostBody)
Inheritance
CassandraCommandPostBody
Implements

Constructors

CassandraCommandPostBody(String, String)

Initializes a new instance of CassandraCommandPostBody.

Properties

AllowWrite

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

Arguments

The arguments for the command to be run.

CassandraStopStart

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

Command

The command which should be run.

Host

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CassandraCommandPostBody>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CassandraCommandPostBody>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CassandraCommandPostBody>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CassandraCommandPostBody>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CassandraCommandPostBody>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to