IDocumentClient.ReplaceOfferAsync Method

Definition

Replaces a Offer as an asynchronous operation in the Azure DocumentDB database service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.ResourceResponse<Microsoft.Azure.Documents.Offer>> ReplaceOfferAsync (Microsoft.Azure.Documents.Offer offer);
Parameters
offer
Offer

The updated Offer to replace the existing resource with.

Returns

A System.Threading.Tasks containing a ResourceResponse<TResource> which wraps a Offer containing the updated resource record.