Back to index
Summary
Creates a new cluster configuration object for a microservice application.projectNameStringrequiredThe name for the project that must be unique among all projects. clusterNameStringrequiredThe name of the cluster. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. environmentNameStringoptionalName of the environment which owns this cluster. pluginConfigurationNameStringoptionalName of the plugin configuration. pluginKeyStringoptionalName of the plugin key. pluginProjectNameStringoptionalPlugin project name. providerClusterNameStringoptionalName of the cluster on the provider platform. providerProjectNameStringoptionalName of the project on the provider platform. provisionProcedureStringoptionalProvision procedure name. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createCluster( projectName: "test-projectName", clusterName: "test-clusterName" /* optional arguments */ )