Part 5 : LifeCycle Policies and object versioning.
LifeCycle Policies :
(Refer : https://scalcia.com/blog/nutanix-objects-data-lifecycle-policies for more details on LifeCycle Policies)
LifeCycle Policies :
(Refer : https://scalcia.com/blog/nutanix-objects-data-lifecycle-policies for more details on LifeCycle Policies)
In the previous post we saw, how to enable versioning on bucket and how each versions are represented in the bucket. Now we will take a look at reading different version of object.
Get_object without VersionId :
If you don’t specify VersionId in get_object call, then this will always return the latest object version. If you see the previous code snippet, last version uploaded has content = 'The God Father'