Back to index
Summary
Creates a new DevOps Insight data source.releaseNameStringrequiredThe name of the release. devOpsInsightDataSourceNameStringrequiredThe DevOps Insight data source name. projectNameStringrequiredThe name for the project that must be unique among all projects. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. pluginKeyStringoptionalThe plugin key. For example, EC-MyPlugin. pluginParametersArray<PluginParameter>optionalThe plugin parameters to be passed to the plugin for creating the required schedule and polling procedure. reportObjectTypeNameStringoptionalThe name of a report object type. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createDevOpsInsightDataSource( releaseName: "test-releaseName", devOpsInsightDataSourceName: "test-devOpsInsightDataSourceName", projectName: "test-projectName" /* optional arguments */ )