Skip to content

Commit 8c574e3

Browse files
committed
Adding tabs
1 parent cc6556e commit 8c574e3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

articles/cosmos-db/find-request-unit-charge.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ Currently, you can find the request charge in the Azure portal only for a SQL qu
3434
![Screenshot of a SQL query request charge in the Azure portal](./media/find-request-unit-charge/portal-sql-query.png)
3535

3636
### Use the .NET SDK
37-
### .Net V2 SDK
37+
38+
# [.NET SDK V2](#tab/dotnetv2)
3839

3940
Objects that are returned from the [.NET SDK v2](https://www.nuget.org/packages/Microsoft.Azure.DocumentDB/) expose a `RequestCharge` property:
4041

@@ -69,14 +70,16 @@ while (query.HasMoreResults)
6970
}
7071
```
7172

72-
### .Net V3 SDK
73+
# [.NET SDK V3](#tab/dotnetv3)
7374

7475
Objects that are returned from the [.NET SDK v3](https://www.nuget.org/packages/Microsoft.Azure.Cosmos/) expose a `RequestCharge` property:
7576

7677
[!code-csharp[](~/samples-cosmosdb-dotnet-v3/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/SampleCodeForDocs/CustomDocsSampleCode.cs?name=GetRequestCharge)]
7778

7879
For more information, see [Quickstart: Build a .NET web app by using a SQL API account in Azure Cosmos DB](create-sql-api-dotnet.md).
7980

81+
---
82+
8083
### Use the Java SDK
8184

8285
Objects that are returned from the [Java SDK](https://mvnrepository.com/artifact/com.microsoft.azure/azure-cosmosdb) expose a `getRequestCharge()` method:

0 commit comments

Comments
 (0)