runDiscovery

On this page
Back to index

Summary

Runs the Discover procedure in a plugin to discover contents of a list or set of resources, and store settings for them in the ec_discovery property sheets.
resourceName
Array<Unknown>optional
List of resources to use for discovery.
configurationName
Stringoptional
The name of the plugin configuration.
environmentName
Stringoptional
The name of the environment.
environmentTierName
Stringoptional
The name of the environment tier.
pluginKey
Stringoptional
Version independent name of the plugin.
pluginName
Stringoptional
The name of the plugin.
projectName
Stringoptional
The name of the project.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.runDiscovery( /* optional arguments */ )