getCluster

On this page
Back to index

Summary

Retrieves a cluster reference by name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
clusterName
Stringrequired
The name of the cluster.
environmentName
Stringoptional
Name of the environment which owns this cluster.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getCluster( projectName: "test-projectName", clusterName: "test-clusterName" /* optional arguments */ )