godo.HostedAgents.GetTemplateBuild()
Generated on 5 Nov 2026
from godo version
v1.236.0
Usage
client.HostedAgents.GetTemplateBuild(ctx context.Context, templateID string, buildID string) (*godo.HostedAgentTemplateBuild, *godo.Response, error)Description
GetTemplateBuild returns a single template build.
Parameters
templateIDstring requiredbuildIDstring required
Returns
- *godo.HostedAgentTemplateBuild
- *godo.Response
The HTTP response, with pagination
Links,Meta, andRatelimit information.- error
Non-nil when the request fails. API errors are returned as
*godo.ErrorResponse.
Fields of godo.HostedAgentTemplateBuild
HostedAgentTemplateBuild is one immutable build of a template.
BuildIDstringTemplateIDstringNamestringSpec*godo.HostedAgentTemplateSpecStatusgodo.HostedAgentTemplateBuildStatusErrorstringCreatedAtgodo.TimestampUpdatedAtgodo.Timestamp
Request Sample
More Information
See the Go package documentation for the source of this method.