Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR consumption] Cost Management: Reservation Recommendation Details API: Change etag --> eTag in specs #2488

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions schemas/2018-05-01/subscriptionDeploymentTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-11-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-02-01-preview/Microsoft.Datadog.json#/subscription_resourceDefinitions/agreements"
},
Expand Down
28 changes: 21 additions & 7 deletions schemas/2019-05-01/Microsoft.Consumption.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,16 @@
],
"description": "The category of the budget, whether the budget tracks cost or usage."
},
"filters": {
"filter": {
"oneOf": [
{
"$ref": "#/definitions/Filters"
"$ref": "#/definitions/Filter"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "May be used to filter budgets by resource group, resource, or meter."
"description": "May be used to filter budgets by user-specified dimensions and/or tags."
},
"notifications": {
"oneOf": [
Expand Down Expand Up @@ -163,7 +163,7 @@
],
"description": "The start and end date for a budget."
},
"Filters": {
"Filter": {
"type": "object",
"properties": {
"meters": {
Expand Down Expand Up @@ -221,7 +221,7 @@
"description": "The dictionary of filters on tags."
}
},
"description": "May be used to filter budgets by resource group, resource, or meter."
"description": "May be used to filter budgets by user-specified dimensions and/or tags."
},
"Notification": {
"type": "object",
Expand All @@ -238,7 +238,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 @@ -252,7 +252,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 @@ -305,6 +305,20 @@
}
],
"description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000."
},
"thresholdType": {
"oneOf": [
{
"type": "string",
"enum": [
"Actual"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The type of threshold."
}
},
"required": [
Expand Down
Loading