seedEnvironmentInventory

On this page
Back to index

Summary

Seeds the environment with a new inventory to mimic an actual application or release-scoped deployment.
request
Stringrequired
This parameter and the value displayed are required; request=seedEnvironmentInventory must appear in your query string.
projectName
Stringrequired
The name for the project that must be unique among all projects.
environmentName
Stringrequired
The name of the environment.
applicationName
Stringrequired
Applications that owns the inventory item.
status
Stringrequired
Inventory deployment status.
Possible values: "UNVERIFIED", "VERIFIED"
applicationProcessName
Stringoptional
Application process used to deploy to the environment.
applicationTierName
Stringoptional
The name of the application tier.
applicationVersion
Stringoptional
Application version for the application that was deployed.
artifactName
Stringoptional
Artifact name for the inventory item.
artifactProviderSource
Stringoptional
Source of the provider that indirectly owns this artifact.
artifactSource
Stringoptional
Source of the artifact.
artifactUrl
Stringoptional
Url of the artifact.
artifactVersion
Stringoptional
Artifact version for the inventory item.
clusterName
Stringoptional
Cluster where the item is installed.
clusterNamespace
Stringoptional
Cluster namespace where the item is installed.
componentName
Stringoptional
Component that owns the inventory item.
deploymentDetails
Stringoptional
Additional information about the deployment in JSON format.
environmentProjectName
Stringoptional
Name for the project to which the environment or environment template belongs to.
jobId
Stringoptional
The ID of the job.
microserviceDeploymentData
Stringoptional
The deployment details related to a microservice deployment.
microserviceDeploymentSummary
Stringoptional
The summary of microservice deployment.
microserviceName
Stringoptional
Microservice that owns the inventory item.
releaseName
Stringoptional
Name of the release.
releaseProjectName
Stringoptional
Name of the release project.
resourceNames
Stringoptional
An array of resource names
seeded
Booleanoptional
Seeded status.
snapshotName
Stringoptional
Name of a snapshot.
stageName
Stringoptional
Name of the stage.

Usage

Groovy

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