getResourceTemplate

On this page
Back to index

Summary

Retrieves the specified resource template.
resourceTemplateName
Stringrequired
Name for the resource template; must be unique among all resource templates.
projectName
Stringrequired
The name for the project that must be unique among all projects.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getResourceTemplate( resourceTemplateName: "test-resourceTemplateName", projectName: "test-projectName" )