Back to index
Summary
Adds a resource template to the specified environment template tier.projectNameStringrequiredThe name for the project that must be unique among all projects. environmentTemplateNameStringrequiredThe name of the environment template. environmentTemplateTierNameStringrequiredName for the environment template tier; must be unique among all tiers for the environment template. resourceTemplateNameStringrequiredName for the resource template; must be unique among all resource templates. resourceCountIntegeroptionalThe number of resources to be spun from a given resource template. resourceTemplateProjectNameStringoptionalName for the project to which the resource template belongs to. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.addResourceTemplateToEnvironmentTemplateTier( projectName: "test-projectName", environmentTemplateName: "test-environmentTemplateName", environmentTemplateTierName: "test-environmentTemplateTierName", resourceTemplateName: "test-resourceTemplateName" /* optional arguments */ )