Back to index
Summary
Modifies an existing email configuration.configNameStringrequiredThe email configuration name. credentialNameStringoptionalThe name of the credential that contains the email password for the user from which CloudBees CD/RO sends email notifications. credentialProjectNameStringoptionalThe name of the credential project that contains the email password for the user from which CloudBees CD/RO sends email notifications. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. mailFromStringoptionalThe email address used as the email sender address for CloudBees CD notifications. mailHostStringoptionalName of the email server host. mailPortIntegeroptionalThe port number for the email service on the server. mailProtocolStringoptionalName of the email transport protocol. Supported protocol names: SMTP , SMTPS .mailUserStringoptionalName of the email user on behalf of which CloudBees CD/RO sends email notifications. mailUserPasswordStringoptionalPassword of the email user on behalf of which CloudBees CD/RO sends email notifications. newNameStringoptionalThe new name for an existing object that is being renamed. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyEmailConfig( configName: "test-configName" /* optional arguments */ )