elastic/cloud-sdk-go

Deployment template APIs should use "deployment" format

Closed this issue · 0 comments

Description

Currently our deployment template APIs and commands are using the default "cluster" format. This is not a problem in itself, but as the API moves to deprecate the clusters api, we should do the same by moving to using the "deployment" format /platform/configuration/templates/deployments?format=deployment.

This work is also related to bringing back the flag based deployment create and update. Since the new deployment template API will use the same format (DeploymentCreateRequest), this will be a first step into migrating to the new endpoint and having that ready for when the new endpoint is available.