Back to index
Summary
Creates a new environment tier.projectNameStringrequiredThe name for the project that must be unique among all projects. environmentNameStringrequiredThe name of the environment. environmentTierNameStringrequiredName for the environment tier; must be unique among all tiers for the environment. batchSizeStringoptionalThe size of the batch supported by the environment tier. batchSizeTypeStringoptionalThe type of batch size supported by the environment tier. Possible values: "count" , "percentage" descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. resourceNameArrayoptionalList of resources to add to the environment tier. resourcePhaseMappingArrayoptionalA map of resource and rolling deploy phase. resourcePoolNameArrayoptionalList of resource pools to add to the environment tier. resourcePoolPhaseMappingArrayoptionalA map of resource pool and rolling deploy phase. |
Usage
Perl
$cmdr->createEnvironmentTier( "test-projectName", # projectName "test-environmentName", # environmentName "test-environmentTierName" # environmentTierName # optionals );
ectool
ectool createEnvironmentTier \ "test-projectName" `# projectName` \ "test-environmentName" `# environmentName` \ "test-environmentTierName" `# environmentTierName` \ # optionals