Back to index
Summary
Modifies an existing microservice.projectNameStringrequiredThe name for the project that must be unique among all projects. applicationNameStringrequiredThe name of the application. microserviceNameStringrequiredThe name of the microservice. definitionSourceStringoptionalEnum representing the source of the microservice definition. Possible values: "git" , "helm_repository" , "yaml_content" definitionSourceParametersArray<DefinitionSourceParameter>optionalParameters to resolve the source of the artifact representing the microservice definition. definitionTypeStringoptionalMicroservice definition type. Possible values: "helm" , "yaml" deployParametersArray<DeployParameter>optionalParameters to supply to deploy procedure of microservice definition type provider. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. newNameStringoptionalThe new name for an existing object that is being renamed. rollbackParametersArray<RollbackParameter>optionalParameters to store microservice definition rollback parameters. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyMicroservice( projectName: "test-projectName", applicationName: "test-applicationName", microserviceName: "test-microserviceName" /* optional arguments */ )