Zone

1 minute readReference

createZone

Creates a new zone.

Arguments

Argument Name Type Description

zoneName

String

The zone name. (Required)

description

String

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

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createZone( zoneName: 'test-zoneName' /* optional arguments */)

deleteZone

Deletes an existing zone.

Arguments

Argument Name Type Description

zoneName

String

The zone name. (Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.deleteZone( zoneName: 'test-zoneName')

getZone

Finds a zone by name.

Arguments

Argument Name Type Description

zoneName

String

The zone name. (Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getZone( zoneName: 'test-zoneName')

getZones

Retrieves all zones.

Arguments

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getZones()

modifyZone

Modifies an existing zone.

Arguments

Argument Name Type Description

zoneName

String

The zone name. (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.

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyZone( zoneName: 'test-zoneName' /* optional arguments */)