I need to automate the creation of a deployment target via the Octopus API / Octopus Client.
I wonder if I am missing something, because I found nothing in the code samples here
Any pointers please? I thought starting to inspecting the traffic from the UI how it gets created is my last resource …
Thanks in advance!
We do have a couple of scripts on our OctopusDeploy-API repo that you can use for this -
For registering a machine running a tentacle, you can look at https://github.com/OctopusDeploy/OctopusDeploy-Api/blob/master/REST/PowerShell/Targets/RegisterTentacle.ps1
For registering a machine as a SSH target, you can look at https://github.com/OctopusDeploy/OctopusDeploy-Api/blob/master/REST/PowerShell/Targets/RegisterSSHEndpoint.ps1
I hope these help, please don’t hesitate to let us know if you have any further questions!
I’ve just realised I haven’t given you enough information.
Tentacle setup is not applicable in my case as I am refering to Azure Web App Deployment Targets!
I should rephrase my question:
How to automate the creation of Azure Web App Deployment target?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.