getResource

Back to index

Summary

Retrieves a resource by its name.
resourceName
Stringrequired
Name for the resource; must be unique among all resources.

Usage

Perl

$cmdr->getResource( "test-resourceName" # resourceName );

ectool

ectool getResource \ "test-resourceName" `# resourceName`

Examples

Perl

$cmdr->getResource("Test Resource 1");

ectool

ectool getResource "Test Resource 1"