Interface CosmosDBAccount.DefinitionStages.WithKind
- All Known Subinterfaces:
CosmosDBAccount.Definition
- Enclosing interface:
- CosmosDBAccount.DefinitionStages
public static interface CosmosDBAccount.DefinitionStages.WithKind
The stage of the cosmos db definition allowing to set the database account kind.
-
Method Summary
Modifier and TypeMethodDescriptionCreates an Azure Table CosmosDB account.Creates a Cassandra CosmosDB account.Creates a Gremlin CosmosDB account.Creates a MongoDB CosmosDB account.Creates a SQL CosmosDB account.withKind(DatabaseAccountKind kind) The database account kind for the CosmosDB account.withKind(DatabaseAccountKind kind, Capability... capabilities) The database account kind for the CosmosDB account.
-
Method Details
-
withKind
The database account kind for the CosmosDB account.- Parameters:
kind- the account kind- Returns:
- the next stage of the definition
-
withKind
CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withKind(DatabaseAccountKind kind, Capability... capabilities) The database account kind for the CosmosDB account.- Parameters:
kind- the account kindcapabilities- the list of Cosmos DB capabilities for the account- Returns:
- the next stage of the definition
-
withDataModelSql
CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelSql()Creates a SQL CosmosDB account.- Returns:
- the next stage of the definition
-
withDataModelMongoDB
CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelMongoDB()Creates a MongoDB CosmosDB account.- Returns:
- the next stage of the definition
-
withDataModelCassandra
CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelCassandra()Creates a Cassandra CosmosDB account.- Returns:
- the next stage of the definition
-
withDataModelAzureTable
CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelAzureTable()Creates an Azure Table CosmosDB account.- Returns:
- the next stage of the definition
-
withDataModelGremlin
CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelGremlin()Creates a Gremlin CosmosDB account.- Returns:
- the next stage of the definition
-