Interface CosmosDBAccount.DefinitionStages.WithKind
-
- All Known Subinterfaces:
CosmosDBAccount.Definition
- Enclosing interface:
- CosmosDBAccount.DefinitionStages
public static interface CosmosDBAccount.DefinitionStages.WithKindThe stage of the cosmos db definition allowing to set the database account kind.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CosmosDBAccount.DefinitionStages.WithConsistencyPolicywithDataModelAzureTable()Creates an Azure Table CosmosDB account.CosmosDBAccount.DefinitionStages.WithConsistencyPolicywithDataModelCassandra()Creates a Cassandra CosmosDB account.CosmosDBAccount.DefinitionStages.WithConsistencyPolicywithDataModelGremlin()Creates a Gremlin CosmosDB account.CosmosDBAccount.DefinitionStages.WithConsistencyPolicywithDataModelMongoDB()Creates a MongoDB CosmosDB account.CosmosDBAccount.DefinitionStages.WithConsistencyPolicywithDataModelSql()Creates a SQL CosmosDB account.CosmosDBAccount.DefinitionStages.WithConsistencyPolicywithKind(DatabaseAccountKind kind)The database account kind for the CosmosDB account.CosmosDBAccount.DefinitionStages.WithConsistencyPolicywithKind(DatabaseAccountKind kind, Capability... capabilities)The database account kind for the CosmosDB account.
-
-
-
Method Detail
-
withKind
CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withKind(DatabaseAccountKind kind)
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
@Beta(V1_10_0) CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelSql()
Creates a SQL CosmosDB account.- Returns:
- the next stage of the definition
-
withDataModelMongoDB
@Beta(V1_10_0) CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelMongoDB()
Creates a MongoDB CosmosDB account.- Returns:
- the next stage of the definition
-
withDataModelCassandra
@Beta(V1_10_0) CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelCassandra()
Creates a Cassandra CosmosDB account.- Returns:
- the next stage of the definition
-
withDataModelAzureTable
@Beta(V1_10_0) CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelAzureTable()
Creates an Azure Table CosmosDB account.- Returns:
- the next stage of the definition
-
withDataModelGremlin
@Beta(V1_10_0) CosmosDBAccount.DefinitionStages.WithConsistencyPolicy withDataModelGremlin()
Creates a Gremlin CosmosDB account.- Returns:
- the next stage of the definition
-
-