addResourcePoolToEnvironmentTier

On this page
Back to index

Summary

Adds a resource pool to a specific environment tier. A resource pool is a named group of resources.
projectName
Stringrequired
The name for the project that must be unique among all projects.
environmentName
Stringrequired
The name of the environment.
environmentTierName
Stringrequired
Name for the environment tier; must be unique among all tiers for the environment.
resourcePoolName
Stringrequired
Name for the resource pool; must be unique among all resource pools.
rollingDeployPhaseName
Stringoptional
Name for the rolling deploy phase to be associated with the resource pool.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.addResourcePoolToEnvironmentTier( projectName: "test-projectName", environmentName: "test-environmentName", environmentTierName: "test-environmentTierName", resourcePoolName: "test-resourcePoolName" /* optional arguments */ )