addResourcePoolToEnvironmentTier
Adds a resource pool to a specific environment tier. A resource pool is a named group of resources.
You must specify the resourcePoolName
, projectName
, environmentName
, and environmentTierName
arguments.
Arguments | Descriptions |
---|---|
resourcePoolName |
Name of the resource pool that must be unique among all resource pools. Argument Type: String |
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
environmentName |
Name of the environment that must be unique among all environments. Argument Type: String |
environmentTierName |
Name of the environment tier that must be unique among all tiers for the environment. Argument Type: String |
rollingDeployPhaseName |
(Optional) Name for the rolling deploy phase to be associated with the resource pool. Argument Type: String |
addResourceTemplateToEnvironmentTemplateTier
Adds a resource template to the specified environment template tier.
You must specify the resourceTemplateName
, projectName
, environmentTemplateName
, and environmentTemplateTierName
arguments.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
resourceTemplateName |
Name of the resource template that must be unique among all resource templates. Argument Type: String |
environmentTemplateTierName |
Name of the environment template tier that must be unique among all tiers for the environment template. Argument Type: String |
resourceCount |
(Optional) Number of resources to be spun from the resource template. Argument Type: Integer |
resourceTemplateProjectName |
(Optional) Name of the project to which the resource template belongs. Argument Type: String |
Positional arguments
projectName, environmentTemplateName, resourceTemplateName , environmentTemplateTierName
addResourceToEnvironmentTemplateTier
Adds a resource to the specified environment template tier.
You must specify the resourceName
, projectName
, environmentTemplateName
, and environmentTemplateTierName
arguments.
Arguments | Descriptions |
---|---|
resourceName |
Name of the resource that must be unique among all resources. Argument Type: String |
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
environmentTemplateTierName |
Name for the environment template tier that must be unique among all tiers for the environment template. Argument Type: String |
Positional arguments
resourceName, projectName, environmentTemplateName, environmentTemplateTierName
createEnvironmentTemplate
Creates an environment template.
You must specify the projectName
and environmentTemplateName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with This text is not interpreted by CloudBees CD/RO . Argument type: String |
createEnvironmentTemplateTier
Creates a tier in an environment template.
You must specify the projectName
, environmentTemplateName
, and environmentTemplateTierName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
environmentTemplateTierName |
Name of the environment template tier that must be unique among all tiers for the environment template. Argument Type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with This text is not interpreted by the automation platform. Argument type: String |
resourceCount |
(Optional) The number of resources to be spun from a given resource template. Argument type: Integer |
resourceNames |
(Optional) List of resources to add to the environment tier. Argument type: Collection |
resourceTemplateName |
(Optional) Name for the resource template that must be unique among all resource templates. Argument type: String |
resourceTemplateProjectName |
(Optional) Name for the project to which the resource template belongs. Argument type: String |
createEnvironmentTemplateTierMap
Creates an environment-template tier map for an application.
You must specify the projectName
, applicationName
, environmentProjectName
, and environmentTemplateName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
applicationName |
Name of the application. Argument Type: String |
environmentProjectName |
Name for the project to which the environment belongs. Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
applicationEntityRevisionId |
(Optional) Revision ID of the versioned object Argument Type: UUID |
tierMapName |
(Optional) Name of the tier map associated with the environment template. If you do not specify an tier map, CloudBees CD/RO uses a tier map with a hyphenated-application-and-environment name. Argument type: String |
tierMappings |
(Optional) List of mappings between the application tiers and the environment template tiers. Argument Type: Map |
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.
You must specify the hookName
.
Arguments | Descriptions |
---|---|
hookName |
Name of the hook that must be unique among all hooks in the project. Argument Type: String |
broadcast |
(Optional) Broadcast flag Use this flag to broadcast the hook name in the project. The Argument type: Boolean |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with This text is not interpreted by the automation platform. Argument type: String |
hookParameters |
(Optional) Parameters that are passed to the procedure. Argument type: Map |
hookType |
(Optional) Type of the hook:
Argument Type: String |
procedureName |
(Optional) Name of the procedure that the hook references. Argument Type: String |
procedurePluginKey |
(Optional) Name of the plugin procedure. Use this argument when the hook references a plugin procedure. The promoted version of the plugin is invoked by default. Argument Type: String |
procedureProjectName |
(Optional) Name of the project to which the procedure belongs. When you use a specific version of a plugin, this is the name of the plugin project. Argument Type: String |
projectName |
(Optional) Project name of the entity that owns the hook. Argument Type: String |
resourceTemplateName |
(Optional) Name of the resource template. Argument Type: String |
createResourceTemplate
Creates a resource template.
You must specify the projectName
and resourceTemplateName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
resourceTemplateName |
Name for the resource template that must be unique among all resource templates. Argument Type: String |
cfgMgrParameters |
(Optional) Configuration Manager plugin parameters that are passed from the configuration-manager plugin to CloudBees CD/RO . Argument Type: Map |
cfgMgrPluginKey |
(Optional) Configuration Manager plugin key. Argument Type: String |
cfgMgrProcedure |
(Optional) Name of the cloud-provider plugin method. Argument Type: String |
cfgMgrProjectName |
(Optional) Name of the project to which the configuration-manager plugin applies. Argument Type: String |
cloudProviderParameters |
(Optional) Parameters that are passed from the cloud- provider plugin to CloudBees CD/RO . Argument Type: Map |
cloudProviderPluginKey |
(Optional) Cloud-provider plugin key. Argument Type: String |
cloudProviderProcedure |
(Optional) Cloud-provider plugin method name. Argument Type: String |
cloudProviderConfig |
(Optional) Name of the cloud-provider plugin configuration. Argument Type: String |
cloudProviderProjectName |
(Optional) Name of the project to which the cloud-provider plugin applies. Argument Type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with This text is not interpreted by the automation platform. Argument type: String |
deleteEnvironmentTemplate
Deletes an environment template.
You must specify the projectName
and environmentTemplateName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
deleteEnvironmentTemplateTier
Deletes an environment template tier.
You must specify the projectName
, environmentTemplateName
, and environmentTemplateTierName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
environmentTemplateTierName |
Name of the environment template tier that must be unique among all tiers for the environment template. Argument Type: String |
deleteEnvironmentTemplateTierMap
Deletes an environment template tier map from an application.
You must specify the projectName
, applicationName
, environmentProjectName
, and environmentTemplateName
arguments.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
applicationName |
Name of the application. Argument Type: String |
environmentProjectName |
Name for the project to which the environment template belongs. Argument Type: String |
environmentTemplateProjectName |
Name for the project to which the environment template belongs. Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
deleteEnvironmentTemplateTierMapping
Deletes a tier mapping from a 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.
You must specify the projectName
, applicationName
, environmentProjectName
, environmentTemplateName
, and applicationTierName
arguments.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
applicationName |
Name of the application. Argument Type: String |
environmentProjectName |
Name for the project to which the environment belongs. Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
applicationTierName |
Name of the application tier. Argument Type: String |
Positional arguments
projectName
, applicationName
, environmentProjectName
, environmentTemplateName
, applicationTierName
deleteHook
Deletes a hook associated with an entity.
You must specify the hookName
argument.
Arguments | Descriptions |
---|---|
hookName |
Name of the hook that must be unique among all hooks in the project. Argument Type: String |
projectName |
(Optional) Name of the project that owns the hook. Argument Type: String |
resourceTemplateName |
(Optional) Name of the resource template. Argument Type: String |
deleteResourceTemplate
Deletes a resource template.
You must specify the projectName
and resourceTemplateName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument Type: String |
resourceTemplateName |
Name for the resource template that must be unique among all resource templates. Argument Type: String |
getAvailableResourcesForEnvironment
Retrieves all non-dynamic resources or resource pools.
Arguments | Descriptions |
---|---|
includePoolUsage |
(Optional) < Boolean flag— If this is set to Argument Type: Boolean |
objectTypeToReturn |
(Optional) Flag to return resources or resource pools. Valid values are If this is set to Argument Type: String |
getEnvironmentTemplate
Retrieves an environment template.
You must specify the projectName
and environmentTemplateName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
getEnvironmentTemplateTier
Retrieves an environment tier in an environment template.
You must specify the projectName
, environmentTemplateName
, and environmentTemplateTierName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
environmentTemplateTierName |
Name of the environment template tier that must be unique among all tiers for the environment template. Argument Type: String |
getEnvironmentTemplateTierMaps
Retrieves all the environment-template tier maps used by the specified application.
You must specify the projectName
and applicationName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
applicationName |
Name of the application. Argument Type: String |
applicationEntityRevisionId |
(Optional) Revision ID of the versioned object. Argument type: UUID |
orderByEnvironmentTemplateUsage |
(Optional) < Boolean flag— If this is set to Argument Type: Boolean |
getEnvironmentTemplateTiers
Retrieves all the environment template tiers in the specified environment template.
You must specify the projectName
and environmentTemplateName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
includeTemplateDetails |
(Optional) < Boolean flag— If this is set to Argument Type: Boolean |
getEnvironmentTemplates
getHook
Retrieves a hook associated in an entity.
You must specify the hookName
.
Arguments | Descriptions |
---|---|
hookName |
Name of the hook that must be unique among all hooks in the project. Argument Type: String |
projectName |
(Optional) Name of the project to which the procedure belongs. When you use a specific version of a plugin, this is the name of the plugin project. Argument Type: String |
resourceTemplateName |
(Optional) Name of the resource template with the hook. Argument Type: String |
getHooks
Retrieves all the hooks associated with an entity.
Arguments | Descriptions |
---|---|
projectName |
(Optional) Name of the project to which the procedure belongs. When you use a specific version of a plugin, this is the name of the plugin project. Argument Type: String |
resourceTemplateName |
(Optional) Name of the resource template with the hook. Argument Type: String |
getProvisionedEnvironments
Retrieves provisioned environments.
Arguments | Descriptions |
---|---|
flowRuntimeId |
(Optional) The ID of the flow state. Argument Type: UUID |
jobId |
(Optional) include::partial$job-id.adoc[] Argument type: UUID |
stageName |
(Optional) Name of the stage. Argument Type: String |
getResourcePoolsInEnvironmentTier
Retrieves the list of resource pools in the specified environment tier.
You must specify the projectName
, environmentName
, and environmentTierName
arguments.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
environmentName |
Name of the environment that must be unique among all environments. Argument Type: String |
environmentTierName |
Name of the environment tier that must be unique among all tiers for the environment. Argument Type: String |
getResourceTemplate
Retrieves the specified resource template.
You must specify the projectName
and resourceTemplateName
argument.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument Type: String |
resourceTemplateName |
Name for the resource template that must be unique among all resource templates. Argument Type: String |
getResourceTemplates
getResourceTemplatesInEnvironmentTemplateTier
Retrieves all the resource templates in the specified environment template tier.
You must specify the projectName
, environmentTemplateName
, and environmentTemplateTierName
arguments.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
environmentTemplateTierName |
Name of the environment template tier that must be unique among all tiers for the environment template. Argument Type: String |
getResourcesInEnvironmentTemplateTier
Retrieves all the resources in the specified environment template tier.
You must specify the projectName
, environmentTemplateName
,and environmentTemplateTierName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
environmentTemplateTierName |
Name for the environment template tier that must be unique among all tiers for the environment template. Argument Type: String |
modifyEnvironmentTemplate
Modifies an environment template.
You must specify the projectName
and environmentTemplateName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with This text is not interpreted by the automation platform. Argument type: String |
newName |
(Optional) New name for the environment template. Argument Type: String |
modifyEnvironmentTemplateTier
Modifies all the environment template tiers in the specified environment template.
You must specify the projectName
, environmentTemplateName
, and environmentTemplateTierName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
environmentTemplateName |
Name of the environment template. Argument Type: String |
environmentTemplateTierName |
Name for the environment template tier that must be unique among all tiers for the environment template. Argument Type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with This text is not interpreted by the automation platform. Argument type: String |
newName |
(Optional) New name for the environment template tier. Argument Type: String |
resourceCount |
(Optional) Number of resources to be spun from the resource template. Argument Type: Integer |
resourceNames |
(Optional) List of resources to add to the environment tier. Argument type: Collection |
resourceTemplateName |
(Optional) Name for the resource template that must be unique among all resource templates. Argument type: String |
resourceTemplateProjectName |
(Optional) Name of the project to which the resource template belongs. Argument Type: String |
modifyEnvironmentTemplateTierMap
Modifies an existing environment template tier map.
You must specify the projectName
, applicationName
, environmentProjectName
, and environmentTemplateName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project that must be unique among all projects. Argument Type: String |
applicationName |
Name of the application. Argument Type: String |