Instance Definition Item
Introduction
RPS Instance Definition Items are items on an abstraction layer on top of existing RPS Types. An Instance Definition Item is a wrapper for an RPS type and associated Properties.
Creating an Instance Definition Item
Create new instance definition item by ID.
New-RpsInstanceDefinitionItem -EntityName $testEntityName -Properties $prop -TypeDefinitionId $typedef
Create new instance definition item by Type Definition object.
New-RpsInstanceDefinitionItem -EntityName $testEntityName -Properties $prop -TypeDefinition $typedef
Getting an Instance Definition Item
Find an instance definition item by Type Definition ID.
Get-RpsInstanceDefinitionItem -Id $lookupId
Setting an Instance Definition Item
Updates instance definition item. If it doesn't exist it will create a New Instance Definition Item.
Set-RpsInstanceDefinitionItem -Name $Name1 -TypeDefinitionId $id -Properties @{Prop1 = "Value1"} -EntityName $entityName
Removing an Instance Definition Item
Delete instance definition by Id.
Remove-RpsInstanceDefinitionItem -Id "8825A09C-CCE3-4BB0-BCE1-03B4729AC423"
Remove-RpsInstanceDefinitionItem -InstanceDefinitionItem $RPSInstanceDefinitionItem
Glossary
| Term | Definition |
|---|---|
| Instance Definition | The abstraction layer on top of existing RPS Types. |
| Instance Definition Assignment | The assignment of the instance definition to a root Resource Item, which results in a set of one or more Resource Items to be run. |
| Instance Definition Item | The an item on the abstraction layer on top of existing RPS Types. |
| Instance Definition Node | A node item that will result in association of a node with target items that are created when an Instance Definition is invoked |