getEnvironmentInventory

On this page
Back to index

Summary

Retrieves a per-component grouped list of inventory items.
projectName
Stringrequired
The name for the project that must be unique among all projects.
environmentName
Stringrequired
The name of the environment.
applicationName
Stringrequired
The name of the application.
applicationEntityRevisionId
Stringoptional
The revision ID of the versioned object.
environmentProjectName
Stringoptional
Name for the project to which the environment or environment template belongs to.

Usage

Groovy

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