createUtilityResource

On this page
Back to index

Summary

Creates a new utility resource.
projectName
Stringrequired
The name for the project that must be unique among all projects.
utilityResourceName
Stringrequired
Name for utilityResource; must be unique among all utility resources for the environment or environment template.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
environmentName
Stringoptional
Name of parent environment.
environmentTemplateName
Stringoptional
Name of parent environmentTemplate.
resourceName
Stringoptional
The name of the default resource for this utility resource.

Usage

Perl

$cmdr->createUtilityResource( "test-projectName", # projectName "test-utilityResourceName" # utilityResourceName # optionals );

ectool

ectool createUtilityResource \ "test-projectName" `# projectName` \ "test-utilityResourceName" `# utilityResourceName` \ # optionals