Back to index
Summary
Seeds the environment with a new inventory to mimic an actual application or release-scoped deployment.requestStringrequiredThis parameter and the value displayed are required; request=seedEnvironmentInventory must appear in your query string.projectNameStringrequiredThe name for the project that must be unique among all projects. environmentNameStringrequiredThe name of the environment. applicationNameStringrequiredApplications that owns the inventory item. statusStringrequiredInventory deployment status. Possible values: "UNVERIFIED" , "VERIFIED" applicationProcessNameStringoptionalApplication process used to deploy to the environment. applicationTierNameStringoptionalThe name of the application tier. applicationVersionStringoptionalApplication version for the application that was deployed. artifactNameStringoptionalArtifact name for the inventory item. artifactProviderSourceStringoptionalSource of the provider that indirectly owns this artifact. artifactSourceStringoptionalSource of the artifact. artifactUrlStringoptionalUrl of the artifact. artifactVersionStringoptionalArtifact version for the inventory item. clusterNameStringoptionalCluster where the item is installed. clusterNamespaceStringoptionalCluster namespace where the item is installed. componentNameStringoptionalComponent that owns the inventory item. deploymentDetailsStringoptionalAdditional information about the deployment in JSON format. environmentProjectNameStringoptionalName for the project to which the environment or environment template belongs to. jobIdStringoptionalThe ID of the job. microserviceDeploymentDataStringoptionalThe deployment details related to a microservice deployment. microserviceDeploymentSummaryStringoptionalThe summary of microservice deployment. microserviceNameStringoptionalMicroservice that owns the inventory item. releaseNameStringoptionalName of the release. releaseProjectNameStringoptionalName of the release project. resourceNamesStringoptionalAn array of resource names seededBooleanoptionalSeeded status. snapshotNameStringoptionalName of a snapshot. stageNameStringoptionalName 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 */ )