createMicroserviceMapping

Back to index

Summary

Creates a new mapping between a microservice and an environment cluster.
projectName
Stringrequired
The name for the project that must be unique among all projects.
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.
microserviceMappingName
Stringoptional
The name of the microservice mapping.
microserviceName
Stringoptional
The name of the microservice.
tierMapName
Stringoptional
The name of the tier map.

Usage

Perl

$cmdr->createMicroserviceMapping( "test-projectName" # projectName # optionals );

ectool

ectool createMicroserviceMapping \ "test-projectName" `# projectName` \ # optionals

Examples

Perl

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

ectool

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