DevOpsInsightDataSource

2 minute readReference

createDevOpsInsightDataSource

Creates a new DevOps Insight data source.

Arguments

Argument Name Type Description

releaseName

String

The name of the release. (Required)

devOpsInsightDataSourceName

String

The DevOps Insight data source name. (Required)

projectName

String

The name for the project that must be unique among all projects. (Required)

description

String

Comment text describing this object that is not interpreted at all by CloudBees CD/RO.

pluginKey

String

The plugin key. For example, EC-MyPlugin.

pluginParameters

The plugin parameters to be passed to the plugin for creating the required schedule and polling procedure.

reportObjectTypeName

String

The name of a report object type.

Usage

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 */)

deleteDevOpsInsightDataSource

Deletes a DevOps Insight data source.

Arguments

Argument Name Type Description

releaseName

String

The name of the release. (Required)

devOpsInsightDataSourceName

String

The DevOps Insight data source name. (Required)

projectName

String

The name for the project that must be unique among all projects. (Required)

foreground

Boolean

True to delete the object in the foreground. The default is to delete the object in the background.

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.deleteDevOpsInsightDataSource( releaseName: 'test-releaseName', devOpsInsightDataSourceName: 'test-devOpsInsightDataSourceName', projectName: 'test-projectName' /* optional arguments */)

getDevOpsInsightDataSource

Creates a new DevOps Insight data source.

Arguments

Argument Name Type Description

releaseName

String

The name of the release. (Required)

devOpsInsightDataSourceName

String

The DevOps Insight data source name. (Required)

projectName

String

The name for the project that must be unique among all projects. (Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getDevOpsInsightDataSource( releaseName: 'test-releaseName', devOpsInsightDataSourceName: 'test-devOpsInsightDataSourceName', projectName: 'test-projectName')

getDevOpsInsightDataSources

Retrieves all DevOps Insight data sources.

Arguments

Argument Name Type Description

releaseName

String

The name of the release. (Required)

projectName

String

The name for the project that must be unique among all projects. (Required)

reportObjectTypeName

String

The name of a report object type.

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getDevOpsInsightDataSources( releaseName: 'test-releaseName', projectName: 'test-projectName' /* optional arguments */)

modifyDevOpsInsightDataSource

Modifies an existing DevOps Insight data source.

Arguments

Argument Name Type Description

releaseName

String

The name of the release. (Required)

devOpsInsightDataSourceName

String

The DevOps Insight data source name. (Required)

projectName

String

The name for the project that must be unique among all projects. (Required)

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.

pluginParameters

The plugin parameters to be passed to the plugin for creating the required schedule and polling procedure.

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyDevOpsInsightDataSource( releaseName: 'test-releaseName', devOpsInsightDataSourceName: 'test-devOpsInsightDataSourceName', projectName: 'test-projectName' /* optional arguments */)