diff --git a/sdk/consumption/arm-consumption/README.md b/sdk/consumption/arm-consumption/README.md index b7e09d98951e..ddcd05d27ed5 100644 --- a/sdk/consumption/arm-consumption/README.md +++ b/sdk/consumption/arm-consumption/README.md @@ -55,7 +55,13 @@ const filter = "testfilter"; const skiptoken = "testskiptoken"; const top = 1; const metric = "actualcost"; -client.usageDetails.list(scope, expand, filter, skiptoken, top, metric).then((result) => { +client.usageDetails.list(scope,{ + expand: expand, + filter: filter, + skiptoken: skiptoken, + top: top, + metric: metric +}).then((result) => { console.log("The result is:"); console.log(result); }).catch((err) => { @@ -98,13 +104,19 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t const skiptoken = "testskiptoken"; const top = 1; const metric = "actualcost"; - client.usageDetails.list(scope, expand, filter, skiptoken, top, metric).then((result) => { - console.log("The result is:"); - console.log(result); - }).catch((err) => { - console.log("An error occurred:"); - console.error(err); - }); + client.usageDetails.list(scope,{ + expand: expand, + filter: filter, + skiptoken: skiptoken, + top: top, + metric: metric + }).then((result) => { + console.log("The result is:"); + console.log(result); + }).catch((err) => { + console.log("An error occurred:"); + console.error(err); + }); diff --git a/sdk/consumption/arm-consumption/package.json b/sdk/consumption/arm-consumption/package.json index f004b5731c34..24a6d73bfeed 100644 --- a/sdk/consumption/arm-consumption/package.json +++ b/sdk/consumption/arm-consumption/package.json @@ -2,7 +2,7 @@ "name": "@azure/arm-consumption", "author": "Microsoft Corporation", "description": "ConsumptionManagementClient Library with typescript type definitions for node.js and browser.", - "version": "8.0.0", + "version": "8.0.1", "dependencies": { "@azure/ms-rest-azure-js": "^2.1.0", "@azure/ms-rest-js": "^2.2.0", diff --git a/sdk/consumption/arm-consumption/src/consumptionManagementClientContext.ts b/sdk/consumption/arm-consumption/src/consumptionManagementClientContext.ts index b451fb386e08..634ac502d476 100644 --- a/sdk/consumption/arm-consumption/src/consumptionManagementClientContext.ts +++ b/sdk/consumption/arm-consumption/src/consumptionManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRestAzure from "@azure/ms-rest-azure-js"; import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-consumption"; -const packageVersion = "8.0.0"; +const packageVersion = "8.0.1"; export class ConsumptionManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials | TokenCredential;