diff --git a/Microsoft.Azure.Cosmos/src/RequestOptions/RequestOptions.cs b/Microsoft.Azure.Cosmos/src/RequestOptions/RequestOptions.cs index a1bf5f9595..24b1e09ae5 100644 --- a/Microsoft.Azure.Cosmos/src/RequestOptions/RequestOptions.cs +++ b/Microsoft.Azure.Cosmos/src/RequestOptions/RequestOptions.cs @@ -14,18 +14,30 @@ namespace Microsoft.Azure.Cosmos public class RequestOptions { /// - /// Gets or sets the If-Match (ETag) associated with the request in the Azure Cosmos DB service. + /// Gets or sets the If-Match (ETag) associated with the request in the Azure Cosmos DB service. /// /// - /// Most commonly used with the Delete* and Replace* methods of such as . + /// Most commonly used with the Delete* and Replace* methods of such as . + /// will ignore if specificed. + /// will ignore when materialized as Create, otherwise for Replace Etag constraint will be applied. + /// + /// /// public string IfMatchEtag { get; set; } /// + /// Most commonly used to detect changes to the resource /// Gets or sets the If-None-Match (ETag) associated with the request in the Azure Cosmos DB service. /// /// - /// Most commonly used to detect changes to the resource + /// Most commonly used with reads such as . + /// When Item Etag matches the specified then 304 status code will be returned, otherwise existing Item will be returned with 200. + /// will ignore when materialized as Create, otherwise for Replace Etag constraint will be applied. + /// + /// To match any Etag use "*" + /// If specified for writes (ex: Create, Replace, Delete) will be ignored. + /// + /// /// public string IfNoneMatchEtag { get; set; }