Class CassandraTableResource
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
Cosmos DB Cassandra table resource object
public class CassandraTableResource
- Inheritance
-
CassandraTableResource
- Inherited Members
Constructors
CassandraTableResource()
Initializes a new instance of the CassandraTableResource class.
public CassandraTableResource()
CassandraTableResource(string, int?, CassandraSchema)
Initializes a new instance of the CassandraTableResource class.
public CassandraTableResource(string id, int? defaultTtl = null, CassandraSchema schema = null)
Parameters
id
stringName of the Cosmos DB Cassandra table
defaultTtl
int?Time to live of the Cosmos DB Cassandra table
schema
CassandraSchemaSchema of the Cosmos DB Cassandra table
Properties
DefaultTtl
Gets or sets time to live of the Cosmos DB Cassandra table
public int? DefaultTtl { get; set; }
Property Value
- int?
Id
Gets or sets name of the Cosmos DB Cassandra table
public string Id { get; set; }
Property Value
Schema
Gets or sets schema of the Cosmos DB Cassandra table
public CassandraSchema Schema { get; set; }
Property Value
Methods
Validate()
Validate the object.
public virtual void Validate()
Exceptions
- Microsoft.Rest.ValidationException
Thrown if validation fails