Skip to content

Commit

Permalink
CodeGen from PR 12347 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[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
  • Loading branch information
SDKAuto committed Jan 16, 2021
1 parent 99c0769 commit e0b6df2
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion schemas/2017-12-30-preview/Microsoft.Consumption.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,4 @@
"description": "The notification associated with a budget."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2018-01-31/Microsoft.Consumption.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,4 +338,4 @@
"description": "The notification associated with a budget."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2018-03-31/Microsoft.Consumption.json
Original file line number Diff line number Diff line change
Expand Up @@ -434,4 +434,4 @@
"description": "The notification associated with a budget."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2018-06-30/Microsoft.Consumption.json
Original file line number Diff line number Diff line change
Expand Up @@ -434,4 +434,4 @@
"description": "The notification associated with a budget."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2018-08-31/Microsoft.Consumption.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,4 +357,4 @@
"description": "The notification associated with a budget."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2018-10-01/Microsoft.Consumption.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,4 +357,4 @@
"description": "The notification associated with a budget."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-01-01/Microsoft.Consumption.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,4 +316,4 @@
"description": "The notification associated with a budget."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-04-01-preview/Microsoft.Consumption.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,4 +313,4 @@
"description": "The notification associated with a budget."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-05-01-preview/Microsoft.Consumption.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,4 +313,4 @@
"description": "The notification associated with a budget."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-05-01/Microsoft.Consumption.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,4 +316,4 @@
"description": "The notification associated with a budget."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-06-01/Microsoft.Consumption.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,4 +316,4 @@
"description": "The notification associated with a budget."
}
}
}
}
6 changes: 3 additions & 3 deletions schemas/2019-10-01/Microsoft.Consumption.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -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": [
Expand Down Expand Up @@ -393,4 +393,4 @@
"description": "The notification associated with a budget."
}
}
}
}

0 comments on commit e0b6df2

Please sign in to comment.