Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetStorage client with ListStorageGroups and GetStorageGroup #215

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

glenthomas
Copy link

I am wanting to create a new Akamai Terraform data source for NetStorage so that I can use it in my property rules to link to NetStorage origins. There is an issue open for this feature: Data source for List NetStorage Storage Groups so it can be used in Property Behaviors #416.
The change in terraform-provider-akamai would require support for the NetStorage API in this package. This PR adds a basic NetStorage client with support for endpoints:

Get a storage group
https://{hostname}/storage/v1/storage-groups/{storageGroupId}
Get a specific storage group based on its storageGroupId.

List storage groups
https://{hostname}/storage/v1/storage-groups
Get a list of all of the storage groups in your NetStorage instance, optionally filtered by CP code or the storage group's categorized purpose.

I would really appreciate it if you could help me to get this functionality available as I would love to be able to do some good Terraforming of Akamai.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants