Back to index
Summary
Creates a new microservice for a project or application.projectNameStringrequiredThe name for the project that must be unique among all projects. applicationNameStringrequiredThe name of the application. microserviceNameStringrequiredThe name of the microservice. addDeployProcessBooleanoptionalIf set to true, then a microservice process is also created. definitionSourceStringoptionalEnum representing the source of the microservice definition. Possible values: "git" , "helm_repository" , "yaml_content" definitionSourceParametersStringoptionalParameters to resolve the source of the artifact representing microservice definition. definitionTypeStringoptionalMicroservice definition type. Possible values: "helm" , "yaml" deployParametersStringoptionalParameters 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. rollbackParametersStringoptionalParameters to store microservice definition rollback parameters. |
Usage
Perl
$cmdr->createMicroservice( "test-projectName", # projectName "test-applicationName", # applicationName "test-microserviceName" # microserviceName # optionals );
ectool
ectool createMicroservice \ "test-projectName" `# projectName` \ "test-applicationName" `# applicationName` \ "test-microserviceName" `# microserviceName` \ # optionals