Skip to content

[BUG] backupconfig/vaultconfig update not working as expected #34530

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

Open
Klaas- opened this issue May 8, 2025 · 1 comment
Open

[BUG] backupconfig/vaultconfig update not working as expected #34530

Klaas- opened this issue May 8, 2025 · 1 comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@Klaas-
Copy link

Klaas- commented May 8, 2025

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/bms.json

API Spec version

2025-02-01

Describe the bug

Lets say I want to update the soft delete retention period of a vault.

https://learn.microsoft.com/en-us/rest/api/backup/backup-resource-vault-configs/update?view=rest-backup-2025-02-01&tabs=HTTP#code-try-0

PATCH https://management.azure.com/subscriptions/xxxx/resourceGroups/yyyy/providers/Microsoft.RecoveryServices/vaults/zzzz/backupconfig/vaultconfig?api-version=2025-02-01

With body:

{
  "properties": {
    "softDeleteRetentionPeriodInDays": 18
  }
}

Returns 200 (as in it should have succeeded)

but instead of changing anything the call does nothing.

Expected behavior

Changing the soft delete retention period

Actual behavior

nothing changes

Reproduction Steps

curl or use the web page in description

Environment

Edge / RHEL8 curl

@Klaas- Klaas- added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label May 8, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. labels May 8, 2025
@Klaas-
Copy link
Author

Klaas- commented May 8, 2025

Also the location of the vault should be returned, but it's not being returned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

1 participant