Skip to content

Commit 4f75c4f

Browse files
committed
Adding tabs
1 parent 8e4c332 commit 4f75c4f

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

articles/cosmos-db/how-to-manage-conflicts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ DocumentCollection manualCollection = await createClient.CreateDocumentCollectio
298298
},
299299
});
300300
```
301+
301302
# [.NET SDK V3](#tab/dotnetv3)
302303

303304
```csharp
@@ -395,6 +396,7 @@ while (conflictFeed.HasMoreResults)
395396
}
396397
}
397398
```
399+
---
398400

399401
### <a id="read-from-conflict-feed-java"></a>Java SDK
400402

articles/cosmos-db/how-to-provision-container-throughput.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ To create a container with dedicated throughput see,
4444
> Use the Cosmos SDKs for SQL API to provision throughput for all Cosmos DB APIs, except Cassandra API.
4545
4646
### <a id="dotnet-most"></a>SQL, MongoDB, Gremlin, and Table APIs
47-
### .Net V2 SDK
47+
48+
# [.NET SDK V2](#tab/dotnetv2)
4849

4950
```csharp
5051
// Create a container with a partition key and provision throughput of 400 RU/s
@@ -58,10 +59,12 @@ await client.CreateDocumentCollectionAsync(
5859
new RequestOptions { OfferThroughput = 400 });
5960
```
6061

61-
### .Net V3 SDK
62+
# [.NET SDK V3](#tab/dotnetv3)
6263

6364
[!code-csharp[](~/samples-cosmosdb-dotnet-v3/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/SampleCodeForDocs/ContainerDocsSampleCode.cs?name=ContainerCreateWithThroughput)]
6465

66+
---
67+
6568
## JavaScript SDK
6669

6770
```javascript

articles/cosmos-db/how-to-provision-database-throughput.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ To create a database with shared throughput see,
4343
4444
### <a id="dotnet-all"></a>All APIs
4545

46-
### .Net V2 SDK
46+
# [.NET SDK V2](#tab/dotnetv2)
4747

4848
```csharp
4949
//set the throughput for the database
@@ -58,12 +58,16 @@ await client.CreateDatabaseIfNotExistsAsync(
5858
options);
5959
```
6060

61-
### .Net V3 SDK
61+
# [.NET SDK V3](#tab/dotnetv3)
6262

6363
[!code-csharp[](~/samples-cosmosdb-dotnet-v3/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/SampleCodeForDocs/DatabaseDocsSampleCode.cs?name=DatabaseCreateWithThroughput)]
6464

65+
---
66+
6567
### <a id="dotnet-cassandra"></a>Cassandra API
66-
Similar command can be executed through any CQL compliant driver.
68+
69+
Similar command can be executed through any CQL compliant driver.
70+
6771
```csharp
6872
// Create a Cassandra keyspace and provision throughput of 400 RU/s
6973
session.Execute("CREATE KEYSPACE IF NOT EXISTS myKeySpace WITH cosmosdb_provisioned_throughput=400");

0 commit comments

Comments
 (0)