(#22910) Deprecate networked access to resource

The resource indirection isn't safe to be accessible on the master, and is
not functionality that we want to continue to support for the agent.
Instead, users should use mcollective or similar systems for remote
command execution.