Use ResourceId decorator on agent and IMS operations