Back to index
Summary
Modifies an existing environment 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. applicationTierNameStringoptionalName of the application tier. artifactSourceStringoptionalSource of the artifact. artifactUrlStringoptionalUrl of the artifact. If using an IPv6 address, enclose the address in square brackets. Example: [<IPv6-ADDRESS>] .artifactVersionStringoptionalArtifact version for the inventory item. componentNameStringoptionalComponent that owns the inventory item. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. environmentProjectNameStringoptionalName for the project to which the environment or environment template belongs to. resourceNameStringoptionalResource where the item is installed. statusStringoptionalInventory deployment status. Possible values: "success" , "warning" , "error" , "skipped" , "notRun" |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyEnvironmentInventoryItem( projectName: "test-projectName", environmentName: "test-environmentName" /* optional arguments */ )