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
@Beta(V1_10_0) 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
Creates a SQL CosmosDB account.- Returns:
- the next stage of the definition
-
withDataModelMongoDB
Creates a MongoDB CosmosDB account.- Returns:
- the next stage of the definition
-
withDataModelCassandra
Creates a Cassandra CosmosDB account.- Returns:
- the next stage of the definition
-
withDataModelAzureTable
Creates an Azure Table CosmosDB account.- Returns:
- the next stage of the definition
-
withDataModelGremlin
Creates a Gremlin CosmosDB account.- Returns:
- the next stage of the definition
-