From e0b6df2880f458ee8e64dd0f7a924944933d2c32 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Sat, 16 Jan 2021 02:51:13 +0000 Subject: [PATCH] CodeGen from PR 12347 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.Consumption to add version stable/2019-10-01 (#12347) * Fixed various Swagger Correctness issues * removed readonly property from ThresholdType * added default value to ThresholdType to fix error * updated ContactEmails/ContactGroups and Forecasts * fixed descriptions & examples. removed extra field * added missing "properties/" to example * updated contactGroups description * reformatted description --- schemas/2017-12-30-preview/Microsoft.Consumption.json | 2 +- schemas/2018-01-31/Microsoft.Consumption.json | 2 +- schemas/2018-03-31/Microsoft.Consumption.json | 2 +- schemas/2018-06-30/Microsoft.Consumption.json | 2 +- schemas/2018-08-31/Microsoft.Consumption.json | 2 +- schemas/2018-10-01/Microsoft.Consumption.json | 2 +- schemas/2019-01-01/Microsoft.Consumption.json | 2 +- schemas/2019-04-01-preview/Microsoft.Consumption.json | 2 +- schemas/2019-05-01-preview/Microsoft.Consumption.json | 2 +- schemas/2019-05-01/Microsoft.Consumption.json | 2 +- schemas/2019-06-01/Microsoft.Consumption.json | 2 +- schemas/2019-10-01/Microsoft.Consumption.json | 6 +++--- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/schemas/2017-12-30-preview/Microsoft.Consumption.json b/schemas/2017-12-30-preview/Microsoft.Consumption.json index 3a9102d044..d6dbe55de7 100644 --- a/schemas/2017-12-30-preview/Microsoft.Consumption.json +++ b/schemas/2017-12-30-preview/Microsoft.Consumption.json @@ -227,4 +227,4 @@ "description": "The notification associated with a budget." } } -} \ No newline at end of file +} diff --git a/schemas/2018-01-31/Microsoft.Consumption.json b/schemas/2018-01-31/Microsoft.Consumption.json index 1711e18b16..147a31055e 100644 --- a/schemas/2018-01-31/Microsoft.Consumption.json +++ b/schemas/2018-01-31/Microsoft.Consumption.json @@ -338,4 +338,4 @@ "description": "The notification associated with a budget." } } -} \ No newline at end of file +} diff --git a/schemas/2018-03-31/Microsoft.Consumption.json b/schemas/2018-03-31/Microsoft.Consumption.json index da8f3b692a..0bfeae076e 100644 --- a/schemas/2018-03-31/Microsoft.Consumption.json +++ b/schemas/2018-03-31/Microsoft.Consumption.json @@ -434,4 +434,4 @@ "description": "The notification associated with a budget." } } -} \ No newline at end of file +} diff --git a/schemas/2018-06-30/Microsoft.Consumption.json b/schemas/2018-06-30/Microsoft.Consumption.json index d94e09189d..1576bbded1 100644 --- a/schemas/2018-06-30/Microsoft.Consumption.json +++ b/schemas/2018-06-30/Microsoft.Consumption.json @@ -434,4 +434,4 @@ "description": "The notification associated with a budget." } } -} \ No newline at end of file +} diff --git a/schemas/2018-08-31/Microsoft.Consumption.json b/schemas/2018-08-31/Microsoft.Consumption.json index e052e1fd79..513edfb82a 100644 --- a/schemas/2018-08-31/Microsoft.Consumption.json +++ b/schemas/2018-08-31/Microsoft.Consumption.json @@ -357,4 +357,4 @@ "description": "The notification associated with a budget." } } -} \ No newline at end of file +} diff --git a/schemas/2018-10-01/Microsoft.Consumption.json b/schemas/2018-10-01/Microsoft.Consumption.json index 737c3ebe5f..3a5044661d 100644 --- a/schemas/2018-10-01/Microsoft.Consumption.json +++ b/schemas/2018-10-01/Microsoft.Consumption.json @@ -357,4 +357,4 @@ "description": "The notification associated with a budget." } } -} \ No newline at end of file +} diff --git a/schemas/2019-01-01/Microsoft.Consumption.json b/schemas/2019-01-01/Microsoft.Consumption.json index 5ada4367b5..c86c09a282 100644 --- a/schemas/2019-01-01/Microsoft.Consumption.json +++ b/schemas/2019-01-01/Microsoft.Consumption.json @@ -316,4 +316,4 @@ "description": "The notification associated with a budget." } } -} \ No newline at end of file +} diff --git a/schemas/2019-04-01-preview/Microsoft.Consumption.json b/schemas/2019-04-01-preview/Microsoft.Consumption.json index ddb03fa491..15f5d14964 100644 --- a/schemas/2019-04-01-preview/Microsoft.Consumption.json +++ b/schemas/2019-04-01-preview/Microsoft.Consumption.json @@ -313,4 +313,4 @@ "description": "The notification associated with a budget." } } -} \ No newline at end of file +} diff --git a/schemas/2019-05-01-preview/Microsoft.Consumption.json b/schemas/2019-05-01-preview/Microsoft.Consumption.json index 71fa589e38..6d5bb03edd 100644 --- a/schemas/2019-05-01-preview/Microsoft.Consumption.json +++ b/schemas/2019-05-01-preview/Microsoft.Consumption.json @@ -313,4 +313,4 @@ "description": "The notification associated with a budget." } } -} \ No newline at end of file +} diff --git a/schemas/2019-05-01/Microsoft.Consumption.json b/schemas/2019-05-01/Microsoft.Consumption.json index b8fd1ccd5c..b00b50f8c4 100644 --- a/schemas/2019-05-01/Microsoft.Consumption.json +++ b/schemas/2019-05-01/Microsoft.Consumption.json @@ -316,4 +316,4 @@ "description": "The notification associated with a budget." } } -} \ No newline at end of file +} diff --git a/schemas/2019-06-01/Microsoft.Consumption.json b/schemas/2019-06-01/Microsoft.Consumption.json index 7c16b7b0bd..ed7114931b 100644 --- a/schemas/2019-06-01/Microsoft.Consumption.json +++ b/schemas/2019-06-01/Microsoft.Consumption.json @@ -316,4 +316,4 @@ "description": "The notification associated with a budget." } } -} \ No newline at end of file +} diff --git a/schemas/2019-10-01/Microsoft.Consumption.json b/schemas/2019-10-01/Microsoft.Consumption.json index 2bbd73471b..e29b234e33 100644 --- a/schemas/2019-10-01/Microsoft.Consumption.json +++ b/schemas/2019-10-01/Microsoft.Consumption.json @@ -301,7 +301,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded." + "description": "Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified." }, "contactGroups": { "oneOf": [ @@ -315,7 +315,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Action groups to send the budget notification to when the threshold is exceeded." + "description": "Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes." }, "contactRoles": { "oneOf": [ @@ -393,4 +393,4 @@ "description": "The notification associated with a budget." } } -} \ No newline at end of file +}