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.createServiceAccount(
serviceAccountName: 'test-serviceAccountName'
/* optional arguments */)
▼
deleteServiceAccount
Deletes a service account
Arguments
Argument Name
Type
Description
serviceAccountName
String
The service account name. (Required)
Usage
import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*
ElectricFlow ef = new ElectricFlow()
def result = ef.deleteServiceAccount(
serviceAccountName: 'test-serviceAccountName')
▼
getServiceAccount
Retrieve a service account by name.
Arguments
Argument Name
Type
Description
serviceAccountName
String
The service account name. (Required)
Usage
import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*
ElectricFlow ef = new ElectricFlow()
def result = ef.getServiceAccount(
serviceAccountName: 'test-serviceAccountName')
▼
getServiceAccounts
Retrieve all service accounts
Arguments
Usage
import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*
ElectricFlow ef = new ElectricFlow()
def result = ef.getServiceAccounts()
▼
modifyServiceAccount
Modify an existing service account.
Arguments
Argument Name
Type
Description
serviceAccountName
String
The service account name. (Required)
description
String
Comment text describing this object that is not interpreted at all by
CloudBees CD/RO.
newName
String
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.modifyServiceAccount(
serviceAccountName: 'test-serviceAccountName'
/* optional arguments */)