ControlTier > controltier-core
 

resource-remove

Command Reference

Description

Remove a resource relationship

Removes a resources relationship between two objects. The resourcetype/resourcename options specify what is the child resource object.

static: This command can be run outside of an object context.

Usage

ctl -m modelutil -c resource-remove -depot <> -name <> -resourcename <> -resourcetype <> -type <>

Options

Option Description Type Default
depot project depot name string ${context.depot}
name logical node name string
resourcename the resource name string
resourcetype the resource type string
type the node type string

Examples

Rmove a resource relationship between two objects already defined in the model

ctl -p demo -t modelutil -c resource-remove --\
		-name strongbad -type Node -resourcename tomcat1 -resourcetype Service