getUtilityResource

On this page
Back to index

Summary

Retrieves a utility resource by name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
environmentName
Stringoptional
Name of parent environment.
utilityResourceName
Stringrequired
Name for utilityResource; must be unique among all utility resources for the environment or environment template.
environmentTemplateName
Stringoptional
Name of parent environmentTemplate.

Usage

Groovy

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