diff --git a/Microsoft.Azure.Cosmos/src/Resource/Container/Container.cs b/Microsoft.Azure.Cosmos/src/Resource/Container/Container.cs index 2978d741bf..5b6f188e89 100644 --- a/Microsoft.Azure.Cosmos/src/Resource/Container/Container.cs +++ b/Microsoft.Azure.Cosmos/src/Resource/Container/Container.cs @@ -470,6 +470,13 @@ public abstract Task> ReadItemAsync( /// Check the HTTP status code on the response to check if the operation failed. /// /// https://aka.ms/cosmosdb-dot-net-exceptions#stream-api + /// + /// + /// Upsert result i.e. creation or replace can be identified by the status code: + /// 201 - item created + /// 200 - item replaced + /// + /// /// /// Upsert a Stream containing the item to Cosmos /// @@ -506,6 +513,13 @@ public abstract Task UpsertItemStreamAsync( /// (Optional) representing request cancellation. /// The that was upserted contained within a object representing the service response for the asynchronous operation. /// https://aka.ms/cosmosdb-dot-net-exceptions#typed-api + /// + /// + /// Upsert result i.e. creation or replace can be identified by the status code: + /// 201 - item created + /// 200 - item replaced + /// + /// /// /// ///