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

[Feature]: Add parameter to support overwrite files for New-AzCostManagementExport #24784

Open
xmik opened this issue May 2, 2024 · 2 comments
Labels
Consumption - UsageDetailsAndExport All issues in cost management and Consumption for usage details api and export customer-reported feature-request This issue requires a new behavior in the product in order be resolved. Service Attention This issue is responsible by Azure service team.

Comments

@xmik
Copy link

xmik commented May 2, 2024

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:
image

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

@xmik xmik added feature-request This issue requires a new behavior in the product in order be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels May 2, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels May 2, 2024
@BotScriptsOSRS
Copy link

BotScriptsOSRS commented May 3, 2024

If you checkout the payload when you try to create the export, you can see what option is used in the API call

image

You could use that option and create your export using the api. You will need to use the preview version of the api.

@isra-fel isra-fel added Service Attention This issue is responsible by Azure service team. Consumption - UsageDetailsAndExport All issues in cost management and Consumption for usage details api and export labels May 7, 2024
@xmik
Copy link
Author

xmik commented May 7, 2024

Thanks, @BotScriptsOSRS! That's helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Consumption - UsageDetailsAndExport All issues in cost management and Consumption for usage details api and export customer-reported feature-request This issue requires a new behavior in the product in order be resolved. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants