November 2018
Intermediate to advanced
424 pages
10h 55m
English
Perform the following steps:
[FunctionName("ScaleRU_AT")] public static async Task<string> ScaleRU_AT( [ActivityTrigger] int RequestUnits, [CosmosDB(ConnectionStringSetting = "CosmosDBConnectionString")]DocumentClient client ) { DocumentCollection EmployeeCollection = await client.ReadDocumentCollectionAsync(UriFactory.CreateDocumentCollectionUri("cookbookdb", "EmployeeCollection")); Offer offer = client.CreateOfferQuery().Where(o => o.ResourceLink == EmployeeCollection.SelfLink).AsEnumerable().Single(); ...