HCP Tenant Management Help


What the application does

The sample application shown in this appendix uses the HSwift API to:

1.Create a container named finance in the context of the tenant named europe (the service point)

2.List the container for the europe tenant that are owned by the user lgreen

3.Add an ACL to the finance container

4.Store an object named quarterly_rpts/Q4_2012.ppt in the finance container, associating custom metadata with the object in the process

5.Store an object named quarterly_rpts/Q3_2012.ppt in the finance container

6.Retrieve the object named quarterly_rpts/Q4_2012.ppt and write its content to a new file on the local file system

7.Add an ACL to the container named finance for the account named rsilver

8.Retrieve object quarterly_rpts/Q3_2012.ppt and write its content to a new file on the local file system

9.Delete the quarterly_rpts/Q4_2012.ppt and quarterly_rpts/Q3_2012.ppt object from the finance container

10.Delete the quarterly_rpts folder from the finance container (HCP created this folder automatically when the first object was stored)

11.Delete the finance container

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.