Back to index
Summary
Retrieves an inventory item.projectNameStringrequiredThe name for the project that must be unique among all projects. environmentNameStringrequiredThe name of the environment. applicationNameStringrequiredApplication that owns the inventory item. componentNameStringrequiredComponent that owns the inventory item. resourceNameStringrequiredResource where the item is installed. artifactNameStringoptionalArtifact name for the inventory item. clusterNameStringoptionalCluster where the item is installed. environmentProjectNameStringoptionalName for the project to which the environment or environment template belongs to. includeResourceDetailsBooleanoptionalTrue to include resource details (default is false). microserviceNameStringoptionalService that owns the inventory item. |
Usage
Perl
$cmdr->getEnvironmentInventoryItem( "test-projectName", # projectName "test-environmentName", # environmentName "test-applicationName", # applicationName "test-componentName", # componentName "test-resourceName" # resourceName # optionals );
ectool
ectool getEnvironmentInventoryItem \ "test-projectName" `# projectName` \ "test-environmentName" `# environmentName` \ "test-applicationName" `# applicationName` \ "test-componentName" `# componentName` \ "test-resourceName" `# resourceName` \ # optionals