removeResourcesFromPool

Back to index

Summary

Removes resources from the specified resource pool.
resourcePoolName
Stringrequired
Name for the resource pool; must be unique among all resource pools.
resourceName
Arrayoptional
List of resources to add/remove from the pool.

Usage

Perl

$cmdr->removeResourcesFromPool( "test-resourcePoolName" # resourcePoolName # optionals );

ectool

ectool removeResourcesFromPool \ "test-resourcePoolName" `# resourcePoolName` \ # optionals

Examples

Perl

$cmdr->removeResourcesFromPool("Test machines", {resourceNames => ["Tester 1", "Tester 2", "Tester3"]});

ectool

ectool removeResourcesFromPool "Test machines" --resourceNames "Tester 1" "Tester 2" "Tester 3"