modifyMicroserviceMapping

Back to index

Summary

Modifies an existing environment mapping.
projectName
Stringrequired
The name for the project that must be unique among all projects.
microserviceMappingName
Stringrequired
The name of the microservice mapping.
applicationName
Stringoptional
The name of the application.
clusterName
Stringoptional
The name of the cluster.
clusterProjectName
Stringoptional
The name of the project which contains the cluster.
environmentName
Stringoptional
Name of the environment which owns this cluster.
microserviceName
Stringoptional
The name of the microservice.
newName
Stringoptional
The new name for an existing object that is being renamed.
tierMapName
Stringoptional
The name of the tier map.

Usage

Perl

$cmdr->modifyMicroserviceMapping( "test-projectName", # projectName "test-microserviceMappingName" # microserviceMappingName # optionals );

ectool

ectool modifyMicroserviceMapping \ "test-projectName" `# projectName` \ "test-microserviceMappingName" `# microserviceMappingName` \ # optionals

Examples

Perl

$cmdr->modifyMicroserviceMapping("service_proj1", {environmentName => "qe env name",microserviceName => "qe service 1", clusterName => "qe cluster", tierMapName => "map", clusterProjectName => "cluster_proj"});

ectool

ectool modifyMicroserviceMapping "service_proj1" --environmentName "qe env" --microserviceName "qe service 1" --clusterName "qe cluster" --tierMapName "map" --clusterProjectName "cluster_proj"