cloudflare-go
cloudflare-go copied to clipboard
Add CRUD endpoints for Infrastructure Access Targets
trafficstars
Description
We are recently added new endpoints for infrastructure access. We are looking to get these endpoints reflected in the terraform provider documentation. This PR contains the client side changes necessary for that. It writes CRUDL functions for the terraform provider to interact with our new endpoints.
Our OpenAPI schema is published in cloudflare/api-schemas viewable in this commit
Our API docs are accessible in production at https://developers.cloudflare.com/api/operations/infra-targets-list
Has your change been tested?
I've tested these changes through acceptance tests.
Screenshots (if appropriate):
Types of changes
What sort of change does your code introduce/modify?
- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
- [X] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [X] I have added tests to cover my changes.
- [X] All new and existing tests passed.
- [x] This change is using publicly documented in cloudflare/api-schemas and relies on stable APIs.