getApplicationEnvironmentInventory

Back to index

Summary

Retrieves inventory items by application.
filters
Collectionoptional
A list of zero or more filter criteria definitions used to define objects to find.
firstResult
Integeroptional
Result pagination: the first row to return.
numObjects
Integeroptional
The number of objects to return as the first page of results.

Usage

Perl

$cmdr->getApplicationEnvironmentInventory( # optionals );

ectool

ectool getApplicationEnvironmentInventory \ # optionals

Examples

Perl

my @filterList; push (@filterList, {"propertyName" => "applicationName", "operator" => "equals", "operand1" => "Demo Application"}); push (@filterList, {"propertyName" => "projectName", "operator" => "equals", "operand1" => "Default"}); my $result = $cmdr->getApplicationEnvironmentInventory( {filter => [ { operator => 'and', filter => @filterList, } ]} ); print "result = " . $result->findnodes_as_string("/"). "\n";

ectool

ectool getApplicationEnvironmentInventory