getEnvironmentInventoryItem

On this page
Back to index

Summary

Retrieves an inventory item.
projectName
Stringrequired
The name for the project that must be unique among all projects.
environmentName
Stringrequired
The name of the environment.
applicationName
Stringoptional
Application that owns the inventory item.
microserviceName
Stringoptional
Service that owns the inventory item.
artifactName
Stringoptional
Artifact name for the inventory item.
clusterName
Stringoptional
Cluster where the item is installed.
componentName
Stringoptional
Component that owns the inventory item.
environmentProjectName
Stringoptional
Name for the project to which the environment or environment template belongs to.
includeResourceDetails
Booleanoptional
True to include resource details (default is false).
resourceName
Stringoptional
Resource where the item is installed.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getEnvironmentInventoryItem( projectName: "test-projectName", environmentName: "test-environmentName" /* optional arguments */ )