Back to index
Summary
Deletes an inventory item.projectNameStringrequiredThe name for the project that must be unique among all projects. environmentNameStringrequiredThe name of the environment. applicationNameStringrequiredApplication that owns the inventory item. componentNameStringrequiredComponent that owns the inventory item. resourceNameStringrequiredResource where the item is installed. artifactNameStringoptionalArtifact name for the inventory item. artifactVersionStringoptionalArtifact version for the inventory item. clusterNameStringoptionalCluster where the item is installed. deploymentStrategyLabelStringoptionalLabel used by microservice plugins EC-Helm and EC-Kubectl to identify deployments depending on the deployment strategy in progress. For example, canary and stable will be used with canary strategy-based deployments while preview and active will be used with bluegreen strategy-based deployments. (Used exclusively in the context of an advanced deployment strategy for a microservice application). environmentProjectNameStringoptionalName for the project to which the environment or environment template belongs to. microserviceNameStringoptionalService that owns the inventory item. |
Usage
Perl
$cmdr->deleteEnvironmentInventoryItem( "test-projectName", # projectName "test-environmentName", # environmentName "test-applicationName", # applicationName "test-componentName", # componentName "test-resourceName" # resourceName # optionals );
ectool
ectool deleteEnvironmentInventoryItem \ "test-projectName" `# projectName` \ "test-environmentName" `# environmentName` \ "test-applicationName" `# applicationName` \ "test-componentName" `# componentName` \ "test-resourceName" `# resourceName` \ # optionals