createEnvironmentTemplateTierMap
Creates an environment-template tier map for an application.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
applicationName |
String |
The name of the application. (Required) |
environmentProjectName |
String |
The name of the environment’s project name. (Required) |
environmentTemplateName |
String |
The name of the environment template. (Required) |
applicationEntityRevisionId |
String |
The revision ID of the versioned object. |
tierMapName |
String |
The name of the environment template tier map. If not specified the operation will assume a hyphenated application and environment name. |
tierMappings |
TierMapping array |
The list of mappings between the application tiers and the environment template tiers. |
Usage
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createEnvironmentTemplateTierMap( projectName: 'test-projectName', applicationName: 'test-applicationName', environmentProjectName: 'test-environmentProjectName', environmentTemplateName: 'test-environmentTemplateName' /* optional arguments */)
deleteEnvironmentTemplateTierMap
Deletes an environment template tier map from an application.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
applicationName |
String |
The name of the application. (Required) |
environmentProjectName |
String |
The name of the environment’s project name. (Required) |
environmentTemplateName |
String |
The name of the environment template. (Required) |
applicationEntityRevisionId |
String |
The revision ID of the versioned object. |
Usage
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.deleteEnvironmentTemplateTierMap( projectName: 'test-projectName', applicationName: 'test-applicationName', environmentProjectName: 'test-environmentProjectName', environmentTemplateName: 'test-environmentTemplateName' /* optional arguments */)
getEnvironmentTemplateTierMaps
Retrieves all the environment template tier maps used by the specified application.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
applicationName |
String |
The name of the application. (Required) |
applicationEntityRevisionId |
String |
The revision ID of the versioned object. |
orderByEnvironmentTemplateUsage |
Boolean |
True to return most recently used environment template. |
modifyEnvironmentTemplateTierMap
Modifies an existing environment template tier map.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
applicationName |
String |
The name of the application. (Required) |
environmentProjectName |
String |
The name of the environment’s project name. (Required) |
environmentTemplateName |
String |
The name of the environment template. (Required) |
tierMapName |
String |
The name of the environment template tier map. If not specified the operation will assume a hyphenated application and environment name. |
applicationEntityRevisionId |
String |
The revision ID of the versioned object. |
tierMappings |
TierMapping array |
The list of mappings between the application tiers and the environment template tiers. |
Usage
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyEnvironmentTemplateTierMap( projectName: 'test-projectName', applicationName: 'test-applicationName', environmentProjectName: 'test-environmentProjectName', environmentTemplateName: 'test-environmentTemplateName' /* optional arguments */)