public override async Task <ThroughputResponse> ReadThroughputAsync( RequestOptions requestOptions, CancellationToken cancellationToken = default(CancellationToken)) { string rid = await this.GetRIDAsync(cancellationToken); CosmosOffers cosmosOffers = new CosmosOffers(this.ClientContext); return(await cosmosOffers.ReadThroughputAsync(rid, requestOptions, cancellationToken)); }
public async Task <ThroughputResponse> ReadThroughputAsync( RequestOptions requestOptions, ITrace trace, CancellationToken cancellationToken) { string rid = await this.GetRIDAsync(cancellationToken); CosmosOffers cosmosOffers = new CosmosOffers(this.ClientContext); return(await cosmosOffers.ReadThroughputAsync( targetRID : rid, requestOptions : requestOptions, cancellationToken : cancellationToken)); }