createTierMapping

Back to index

Summary

Creates a tier mapping in the specified tier map for the application.
projectName
Stringrequired
The name for the project that must be unique among all projects.
applicationEntityRevisionId
UUIDoptional
The revision ID of the versioned object.
applicationName
Stringoptional
The name of the application.
applicationTierName
Stringoptional
Name of the application tier.
environmentName
Stringoptional
The name of the environment.
environmentProjectName
Stringoptional
The name of the environment's project name.
environmentTierName
Stringoptional
Name of the environment tier.
resourceExpression
Stringoptional
Resource expression to pick up resources from the environment tier.
tierMapName
Stringoptional
The name of the tier map.
tierMappingName
Stringoptional
The name of the tierMapping.

Usage

Perl

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

ectool

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

Examples

Specify tier mappings

Use one of the following combination of arguments to define the tier map name and tier mapping name objects based on what objects your already have. You must specify a tier map, and optionally, a tier mapping.

  • applicationName, tierMapName, tierMappingName

  • applicationName, applicationTierName, environmentTierName, tierMapName

  • applicationName, applicationTierName, environmentName, environmentTierName

Perl

$cmdr->createTierMapping("proj1", {applicationTierName => "appTier1", environmentTierName => "envTier2", tierMappingName => "mapping1" tierMapName => "map1"})

ectool

ectool createTierMapping 'proj1' --applicationTierName 'appTier1' --environmentTierName 'envTier2' --tierMapName 'map1' --tierMappingName 'mapping1'