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

[Hub Generated] Review request for Microsoft.Consumption to add version stable/2019-05-01 #13800

Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
"Budgets"
],
"operationId": "Budgets_CreateOrUpdate",
"description": "The operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.",
"description": "The operation to create or update a budget. You can optionally provide an eTag if desired as a form of concurrency control. To obtain the latest eTag for a given budget, perform a get operation prior to your put operation.",
"externalDocs": {
"url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
},
Expand Down Expand Up @@ -1151,7 +1151,7 @@
],
"x-ms-odata": "#/definitions/Forecast",
"operationId": "Forecasts_List",
"description": "Lists the forecast charges by subscriptionId.",
"description": "Lists the forecast charges for scope defined. Please note that this API is no longer actively under development. We recommend using our new Forecast API moving forward: https://docs.microsoft.com/en-us/rest/api/cost-management/forecast/usage.",
"externalDocs": {
"url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
},
Expand Down Expand Up @@ -2360,10 +2360,10 @@
"description": "Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain period. There are no restrictions on the end date.",
"$ref": "#/definitions/BudgetTimePeriod"
},
"filters": {
"description": "May be used to filter budgets by resource group, resource, or meter.",
"filter": {
"description": "May be used to filter budgets by user-specified dimensions and/or tags.",
"type": "object",
"$ref": "#/definitions/Filters"
"$ref": "#/definitions/Filter"
},
"currentSpend": {
"description": "The current amount of cost which is being tracked for a budget.",
Expand Down Expand Up @@ -2405,8 +2405,8 @@
"startDate"
]
},
"Filters": {
"description": "May be used to filter budgets by resource group, resource, or meter.",
"Filter": {
"description": "May be used to filter budgets by user-specified dimensions and/or tags.",
"properties": {
"resourceGroups": {
"description": "The list of filters on resource groups, allowed at subscription level only.",
Expand Down Expand Up @@ -2492,12 +2492,12 @@
"format": "decimal"
},
"contactEmails": {
"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.",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"minItems": 0,
"maxItems": 50
},
"contactRoles": {
Expand All @@ -2508,13 +2508,25 @@
}
},
"contactGroups": {
"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.",
"type": "array",
"items": {
"type": "string"
},
"minItems": 0,
"maxItems": 50
},
"thresholdType": {
"description": "The type of threshold",
"type": "string",
"enum": [
"Actual"
],
"x-ms-enum": {
"name": "ThresholdType",
"modelAsString": true
},
"default": "Actual"
}
},
"required": [
Expand Down Expand Up @@ -2651,7 +2663,7 @@
"readOnly": true
},
"grain": {
"description": "The granularity of forecast.",
"description": "The granularity of forecast. Please note that Yearly is not currently supported in this API. The API will provide responses in the Monthly grain if Yearly is selected. To get yearly grain data, please use our newer Forecast API.",
"type": "string",
"enum": [
"Daily",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"startDate": "2017-10-01T00:00:00Z",
"endDate": "2018-10-31T00:00:00Z"
},
"filters": {
"filter": {
"resourceGroups": [
"MPDEVTESTRG"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"startDate": "2017-10-01T00:00:00Z",
"endDate": "2018-10-31T00:00:00Z"
},
"filters": {
"filter": {
"resourceGroups": [
"MYDEVTESTRG"
],
Expand Down Expand Up @@ -94,7 +94,7 @@
"startDate": "2017-10-01T00:00:00Z",
"endDate": "2018-10-31T00:00:00Z"
},
"filters": {
"filter": {
"resourceGroups": [
"MYDEVTESTRG"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"startDate": "2017-10-01T00:00:00Z",
"endDate": "2018-10-31T00:00:00Z"
},
"filters": {
"filter": {
"resourceGroups": [
"MYDEVTESTRG"
],
Expand Down Expand Up @@ -73,7 +73,7 @@
"startDate": "2017-10-01T00:00:00Z",
"endDate": "2018-10-31T00:00:00Z"
},
"filters": {
"filter": {
"resourceGroups": [
"MPDEVTESTRG"
],
Expand Down Expand Up @@ -134,7 +134,7 @@
"startDate": "2017-10-01T00:00:00Z",
"endDate": "2018-10-31T00:00:00Z"
},
"filters": {
"filter": {
"resourceGroups": [
"MPDEVTESTRG"
],
Expand Down