{ "uuid": "ecc2ceb1-da65-498e-adf6-632b6e9067b9", "lastMigration": 29, "name": "UsageManagementClient", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "e0cfde58-1453-4e6e-8b4b-dc549fe82cc3", "documentation": "Enables you to query for the resource/meter metadata and related prices used in a given subscription by Offer ID, Currency, Locale and Region. The metadata associated with the billing meters, including but not limited to service names, types, resources, units of measure, and regions, is subject to change at any time and without notice. If you intend to use this billing data in an automated fashion, please use the billing meter GUID to uniquely identify each billable item. If the billing meter GUID is scheduled to change due to a new billing model, you will be notified in advance of the change. ", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.Commerce/RateCard", "responses": [ { "uuid": "0f489d23-2da9-4db0-a954-840306bf2460", "body": "{\n \"Currency\": \"\",\n \"IsTaxIncluded\": {{faker 'datatype.boolean'}},\n \"Locale\": \"\",\n \"Meters\": [\n {\n \"EffectiveDate\": \"{{faker 'date.recent' 365}}\",\n \"IncludedQuantity\": {{faker 'number.float'}},\n \"MeterCategory\": \"\",\n \"MeterId\": \"{{faker 'string.uuid'}}\",\n \"MeterName\": \"\",\n \"MeterRates\": {},\n \"MeterRegion\": \"\",\n \"MeterSubCategory\": \"\",\n \"MeterTags\": [\n \"\"\n ],\n \"Unit\": \"\"\n }\n ],\n \"OfferTerms\": [\n {\n \"EffectiveDate\": \"{{faker 'date.recent' 365}}\",\n \"Name\": \"{{oneOf (array 'Recurring Charge' 'Monetary Commitment' 'Monetary Credit')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Normal response for a successful query. The response body will contain the data that matches the filters specified in the query parameters.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7ff6fd29-aba0-4f89-913e-57fffad0c839", "body": "{\n \"code\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3a04aa60-f25d-43a3-8b8f-b2a7b5a08d3d", "documentation": "Query aggregated Azure subscription consumption data for a date range.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.Commerce/UsageAggregates", "responses": [ { "uuid": "5cec9b2f-5085-45f9-9a99-d01c3476b1b7", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"properties\": {\n \"infoFields\": {\n \"project\": \"\"\n },\n \"instanceData\": \"\",\n \"meterCategory\": \"\",\n \"meterId\": \"\",\n \"meterName\": \"\",\n \"meterRegion\": \"\",\n \"meterSubCategory\": \"\",\n \"quantity\": {{faker 'number.float'}},\n \"subscriptionId\": \"{{faker 'string.uuid'}}\",\n \"unit\": \"\",\n \"usageEndTime\": \"{{faker 'date.recent' 365}}\",\n \"usageStartTime\": \"{{faker 'date.recent' 365}}\"\n },\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Normal response for a successful query. The response body will contain the data that matches the filters specified in the query parameters.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c4f2f583-4668-43db-a589-5700739b8159", "body": "{\n \"code\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "e0cfde58-1453-4e6e-8b4b-dc549fe82cc3" }, { "type": "route", "uuid": "3a04aa60-f25d-43a3-8b8f-b2a7b5a08d3d" } ] }