7.3

Table Of Contents
AttachTo
Noties the DataServiceContext to start tracking the specied resource.
Table 129. AttachTo Activity Input Parameters
Argument Type Description
DataServiceContext RepositoryServiceContext
The DataServiceContext that should track the resource.
Instance Object
The resource to be tracked by the DataServiceContext.
The resource is aached in the Unchanged state.
CreateRepositoryServiceContext<T>
Creates a context for a model loaded into the Model Manager.
When you add this activity to a workow in vRealize Automation Designer, you must select a class that
inherits from the RepositoryServiceContext class.
Table 130. CreateRepositoryServiceContext<T> Activity Input Parameters
Argument Type Description
Uri URI (Optional) Root URI to use in connecting to the model.
Username String (Optional) Username to use in connecting to the context.
Table 131. CreateRepositoryServiceContext<T> Activity Output Parameters
Argument Type Description
Result RepositoryServiceContext The specic type returned is an instance of the class
selected when the activity was added to the workow.
DeleteLink
Changes the state of the link to deleted in the list of links being tracked by the DataServiceContext.
Table 132. DeleteLink Activity Input Parameters
Argument Type Description
DataServiceContext RepositoryServiceContext
The DataServiceContext from which to delete the link.
Source Object The source object in the link to be marked for deletion.
SourceProperty String The name of the navigation property on the source object
that is used to access the target object.
Target Object The target object involved in the link that is bound to the
source object. The target object must be of the type
identied by the source property or a subtype.
DeleteObject
Changes the state of the specied object to be deleted in the DataServiceContext.
Table 133. DeleteObject Activity Input Parameters
Argument Type Description
DataServiceContext RepositoryServiceContext
The DataServiceContext from which to delete the
resource.
Instance Object The tracked entity to be changed to the deleted state.
Chapter 1 Life Cycle Extensibility
VMware, Inc. 75