Groovy API reference

EnvTemplTierResourceTemplMapping

Reference

modifyEnvTemplTierResourceTemplMapping

Modify resource count in environment template tier.

Arguments

Argument NameTypeDescription

projectName

String

The name for the project that must be unique among all projects. (Required)

environmentTemplateName

String

The name of the environment template. (Required)

environmentTemplateTierName

String

Name for the environment template tier; must be unique among all tiers for the environment template. (Required)

resourceCount

String

The number of resources to be spun from a given resource template (Required)

resourceTemplateName

String

Name for the resource template; must be unique among all resource templates. (Required)

resourceTemplateProjectName

String

Name for the project to which the resource template belongs to.

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.modifyEnvTemplTierResourceTemplMapping(
                projectName: 'test-projectName',
                environmentTemplateName: 'test-environmentTemplateName',
                environmentTemplateTierName: 'test-environmentTemplateTierName',
                resourceCount: 'test-resourceCount',
                resourceTemplateName: 'test-resourceTemplateName'
                /* optional arguments */)