copyComponent
Creates a new component based on an existing one.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
componentName |
String |
(Required) The name of the component. |
newComponentName |
String |
(Required) The name of new component. |
applicationTierName |
String |
The name of the tier. |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
fromApplicationName |
String |
The name of the source application. |
toApplicationName |
String |
The name of the source application. |
createComponent
Creates a new component for a project.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
componentName |
String |
(Required) The name of the component. |
actualParameters |
Map |
Parameters passed as arguments to the application component. |
applicationName |
String |
The name of an application to scope this component to. |
credentialName |
String |
The name of a credential to attach to this component. |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
pluginKey |
String |
The key of the plugin. |
pluginName |
String |
The name of the plugin. |
pluginParameters |
Map |
List of plugin parameters. |
reference |
Boolean |
If |
sourceApplicationName |
String |
The name of the source application. |
sourceComponentName |
String |
The name of new component. |
sourceProjectName |
String |
The name of source project. |
deleteComponent
getComponent
Retrieves a component by name.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
componentName |
String |
(Required) The name of the component. |
applicationEntityRevisionId |
UUID |
The revision ID of the versioned object. |
applicationName |
String |
The name of an application to scope this component to. |
getComponents
Retrieves all components in a project.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
applicationEntityRevisionId |
UUID |
The revision ID of the versioned object. |
applicationName |
String |
Name of the application. Specify to search for components scoped to an application. |
getComponentsInApplicationTier
Retrieves the list of components in an application tier.
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. |
applicationTierName |
String |
(Required) Name of the tier; must be unique within the application. |
applicationEntityRevisionId |
UUID |
The revision ID of the versioned object. |
includeArtifactDetail |
Boolean |
Retrieves artifact name and version as part of component response. |
modifyComponent
Modifies an existing component.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
componentName |
String |
(Required) The name of the component. |
actualParameters |
Map |
Parameters passed as arguments to the application component. |
applicationName |
String |
The name of an application to scope this component to. |
clearActualParameters |
Boolean |
If |
credentialName |
String |
The name of a credential to attach to this component. |
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. |
pluginKey |
String |
The key of the plugin. |
pluginName |
String |
The name of the plugin. |
pluginParameters |
Map |
List of plugin parameters. |
removeComponentFromApplicationTier
Removes the specified component from an application tier.
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. |
applicationTierName |
String |
(Required) Name of the tier; must be unique within the application. |
componentName |
String |
(Required) Name of the component. |
componentProjectName |
String |
Project name of the component. |