Table of Contents

Class CassandraTableResource

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.Models
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 string

Name of the Cosmos DB Cassandra table

defaultTtl int?

Time to live of the Cosmos DB Cassandra table

schema CassandraSchema

Schema 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

string

Schema

Gets or sets schema of the Cosmos DB Cassandra table

public CassandraSchema Schema { get; set; }

Property Value

CassandraSchema

Methods

Validate()

Validate the object.

public virtual void Validate()

Exceptions

Microsoft.Rest.ValidationException

Thrown if validation fails