Oracle Magazine, July/August 2019
ORACLE MAGAZINE JULY AUGUST 2019 79 Database Developer OPEN SOURCE delete_ atp db_ client atp_ id The delete_ atp method in oci_ atp py accepts the Oracle Autonomous Transaction Processing OCID which is passed into delete_ autonomous_ database This method will terminate the Oracle Autonomous Transaction Processing instance Be careful with this command there is no undo def delete_ atp db_ client atp_ id TERMINATE the automated transaction processing database db_ client delete_ autonomous_ database atp_ id print TERMINATED Automated Transaction Processing Database format atp_ id get_ wallet db_ client atp_ id password fileName In a previous article Getting Started with Autonomous I explained that you will need an Oracle wallet to access your new Oracle Autonomous Transaction Processing instance and I walked through the steps to manually download it through the Oracle Cloud dashboard Instead of using the dashboard to get the wallet this time Ill use the get_ wallet method in oci_ atp py to generate and download a wallet The get_ wallet method accepts the database_ client object the OCID of the Oracle Autonomous Transaction Processing instance a password for the zip file and the path filename to use when creating the zip file After generating and downloading the new wallet the get_ wallet method will create a zip file using the response data def get_ wallet db_ client atp_ id password fileName Create a wallet details object atp_ wallet oci database models GenerateAutonomousDatabaseWalletDetails
You must have JavaScript enabled to view digital editions.