'Python sdk OCI : Remove backup policy of boot volume
How do we remove the assigned backup policy of boot volume attached to an instance using python sdk OCI package
Didn't find with UpdateBootVolume
https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/BootVolume/UpdateBootVolume
Solution 1:[1]
Here is how you can accomplish this:
- Call this method from the OCI SDK to get BackupPolicyAssignment:
- Call this method to check if its the right volume for the above backup policy:
- Delete it to remove attachment policy to volume:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dharman |
