Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.51k stars 4.94k forks source link

`cost-management` - missing enum value `TheLast7Days` for `timeframe` in `/exports` #23707

Open myc2h6o opened 1 year ago

myc2h6o commented 1 year ago

Message from REST API when using a unexpected value: Request properties validation failed: Invalid definition timeframe: '...'; valid values: 'WeekToDate', 'MonthToDate', 'TheLastMonth', 'BillingMonthToDate', 'TheLastBillingMonth', 'TheLast7Days', 'Custom'.

TheLast7Days could be used in the PUT request, however it is missing in the swagger definition: https://github.com/Azure/azure-rest-api-specs/blob/b0fe1805a7e541e4d0252c01e919f0f20721b270/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/costmanagement.exports.json#L599-L609 url: "/{scope}/providers/Microsoft.CostManagement/exports/{exportName}"

SaurabhSharma-MSFT commented 1 year ago

@myc2h6o We are looking into it and get back to you for any additional information.