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.
pluginKey
Stringrequired
Version independent name of the plugin.
pluginName
Stringrequired
The name of the plugin.
projectName
Stringrequired
The name of the project.
environmentName
Stringrequired
The name of the environment.
environmentTierName
Stringrequired
The name of the environment tier.
configurationName
Stringrequired
The name of the plugin configuration.
resourceNames
Stringoptional
List of resources to use for discovery.

Usage

Perl

$cmdr->runDiscovery( "test-pluginKey", # pluginKey "test-pluginName", # pluginName "test-projectName", # projectName "test-environmentName", # environmentName "test-environmentTierName", # environmentTierName "test-configurationName" # configurationName # optionals );

ectool

ectool runDiscovery \ "test-pluginKey" `# pluginKey` \ "test-pluginName" `# pluginName` \ "test-projectName" `# projectName` \ "test-environmentName" `# environmentName` \ "test-environmentTierName" `# environmentTierName` \ "test-configurationName" `# configurationName` \ # optionals