PropertyInstance - createInstance_1
PropertyInstance - createInstance
Description :
This command creates an instance of the specified class with overridden values. If an instance already exists with the given name, this command fails.
Return type : com.bladelogic.om.infra.model.property.PropertySetInstance
Command Input :
Variable Name |
Variable Type |
Description |
---|---|---|
fullyQualifiedClassName |
String |
The class you want to create an instance of. |
name |
String |
Name of the instance. |
description |
String |
Short description of the instance. |
propsStr |
String |
Overridden property values. |
Example
The following example creates a Dev instance of the ApacheOracle class.
Script
PropertyInstance createInstance Class://SystemObject/Application/Apache/ApacheOracle Dev "the development configuration" "intProp=1,strProp=my value,decVal=0.0"
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.