createSnapshot
Creates a new snapshot of the specified application or microservice.
You must specify projectName
, applicationName
or serviceName
, and snapshotName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
applicationName |
(Optional) The name of the application that must be unique among all projects. Argument type: String |
snapshotName |
The name of the snapshot that must be unique withing the application. Argument type: String |
componentVersions |
(Optional) The name and version of the component for the snapshot. Argument type: Map |
description |
(Optional) Comment text describing this object, which is not interpreted by CloudBees CD/RO . A plain text or HTML description for this object. If using HTML, you must surround your text with Argument type: String |
environmentName |
(Optional) Name of the environment from which the snapshot is created. Argument type: String |
environmentProjectName |
(Optional) Name of the project to which the snapshot belongs. Argument type: String |
environmentTemplateProjectName |
(Optional) Name of the project to which the environment template belongs when the snapshot is created from the environment template. Argument type: String |
serviceName |
(Optional) The name of service from which the snapshot should be created. Argument type: String |
deleteSnapshot
Deletes a snapshot from an application.
You must specify projectName
, applicationName
or serviceName
, and snapshotName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
applicationName |
The name of the application that must be unique among all projects. Argument type: String |
serviceName |
The name of service from which the snapshot should be deleted. Argument type: String |
snapshotName |
The name of the snapshot that must be unique withing the application. Argument type: String |
getPartialApplicationRevision
Retrieves a partial application when a snapshot is created.
You must specify projectName
, applicationName
, and revisionNumber
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
applicationName |
The name of the application that must be unique among all projects. Argument type: String |
revisionNumber |
The revision number of the application. Argument type: Integer |
getSnapshot
Find a snapshot by name.
You must specify projectName
, applicationName
, and snapshotName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
applicationName |
The application that owns the deployment history item. Argument type: String |
snapshotName |
The name of the snapshot that must be unique within the application. Argument type: String |
getSnapshotEnvironments
Retrieves a list of environments deployed in the specified snapshot.
You must specify projectName snapshotName, and ` `applicationName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
snapshotName |
The name of the snapshot that must be unique within the application. Argument type: String |
applicationName |
The name of the application that must be unique among all projects. Argument type: String |
serviceName |
(Optional) Get the list of environments for the specified service. Argument Type: String |
getSnapshots
Retrieves all the snapshots in an application.
You must specify projectName
and applicationName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
applicationName |
The name of the application that must be unique among all projects. Argument type: String |
modifySnapshot
Modifies an existing snapshot of an application.
You must specify projectNam
, applicationName
, and snapshotName
.
Arguments | Descriptions |
---|---|
projectName |
Name of the project. This name must be unique among all projects. Argument Type: String Argument type: String |
applicationName |
The name of the application that must be unique within the project. Argument type: String |
snapshotName |
The name of the snapshot that must be unique within the application. Argument type: String |
componentVersions |
(Optional) Name and version of the component for the snapshot. Use keyword Argument type: Map |
description |
(Optional) Comment text describing this object, which is not interpreted by CloudBees CD/RO . A plain text or HTML description for this object. If using HTML, you must surround your text with Argument type: String |
environmentName |
(Optional) Name of environment from which snapshot is created. Argument type: String |
environmentProjectName |
(Optional) Name for the project to which the environment or environment template belongs. Argument type: String |
newName |
(Optional) New name of the snapshot. Argument type: String |