CosmosDBAccount.DefinitionStages.WithKind Interface
public static interface CosmosDBAccount.DefinitionStages.WithKind
The stage of the cosmos db definition allowing to set the database account kind.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withDataModelAzureTable()
Creates an Azure Table CosmosDB account. |
abstract
With |
withDataModelCassandra()
Creates a Cassandra CosmosDB account. |
abstract
With |
withDataModelGremlin()
Creates a Gremlin CosmosDB account. |
abstract
With |
withDataModelMongoDB()
Creates a MongoDB CosmosDB account. |
abstract
With |
withDataModelSql()
Creates a SQL CosmosDB account. |
abstract
With |
withKind(DatabaseAccountKind kind)
The database account kind for the CosmosDB account. |
abstract
With |
withKind(DatabaseAccountKind kind, Capability[] capabilities)
The database account kind for the CosmosDB account. |
Method Details
withDataModelAzureTable
public abstract CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelAzureTable()
Creates an Azure Table CosmosDB account.
Returns:
withDataModelCassandra
public abstract CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelCassandra()
Creates a Cassandra CosmosDB account.
Returns:
withDataModelGremlin
public abstract CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelGremlin()
Creates a Gremlin CosmosDB account.
Returns:
withDataModelMongoDB
public abstract CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelMongoDB()
Creates a MongoDB CosmosDB account.
Returns:
withDataModelSql
public abstract CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelSql()
Creates a SQL CosmosDB account.
Returns:
withKind
public abstract CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withKind(DatabaseAccountKind kind)
The database account kind for the CosmosDB account.
Parameters:
Returns:
withKind
public abstract CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withKind(DatabaseAccountKind kind, Capability[] capabilities)
The database account kind for the CosmosDB account.
Parameters:
Returns:
Applies to
Azure SDK for Java