createTierMapping
Creates a tier mapping in the specified tier map for the 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. |
tierMapName |
String |
The name of the tier map. |
applicationEntityRevisionId |
String |
The revision ID of the versioned object. |
applicationTierName |
String |
Name of the application tier. |
environmentName |
String |
The name of the environment. |
environmentProjectName |
String |
The name of the environment’s project name. |
environmentTierName |
String |
Name of the environment tier. |
resourceExpression |
String |
Resource expression to pick up resources from the environment tier. |
tierMappingName |
String |
The name of the tierMapping. |
deleteTierMapping
Deletes a tier mapping from a 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) |
applicationTierName |
String |
The name of the application tier.(Required) |
environmentName |
String |
The name of the environment.(Required) |
environmentProjectName |
String |
The name of the environment’s project name.(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.deleteTierMapping( projectName: 'test-projectName', applicationName: 'test-applicationName', applicationTierName: 'test-applicationTierName', environmentName: 'test-environmentName', environmentProjectName: 'test-environmentProjectName' /* optional arguments */)
modifyTierMapping
Modifies a tier mapping in the specified tier map for the 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. |
tierMapName |
String |
The name of the tier map. |
applicationTierName |
String |
Name of the application tier. |
applicationEntityRevisionId |
String |
The revision ID of the versioned object. |
environmentName |
String |
The name of the environment. |
environmentProjectName |
String |
The name of the environment’s project name. |
environmentTierName |
String |
Name of the environment tier. |
newName |
String |
The new name for an existing object that is being renamed. |
resourceExpression |
String |
Resource expression to pick up resources from the environment tier. |
tierMappingName |
String |
The name of the tierMapping. |