createCluster

Back to index

Summary

Creates a new cluster configuration object for a microservice application.
projectName
Stringrequired
The name for the project that must be unique among all projects.
clusterName
Stringrequired
The name of the cluster.
definitionParameters
Mapoptional
Cluster definition parameter.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
environmentName
Stringoptional
Name of the environment which owns this cluster.
pluginConfigurationName
Stringoptional
Name of the plugin configuration.
pluginKey
Stringoptional
Name of the plugin key.
pluginProjectName
Stringoptional
Plugin project name.
providerClusterName
Stringoptional
Name of the cluster on the provider platform.
providerProjectName
Stringoptional
Name of the project on the provider platform.
provisionParameters
Mapoptional
Provision parameter.
provisionProcedure
Stringoptional
Provision procedure name.

Usage

Perl

$cmdr->createCluster( "test-projectName", # projectName "test-clusterName" # clusterName # optionals );

ectool

ectool createCluster \ "test-projectName" `# projectName` \ "test-clusterName" `# clusterName` \ # optionals

Examples

Perl

$cmdr->createCluster("Default", "MyCluster");

ectool

ectool createCluster "Default" "MyCluster"