Back to index
Summary
Creates a new mapping between a microservice and an environment cluster.projectNameStringrequiredThe name for the project that must be unique among all projects. applicationNameStringoptionalThe name of the application. tierMapNameStringoptionalThe name of the tier map. clusterNameStringoptionalThe name of the cluster. clusterProjectNameStringoptionalThe name of the project which contains the cluster. environmentNameStringoptionalName of the environment which owns this cluster. microserviceMappingNameStringoptionalThe name of the microservice mapping. microserviceNameStringoptionalThe name of the microservice. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createMicroserviceMapping( projectName: "test-projectName" /* optional arguments */ )