Skip to content

Instantly share code, notes, and snippets.

@zackramjan
Created June 4, 2020 16:30
Show Gist options
  • Save zackramjan/5d24d049c88679845a71a9d08767b338 to your computer and use it in GitHub Desktop.
Save zackramjan/5d24d049c88679845a71a9d08767b338 to your computer and use it in GitHub Desktop.
#!/bin/bash
#PREFIX=awsgpfs
PREFIX=awsgpfs4
echo deleting container pairset
mmcloudgateway containerpairset delete --cloud-nodeclass tctnodeclass --container-pair-set-name ${PREFIX}container
mmcloudgateway containerpairset list
echo -------------------------------------------
echo deleting cloudservice
mmcloudgateway cloudService delete --cloud-nodeclass tctnodeclass --cloud-service-name ${PREFIX}cloudservice
mmcloudgateway cloudService list
echo -------------------------------------------
echo deleting csap
mmcloudgateway cloudStorageAccessPoint delete --cloud-nodeclass tctnodeclass --cloud-storage-access-point-name ${PREFIX}accesspoint
mmcloudgateway cloudStorageAccessPoint list
echo -------------------------------------------
echo deleting account
mmcloudgateway account delete --cloud-nodeclass tctnodeclass --account-name ${PREFIX}
mmcloudgateway account list
echo -------------------------------------------
mmcloudgateway service stop
mmcloudgateway service start
echo -------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment