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. applicationNameStringoptionalApplication that owns the inventory item. microserviceNameStringoptionalService that owns the inventory item. artifactNameStringoptionalArtifact name for the inventory item. clusterNameStringoptionalCluster where the item is installed. componentNameStringoptionalComponent that owns the inventory item. environmentProjectNameStringoptionalName for the project to which the environment or environment template belongs to. includeResourceDetailsBooleanoptionalTrue to include resource details (default is false). resourceNameStringoptionalResource 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 */ )