addResourceToEnvironmentTemplateTier

On this page
Back to index

Summary

Adds a resource to the specified environment template tier.
projectName
Stringrequired
The name for the project that must be unique among all projects.
environmentTemplateName
Stringrequired
The name of the environment template.
environmentTemplateTierName
Stringrequired
Name for the environment template tier; must be unique among all tiers for the environment template.
resourceName
Stringrequired
Name for the resource; must be unique among all resources.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.addResourceToEnvironmentTemplateTier( projectName: "test-projectName", environmentTemplateName: "test-environmentTemplateName", environmentTemplateTierName: "test-environmentTemplateTierName", resourceName: "test-resourceName" )