From 7c6942ddc3a21b1a0bcba8236fe09a6fc6e7c92e Mon Sep 17 00:00:00 2001 From: Vishnu Priya Ananthu Sundaram Date: Wed, 6 May 2020 22:57:35 -0700 Subject: [PATCH] [Azure Stack] Updates to Azs.Commerce.Admin spec for autorest config (#9033) * Cumulative commit message: commit 4ec980f9748c6ee9a98389fff0b3941fc8f1fc63 (azure/stackadmin) Author: Yuxing Zhou Date: Wed Mar 18 15:14:57 2020 +0800 [Azure Stack] Add scaleUnit and volumeLabel parameter to Disks_List (#8733) * add scaleUnit and volumeLabel to Disks_List * fix ref location * update parameter description commit dd09a40a97fdfd2b215498a6643ce21c9a2dbd38 Author: bganapa Date: Tue Mar 17 17:32:10 2020 -0700 Update to camelCasing for resourceGroups commit 4212dd05b892d364f7271719847c4adeb896a9e6 Author: bganapa Date: Tue Mar 17 17:30:07 2020 -0700 Update to camelCasing for resourcegroups commit b62db8ba4e29e14935ff33e82bda029393eb8393 Merge: 08d597aa1 fbe767051 Author: Vishnu Priya Ananthu Sundaram Date: Thu Mar 12 11:23:30 2020 -0700 Merge branch 'stackadmin' of https://github.com/Azure/azure-rest-api-specs into stackadmin commit fbe767051ac6d3c324f7e4d028e7ec5639120407 Author: bganapa Date: Tue Mar 10 14:06:55 2020 -0700 Update resourceGroups casing commit 848e5f76bc6983599cedb4a7e7cd1666ffd8a298 Author: bganapa Date: Tue Mar 10 14:05:10 2020 -0700 Update resourcegroups casing to resourceGroups commit 591ff3c47d52bdfbe228ceadb2c8a11781630e99 Author: bganapa Date: Tue Mar 10 13:58:14 2020 -0700 Update Updates.json commit adaabc1bd3b17d60f9ac39b4d95e7d0df60019ca Author: bganapa Date: Wed Mar 4 18:07:20 2020 -0800 Changing casing in resourcgroups to resourceGroups commit 72efdec25338cfbb9fea108dcfb390f4c5ff6295 Author: bganapa Date: Thu Feb 27 17:26:56 2020 -0800 Update to have $(this-folder)/ in the input files * Add autorest config to readme.md * Fix path reference * Auto-generated values --- .../preview/2015-06-01-preview/Commerce.json | 3 ++- .../resource-manager/commerce/readme.azsautogen.md | 8 ++++++++ .../azsadmin/resource-manager/commerce/readme.md | 5 ++--- 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 specification/azsadmin/resource-manager/commerce/readme.azsautogen.md diff --git a/specification/azsadmin/resource-manager/commerce/Microsoft.Commerce.Admin/preview/2015-06-01-preview/Commerce.json b/specification/azsadmin/resource-manager/commerce/Microsoft.Commerce.Admin/preview/2015-06-01-preview/Commerce.json index c34915e2be14..890c3b5b8fda 100644 --- a/specification/azsadmin/resource-manager/commerce/Microsoft.Commerce.Admin/preview/2015-06-01-preview/Commerce.json +++ b/specification/azsadmin/resource-manager/commerce/Microsoft.Commerce.Admin/preview/2015-06-01-preview/Commerce.json @@ -198,7 +198,8 @@ }, "quantity": { "description": "The amount of the resource consumption that occurred in this time frame.", - "type": "string" + "type": "number", + "format": "double" }, "meterId": { "description": "Unique ID for the resource that was consumed, for example, the Resource ID.", diff --git a/specification/azsadmin/resource-manager/commerce/readme.azsautogen.md b/specification/azsadmin/resource-manager/commerce/readme.azsautogen.md new file mode 100644 index 000000000000..77f54f1348bb --- /dev/null +++ b/specification/azsadmin/resource-manager/commerce/readme.azsautogen.md @@ -0,0 +1,8 @@ +# AutoRest v3 generators + +> see https://aka.ms/autorest + +``` yaml +input-file: + - Microsoft.Commerce.Admin/preview/2015-06-01-preview/Commerce.json +``` diff --git a/specification/azsadmin/resource-manager/commerce/readme.md b/specification/azsadmin/resource-manager/commerce/readme.md index 1676a911714f..12f66c5351f2 100644 --- a/specification/azsadmin/resource-manager/commerce/readme.md +++ b/specification/azsadmin/resource-manager/commerce/readme.md @@ -69,11 +69,11 @@ This block is updated by an automatic script. Edits may be lost! ``` yaml $(tag) == 'all-api-versions' /* autogenerated */ # include the azure profile definitions from the standard location -require: $(this-folder)/../../../../profiles/readme.md +require: ../../../../profiles/readme.md # all the input files across all versions input-file: - - $(this-folder)/Microsoft.Commerce.Admin/preview/2015-06-01-preview/Commerce.json + - Microsoft.Commerce.Admin/preview/2015-06-01-preview/Commerce.json ``` @@ -84,4 +84,3 @@ uncomment the `exclude-file` section below and add the file paths. #exclude-file: # - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json ``` -