Generates resources with the given generator and adds them to the given store.
The amount of resources that were added.
Identifier of the pod.
Settings from which the pod is being created.
Generator to be used.
Store to be updated.
Generates resources with the given generator and adds them to the given store.
Returns
The amount of resources that were added.