Skip to content
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 @@ -87,7 +87,8 @@
"properties": {
"code": {
"description": "Error code.",
"type": "string",
"type": "integer",
"format": "int32",
"readOnly": true
},
"message": {
Expand All @@ -111,7 +112,7 @@
"readOnly": true,
"description": "The additional details of the error.",
"items": {
"$ref": "#/definitions/ErrorDetails"
"$ref": "#/definitions/ErrorDetailsWithNestedDetails"
},
"x-ms-identifiers": []
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"CostDetails"
],
"operationId": "GenerateCostDetailsReport_CreateOperation",
"description": "This API is the replacement for all previously release Usage Details APIs. Request to generate a cost details report for the provided date range, billing period (Only enterprise customers) or Invoice Id asynchronously at a certain scope. The initial call to request a report will return a 202 with a 'Location' and 'Retry-After' header. The 'Location' header will provide the endpoint to poll to get the result of the report generation. The 'Retry-After' provides the duration to wait before polling for the generated report. A call to poll the report operation will provide a 202 response with a 'Location' header if the operation is still in progress. Once the report generation operation completes, the polling endpoint will provide a 200 response along with details on the report blob(s) that are available for download. The details on the file(s) available for download will be available in the polling response body.",
"description": "This API is the replacement for all previously release Usage Details APIs. Request to generate a cost details report for the provided date range, billing period (Only enterprise customers) or Invoice Id asynchronously at a certain scope. The initial call to request a report will return a 202 with a 'Location' and 'Retry-After' header. The 'Location' header will provide the endpoint to poll to get the result of the report generation. The 'Retry-After' provides the duration to wait before polling for the generated report. A call to poll the report operation will provide a 202 response with a 'Location' header if the operation is still in progress. Once the report generation operation completes, the polling endpoint will provide a 200 response along with details on the report blob(s) that are available for download. The details on the file(s) available for download will be available in the polling response body. To Understand cost details (formerly known as usage details) fields found in files ,see https://learn.microsoft.com/en-us/azure/cost-management-billing/automate/understand-usage-details-fields",
"externalDocs": {
"url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
},
Expand Down Expand Up @@ -108,6 +108,9 @@
}
}
},
"204": {
"description": "No Content. The request has succeeded but returned no results."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,14 @@
"description": "The status of the long running operation.",
"$ref": "#/definitions/Status"
},
"startTime": {
"description": "The startTime of the operation.",
"type": "string"
},
"endTime": {
"description": "The endTime of the operation.",
"type": "string"
},
"type": {
"description": "The type of the long running operation.",
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345/providers/Microsoft.CostManagement/costDetailsOperationResults/00000000-0000-0000-0000-000000000000?api-version=2023-03-01",
"Retry-After": "60"
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/costDetailsOperationResults/00000000-0000-0000-0000-000000000000?api-version=2023-03-01",
"Retry-After": "60"
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/13579/providers/Microsoft.CostManagement/costDetailsOperationResults/00000000-0000-0000-0000-000000000000?api-version=2023-03-01",
"Retry-After": "60"
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/13579/providers/Microsoft.CostManagement/costDetailsOperationResults/00000000-0000-0000-0000-000000000000?api-version=2023-03-01",
"Retry-After": "60"
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"Location": "https://management.azure.com/providers/Microsoft.Billing/departments/12345/providers/Microsoft.CostManagement/costDetailsOperationResults/00000000-0000-0000-0000-000000000000?api-version=2023-03-01",
"Retry-After": "60"
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"Location": "https://management.azure.com/providers/Microsoft.Billing/enrollmentAccounts/1234/providers/Microsoft.CostManagement/costDetailsOperationResults/00000000-0000-0000-0000-000000000000?api-version=2023-03-01",
"Retry-After": "60"
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/costDetailsOperationResults/00000000-0000-0000-0000-000000000000?api-version=2023-03-01",
"Retry-After": "60"
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"validTill": "2020-12-08T05:55:59.4394737Z"
},
"error": {
"code": "0",
"code": 0,
"message": null
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -924,8 +924,9 @@
"name": "If-Match",
"in": "header",
"required": false,
"description": "ETag of the Entity. Not required when creating an entity, but required when updating an entity.",
"type": "string"
"description": "ETag of the Entity. Not required when creating an entity. Optional when updating an entity and can be specified to achieve optimistic concurrency.",
"type": "string",
"x-ms-parameter-location": "method"
}
}
}