-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
RecoveryServicesBackup - possible to disable (and retain) backups of VM #1331
Comments
@DheerendraRathor can you help here for this question? Thanks! |
@ecgg Please use method create_or_update in protected_items_operations.py. In parameters you need to set protection_state = ProtectionState.ProtectionStopped. Use class |
So I'd do something like:
Except that gives me a
although the item is in the vault |
Here is the snippet:
container_name is To get
|
That worked beautifully - thank you! |
Hi,
I'm not seeing a method to disable and retain backups for a VM in RecoveryServicesBackup - BackupProtectedItemsOperations. Is this foreseen or is it already there in another method with custom headers?
The text was updated successfully, but these errors were encountered: