runDiscovery

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.
resourceName
Arrayoptional
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

Examples

Perl

$cmdr->runDiscovery("EC-OpenStack", "OpenStack", "Default", "PROD", "DB server", "SQLconfig", {resourceNames => DB1 DB3 DB7});

ectool

ectool runDiscovery "EC-OpenStack" "OpenStack" "Default" "PROD" "DB server" "SQLconfig" --resourceNames DB1 DB3 DB7}