Application Programming Interface Guide > Built-in Procedures > Procedures Reference > GetResourceSet
 
GetResourceSet
Retrieve the list of resources included in a specified resource set.
Location
/lib/resource/ (procedure)
/services/databases/system/deployment/ (published resource)
Inputs
resourceSetDefinition: Definition of the resource to analyze.
resourceSetIndex: The index of the resources included in the specified resource set during the last deployment session.
principalMapping: The principal mapping containing the principals to be selected in the source site and mapped to target site principals.
preview (optional; default is false): True if this procedure should return only the changes (resourceSetIndexDelta) since the last deployment; otherwise false. If resourceSetIndex is NULL, all resources within the specified resource set are listed as CREATED.
Outputs
createdResourceArchive: The archive containing the resources created since the last deployment, if one exists, otherwise all resources, that are included in the specified resource set. NULL if preview input argument is set to true.
updatedResourceArchive: The archive containing the resources updated since the last deployment, if one exists, that are included in the specified resource set. NULL if preview input argument is set to true.
resourceSetIndexDelta: The set of resources in the specified resource set that were CREATED, UPDATED, RELOCATED or DELETED since the last deployment session, based on the resourceSetIndex provided.
Exceptions
IllegalArgumentException: If the specified resource set definition is invalid.