createSnapshot
Creates a new snapshot of the specified application or microservice.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
snapshotName |
String |
Name of the snapshot; must be unique within the snapshot container. (Required) |
applicationName |
String |
The name of application from which the snapshot should be created. |
componentVersions |
ComponentVersion array |
Component names and version used for snapshot. Use keyword |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
environmentName |
String |
The name of environment from which snapshot be created. |
environmentProjectName |
String |
Name for the project to which the environment or environment template belongs to. |
deleteSnapshot
Deletes a snapshot from an application.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
snapshotName |
String |
Name of the snapshot; must be unique within the snapshot container. (Required) |
applicationName |
String |
The name of application from which the snapshot should be created. |
getSnapshot
Retrieves a snapshot by name.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
snapshotName |
String |
Name of the snapshot; must be unique within the snapshot container. (Required) |
applicationName |
String |
The name of application from which the snapshot should be created. |
getSnapshotEnvironments
Retrieves a list of environments deployed in the specified snapshot.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
snapshotName |
String |
Name of the snapshot; must be unique within the snapshot container. (Required) |
applicationName |
String |
The name of application from which the snapshot should be created. |
getSnapshots
modifySnapshot
Modifies an existing snapshot of an application.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
snapshotName |
String |
Name of the snapshot; must be unique within the snapshot container. (Required) |
applicationName |
String |
The name of application from which the snapshot should be created. |
componentVersions |
ComponentVersion array |
Component names and version used for snapshot. Use keyword |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
environmentName |
String |
The name of environment from which snapshot be created. |
environmentProjectName |
String |
Name for the project to which the environment or environment template belongs to. |
newName |
String |
The new name for an existing object that is being renamed. |