addResourcePoolToEnvironmentTier
Adds a resource pool to a specific environment tier. A resource pool is a named group of resources.
Arguments
Argument Name | Type | Description |
---|---|---|
resourcePoolName |
String |
(Required) Name for the resource pool; must be unique among all resource pools. |
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentName |
String |
(Required) The name of the environment. |
environmentTierName |
String |
(Required) Name for the environment tier; must be unique among all tiers for the environment. |
rollingDeployPhaseName |
String |
Name for the rolling deploy phase to be associated with the resource pool. |
addResourceTemplateToEnvironmentTemplateTier
Adds a resource template to the specified environment template tier.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
resourceTemplateName |
String |
(Required) Name for the resource template; must be unique among all resource templates. |
environmentTemplateTierName |
String |
(Required) Name for the environment template tier; must be unique among all tiers for the environment template. |
resourceCount |
Integer |
The number of resources to be spun from a given resource template. |
resourceTemplateProjectName |
String |
Name for the project to which the resource template belongs to. |
Positional arguments
projectName
, environmentTemplateName
, resourceTemplateName
, environmentTemplateTierName
addResourceToEnvironmentTemplateTier
Adds a resource to the specified environment template tier.
Arguments
Argument Name | Type | Description |
---|---|---|
resourceName |
String |
(Required) Name for the resource; must be unique among all resources. |
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
environmentTemplateTierName |
String |
(Required) Name for the environment template tier; must be unique among all tiers for the environment template. |
createEnvironmentTemplate
Creates an environment template.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
createEnvironmentTemplateTier
Creates a tier in an environment template.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
environmentTemplateTierName |
String |
(Required) Name for the environment template tier; must be unique among all tiers for the environment template. |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
resourceCount |
Integer |
The number of resources to be spun from a given resource template. |
resourceNames |
Collection |
List of resources to add to the environment tier. |
resourceTemplateName |
String |
Name for the resource template; must be unique among all resource templates. |
resourceTemplateProjectName |
String |
Name for the project to which the resource template belongs to. |
createEnvironmentTemplateTierMap
Creates an environment-template tier map for an application.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
applicationName |
String |
(Required) The name of the application. |
environmentProjectName |
String |
(Required) The name of the environment’s project name. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
applicationEntityRevisionId |
UUID |
The revision ID of the versioned object. |
tierMapName |
String |
The name of the environment template tier map. If not specified the operation will assume a hyphenated application and environment name. |
tierMappings |
Map |
The list of mappings between the application tiers and the environment template tiers. |
createHook
Creates a hook in a resource template, which can have one or more hooks. A hook stores a reference to a procedure in a CloudBees CD/RO project or plugin project. When a resource template is used to create a resource pool, these procedures are invoked.
Arguments
Argument Name | Type | Description |
---|---|---|
hookName |
String |
(Required) Name for the hook; must be unique among all hooks. |
broadcast |
Boolean |
Broadcast flag. |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
hookParameters |
Map |
Hook parameters. |
hookType |
HookType |
Hook type. |
procedureName |
String |
Hook procedure name. |
procedurePluginKey |
String |
Procedure plugin key. |
procedureProjectName |
String |
Procedure project name. |
projectName |
String |
ProjectName of the entity that owns the hook. |
resourceTemplateName |
String |
Name of the resource template. |
createResourceTemplate
Creates a resource template.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
resourceTemplateName |
String |
(Required) Name for the resource template; must be unique among all resource templates. |
cfgMgrParameters |
Map |
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 |
Map |
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. |
deleteEnvironmentTemplate
deleteEnvironmentTemplateTier
Deletes an environment template tier.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
environmentTemplateTierName |
String |
(Required) Name for the environment template tier; must be unique among all tiers for the environment template. |
deleteEnvironmentTemplateTierMap
Deletes an environment template tier map from an application.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
applicationName |
String |
(Required) The name of the application. |
environmentProjectName |
String |
(Required) The name of the environment’s project name. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
applicationEntityRevisionId |
UUID |
The revision ID of the versioned object. |
deleteEnvironmentTemplateTierMapping
Deletes a tier mapping from an environment template tier map. A tier mapping is a mapping of an application tier to an environment template tier. A tier map has one or more mappings.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
applicationName |
String |
(Required) The name of the application. |
environmentProjectName |
String |
(Required) The name of the environment’s project name. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
applicationTierName |
String |
(Required) The name of the application tier. |
applicationEntityRevisionId |
UUID |
The revision ID of the versioned object. |
Positional arguments
projectName
, applicationName
, environmentProjectName
, environmentTemplateName
, applicationTierName
deleteHook
deleteResourceTemplate
getAvailableResourcesForEnvironment
getEnvironmentTemplate
getEnvironmentTemplates
getEnvironmentTemplateTier
Retrieves an environment tier in an environment template.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
environmentTemplateTierName |
String |
(Required) Name for the environment template tier; must be unique among all tiers for the environment template. |
getEnvironmentTemplateTierMaps
Retrieves all the environment template tier maps used by the specified application.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
applicationName |
String |
(Required) The name of the application. |
applicationEntityRevisionId |
UUID |
The revision ID of the versioned object. |
orderByEnvironmentTemplateUsage |
Boolean |
True to return most recently used environment template. |
getEnvironmentTemplateTiers
Retrieves all environment template tiers in the specified environment template.
getHook
getHooks
getProvisionedEnvironments
getResourcePoolsInEnvironmentTier
Retrieves the list of resource pools in the specified environment tier.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentName |
String |
(Required) The name of the environment. |
environmentTierName |
String |
(Required) Name for the environment tier; must be unique among all tiers for the environment. |
getResourcesInEnvironmentTemplateTier
Retrieves all resources in the specified environment template tier.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
environmentTemplateTierName |
String |
(Required) Name for the environment template tier; must be unique among all tiers for the environment template. |
getResourceTemplate
getResourceTemplates
getResourceTemplatesInEnvironmentTemplateTier
Retrieves all resource templates in the specified environment template tier.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
environmentTemplateTierName |
String |
(Required) Name for the environment template tier; must be unique among all tiers for the environment template. |
modifyEnvironmentTemplate
Modifies an environment template.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
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. |
modifyEnvironmentTemplateTier
Modifies all environment template tiers in the specified environment template.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
environmentTemplateTierName |
String |
(Required) Name for the environment template tier; must be unique among all tiers for the environment template. |
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. |
resourceCount |
Integer |
The number of resources to be spun from a given resource template. |
resourceNames |
Collection |
List of resources to add to the environment tier. |
resourceTemplateName |
String |
Name for the resource template; must be unique among all resource templates. |
resourceTemplateProjectName |
String |
Name for the project to which the resource template belongs to. |
modifyEnvironmentTemplateTierMap
Modifies an existing environment template tier map.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
applicationName |
String |
(Required) The name of the application. |
environmentProjectName |
String |
(Required) The name of the environment’s project name. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
applicationEntityRevisionId |
UUID |
The revision ID of the versioned object. |
tierMapName |
String |
The name of the environment template tier map. If not specified the operation will assume a hyphenated application and environment name. |
tierMappings |
Map |
The list of mappings between the application tiers and the environment template tiers. |
modifyEnvTemplTierResourceTemplMapping
Modifies the resource count in an environment template tier.
Arguments
Argument Name | Type | Description |
---|---|---|
resourceCount |
String |
(Required) The number of resources to be spun from a given resource template. |
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
resourceTemplateName |
String |
(Required) Name for the resource template; must be unique among all resource templates. |
environmentTemplateTierName |
String |
(Required) Name for the environment template tier; must be unique among all tiers for the environment template. |
resourceTemplateProjectName |
String |
Name for the project to which the resource template belongs to. |
Positional arguments
resourceCount
, projectName
, environmentTemplateName
, resourceTemplateName
, environmentTemplateTierName
modifyHook
Modifies an existing hook in a resource template.
Arguments
Argument Name | Type | Description |
---|---|---|
hookName |
String |
(Required) Name for the hook; must be unique among all hooks. |
broadcast |
Boolean |
Broadcast flag. |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
hookParameters |
Map |
Hook parameters. |
hookType |
HookType |
Hook type. |
newName |
String |
The new name for an existing object that is being renamed. |
procedureName |
String |
Hook procedure name. |
procedurePluginKey |
String |
Procedure plugin key. |
procedureProjectName |
String |
Procedure project name. |
projectName |
String |
ProjectName of the entity that owns the hook. |
resourceTemplateName |
String |
Name of the resource template. |
modifyResourceTemplate
Modifies the specified resource template.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
resourceTemplateName |
String |
(Required) Name for the resource template; must be unique among all resource templates. |
cfgMgrParameters |
Map |
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 |
Map |
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. |
provisionEnvironment
Provisions an environment.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentName |
String |
(Required) The name of the environment. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
environmentTemplateProjectName |
String |
Name for the project containing environment template. |
keepOnError |
Boolean |
Tear down on error flag. |
tierResourceCounts |
Map |
Resource count per environment template tier. |
provisionResourcePool
Provisions a resource pool.
Arguments
Argument Name | Type | Description |
---|---|---|
resourceCount |
String |
(Required) Number of resources to provision. |
resourcePoolName |
String |
(Required) Name for the resource pool. |
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
resourceTemplateName |
String |
(Required) Name for the resource template; must be unique among all resource templates. |
keepOnError |
Boolean |
True to keep resource pool on error (default is false). |
removeResourceFromEnvironmentTemplateTier
Removes a resource from an environment template tier.
Arguments
Argument Name | Type | Description |
---|---|---|
resourceName |
String |
(Required) Name for the resource; must be unique among all resources. |
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
environmentTemplateTierName |
String |
(Required) Name for the environment template tier; must be unique among all tiers for the environment template. |
removeResourcePoolFromEnvironmentTier
Removes a resource pool from the specified environment tier.
Arguments
Argument Name | Type | Description |
---|---|---|
resourcePoolName |
String |
(Required) Name for the resource pool; must be unique among all resource pools. |
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentName |
String |
(Required) The name of the environment. |
environmentTierName |
String |
(Required) Name for the environment tier; must be unique among all tiers for the environment. |
removeResourceTemplateFromEnvironmentTemplateTier
Removes a resource template from the specified environment template tier.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
environmentTemplateName |
String |
(Required) The name of the environment template. |
resourceTemplateName |
String |
(Required) Name for the resource template; must be unique among all resource templates. |
environmentTemplateTierName |
String |
(Required) Name for the environment template tier; must be unique among all tiers for the environment template. |
resourceTemplateProjectName |
String |
Name for the project to which the resource template belongs to. |
Positional arguments
projectName
, environmentTemplateName
, resourceTemplateName
, environmentTemplateTierName