Two Examples using the NetApp OCI REST Python Utilities

  • basic.py - print list of all storagePools with storage name and total allocatedCapacity

python basic.py --url https://ociserver.corp.com --user demoRestAPIuser --password yourPassword

  • collection_report.py - Print status report for each datasource

python collection_report.py  --url https://ociserver.corp.com --user demoRestAPIuser --password yourPassword



Comments