createResourceTemplate
Creates a resource template.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
resourceTemplateName |
String |
Name for the resource template; must be unique among all resource templates. (Required) |
cfgMgrParameters |
CfgMgrParameter array |
Configuration manager plugin parameters. |
cfgMgrPluginKey |
String |
Configuration manager plugin key. |
cfgMgrProcedure |
String |
Configuration manager plugin method name. |
cfgMgrProjectName |
String |
Configuration manager plugin project name. |
cloudProviderParameters |
array |
Cloud provider plugin parameters. |
cloudProviderPluginKey |
String |
Cloud provider plugin key. |
cloudProviderProcedure |
String |
Cloud provider plugin method name. |
cloudProviderProjectName |
String |
Cloud provider plugin project name. |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
deleteResourceTemplate
getResourceTemplate
getResourceTemplates
getResourceTemplatesInEnvironmentTemplateTier
Retrieves all resource templates in the specified environment template tier.
Arguments
Argument Name | Type | Description |
---|---|---|
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) |
Usage
import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*
ElectricFlow ef = new ElectricFlow()
def result = ef.getResourceTemplatesInEnvironmentTemplateTier(
projectName: 'test-projectName',
environmentTemplateName: 'test-environmentTemplateName',
environmentTemplateTierName: 'test-environmentTemplateTierName')
modifyResourceTemplate
Modifies the specified resource template.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
resourceTemplateName |
String |
Name for the resource template; must be unique among all resource templates. (Required) |
cfgMgrParameters |
CfgMgrParameter array |
Configuration manager plugin parameters. |
cfgMgrPluginKey |
String |
Configuration manager plugin key. |
cfgMgrProcedure |
String |
Configuration manager plugin method name. |
cfgMgrProjectName |
String |
Configuration manager plugin project name. |
cloudProviderParameters |
array |
Cloud provider plugin parameters. |
cloudProviderPluginKey |
String |
Cloud provider plugin key. |
cloudProviderProcedure |
String |
Cloud provider plugin method name. |
cloudProviderProjectName |
String |
Cloud provider plugin project name. |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
newName |
String |
The new name for an existing object that is being renamed. |
removeResourceTemplateFromEnvironmentTemplateTier
Removes a resource template from the specified environment template tier.
Arguments
Argument Name | Type | Description |
---|---|---|
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) |
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.removeResourceTemplateFromEnvironmentTemplateTier(
projectName: 'test-projectName',
environmentTemplateName: 'test-environmentTemplateName',
environmentTemplateTierName: 'test-environmentTemplateTierName',
resourceTemplateName: 'test-resourceTemplateName'
/* optional arguments */)