RunDiscovery commands

On this page

runDiscovery

Run a plugin’s Discover procedure to discover contents of a list or set of resources and store settings for them in the ec_discovery property sheets.

Arguments

Argument Name Type Description

resourceName

String array

List of resources to use for discovery.

configurationName

String

The name of the plugin configuration.

environmentName

String

The name of the environment.

environmentTierName

String

The name of the environment tier.

pluginKey

String

Version independent name of the plugin.

pluginName

String

The name of the plugin.

projectName

String

The name of the project.

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.runDiscovery(
                /* optional arguments */)