[Feature]: Add parameter to support overwrite files for New-AzCostManagementExport
Description of the new feature
Hi!
The possibility for the Azure Cost Exports to overwrite the files created the previous day is already supported in the Azure Portal under Preview. It looks like a great feature that could lead to cost savings, because it avoids having the cost data duplicated many times. Please see the image from the official documentation, it shows the 'Overwrite data' option:
The way to set up Azure Cost Exports automatically is to use the command New-AzCostManagementExport. The command currently supports many parameters, but it does not support overwriting the files.
Is this perhaps already planned to be implemented in the New-AzCostManagementExport command any time soon?
Proposed implementation details (optional)
No response
If you checkout the payload when you try to create the export, you can see what option is used in the API call
You could use that option and create your export using the api. You will need to use the preview version of the api.
Thanks, @BotScriptsOSRS! That's helpful