Back to index
Summary
Maps a resource to a rolling deploy phase.projectNameStringrequiredThe name for the project that must be unique among all projects. environmentNameStringrequiredThe name of the environment. environmentTierNameStringrequiredName for the environment tier; must be unique among all tiers for the environment. resourceNamesArray<Unknown>optionalList of resources to be mapped to a rolling deploy phase. resourcePoolNamesArray<Unknown>optionalList of resource pools to be mapped to a rolling deploy phase. resourcePoolPhaseMappingsArray<ResourcePoolPhaseMapping>optionalA map of resource pool and rolling deploy phase. rollingDeployPhaseNameStringoptionalName for the rolling deploy phase to be associated with the resource. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.setTierResourcePhase( projectName: "test-projectName", environmentName: "test-environmentName", environmentTierName: "test-environmentTierName" /* optional arguments */ )